RetailDiscountThreshold.copyFrom Method [AX 2012]

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

public void copyFrom(RetailDiscountThreshold _original)

Run On

Called

Parameters

_original
Type: RetailDiscountThreshold Table
Table buffer of the RetailDiscountThreshold.

ExceptionCondition
Error

Throws error if the record exists in RetailDiscountThresholdTiers table.

Show: