Table

TradeBLWILines

BLWI transaction

Holds BLWI transactions for customers or vendors. Each line has an account, invoice, voucher, dates, amounts and currency. It also links to a purpose code, a survey code and a country or region group.

Table name
TradeBLWILines
Module
Shared payables and receivables
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumCustomer or vendor account number.String (20)
CustVendAC
NoCustTable.AccountNumVendTable.AccountNumBLWIEntity
AddressCountryRegionGroupBLWIPoints to the BLWI country or region group.Int64
AddressCountryRegionGroupBLWIRecId
NoAddressCountryRegionGroupBLWI.RecIdNone
AmountCurAmount in the transaction currency.Real
AmountCur
NoBLWIEntity
AmountMstAmount in the company currency.Real
AmountMST
NoBLWIEntity
AmountMSTOrigOriginal amount in the company currency.Real
AmountMST
NoBLWIEntity
AutoGeneratedYes or no flag showing whether the line was generated automatically.Enum
TradeBLWIAutoGenerated
NoYes (enum)
NoBLWIEntity
BankPaymBalanceSurveyPoints to the survey code.Int64
PaymBalanceSurveyCodeRecId
NoBankPaymBalanceSurvey.RecIdBLWIEntity
CountryRegionIdCountry or region of the transaction.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
CurrencyCodeCurrency of the transaction.String (3)
CurrencyCode
NoCurrency.CurrencyCodeBLWIEntity
CustVendShows whether the transaction is for a customer or a vendor.Enum
TradeBLWICustVend (enum)
NoBLWIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoBLWIEntity
IncludedYes or no flag showing whether the line is included.Enum
TradeBLWIIncluded
NoYes (enum)
NoBLWIEntity
InvoiceInvoice number.String (50)
InvoiceId
NoBLWIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurposeCodeCentral bank purpose code for the payment.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodeBLWIEntity
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
ReportingDateDate used for reporting.Date
TransDate
NoBLWIEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the transaction.Date
TransDate
NoBLWIEntity
VoucherVoucher number.String (20)
Voucher
NoBLWIEntity

Indexes (3)

Relations (7)

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

  • AddressCountryRegionGroupBLWI → AddressCountryRegionGroupBLWI

    Join on AddressCountryRegionGroupBLWI = AddressCountryRegionGroupBLWI.RecId

    Many TradeBLWILines records → zero or one AddressCountryRegionGroupBLWI record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on PurposeCode = BankCentralBankPurpose.Code

    Many TradeBLWILines records → zero or one BankCentralBankPurpose record

  • BankPaymBalanceSurvey → BankPaymBalanceSurvey

    Join on BankPaymBalanceSurvey = BankPaymBalanceSurvey.RecId

    Many TradeBLWILines records → zero or one BankPaymBalanceSurvey record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TradeBLWILines records → zero or one Currency record

  • CustTable → CustTable

    Join on CustVend = TradeBLWICustVend::Customer, AccountNum = CustTable.AccountNum

    Many TradeBLWILines records → zero or one CustTable record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many TradeBLWILines records → zero or one LogisticsAddressCountryRegion record

  • VendTable → VendTable

    Join on CustVend = TradeBLWICustVend::Vendor, AccountNum = VendTable.AccountNum

    Many TradeBLWILines records → zero or one VendTable record

Get this data out

Tables are not exposed directly. These public entities read from TradeBLWILines; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk