KVSFCYCalcEDModPropWkshOrd#
Procedures#
SetParameter(Code[10], Boolean, Boolean) :#
Summary: Sets the main parameters for the Engineering and Design modification proposal worksheet calculation. Configures the worksheet name, calculation mode, and user interface options for the report execution.
procedure SetParameter(worksheetNamePar: Code[10]; regenerativePar: Boolean; showDialogPar: Boolean):
Parameters:
worksheetNamePar: Name of the E+D modification proposal worksheet to use for calculationsregenerativePar: True for regenerative planning mode, false for net change planningshowDialogPar: True to show progress dialog during calculation, false for silent execution
SetEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer) :#
Summary: Sets the Engineering and Design monitoring line buffer data for the calculation process. Transfers monitoring line data from the source buffer to the internal temporary record for processing.
procedure SetEDMonitoringLineBuffer(var e&DMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer" temporary):
Parameters:
eDMonitoringLineBufferVar: Temporary E+D monitoring line buffer containing the source data to process
SetCompareProdOrderStatus(Integer, Boolean) :#
Summary: Sets the comparison status for specific production order types in the calculation process. Controls which production order statuses should be included in the modification proposal analysis.
procedure SetCompareProdOrderStatus(Index: Integer; NewValue: Boolean):
Parameters:
Index: Index position (1-4) representing production order status: 1=Simulated, 2=Planned, 3=Firm Planned, 4=ReleasedNewValue: True to include this production order status in comparison, false to exclude
Events#
OnBeforeInsertEDMonitorBuffer(Record KVSFCYEDMonitoringLineBuffer, Record KVSFCYEDMonitoringLineBuffer, Boolean) :#
Summary: Triggers before inserting an E+D monitoring line buffer during calculation.
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertEDMonitorBuffer(var ToEDMonitoringLineBufferTemp: Record "KVSFCYEDMonitoringLineBuffer" temporary; var FromEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer" temporary; var Ishandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCalcEDModPropWkshOrd", 'OnBeforeInsertEDMonitorBuffer', '', false, false)]
local procedure DoSomethingOnBeforeInsertEDMonitorBuffer(var ToEDMonitoringLineBufferTemp: Record "KVSFCYEDMonitoringLineBuffer" temporary; var FromEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer" temporary; var Ishandled: Boolean)
begin
end;
Parameters:
ToEDMonitoringLineBufferTemp: Target temporary E+D monitoring line bufferFromEDMonitoringLineBuffer: Source temporary E+D monitoring line bufferIshandled: Flag indicating if handled by extension
Protected Variables#
CompareProdOrderStatus#
Type: Boolean
NoPlanningResiliency#
Type: Boolean
ShowDialog#
Type: Boolean
CurrWorksheetName#
Type: Code[10]
ProdBOMAndRoutingStatus#
Type: Option