MCROrderEventTable.insertPriceChange Method
Inserts order events that occur from the sales order price change.
Syntax
public void insertPriceChange(
SalesId _salesId,
MCROrderEventType _orderEventType,
UserId _userId,
real _originalValue,
CurrencyCode _currencyCode,
real _overrideValue,
[RetailInformationSubcodeId _reasonCode,
InventTransId _inventTransId])
Run On
Called
Parameters
- _salesId
Type: SalesId Extended Data Type
The salesId related to this order event.
- _orderEventType
Type: MCROrderEventType Enumeration
The type of order event being created.
- _userId
Type: UserId Extended Data Type
The UserId related to this order event.
- _originalValue
Type: real
The original net amount value to be logged against this event.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code to be logged against this event.
- _overrideValue
Type: real
The new net amount value to be logged against this event.
- _reasonCode
Type: RetailInformationSubcodeId Extended Data Type
The override reason code value to be logged against this event.
- _inventTransId
Type: InventTransId Extended Data Type
The transaction Id value to be logged against this event.