Read EFF value from Item level EFF directly
SummaryRead EFF value from Item level EFF directly
As part of below Algorithm, we are trying to read the Item EFF value directly from item definition for data set 'Candidate'.
Algorithm: Get Base List Price for Goods and Services
the red highlighted part used to derive the Pricing UOM code based on EFF value derived from item level. This code is always returning order line level UOM code and not based on Item level EFF value. Any pointers on how to fetch item EFF value directly.
getCharges(Line.AppliedPriceListId, Line.PricingDate, (CWTypeUDA.locate([InventoryItemId: Line.InventoryItemId, InventoryOrganizationId: Line.InventoryOrganizationId, AttributeGroupCode: 'Finished Goods', AttributeTypeCode: 'Item Attribute', AttributeCode: 'Weight Type']) == 'Catchweight') ? 'CW' : (Line.LineQuantity.UnitCode)