Table

AgreementHeaderTmp

Agreement

Temporary table that holds agreement header data for printing a document. It has no key. It mixes company details, customer or vendor details, delivery and invoice addresses, and agreement reference data.

Table name
AgreementHeaderTmp
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (39)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementClassificationNameName of the agreement classification.String (60)
Name
NoNone
AgreementIdNumber that identifies the agreement.String (20)
Num
YesNone
CashDiscountDescriptionText describing the cash discount.String (60)
Description
NoNone
CompanyAddressAddress of the company.String (250)
Addressing
NoNone
CompanyCoRegNumTax registration number of the company.String (25)
CompanyCoRegNum
NoNone
CompanyEnterpriseNumberEnterprise number of the company.String (50)
TaxEnterpriseNumber
NoNone
CompanyGiroBank giro number of the company.String (48)
GiroNum
NoNone
Container
Bitmap
NoNone
CompanyNameName of the company.String (60)
Name
NoNone
CompanyPhoneTelephone number of the company.String (20)
Phone
NoNone
CompanyTeleFaxFax number of the company.String (20)
TeleFax
NoNone
CompanyVATNumTax exempt number of the company.String (20)
VATNum
NoNone
ConfirmationNumberNumber of the agreement confirmation.String (20)
AgreementConfirmationNumber
NoNone
ContactPersonNameName of the contact person, shown as your reference.String (60)
ContactPersonName
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CustVendAddressAddress of the customer or vendor.String (250)
Addressing
NoNone
CustVendNameName of the customer or vendor.String (60)
Name
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateConfirmedDate and time at which the agreement was confirmed.UtcDateTime
DateTimeExecuted
NoNone
DeliveryModeMode of delivery, from the delivery modes table.String
DlvModeId
NoDlvMode.CodeNone
DeliveryNameName used for the delivery address.String (160)
CustName
NoNone
DeliveryPostalAddressDelivery address as text.String (250)
Addressing
NoNone
DeliveryTermTerms of delivery, from the delivery terms table.String
DlvTermId
NoDlvTerm.CodeNone
DocumentExternalReferenceExternal reference for the document.String (60)
AgreementDocumentExternalReference
NoNone
DocumentTitleTitle of the document.String (20)
AgreementDocumentTitle
NoNone
InvoiceAddressInvoice address as text.String (250)
LogisticsAddressing
NoNone
NotesFree-text note on the agreement.String (-1)
Notes
NoNone
OriginatorNameName of the person or party that originated the agreement, shown as our reference.String (160)
DirPartyName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentSpecificationPayment specification code.String
VendPaymSpec
NoNone
PaymentTermsTerms of payment for the agreement.String (100)
PaymTermId
NoNone
PdsEnabledYes or no flag for the process distribution setting.Enum
PDSReportNoYes
NoYes (enum)
NoNone
Enum
NoYes (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
ShowCompanyVATNumYes or no flag for whether the company tax exempt number is shown.Enum
NoYesId
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TitleTemporary text value with no clear purpose in the metadata.low confidenceString (254)
TempStr
NoNone

Relations (2)

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

  • DlvMode → DlvMode

    Join on DeliveryMode = DlvMode.Code

    Many AgreementHeaderTmp records → zero or one DlvMode record

  • DlvTerm → DlvTerm

    Join on DeliveryTerm = DlvTerm.Code

    Many AgreementHeaderTmp records → zero or one DlvTerm record

Get this data out

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

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

Email sales@drdynamics.co.uk