Table
PurchPrepayTable
Prepayment
Holds the prepayment set up for a purchase order. Each purchase order has at most one row, because PurchTable is the key. It stores the prepayment type, value, limit, currency and category.
- Table name
PurchPrepayTable- Module
Accounts payable- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
None- Replacement key
PurchTableIdx- Key fields
PurchTable- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchTablePurchase order that the prepayment belongs to. | String (20)PurchIdBase | No | PurchTable.PurchId | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCurrency of the prepayment, linked to the currency table. | String (3)VendCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the prepayment. | String (50)PurchPrepayDescription | No | None | |
IsDeletedYes/No flag that marks the record as deleted. | EnumVersioningIsDeletedNoYes (enum) | No | None | |
IsModifiedYes/No flag that marks the record as modified. | EnumVersioningIsModifiedNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrepayApplicationRemainingAmount of the prepayment still left to apply. | RealPurchPrepayAvailable | No | None | |
PrepayAvailableAmount of the prepayment still available. | RealPurchPrepayAvailable | No | None | |
PrepayCategoryIdLink to the category record used for the prepayment. | Int64PurchPrepayCategoryId | No | EcoResCategory.RecId | None |
PrepayLimitUpper limit set for the prepayment. | RealPurchPrepayLimit | 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 | |
TypeKind of prepayment. Values are Fixed and Percent. | EnumPurchPrepayType (enum) | No | None | |
ValuePrepayment value. It is read together with the type, as a fixed amount or a percentage. | RealPurchPrepayValue | No | None |
Indexes (3)
PrepayCategoryIdxNot unique.
CurrencyCodeIdxNot unique.
PurchTableIdxReplacement keyUnique, alternate key.
Relations (3)
Each relation joins PurchPrepayTable to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany PurchPrepayTable records → zero or one Currency record
PrepayCategory→EcoResCategoryJoin on
PrepayCategoryId = EcoResCategory.RecIdMany PurchPrepayTable records → zero or one EcoResCategory record
PurchTable→PurchTableJoin on
PurchTable = PurchTable.PurchIdZero or one PurchPrepayTable record → exactly one PurchTable record
Get this data out
No public entity reads from PurchPrepayTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchPrepayTable in a report, an integration or a migration? Talk to Dr Dynamics.