Table

BankLCImportMargin

Letter of credit margin transactions

Holds margin transactions for an import letter of credit. Each record has a journal number, posting date, voucher and the letter of credit it belongs to. It also stores the margin amount and currency.

Table name
BankLCImportMargin
Module
Bank
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
BankDocument
Primary index
None
Replacement key
LCJournalVoucherIdx
Key fields
JournalNum, PostedDate, Voucher, BankLCImport
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalNumNumber of the journal that holds the transaction.String (20)
GeneralJournalEntryJournalNumber
YesNone
PostedDateDate of the transaction.Date
TransDate
YesNone
VoucherVoucher number of the transaction.String (20)
Voucher
YesNone
BankLCImportImport letter of credit or collection the margin belongs to.Int64
BankLCRefRecId
YesBankLCImport.RecIdNone
AmountCurMargin amount, in the currency on the record.Real
BankLCImportMarginAmountCur
YesNone
CurrencyCodeCurrency of the margin amount.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
SelectedYes or No flag marking the transaction as selected.Enum
BankLCImportTransSelected
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransStatusWhether the transaction is a draft or posted.Enum
BankLCImportTransStatus
BankLCImportTransStatusType (enum)
NoNone

Indexes (3)

Relations (2)

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

  • BankLCImport → BankLCImport

    Join on BankLCImport = BankLCImport.RecId

    Many BankLCImportMargin records → exactly one BankLCImport record

  • CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many BankLCImportMargin records → exactly one Currency record

Get this data out

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

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

Email sales@drdynamics.co.uk