Table

CustPrepaymentProposalTable

Holds the header of a prepayment proposal for a sales order. It records whether the prepayment is a percentage or a fixed amount, the totals, the currency and the sales category. Its lines are in CustPrepaymentProposalTrans.

Table name
CustPrepaymentProposalTable
Module
Cross-module and platform
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 (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CategoryIdSales category for the proposal. It points to a category record.Int64
SalesCategory
NoEcoResCategory.RecIdNone
CompressYes/No choice named Compress. Its exact effect is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
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
CurrencyCodeCurrency code of the proposal.String (3)
CustCurrencyCode
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrepaymentAmountTotal prepayment amount. The currency is not stated in the metadata.Real
AmountCur
NoNone
PrepaymentLevelLevel at which prepayment information is held: None, Header or Line.Enum
CustPrepaymentLevel (enum)
NoNone
PrepaymentTypeWhether the prepayment is a percentage or a fixed amount.Enum
SalesPrepayType (enum)
NoNone
PrepaymentValuePrepayment value, either a percentage or a fixed amount depending on the type.Real
AmountCur
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
SourceRecIdSystem record ID of the source record. The metadata relates it to a sales order.Int64
PrepaymentRefRecId
NoNone
SourceTableIdID of the table that the source record belongs to. The metadata relates it to sales orders.Integer
PrepaymentRefTableId
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
TotalAmountTotal amount of the source. The currency is not stated in the metadata.Real
AmountCur
NoNone

Indexes (1)

Relations (2)

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

  • SalesTable → SalesTable

    Join on SourceRecId = SalesTable.RecId, SourceTableId = SalesTable.TableId

    Many CustPrepaymentProposalTable records → zero or one SalesTable record

  • EcoResCategory → EcoResCategory

    Join on CategoryId = EcoResCategory.RecId

    Many CustPrepaymentProposalTable records → zero or one EcoResCategory record

Get this data out

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

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

Email sales@drdynamics.co.uk