ERP data displayed dynamically in VE Tab
Last updated
Last updated
Vault Explorer UI can be extended to show Tab with detailed information. This data is not stored as Vault entity property values – it is just displayed within the Tab of the Vault entity in Vault Explorer UI.
This data is provided by SQL view defined in the same SQL database as DI. SQL view can be created for every EcEntityType.
These two rules must be strictly followed:
the name for the SQL view:
pattern: EcTAB_<VaultEntityClassId>
examples: EcTAB_ITEM EcTAB_CUSTENT_1
(mind the suffix - custom entity definiton id)
SQL view must contain column “name” (nvarchar)
this column is used to select the proper data to display in the Tab
it means the “name” column in the SQL view contains values responding to the Vault entity names (ITEM number , FLDR name, CUSTENT name, CO number)
Tab displays all the fields defined in the SQL view – example:
Note
trailing spaces in name column are ignored
name
stock_location
stock_quantity
price
12-3456
Prague
1200
2,45
12-3456
Munich
30
2,68
12-8811
Prague
300
102,36