Closed sgiordy closed 5 years ago
You have [External] GenerateTreeForItems to do that. And event OnAfterFilterBOMBuffer(ParentItem,BOMBuffer,DemandDate,TreeType) already exist.
Hi @AlexanderYakunin in BC CU2 OnPrem the "OnAfterFilterBOMBuffer" event does not exists. But if it exists in Cloud version OK, we backport it. Thank you.
Event found in BC 14 RTM OnPrem, thank you.
Hi,
previous issue #420 was closed with a refactor of "GenerateTreeForItemLocal" adding "OnBeforeFilterBOMBuffer" event.
But is not enough: standard procedures "GenerateItemSubTree" and "CalculateTreeType" are LOCAL, so there is no way to call them in custom code.
Please add also this event to control BOMBuffer after its standard creation
OnAfterFilterBOMBuffer(ParentItem, BOMBuffer, DemandDate, TreeType);
Thank you S.