Table

CustFormletterDocument

Customer, form setup

Setup table for customer documents printed with sales forms. For each form type it holds which attached documents to include and which document type to use. The key is a single ID, so it holds one setup record per company. Some fields are used for France, Russia and Italy.

Table name
CustFormletterDocument
Module
Sales and marketing
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
Key
Replacement key
Key
Key fields
Key
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
KeySingle ID value that identifies the setup record.Integer
ParametersKey
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocuOnAgreementChoice of whether attached documents appear on sales agreement sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOnConfirmChoice of whether attached documents appear on order confirmation sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOnFreeTextInvoiceChoice of whether attached documents appear on free text invoice sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOnInvoiceChoice of whether attached documents appear on invoice sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOnInvoice4Paym_RUChoice of whether attached documents appear on invoice for payment sheets, used for Russia.Enum
DocuOnFormular (enum)
NoNone
DocuOnPackingSlipChoice of whether attached documents appear on packing slip sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOnPickingListChoice of whether attached documents appear on picking list sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOnPrepaymentRequest_ITChoice of whether attached documents appear on prepayment request sheets, used for Italy.Enum
DocuOnFormular (enum)
NoNone
DocuOnQuotationChoice of whether attached documents appear on quotation sheets: none, line, header or all.Enum
DocuOnFormular (enum)
NoNone
DocuOverdueFineNumOfDaysInvoice_FRNumber of days in the grace period for lump sum recovery on invoices, used for France.Integer
DocuOverdueFineNumOfDays_FR
NoNone
DocuOverdueFineTxtInvoice_FRText for lump sum recovery printed on invoices, used for France.String
DocuOverdueFineTxt_FR
NoNone
DocuTypeAgreementDocument type of attachments included on sales agreements.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypeConfirmDocument type of attachments included on order confirmations.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypeFreeTextInvoiceDocument type of attachments included on free text invoices.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypeInvoiceDocument type of attachments included on invoices.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypeInvoice4Paym_RUDocument type of attachments included on invoices for payment, used for Russia.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypePackingSlipDocument type of attachments included on packing slips.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypePickingListDocument type of attachments included on picking lists.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypePrepaymentRequest_ITDocument type of attachments included on prepayment requests, used for Italy.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
DocuTypeQuotationDocument type of attachments included on quotations.String (20)
DocuOnFormularTypeId
NoDocuType.TypeIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
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

Indexes (1)

  • KeyPrimary indexReplacement key

    Key

    Unique, alternate key.

Relations (9)

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

  • AgreementDocuType → DocuType

    Join on DocuTypeAgreement = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • ConfirmationDocuType → DocuType

    Join on DocuTypeConfirm = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • DocuType → DocuType

    Join on DocuTypeInvoice4Paym_RU = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → exactly one DocuType record

  • FreeTextInvoiceDocuType → DocuType

    Join on DocuTypeFreeTextInvoice = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • InvoiceDocuType → DocuType

    Join on DocuTypeInvoice = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • PackingSlipDocuType → DocuType

    Join on DocuTypePackingSlip = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • PickingListDocuType → DocuType

    Join on DocuTypePickingList = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • QuotationDocuType → DocuType

    Join on DocuTypeQuotation = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

  • PrepaymReqDocuType_IT → DocuType

    Join on DocuTypePrepaymentRequest_IT = DocuType.TypeId, DocuType.TypeGroup = DocuTypeGroup::Note

    Many CustFormletterDocument records → zero or one DocuType record

Get this data out

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

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

Email sales@drdynamics.co.uk