KVSFCYRolledupCostShares#
Procedures#
SetItemVersion(Record KVSFCYItemVersion) :#
Summary: Sets a specific item version to be used for the rolled-up cost shares calculation instead of finding the active version automatically. This procedure allows external code to specify a particular item version for analysis, useful when comparing different versions or analyzing historical cost structures. When set, the report will use this version for BOM and routing information instead of determining the active version based on the calculation date.
procedure SetItemVersion(ItemVersionPar: Record "KVSFCYItemVersion"):
Parameters:
ItemVersionPar: The specific item version record to use for cost calculation. Contains version-specific BOM and routing information for Engineering and Design scenarios.