Table
TradeBLWIJournalPurposeCodes
Journals linked with BLWI codes
Links a central bank purpose code to a source record in another table. The source can be a purchase order, sales order, invoice journal, customer or vendor transaction, journal line, invoice register or project contract. The key is the form type plus the record ID of the source.
- Table name
TradeBLWIJournalPurposeCodes- Module
Shared payables and receivables- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
ForeignTrade- Primary index
RecId- Replacement key
Index1- Key fields
TypeOfForm, RefRecId- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TypeOfFormTells which kind of source record the reference points to, such as sales order, vendor transaction or journal line. | EnumTradeBLWITypeOfForm (enum) | No | None | |
RefRecIdSystem record ID of the linked source record. The table it belongs to depends on the form type. | Int64RefRecId | Yes | CustInvoiceJour.RecIdCustInvoiceTable.RecIdCustTrans.RecIdLedgerJournalTrans.RecIdProjInvoiceJour.RecIdProjInvoiceTable.RecIdPurchTable.RecIdSalesTable.RecIdVendInvoiceJour.RecIdVendTrans.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurposeCodeCentral bank purpose code assigned to the linked record. It points to the payment purpose codes table. | StringBankCentralBankPurposeCode | No | BankCentralBankPurpose.Code | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
Index1Replacement keyUnique, alternate key.
Relations (12)
Each relation joins TradeBLWIJournalPurposeCodes to another table on the fields shown.
BankCentralBankPurpose→BankCentralBankPurposeJoin on
PurposeCode = BankCentralBankPurpose.CodeMany TradeBLWIJournalPurposeCodes records → zero or one BankCentralBankPurpose record
CustFreeInvoice→CustInvoiceTableJoin on
TypeOfForm = TradeBLWITypeOfForm::CustFreeInvoice,RefRecId = CustInvoiceTable.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one CustInvoiceTable record
CustInvoiceJour→CustInvoiceJourJoin on
TypeOfForm = TradeBLWITypeOfForm::CustInvoiceJour,RefRecId = CustInvoiceJour.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one CustInvoiceJour record
CustTrans→CustTransJoin on
TypeOfForm = TradeBLWITypeOfForm::CustTrans,RefRecId = CustTrans.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one CustTrans record
InvoiceRegister→LedgerJournalTransJoin on
TypeOfForm = TradeBLWITypeOfForm::InvoiceRegister,RefRecId = LedgerJournalTrans.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one LedgerJournalTrans record
LedgerJournalTrans→LedgerJournalTransJoin on
TypeOfForm = TradeBLWITypeOfForm::LedgerJournalTrans,RefRecId = LedgerJournalTrans.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one LedgerJournalTrans record
ProjInvoiceJour→ProjInvoiceJourJoin on
TypeOfForm = TradeBLWITypeOfForm::ProjInvoiceJour,RefRecId = ProjInvoiceJour.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one ProjInvoiceJour record
ProjInvoiceTable→ProjInvoiceTableJoin on
TypeOfForm = TradeBLWITypeOfForm::InvoiceProject,RefRecId = ProjInvoiceTable.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one ProjInvoiceTable record
PurchTable→PurchTableJoin on
RefRecId = PurchTable.RecId,TypeOfForm = TradeBLWITypeOfForm::PurchTableMany TradeBLWIJournalPurposeCodes records → zero or one PurchTable record
SalesTable→SalesTableJoin on
RefRecId = SalesTable.RecId,TypeOfForm = TradeBLWITypeOfForm::SalesTableMany TradeBLWIJournalPurposeCodes records → zero or one SalesTable record
VendInvoiceJour→VendInvoiceJourJoin on
TypeOfForm = TradeBLWITypeOfForm::VendInvoiceJour,RefRecId = VendInvoiceJour.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one VendInvoiceJour record
VendTrans→VendTransJoin on
TypeOfForm = TradeBLWITypeOfForm::VendTrans,RefRecId = VendTrans.RecIdMany TradeBLWIJournalPurposeCodes records → zero or one VendTrans record
Get this data out
No public entity reads from TradeBLWIJournalPurposeCodes. Its data is only reachable through the application, a custom entity or a database export.
Need help with TradeBLWIJournalPurposeCodes in a report, an integration or a migration? Talk to Dr Dynamics.