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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CategoryIdSales category for the proposal. It points to a category record. | Int64SalesCategory | No | EcoResCategory.RecId | None |
CompressYes/No choice named Compress. Its exact effect is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency code of the proposal. | String (3)CustCurrencyCode | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrepaymentAmountTotal prepayment amount. The currency is not stated in the metadata. | RealAmountCur | No | None | |
PrepaymentLevelLevel at which prepayment information is held: None, Header or Line. | EnumCustPrepaymentLevel (enum) | No | None | |
PrepaymentTypeWhether the prepayment is a percentage or a fixed amount. | EnumSalesPrepayType (enum) | No | None | |
PrepaymentValuePrepayment value, either a percentage or a fixed amount depending on the type. | RealAmountCur | 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 | |
SourceRecIdSystem record ID of the source record. The metadata relates it to a sales order. | Int64PrepaymentRefRecId | No | None | |
SourceTableIdID of the table that the source record belongs to. The metadata relates it to sales orders. | IntegerPrepaymentRefTableId | 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 | |
TotalAmountTotal amount of the source. The currency is not stated in the metadata. | RealAmountCur | No | None |
Indexes (1)
HeadersIdxSourceTableId,SourceRecId,DataAreaId,PartitionNot unique.
Relations (2)
Each relation joins CustPrepaymentProposalTable to another table on the fields shown.
SalesTable→SalesTableJoin on
SourceRecId = SalesTable.RecId,SourceTableId = SalesTable.TableIdMany CustPrepaymentProposalTable records → zero or one SalesTable record
EcoResCategory→EcoResCategoryJoin on
CategoryId = EcoResCategory.RecIdMany 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.