Table

BankLCExport

Letter of credit / import collection export table

Holds export-side details of a letter of credit or import collection, one record per sales order (the key is the sales order). It records the customer, the advising and issuing banks, the beneficiary, key dates and a status. It links to the customer, sales order, company bank account and customer bank account.

Table name
BankLCExport
Module
Bank
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
BankDocument
Primary index
None
Replacement key
SalesTableIdx
Key fields
SalesTable
Model
Foundation
Extends
BankLC

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesTableSales order the export document belongs to.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
AdvisingBankNoticeDateTimeDate and time of the notice from the advising bank.UtcDateTime
TransDateTime
NoNone
AdvisingBankNoticeNumberReference number of the notice given by the advising bank.String (30)
BankLCExportAdvisingBankNoticeNum
NoNone
AdvisingSWIFTCodeSWIFT code that identifies the advising bank.String (20)
SWIFTNo
NoNone
CustTableCustomer account the export document relates to.String (20)
CustAccount
YesCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExportAdvisingBankCompany bank account used as the advising bank.String
CompanyBankAccount
YesBankAccountTable.AccountIDNone
ExportBeneficiaryName of the beneficiary on the export document.String (60)
CompanyName
YesNone
ExportStatusStage of the export document: prepared, issued, under payment or closed.Enum
BankLCExportStatus
BankLCExportStatusType (enum)
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
IssuingBankCustomer bank account that acts as the issuing bank.String
CustBankAccountId
YesCustBankAccount.AccountIDNone
MaturityDateTimeDate and time when the document matures.UtcDateTime
TransDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (5)

Each relation joins BankLCExport to another table on the fields shown.

  • BankLCExport → BankLC

    Join on RecId = BankLC.RecId

    Zero or one BankLCExport record → exactly one BankLC record

  • CustTable → CustTable

    Join on CustTable = CustTable.AccountNum

    Many BankLCExport records → exactly one CustTable record

  • ExportAdvisingBank → BankAccountTable

    Join on ExportAdvisingBank = BankAccountTable.AccountID

    Many BankLCExport records → exactly one BankAccountTable record

  • IssuingBank → CustBankAccount

    Join on CustTable = CustBankAccount.CustAccount, IssuingBank = CustBankAccount.AccountID

    Many BankLCExport records → exactly one CustBankAccount record

  • SalesTable → SalesTable

    Join on SalesTable = SalesTable.SalesId

    Zero or one BankLCExport record → exactly one SalesTable record

Get this data out

No public entity reads from BankLCExport. Its data is only reachable through the application, a custom entity or a database export.

Need help with BankLCExport in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk