Share via


MCRPriceHistory.initFromPriceDiscTable Method

Initializes current record from a PriceDiscTable record.

Syntax

public void initFromPriceDiscTable(PriceDiscTable _priceDiscTable)

Run On

Called

Parameters

Remarks

Should not need to call directly. Use MCRPriceHistoryUpdateto update history.

When MCRPriceHistory refers to a version of PriceDiscTable, these are unique fields only relevant for PriceDiscTable:

  • ItemCode

  • AccountCode

  • AccountRelation

  • QuantityAmount

  • FromDate

  • Percent1

  • Percent2

  • Relation

  • Module

  • InventDimId

  • AllocateMarkup

  • PriceDiscGroupType

  • MerchandisingEventID

  • QuantityAmountTo

When MCRPriceHistory refers to a version of PriceDiscTable, the following fields are not used:

  • PriceQty

  • ModuleType

See Also

Reference

MCRPriceHistory Table