Table
PriceDiscAdmTransfer
Trade agreement journal lines
Holds trade agreement journal lines in a transfer form. A row is keyed by LineId and JournalNum. It covers prices and discounts for sales and purchasing, with a party and item selection, quantity range, dates, units and inventory dimensions. It also has retail price comparison values and an error message.
- Table name
PriceDiscAdmTransfer- Module
Sales and marketing- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
PriceDiscTransIdx- Key fields
LineId, JournalNum- Model
Foundation
Fields (66)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LineIdLine number within the journal, held as a 64-bit integer. | Int64SysInt64 | Yes | None | |
JournalNumNumber of the trade agreement journal. It points to the journal record. | String (20)PriceDiscJournalNum | Yes | PriceDiscAdmTable.JournalNum | None |
AccountCodeSays whether the line applies to one account, a group or all. | EnumPriceDiscPartyCodePriceDiscPartyCodeType (enum) | Yes | None | |
AccountRelationCustomer or vendor account, or group, that the line applies to. | String (20)PriceDiscAccountRelation | No | CustTable.AccountNumVendTable.AccountNum | None |
AmountAmount in the currency of the line. | RealAmountCur | No | None | |
BasePurchasePricePurchase price on the line. | RealPrice | No | None | |
BaseSalesPriceSales price on the line. | RealPrice | No | None | |
CalendarDaysYes/No flag labelled 'Working days'. The metadata does not say more.low confidence | EnumCalendarDaysNoYes (enum) | No | None | |
CurrencyCurrency code for the line. It points to a currency. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CurrentPriceCurrent price for the line. | RealPrice | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryTimeLead time as a whole number. | IntegerLeadTime | No | None | |
DisregardLeadTimeYes/No flag to disregard lead time. | EnumDisregardLeadTimeNoYes (enum) | No | None | |
ErrorMessageText of an error recorded for the line. | String (255)ErrorMsg | No | None | |
FromDateDate from which the line is valid. | DateFromDate | No | None | |
GenericCurrencyYes/No flag to include a generic currency. | EnumSalesGenericCurrencyNoYes (enum) | No | None | |
inventBatchIdBatch number for the line. It points to an inventory batch of the item. | String (20)InventBatchId | No | InventBatch.inventBatchId | None |
InventColorIdColour of the item variant. | StringEcoResItemColorName | No | None | |
InventConfigIdConfiguration of the item variant. | String (50)EcoResItemConfigurationName | No | None | |
InventLocationIdWarehouse for the line. It points to a warehouse. | StringInventLocationId | No | InventLocation.InventLocationId | None |
InventSerialIdSerial number for the line. It points to a serial number of the item. | String (20)InventSerialId | No | InventSerial.InventSerialId | None |
InventSiteIdSite for the line. It points to an inventory site. | StringInventSiteId | No | InventSite.SiteId | None |
InventSizeIdSize of the item variant. | StringEcoResItemSizeName | No | None | |
InventStyleIdStyle of the item variant. | StringEcoResItemStyleName | No | None | |
InventVersionIdVersion of the item variant. | StringEcoResItemVersionName | No | None | |
ItemCodeSays whether the line applies to one item, an item group or all items. | EnumPriceDiscProductCodePriceDiscProductCodeType (enum) | Yes | None | |
ItemRelationItem or item group that the line applies to. It points to an item. | String (20)PriceDiscItemRelation | No | InventTable.ItemId | None |
MarkupPrice charges amount on the line. | RealPriceMarkup | No | None | |
ModuleArea the line belongs to: inventory, customer or vendor. | EnumPriceDiscModuleModuleInventCustVend (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PDSCalculationIdID of the attribute-based pricing calculation. | StringPDSCalculationId | No | None | |
Percent1First discount percentage. | RealDiscPct | No | None | |
Percent2Second discount percentage. | RealDiscPct | No | None | |
PriceDiscAdmTransIdSystem record ID of the related trade agreement journal line. | Int64PriceDiscAdmTransRecId | No | PriceDiscAdmTrans.RecId | None |
PriceUnitQuantity that the price applies to. | RealPriceUnit | No | None | |
PurchasePriceQtyPrice quantity for the purchase price. | RealPriceQty | No | None | |
PurchasePriceUnitPrice unit for the purchase price. | RealPriceUnit | No | None | |
PurchaseUnitIdUnit of measure for the purchase side. | StringUnitOfMeasureSymbol | No | None | |
QuantityAmountFromLower limit of the quantity or amount range. | RealAmountQty | No | None | |
QuantityAmountToUpper limit of the quantity or amount range. | RealAmountQuantityTo | 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 | |
relationType of price or discount: purchase or sales price, line, multiline or total discount, or postage discount. | EnumPriceType (enum) | No | None | |
RetailBasePriceOrigCurrencyCodeCurrency code of the original price basis. It points to a currency. | String (3)RetailBasePriceOrigCurrencyCode | No | Currency.CurrencyCode | None |
RetailCurrentBasePriceValue of the price basis. | RealRetailCurrentBasePrice | No | None | |
RetailCurrentBasePriceDeviationDifference between the price and the price basis. | RealRetailCurrentBasePriceDeviation | No | None | |
RetailCurrentBasePricePercentDifference from the price basis, as a percentage. | RealRetailCurrentBasePricePercent | No | None | |
RetailCurrentInventCostInventory cost used for comparison. | RealRetailCurrentInventCost | No | None | |
RetailCurrentInventCostDeviationDifference between the price and the inventory cost. | RealRetailCurrentInventCostDeviation | No | None | |
RetailCurrentInventCostPercentDifference from the inventory cost, as a percentage. | RealRetailCurrentInventCostPercent | No | None | |
RetailCurrentOrigCurBasePricePrice basis in the original currency. | RealRetailCurrentOrigCurBasePrice | No | None | |
RetailCurrentOtherGroupPricePrice from another group, used for comparison. | RealRetailCurrentOtherGroupPrice | No | None | |
RetailCurrentOtherGroupPriceDeviationDifference between the price and the comparison price. | RealRetailCurrentOtherGroupPriceDeviation | No | None | |
RetailCurrentOtherGroupPricePercentDifference from the comparison price, as a percentage. | RealRetailCurrentOtherGroupPricePercent | No | None | |
RetailCurrentSalesPricePrevious sales price. | RealRetailCurrentSalesPrice | No | None | |
RetailCurrentSalesPriceDeviationDifference between the new price and the previous sales price. | RealRetailCurrentSalesPriceDeviation | No | None | |
RetailCurrentSalesPricePercentDifference from the previous sales price, as a percentage. | RealRetailCurrentSalesPricePercent | No | None | |
SalesPriceQtyPrice quantity for the sales price. | RealPriceQty | No | None | |
SalesPriceUnitPrice unit for the sales price. | RealPriceUnit | No | None | |
SalesUnitIdUnit of measure for the sales side. | StringUnitOfMeasureSymbol | No | None | |
SearchAgainYes/No flag labelled 'Find next'. The metadata does not say more.low confidence | EnumNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateDate until which the line is valid. | DateToDate | No | None | |
UnitIdUnit of measure for the line. It points to a unit. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
wMSLocationIdWarehouse location for the line. | StringWMSLocationId | No | None | |
wMSPalletIdPallet ID for the line. It points to a pallet. | String (18)WMSPalletId | No | WMSPallet.wMSPalletId | None |
Indexes (1)
PriceDiscTransIdxReplacement keyUnique, alternate key.
Relations (29)
Each relation joins PriceDiscAdmTransfer to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany PriceDiscAdmTransfer records → zero or one Currency record
CustEndGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::EndDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Cust,relation = PriceType::EndDiscSales,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
CustLineGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::LineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Cust,relation = PriceType::LineDiscSales,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
CustMultiGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Cust,relation = PriceType::MultiLineDiscSales,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
CustPriceGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::Cust,relation = PriceType::PriceSales,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
CustTable→CustTableJoin on
Module = ModuleInventCustVend::Cust,AccountCode = PriceDiscPartyCodeType::Table,AccountRelation = CustTable.AccountNumMany PriceDiscAdmTransfer records → zero or one CustTable record
InventBatch→InventBatchJoin on
inventBatchId = InventBatch.inventBatchId,ItemRelation = InventBatch.itemId,ItemCode = PriceDiscProductCodeType::TableMany PriceDiscAdmTransfer records → zero or one InventBatch record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany PriceDiscAdmTransfer records → zero or one InventLocation record
InventSerial→InventSerialJoin on
InventSerialId = InventSerial.InventSerialId,ItemRelation = InventSerial.ItemId,ItemCode = PriceDiscProductCodeType::TableZero or one PriceDiscAdmTransfer record → zero or one InventSerial record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany PriceDiscAdmTransfer records → zero or one InventSite record
InventTable→InventTableJoin on
ItemCode = PriceDiscProductCodeType::Table,ItemRelation = InventTable.ItemIdMany PriceDiscAdmTransfer records → zero or one InventTable record
PriceDiscAdmTable→PriceDiscAdmTableJoin on
JournalNum = PriceDiscAdmTable.JournalNumExactly one PriceDiscAdmTransfer record → exactly one PriceDiscAdmTable record
PurchEndGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::EndDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::EndDiscPurch,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
PurchLineGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::LineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::LineDiscPurch,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
PurchMultiGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::MultiLineDiscPurch,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
PurchPriceGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::PricePurch,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
SalesEndGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::EndDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::EndDiscSales,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
SalesLineGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::LineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::LineDiscSales,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
SalesMultiGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::MultiLineDiscSales,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
SalesPriceGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::Invent,relation = PriceType::PriceSales,ItemCode = PriceDiscProductCodeType::GroupId,ItemRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
UnitId→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany PriceDiscAdmTransfer records → zero or one UnitOfMeasure record
VendEndGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::EndDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Vend,relation = PriceType::EndDiscPurch,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
VendLineGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::LineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Vend,relation = PriceType::LineDiscPurch,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
VendMultiGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup,PriceDiscGroup.Module = ModuleInventCustVend::Vend,relation = PriceType::MultiLineDiscPurch,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
VendPriceGroup→PriceDiscGroupJoin on
PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::Vend,relation = PriceType::PricePurch,AccountCode = PriceDiscPartyCodeType::GroupId,AccountRelation = PriceDiscGroup.GroupIdMany PriceDiscAdmTransfer records → zero or one PriceDiscGroup record
VendTable→VendTableJoin on
Module = ModuleInventCustVend::Vend,AccountCode = PriceDiscPartyCodeType::Table,AccountRelation = VendTable.AccountNumMany PriceDiscAdmTransfer records → zero or one VendTable record
WMSPallet→WMSPalletJoin on
wMSPalletId = WMSPallet.wMSPalletIdMany PriceDiscAdmTransfer records → zero or one WMSPallet record
RetailBasePriceOrigCurrencyCode→CurrencyJoin on
RetailBasePriceOrigCurrencyCode = Currency.CurrencyCodeMany PriceDiscAdmTransfer records → zero or one Currency record
PriceDiscAdmTrans→PriceDiscAdmTransJoin on
PriceDiscAdmTransId = PriceDiscAdmTrans.RecIdZero or one PriceDiscAdmTransfer record → zero or one PriceDiscAdmTrans record
Get this data out
No public entity reads from PriceDiscAdmTransfer. Its data is only reachable through the application, a custom entity or a database export.
Need help with PriceDiscAdmTransfer in a report, an integration or a migration? Talk to Dr Dynamics.