Hello Team,

in codeunit 905 "Assembly Line Management" two versions of procedure AddBOMLine exists. One of them is not local, has three parameters and calls the InsertAsmLine() and the AddBOMLine() procedure with six parameters. But this second AddBOMLine procedure is local.

I want to calculate the Assembly Order Lines on my own and want to decide, which Assembly BOM lines should be copied and which not. But this will only work inclusive all events if this second local AddBOMLine procedure could be called from external.

So, please could you make this change:

Old: local procedure AddBOMLine(AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; AsmLineRecordIsTemporary: Boolean; BOMComponent: Record "BOM Component"; ShowDueDateBeforeWorkDateMessage: Boolean; QtyPerUoM: Decimal)

New: procedure AddBOMLine(AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; AsmLineRecordIsTemporary: Boolean; BOMComponent: Record "BOM Component"; ShowDueDateBeforeWorkDateMessage: Boolean; QtyPerUoM: Decimal)

Thanks in advance and best regards, Stephan

0
© 2022 pullanswer.com - All rights reserved.