Codeunit WSB_OrigPriceDiscountMgtTTE¶
Provides functionality for Original Price Discounts.
Properties¶
| Name | Value |
|---|---|
| Access | Public |
Methods¶
wgFncSetWSBOrigUnitPriceAndLineDiscountPercFromPurchLine¶
Sets the Orig. Unit Cost and Orig. Line Discount % field from the values currently in the "Direct Unit Cost" and "Line Discount %" fields.
Parameters¶
| Type | Name | Description |
|---|---|---|
Record "Purchase Line" |
vRecPurchLine |
The Purchase Line to set the fields for. |
wgFncSetWSBOrigUnitPriceAndLineDiscountPercFromSalesLine¶
Sets the Orig. Unit Price and Orig. Line Discount % field from the values currently in the "Unit Price" and "Line Discount %" fields.
Parameters¶
| Type | Name | Description |
|---|---|---|
Record "Sales Line" |
vRecSalesLine |
The Sales Line to set the fields for. |