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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LineIdLine number within the journal, held as a 64-bit integer.Int64
SysInt64
YesNone
JournalNumNumber of the trade agreement journal. It points to the journal record.String (20)
PriceDiscJournalNum
YesPriceDiscAdmTable.JournalNumNone
AccountCodeSays whether the line applies to one account, a group or all.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType (enum)
YesNone
AccountRelationCustomer or vendor account, or group, that the line applies to.String (20)
PriceDiscAccountRelation
NoCustTable.AccountNumVendTable.AccountNumNone
AmountAmount in the currency of the line.Real
AmountCur
NoNone
BasePurchasePricePurchase price on the line.Real
Price
NoNone
BaseSalesPriceSales price on the line.Real
Price
NoNone
CalendarDaysYes/No flag labelled 'Working days'. The metadata does not say more.low confidenceEnum
CalendarDays
NoYes (enum)
NoNone
CurrencyCurrency code for the line. It points to a currency.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CurrentPriceCurrent price for the line.Real
Price
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryTimeLead time as a whole number.Integer
LeadTime
NoNone
DisregardLeadTimeYes/No flag to disregard lead time.Enum
DisregardLeadTime
NoYes (enum)
NoNone
ErrorMessageText of an error recorded for the line.String (255)
ErrorMsg
NoNone
FromDateDate from which the line is valid.Date
FromDate
NoNone
GenericCurrencyYes/No flag to include a generic currency.Enum
SalesGenericCurrency
NoYes (enum)
NoNone
inventBatchIdBatch number for the line. It points to an inventory batch of the item.String (20)
InventBatchId
NoInventBatch.inventBatchIdNone
InventColorIdColour of the item variant.String
EcoResItemColorName
NoNone
InventConfigIdConfiguration of the item variant.String (50)
EcoResItemConfigurationName
NoNone
InventLocationIdWarehouse for the line. It points to a warehouse.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventSerialIdSerial number for the line. It points to a serial number of the item.String (20)
InventSerialId
NoInventSerial.InventSerialIdNone
InventSiteIdSite for the line. It points to an inventory site.String
InventSiteId
NoInventSite.SiteIdNone
InventSizeIdSize of the item variant.String
EcoResItemSizeName
NoNone
InventStyleIdStyle of the item variant.String
EcoResItemStyleName
NoNone
InventVersionIdVersion of the item variant.String
EcoResItemVersionName
NoNone
ItemCodeSays whether the line applies to one item, an item group or all items.Enum
PriceDiscProductCode
PriceDiscProductCodeType (enum)
YesNone
ItemRelationItem or item group that the line applies to. It points to an item.String (20)
PriceDiscItemRelation
NoInventTable.ItemIdNone
MarkupPrice charges amount on the line.Real
PriceMarkup
NoNone
ModuleArea the line belongs to: inventory, customer or vendor.Enum
PriceDiscModule
ModuleInventCustVend (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PDSCalculationIdID of the attribute-based pricing calculation.String
PDSCalculationId
NoNone
Percent1First discount percentage.Real
DiscPct
NoNone
Percent2Second discount percentage.Real
DiscPct
NoNone
PriceDiscAdmTransIdSystem record ID of the related trade agreement journal line.Int64
PriceDiscAdmTransRecId
NoPriceDiscAdmTrans.RecIdNone
PriceUnitQuantity that the price applies to.Real
PriceUnit
NoNone
PurchasePriceQtyPrice quantity for the purchase price.Real
PriceQty
NoNone
PurchasePriceUnitPrice unit for the purchase price.Real
PriceUnit
NoNone
PurchaseUnitIdUnit of measure for the purchase side.String
UnitOfMeasureSymbol
NoNone
QuantityAmountFromLower limit of the quantity or amount range.Real
AmountQty
NoNone
QuantityAmountToUpper limit of the quantity or amount range.Real
AmountQuantityTo
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
relationType of price or discount: purchase or sales price, line, multiline or total discount, or postage discount.Enum
PriceType (enum)
NoNone
RetailBasePriceOrigCurrencyCodeCurrency code of the original price basis. It points to a currency.String (3)
RetailBasePriceOrigCurrencyCode
NoCurrency.CurrencyCodeNone
RetailCurrentBasePriceValue of the price basis.Real
RetailCurrentBasePrice
NoNone
RetailCurrentBasePriceDeviationDifference between the price and the price basis.Real
RetailCurrentBasePriceDeviation
NoNone
RetailCurrentBasePricePercentDifference from the price basis, as a percentage.Real
RetailCurrentBasePricePercent
NoNone
RetailCurrentInventCostInventory cost used for comparison.Real
RetailCurrentInventCost
NoNone
RetailCurrentInventCostDeviationDifference between the price and the inventory cost.Real
RetailCurrentInventCostDeviation
NoNone
RetailCurrentInventCostPercentDifference from the inventory cost, as a percentage.Real
RetailCurrentInventCostPercent
NoNone
RetailCurrentOrigCurBasePricePrice basis in the original currency.Real
RetailCurrentOrigCurBasePrice
NoNone
RetailCurrentOtherGroupPricePrice from another group, used for comparison.Real
RetailCurrentOtherGroupPrice
NoNone
RetailCurrentOtherGroupPriceDeviationDifference between the price and the comparison price.Real
RetailCurrentOtherGroupPriceDeviation
NoNone
RetailCurrentOtherGroupPricePercentDifference from the comparison price, as a percentage.Real
RetailCurrentOtherGroupPricePercent
NoNone
RetailCurrentSalesPricePrevious sales price.Real
RetailCurrentSalesPrice
NoNone
RetailCurrentSalesPriceDeviationDifference between the new price and the previous sales price.Real
RetailCurrentSalesPriceDeviation
NoNone
RetailCurrentSalesPricePercentDifference from the previous sales price, as a percentage.Real
RetailCurrentSalesPricePercent
NoNone
SalesPriceQtyPrice quantity for the sales price.Real
PriceQty
NoNone
SalesPriceUnitPrice unit for the sales price.Real
PriceUnit
NoNone
SalesUnitIdUnit of measure for the sales side.String
UnitOfMeasureSymbol
NoNone
SearchAgainYes/No flag labelled 'Find next'. The metadata does not say more.low confidenceEnum
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateDate until which the line is valid.Date
ToDate
NoNone
UnitIdUnit of measure for the line. It points to a unit.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
wMSLocationIdWarehouse location for the line.String
WMSLocationId
NoNone
wMSPalletIdPallet ID for the line. It points to a pallet.String (18)
WMSPalletId
NoWMSPallet.wMSPalletIdNone

Indexes (1)

Relations (29)

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

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many PriceDiscAdmTransfer records → zero or one Currency record

  • CustEndGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::EndDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust, relation = PriceType::EndDiscSales, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • CustLineGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust, relation = PriceType::LineDiscSales, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • CustMultiGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust, relation = PriceType::MultiLineDiscSales, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • CustPriceGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust, relation = PriceType::PriceSales, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • CustTable → CustTable

    Join on Module = ModuleInventCustVend::Cust, AccountCode = PriceDiscPartyCodeType::Table, AccountRelation = CustTable.AccountNum

    Many PriceDiscAdmTransfer records → zero or one CustTable record

  • InventBatch → InventBatch

    Join on inventBatchId = InventBatch.inventBatchId, ItemRelation = InventBatch.itemId, ItemCode = PriceDiscProductCodeType::Table

    Many PriceDiscAdmTransfer records → zero or one InventBatch record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many PriceDiscAdmTransfer records → zero or one InventLocation record

  • InventSerial → InventSerial

    Join on InventSerialId = InventSerial.InventSerialId, ItemRelation = InventSerial.ItemId, ItemCode = PriceDiscProductCodeType::Table

    Zero or one PriceDiscAdmTransfer record → zero or one InventSerial record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many PriceDiscAdmTransfer records → zero or one InventSite record

  • InventTable → InventTable

    Join on ItemCode = PriceDiscProductCodeType::Table, ItemRelation = InventTable.ItemId

    Many PriceDiscAdmTransfer records → zero or one InventTable record

  • PriceDiscAdmTable → PriceDiscAdmTable

    Join on JournalNum = PriceDiscAdmTable.JournalNum

    Exactly one PriceDiscAdmTransfer record → exactly one PriceDiscAdmTable record

  • PurchEndGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::EndDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::EndDiscPurch, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • PurchLineGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::LineDiscPurch, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • PurchMultiGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::MultiLineDiscPurch, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • PurchPriceGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::PricePurch, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • SalesEndGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::EndDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::EndDiscSales, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • SalesLineGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::LineDiscSales, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • SalesMultiGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::MultiLineDiscSales, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • SalesPriceGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Invent, relation = PriceType::PriceSales, ItemCode = PriceDiscProductCodeType::GroupId, ItemRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • UnitId → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many PriceDiscAdmTransfer records → zero or one UnitOfMeasure record

  • VendEndGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::EndDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend, relation = PriceType::EndDiscPurch, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • VendLineGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::LineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend, relation = PriceType::LineDiscPurch, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • VendMultiGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::MultiLineDiscGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend, relation = PriceType::MultiLineDiscPurch, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • VendPriceGroup → PriceDiscGroup

    Join on PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Vend, relation = PriceType::PricePurch, AccountCode = PriceDiscPartyCodeType::GroupId, AccountRelation = PriceDiscGroup.GroupId

    Many PriceDiscAdmTransfer records → zero or one PriceDiscGroup record

  • VendTable → VendTable

    Join on Module = ModuleInventCustVend::Vend, AccountCode = PriceDiscPartyCodeType::Table, AccountRelation = VendTable.AccountNum

    Many PriceDiscAdmTransfer records → zero or one VendTable record

  • WMSPallet → WMSPallet

    Join on wMSPalletId = WMSPallet.wMSPalletId

    Many PriceDiscAdmTransfer records → zero or one WMSPallet record

  • RetailBasePriceOrigCurrencyCode → Currency

    Join on RetailBasePriceOrigCurrencyCode = Currency.CurrencyCode

    Many PriceDiscAdmTransfer records → zero or one Currency record

  • PriceDiscAdmTrans → PriceDiscAdmTrans

    Join on PriceDiscAdmTransId = PriceDiscAdmTrans.RecId

    Zero 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.

Email sales@drdynamics.co.uk