Table

VendAdvanceApplicationTrans

Prepayment application

Records how prepayment invoices are applied to vendor invoices. Rows link to posted and unposted invoices and to the prepayment invoice header and line. It holds the applied amount and the settlement posting date. The table has no defined key.

Table name
VendAdvanceApplicationTrans
Module
Accounts payable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdvanceApplicationIdPoints to the vendor invoice line that the prepayment is applied to.Int64
RefRecId
NoVendInvoiceInfoLine.RecIdNone
AdvancedInvoiceHeaderRecIdPoints to the header of the prepayment invoice in the invoice journal.Int64
VendInvoiceJourRefRecId
NoVendInvoiceJour.RecIdNone
AdvancedInvoiceLineRecIdPoints to the posted line of the prepayment invoice.Int64
VendInvoiceTransRecId
NoVendInvoiceTrans.RecIdNone
AdvanceInvoiceIdPoints to the prepayment invoice in the vendor invoice journal.Int64
RefRecId
NoVendInvoiceJour.RecIdNone
AppliedAmountAmount applied, in transaction currency.Real
AmountCur
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceIdPoints to an invoice in the vendor invoice journal.low confidenceInt64
RefRecId
NoVendInvoiceJour.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedInvoiceRecIdPoints to the posted vendor invoice in the invoice journal.Int64
VendInvoiceJourRefRecId
NoVendInvoiceJour.RecIdNone
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
SessionIdUnique ID (GUID) that identifies a session.low confidenceGuid
SysGuid
NoNone
SettlementPostingDateThe date the settlement is posted.Date
TransDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnpostedInvoiceRecIdPoints to the vendor invoice that is not yet posted.Int64
VendInvoiceInfoTableRecId
NoVendInvoiceInfoTable.RecIdNone

Indexes (5)

Relations (7)

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

  • AdvanceInvoiceId → VendInvoiceJour

    Join on AdvanceInvoiceId = VendInvoiceJour.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceJour record

  • ApplicationId → VendInvoiceInfoLine

    Join on AdvanceApplicationId = VendInvoiceInfoLine.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceInfoLine record

  • InvoiceId → VendInvoiceJour

    Join on InvoiceId = VendInvoiceJour.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceJour record

  • PostedInvoiceRecId → VendInvoiceJour

    Join on PostedInvoiceRecId = VendInvoiceJour.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceJour record

  • UnpostedInvoiceRecId → VendInvoiceInfoTable

    Join on UnpostedInvoiceRecId = VendInvoiceInfoTable.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceInfoTable record

  • AdvancedInvoiceHeaderRecId → VendInvoiceJour

    Join on AdvancedInvoiceHeaderRecId = VendInvoiceJour.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceJour record

  • AdvancedInvoiceLineRecId → VendInvoiceTrans

    Join on AdvancedInvoiceLineRecId = VendInvoiceTrans.RecId

    Many VendAdvanceApplicationTrans records → zero or one VendInvoiceTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk