PriceDisc::newFromPriceDiscHeading Method [AX 2012]
Constructs a new PriceDisc object for the specified line.
server public static PriceDisc newFromPriceDiscHeading(
ModuleInventPurchSales _moduleType,
PriceDate _priceDate,
CustVendAC _accountNum,
CurrencyCode _currency)
Run On
ServerParameters
- _moduleType
- Type: ModuleInventPurchSales Enumeration
A ModuleInventPurchSales enumeration value.
- _priceDate
- Type: PriceDate Extended Data Type
A date value.
- _accountNum
- Type: CustVendAC Extended Data Type
A CustVendAc extend date type value.
- _currency
- Type: CurrencyCode Extended Data Type
A CurrnecyCodeId value.
Return Value
Type: PriceDisc ClassThe PriceDisc object constructed by using the specified parameters.
Show: