The Product Master (ProductMaster) Data Block is an Assette System Data Block and is not edited. The following details are informational only.
The ProductMaster Data Block pulls product-related information from a database based on user-provided filters like ID, strategy, or country. It then refines the data using additional filters, if provided. After retrieving the product details, the function ensures all necessary fields are included, and if some data fields are missing (like country), it tries to fill in the gaps by looking up related information. Lastly, it checks the product’s country data and filters out any products that don’t match the given country filter, if one is provided.
The Product Master System Data Block itself and its dependencies are not normally edited by end users. If you are attempting to edit or update the Product Master, please see Product Master Sync (ProductMasterSync) Data Block and DEMO_SnowFlakeProductMasterExtract instead. The Product Master (ProductMaster) Data Block cannot be deleted though it can be edited.
General Info #
Name | ProductMaster |
Block Category | Interface |
Block Type | Python |
Data Category | None |
Output Type | Data Table |
Editable | True |
Dependencies #
The following Data Blocks are dependencies for the Product Master System (ProductMaster) Data Block
Data Block Name | Description |
---|---|
CalculationEnv | Defines the Python modules and libraries (e.g., “import numpy as np”) [link] |
ProductAttributeByIdCodeLocalDB | This Data Block is not editable |
ProductMasterLocalDB | This Data Block is not editable |
Example Request #
{
"ID": "",
"ClientSegment": "",
"Strategy": "",
"Country": "",
"Shareclass": "",
"Code": "",
"Assetclass": "",
"GeographicScope": ""
}
Example Response #
{
"data": [
{
"StrategyID": "581",
"ProductID": "187",
"ProductName": "Diversified Large Cap Value",
"ProductCode": "PRDK01",
"Code": "PRDK01",
"RepAccountID": "1984",
"CompositeID": "1989",
"RepAccountCode": "1135",
"CompositeAccountCode": "2900",
"VehicleTypeID": null,
"StrategyName": "Diversified Large Cap Value",
"VehicleTypeName": null,
"VehicleType": null,
"Product": "PRDK01",
"Strategy": "581",
"ParentID": null,
"Country": "us"
},
{
"StrategyID": "717",
"ProductID": "305",
"ProductName": "Emerging Markets Equity",
"ProductCode": "PRDK02",
"Code": "PRDK02",
"RepAccountID": "1987",
"CompositeID": "2050",
"RepAccountCode": "lwdlcvmodel",
"CompositeAccountCode": "ASTGVECOMP",
"VehicleTypeID": null,
"StrategyName": "Emerging Markets",
"VehicleTypeName": null,
"VehicleType": null,
"Product": "PRDK02",
"Strategy": "717",
"ParentID": null,
"Country": "us"
}
],
"errors": [],
"success": true,
"logs": []
}