Table

CzVendAdvanceInvoiceTable

Advance invoice

Holds vendor advance invoices. Each row has the vendor, currency, amounts, dates, payment terms, posting profile and status. It links to a purchase order.

Table name
CzVendAdvanceInvoiceTable
Module
Accounts payable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
CzCustVendAdvanceInvoices
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (38)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BankConstantSymbolThe bank constant symbol linked to the invoice.String
CzConstantSymbol
NoBankConstantSymbol.ConstantSymbolVendAdvancedInvoiceEntity
ContactPersonIdThe contact person for the invoice.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdVendAdvancedInvoiceEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeThe currency of the invoice.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeVendAdvancedInvoiceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionThe default financial dimensions of the invoice.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdVendAdvancedInvoiceEntity
DocumentDateThe date of the document.Date
DocumentDate
NoNone
DueDateThe date on which payment is due.Date
DueDate
NoVendAdvancedInvoiceEntity
HeadIdA unique GUID that identifies the invoice record.Guid
SysGuid
NoVendAdvancedInvoiceEntity
InvoiceAccountThe vendor account that issued the invoice.String (20)
VendInvoiceAccount
YesVendTable.AccountNumVendAdvancedInvoiceEntity
InvoiceAmountThe total amount of the invoice.Real
AmountCur
NoVendAdvancedInvoiceEntity
InvoiceDateThe invoice date.Date
TransDate
YesVendAdvancedInvoiceEntity
InvoiceIdThe advance invoice number.String (50)
CzVendAdvanceInvoiceId
NoVendAdvancedInvoiceEntity
LanguageIdThe language of the invoice.String (7)
VendLanguageId
YesLanguageTable.LanguageIdVendAdvancedInvoiceEntity
ListcodeThe list code, such as EU trade or triangular trade.Enum
ListcodeId
Listcode (enum)
NoVendAdvancedInvoiceEntity
LogA text log for the invoice.String (255)
LogText
NoNone
NameThe vendor name.String (160)
VendName
NoVendAdvancedInvoiceEntity
NumberSequenceGroupThe number sequence group used for the invoice.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdVendAdvancedInvoiceEntity
OneTimeVendorShows whether the supplier is a one-time supplier.Enum
OneTimeSupplier
NoYes (enum)
NoVendAdvancedInvoiceEntity
OrderAccountThe vendor account of the order.String (20)
VendAccount
YesVendTable.AccountNumVendAdvancedInvoiceEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentThe payment terms.String (100)
VendPaymTermId
NoPaymTerm.PaymTermIdVendAdvancedInvoiceEntity
PaymentSchedThe payment schedule.String (30)
PaymSchedId
NoPaymSched.NameNone
PaymModeThe method of payment.String
VendPaymMode
NoVendPaymModeTable.PaymModeVendAdvancedInvoiceEntity
PaymSpecThe payment specification for the method of payment.String
PaymSpec
NoVendPaymModeSpec.SpecificationVendAdvancedInvoiceEntity
PostalAddressThe postal address of the vendor.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdVendAdvancedInvoiceEntity
PostedShows whether the invoice has been posted.Enum
Posted
NoYes (enum)
NoVendAdvancedInvoiceEntity
PostingProfileThe posting profile used with the prepayment journal voucher.String
VendPostingProfile
NoVendLedger.PostingProfileVendAdvancedInvoiceEntity
PurchIdThe purchase order that the advance invoice relates to.String (20)
PurchIdBase
NoPurchTable.PurchIdVendAdvancedInvoiceEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVendAdvancedInvoiceEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StatusThe invoice status: open, partially paid or closed.Enum
CzAdvanceInvoiceStatus (enum)
NoVendAdvancedInvoiceEntity
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
VendGroupThe vendor group.String
VendGroupId
YesVendGroup.VendGroupVendAdvancedInvoiceEntity
VendInvoiceIdThe variable symbol, stored as the vendor invoice number.String (50)
InvoiceId
NoVendAdvancedInvoiceEntity
WorkerSalesTakerThe worker who is the recipient, taken from the worker record.Int64
SalesTaker
NoHcmWorker.RecIdVendAdvancedInvoiceEntity

Indexes (3)

Relations (19)

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

  • BankConstantSymbol → BankConstantSymbol

    Join on BankConstantSymbol = BankConstantSymbol.ConstantSymbol

    Many CzVendAdvanceInvoiceTable records → zero or one BankConstantSymbol record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many CzVendAdvanceInvoiceTable records → zero or one ContactPerson record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CzVendAdvanceInvoiceTable records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CzVendAdvanceInvoiceTable records → zero or one DimensionAttributeValueSet record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many CzVendAdvanceInvoiceTable records → exactly one LanguageTable record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupId

    Many CzVendAdvanceInvoiceTable records → zero or one NumberSequenceGroup record

  • PaymentSched → PaymSched

    Join on PaymentSched = PaymSched.Name

    Many CzVendAdvanceInvoiceTable records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many CzVendAdvanceInvoiceTable records → zero or one PaymTerm record

  • PostalAddress → LogisticsPostalAddress

    Join on PostalAddress = LogisticsPostalAddress.RecId

    Many CzVendAdvanceInvoiceTable records → zero or one LogisticsPostalAddress record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many CzVendAdvanceInvoiceTable records → zero or one PurchTable record

  • VendAdvanceInvoiceTable → CzVendAdvanceInvoiceTable

    Join on RecId = CzVendAdvanceInvoiceTable.RecId

    Exactly one CzVendAdvanceInvoiceTable record → exactly one CzVendAdvanceInvoiceTable record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    Many CzVendAdvanceInvoiceTable records → exactly one VendGroup record

  • VendLedger → VendLedger

    Join on PostingProfile = VendLedger.PostingProfile

    Many CzVendAdvanceInvoiceTable records → zero or one VendLedger record

  • VendPaymModeSpec → VendPaymModeSpec

    Join on PaymMode = VendPaymModeSpec.PaymMode, PaymSpec = VendPaymModeSpec.Specification

    Many CzVendAdvanceInvoiceTable records → zero or one VendPaymModeSpec record

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many CzVendAdvanceInvoiceTable records → zero or one VendPaymModeTable record

  • VendTable_InvoiceAccount → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many CzVendAdvanceInvoiceTable records → exactly one VendTable record

  • VendTable_OrderAccount → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many CzVendAdvanceInvoiceTable records → exactly one VendTable record

  • WorkerSalesTaker_FK → HcmWorker

    Join on WorkerSalesTaker = HcmWorker.RecId

    Many CzVendAdvanceInvoiceTable records → zero or one HcmWorker record

  • InvoiceId → CzVendAdvanceInvoiceTable

    Join on InvoiceId = CzVendAdvanceInvoiceTable.InvoiceId

    Zero or one CzVendAdvanceInvoiceTable record → zero or one CzVendAdvanceInvoiceTable record

Get this data out

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

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

Email sales@drdynamics.co.uk