Table

BankPaymAdviceVendTmp

BankPaymAdviceVendTmp

Temporary table for vendor payment advice data. Each row combines vendor details, a vendor transaction, invoice and amount values, and the company's contact details. It links to the vendor, vendor transaction and currency tables and includes withholding tax fields used for Thailand.

Table name
BankPaymAdviceVendTmp
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Bank
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumVendor account the advice line relates to.String (20)
VendAccount
NoVendTable.AccountNumNone
AmountCurAmount in the transaction currency.Real
AmountCurDebCred
NoNone
Balance01Temporary numeric balance value. The metadata does not say what it represents.low confidenceReal
TempReal
NoNone
CashDiscCash discount amount.Real
VendCashDiscAmount
NoNone
CompanyAddressAddress of the company.String (250)
LogisticsAddressing
NoNone
CompanyCoRegNumTax registration number of the company.String (25)
CompanyCoRegNum
NoNone
CompanyGiroBank giro number of the company.String (48)
GiroNum
NoNone
CompanyPhoneTelephone number of the company.String (20)
Phone
NoNone
CompanyTeleFaxFax number of the company.String (20)
TeleFax
NoNone
ContactEmailEmail address of the contact.String (255)
LogisticsElectronicAddressLocator
NoNone
CurrencyCodeCurrency code of the vendor, linked to the currency table.String (3)
VendCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateOfCreationDate the advice record was created.Date
SysDate
NoNone
ExecutionContextGUID that identifies the execution context of the rows.low confidenceGuidNoNone
GroupingName used to group advice lines.low confidenceString (60)
Name
NoNone
ImageImage (bitmap) stored with the advice, held as a container.Container
Bitmap
NoNone
InvoiceVendor invoice number.String (50)
VendInvoiceId
NoNone
InvoiceDateDate of the invoice.Date
TransDate
NoNone
InvoiceTaxWithholdAmountWithholding tax amount in currency, used for Thailand. The currency is not stated in the metadata.Real
TaxWithholdAmountCur
NoNone
IsWithholdingTaxCalculatedYes/No flag for whether withholding tax is calculated; used for Thailand.Enum
TaxWithholdCalculate_TH
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymAdviceDateDate of the payment advice.Date
SysDate
NoNone
PaymentReferenceName or text used as the payment reference.String (60)
Name
NoNone
PaymRefLabelLabel text shown for the payment reference.String (60)
Name
NoNone
PrintImageNo/Yes choice for whether the image is printed.Enum
NoYesCombo (enum)
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
SessionIdSession number that identifies which run the temporary rows belong to.Integer
Integer
NoNone
SettledCurrencyCodeCurrency used for the settlement, linked to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateTransaction date.Date
TransDate
NoNone
VendAddressAddress of the vendor.String (250)
Addressing
NoNone
VendCompanyIdCompany (legal entity) of the vendor.String
DataAreaId
NoNone
VendNameName of the vendor.String (60)
Name
NoNone
VendTransIdPoints to the vendor transaction record by its record ID.Int64
RefRecId
NoVendTrans.RecIdNone

Indexes (3)

Relations (4)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many BankPaymAdviceVendTmp records → zero or one Currency record

  • Currency_SettledCurrencyCode → Currency

    Join on SettledCurrencyCode = Currency.CurrencyCode

    Many BankPaymAdviceVendTmp records → zero or one Currency record

  • VendAccountNum → VendTable

    Join on AccountNum = VendTable.AccountNum

    Exactly one BankPaymAdviceVendTmp record → zero or one VendTable record

  • VendTransId → VendTrans

    Join on VendTransId = VendTrans.RecId

    Zero or one BankPaymAdviceVendTmp record → zero or one VendTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk