Skip to content

Codeunit WSB_ItemBaseUnitCostMgtTTE

Provides functionality for Item Base Unit Cost Management.

Properties

Name Value
Access Public

Methods

wgFncBaseUnitCostEnabled

Determines if functionality is enabled.

Returns

Type Description
Boolean Return value of type Boolean.

wgFncItemOnAfterValidatePriceProfitCalculation

Sets profit and unit price.

Parameters

Type Name Description
Record "Item" vRecItem VAR Record Item.

wgFncItemOnAfterValidateUnitCost

Set WSB_BaseUnitCost.

Parameters

Type Name Description
Record "Item" vRecItem VAR Record Item.

wgFncItemValidateBaseUnitCost

Validates Price/Profit Calculation.

Parameters

Type Name Description
Record "Item" vRecItem VAR Record Item.

wgFncSalesLineGetBaseUnitCost

Validates and sets "Unit Cost (LCY)" on Sales Line.

Parameters

Type Name Description
Record "Sales Line" vRecSalesLine VAR Record "Sales Line".
Record "Item" pRecItem Record Item.

wgFncServiceLineGetBaseUnitCost

Validates and sets "Unit Cost (LCY)" on Service Line.

Parameters

Type Name Description
Record "Service Line" vRecServLine VAR Record "Service Line".
Record "Item" pRecItem Record Item.