RetailDiscountThreshold.copyFrom Method
Method copies the data from the original record and updates the current record in the RetailDiscountThreshold table.
Updates record in the RetailGroupMemberLine and creates the new records in the RetailDiscountThresholdTiers and RetailPeriodicDiscountLine tables
Syntax
public void copyFrom(RetailDiscountThreshold _original)
Run On
Called
Parameters
- _original
Type: RetailDiscountThreshold Table
Table buffer of the RetailDiscountThreshold.
Exceptions
Exception | Condition |
---|---|
Error | Throws error if the record exists in RetailDiscountThresholdTiers table. |