Be.Smart ERP Connector
(EN) ERP Connector
(EN) ERP Connector
  • ℹ️What is ERP Connector?
  • ⚙️System Requirements
  • 🆕What's New
    • Versions 29.2.1.0, 28.7.1.0, 27.13.0.0
    • Versions 29.1.0.0, 28.6.0.0, 27.12.0.0
    • Versions 29.0.0.1 & 28.5.1.1
  • Data Interface - Reference Manual
    • Abbreviations
    • Data interface
    • Data tables, relations
      • Table EcENTITY
      • Table EcASSOC
      • Table EcLINK
      • Table EcLOG
      • Stored procedure EcWriteEntity
    • Exporting data from a Vault
    • Properties / Attributes
    • Associations
    • Links
    • Reading data from data interface
      • Workflow sample
      • Another samples
    • Importing data into a Vault
    • Mandatory EcENTITY table fields
    • Default values
    • LifeCycle States
    • Writing data into data interface
      • Using SQL Stored Procedure
        • Example #1 – insert single EcENTITY record
        • Example #2 – insert two associated EcENTITY records
      • Using SQL syntax
      • Using SQL Management Studio
    • SQL views
    • ERP data displayed dynamically in VE Tab
    • SQL view definition sample:
    • ERP synchronized enums
    • Logging
    • Using thumbnail image data
Powered by GitBook
On this page
  1. Data Interface - Reference Manual

ERP data displayed dynamically in VE Tab

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:

  1. the name for the SQL view:

    1. pattern: EcTAB_<VaultEntityClassId>

    2. examples: EcTAB_ITEM EcTAB_CUSTENT_1

(mind the suffix - custom entity definiton id)

  1. 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:

name

stock_location

stock_quantity

price

12-3456

Prague

1200

2,45

12-3456

Munich

30

2,68

12-8811

Prague

300

102,36

Note

trailing spaces in name column are ignored

PreviousSQL viewsNextSQL view definition sample: