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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
KeySingle ID value that identifies the setup record. | IntegerParametersKey | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocuOnAgreementChoice of whether attached documents appear on sales agreement sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOnConfirmChoice of whether attached documents appear on order confirmation sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOnFreeTextInvoiceChoice of whether attached documents appear on free text invoice sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOnInvoiceChoice of whether attached documents appear on invoice sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOnInvoice4Paym_RUChoice of whether attached documents appear on invoice for payment sheets, used for Russia. | EnumDocuOnFormular (enum) | No | None | |
DocuOnPackingSlipChoice of whether attached documents appear on packing slip sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOnPickingListChoice of whether attached documents appear on picking list sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOnPrepaymentRequest_ITChoice of whether attached documents appear on prepayment request sheets, used for Italy. | EnumDocuOnFormular (enum) | No | None | |
DocuOnQuotationChoice of whether attached documents appear on quotation sheets: none, line, header or all. | EnumDocuOnFormular (enum) | No | None | |
DocuOverdueFineNumOfDaysInvoice_FRNumber of days in the grace period for lump sum recovery on invoices, used for France. | IntegerDocuOverdueFineNumOfDays_FR | No | None | |
DocuOverdueFineTxtInvoice_FRText for lump sum recovery printed on invoices, used for France. | StringDocuOverdueFineTxt_FR | No | None | |
DocuTypeAgreementDocument type of attachments included on sales agreements. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypeConfirmDocument type of attachments included on order confirmations. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypeFreeTextInvoiceDocument type of attachments included on free text invoices. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypeInvoiceDocument type of attachments included on invoices. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypeInvoice4Paym_RUDocument type of attachments included on invoices for payment, used for Russia. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypePackingSlipDocument type of attachments included on packing slips. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypePickingListDocument type of attachments included on picking lists. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypePrepaymentRequest_ITDocument type of attachments included on prepayment requests, used for Italy. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
DocuTypeQuotationDocument type of attachments included on quotations. | String (20)DocuOnFormularTypeId | No | DocuType.TypeId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
KeyPrimary indexReplacement keyUnique, alternate key.
Relations (9)
Each relation joins CustFormletterDocument to another table on the fields shown.
AgreementDocuType→DocuTypeJoin on
DocuTypeAgreement = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
ConfirmationDocuType→DocuTypeJoin on
DocuTypeConfirm = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
DocuType→DocuTypeJoin on
DocuTypeInvoice4Paym_RU = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → exactly one DocuType record
FreeTextInvoiceDocuType→DocuTypeJoin on
DocuTypeFreeTextInvoice = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
InvoiceDocuType→DocuTypeJoin on
DocuTypeInvoice = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
PackingSlipDocuType→DocuTypeJoin on
DocuTypePackingSlip = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
PickingListDocuType→DocuTypeJoin on
DocuTypePickingList = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
QuotationDocuType→DocuTypeJoin on
DocuTypeQuotation = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany CustFormletterDocument records → zero or one DocuType record
PrepaymReqDocuType_IT→DocuTypeJoin on
DocuTypePrepaymentRequest_IT = DocuType.TypeId,DocuType.TypeGroup = DocuTypeGroup::NoteMany 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.