KVSFCYCarryOutActionMsgPlan#
Obsolete
This Element will be removed or changed with a future Version of the App.
Procedures#
SetCreatedDocumentBuffer(Record Document Entry) :#
Summary: Sets the created document buffer for tracking generated documents during the carry out action process. This procedure initializes the temporary document entry buffer that will collect information about all documents created during planning execution. The buffer helps track purchase orders, production orders, transfer orders, and assembly orders generated from requisition lines.
procedure SetCreatedDocumentBuffer(var TempDocumentEntryNew: Record "Document Entry" temporary):
Parameters:
TempDocumentEntryNew: A temporary document entry record buffer that will be used to store information about documents created during the carry out action process. This buffer tracks document types, numbers, and references for reporting and follow-up purposes.
SetReqWkshLine(Record Requisition Line) :#
Summary: Sets the requisition worksheet line context for the carry out action process. This procedure establishes the worksheet template and batch name from the current requisition line and copies filters for processing. It defines the scope of requisition lines that will be processed during the carry out action execution.
procedure SetReqWkshLine(var CurrentReqLine: Record "Requisition Line"):
Parameters:
CurrentReqLine: The current requisition line record that provides the worksheet template name, batch name, and filter context for determining which requisition lines should be processed during the carry out action.
SetDemandOrder(Record Requisition Line, Record Manufacturing User Template) :#
Summary: Sets up demand order processing parameters based on manufacturing user template configuration. This procedure configures the carry out action process using predefined manufacturing template settings including order creation choices and worksheet assignments. It supports different order creation scopes such as active line, active order, or all lines based on template configuration.
procedure SetDemandOrder(var ReqLine: Record "Requisition Line"; MfgUserTempl: Record "Manufacturing User Template"):
Parameters:
ReqLine: The requisition line record that serves as the context for demand order processing and provides the basis for filtering and worksheet setup.MfgUserTempl: The manufacturing user template record containing predefined settings for production orders, purchase orders, transfer orders, assembly orders, and associated worksheet configurations that will govern the carry out action behavior.
InitializeRequest(Option, Option, Option, Option) :#
Summary: Initializes the basic request parameters for the carry out action process. This procedure sets the fundamental order creation choices that determine how different types of supply orders will be handled during planning execution. It configures the behavior for production orders, purchase orders, transfer orders, and assembly orders without worksheet-specific settings.
procedure InitializeRequest(NewProdOrderChoice: Option; NewPurchOrderChoice: Option; NewTransOrderChoice: Option; NewAsmOrderChoice: Option):
Parameters:
NewProdOrderChoice: The production order creation choice option (e.g., Planned, Firm Planned, Firm Planned and Print, Copy to Req. Wksh) that determines how production orders will be created from requisition lines.NewPurchOrderChoice: The purchase order creation choice option (e.g., Make Purch. Orders, Make Purch. Orders and Print, Copy to Req. Wksh) that determines how purchase orders will be handled.NewTransOrderChoice: The transfer order creation choice option (e.g., Make Trans. Orders, Make Trans. Orders and Print, Copy to Req. Wksh) that determines how transfer orders will be processed.NewAsmOrderChoice: The assembly order creation choice option (e.g., Make Assembly Orders, Make Assembly Orders and Print) that determines how assembly orders will be created from planning suggestions.
InitializeRequest2(Option, Option, Option, Option, Code[10], Code[10], Code[10], Code[10]) :#
Summary: Initializes comprehensive request parameters including worksheet assignments for the carry out action process. This procedure extends the basic initialization with specific worksheet template and name assignments for purchase and transfer order processing. It provides complete configuration for scenarios where orders need to be copied to requisition worksheets instead of being created directly.
procedure InitializeRequest2(NewProdOrderChoice: Option; NewPurchOrderChoice: Option; NewTransOrderChoice: Option; NewAsmOrderChoice: Option; NewReqWkshTemp: Code[10]; NewReqWksh: Code[10]; NewTransWkshTemp: Code[10]; NewTransWkshName: Code[10]):
Parameters:
NewProdOrderChoice: The production order creation choice option that determines how production orders will be created from requisition lines.NewPurchOrderChoice: The purchase order creation choice option that determines how purchase orders will be handled during the carry out process.NewTransOrderChoice: The transfer order creation choice option that determines how transfer orders will be processed and whether they are created directly or copied to worksheets.NewAsmOrderChoice: The assembly order creation choice option that determines how assembly orders will be created from planning suggestions.NewReqWkshTemp: The requisition worksheet template code to be used when purchase order choice is set to copy to requisition worksheet instead of creating orders directly.NewReqWksh: The requisition worksheet name code to be used in conjunction with the template for purchase order worksheet copying operations.NewTransWkshTemp: The transfer worksheet template code to be used when transfer order choice is set to copy to requisition worksheet instead of creating transfer orders directly.NewTransWkshName: The transfer worksheet name code to be used in conjunction with the template for transfer order worksheet copying operations.
Events#
OnAfterSetDemandOrder(Record Requisition Line, Record Manufacturing User Template, Record Requisition Line) :#
Summary: Triggers after setting demand order parameters for carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnAfterSetDemandOrder(var RequisitionLine: Record "Requisition Line"; MfgUserTempl: Record "Manufacturing User Template"; var ReqLineFilters: Record "Requisition Line"):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnAfterSetDemandOrder', '', false, false)]
local procedure DoSomethingOnAfterSetDemandOrder(var RequisitionLine: Record "Requisition Line"; MfgUserTempl: Record "Manufacturing User Template"; var ReqLineFilters: Record "Requisition Line")
begin
end;
Parameters:
RequisitionLine: Requisition line recordMfgUserTempl: Manufacturing user template recordReqLineFilters: Requisition line filters record
OnAfterSetReqLineFilters(Record Requisition Line) :#
Summary: Triggers after setting requisition line filters for carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnAfterSetReqLineFilters(var RequisitionLine: Record "Requisition Line"):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnAfterSetReqLineFilters', '', false, false)]
local procedure DoSomethingOnAfterSetReqLineFilters(var RequisitionLine: Record "Requisition Line")
begin
end;
Parameters:
RequisitionLine: Requisition line record
OnBeforePreReport() :#
Summary: Triggers before the report is processed in carry out action planning.
[IntegrationEvent(true, false)]
local procedure OnBeforePreReport():
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnBeforePreReport', '', false, false)]
local procedure DoSomethingOnBeforePreReport()
begin
end;
OnAfterRequisitionLineOnAfterGetRecord(Record Requisition Line, Option) :#
Summary: Triggers after processing a requisition line in carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnAfterRequisitionLineOnAfterGetRecord(var RequisitionLine: Record "Requisition Line"; ProdOrderChoice: Option):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnAfterRequisitionLineOnAfterGetRecord', '', false, false)]
local procedure DoSomethingOnAfterRequisitionLineOnAfterGetRecord(var RequisitionLine: Record "Requisition Line"; ProdOrderChoice: Option)
begin
end;
Parameters:
RequisitionLine: Requisition line recordProdOrderChoice: Production order choice option
OnBeforeCheckLine(Record Requisition Line, Option, Option, Boolean) :#
Summary: Triggers before checking a requisition line for carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckLine(RequisitionLine: Record "Requisition Line"; PurchOrderChoice: Option; TransOrderChoice: Option; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnBeforeCheckLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckLine(RequisitionLine: Record "Requisition Line"; PurchOrderChoice: Option; TransOrderChoice: Option; var IsHandled: Boolean)
begin
end;
Parameters:
RequisitionLine: Requisition line recordPurchOrderChoice: Purchase order choice optionTransOrderChoice: Transfer order choice optionIsHandled: Flag indicating if handled by extension
OnBeforeRequisitionLineOnAfterGetRecord(Record Requisition Line, Boolean) :#
Summary: Triggers before processing a requisition line after get record in carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnBeforeRequisitionLineOnAfterGetRecord(var RequisitionLine: Record "Requisition Line"; var CombineTransferOrders: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnBeforeRequisitionLineOnAfterGetRecord', '', false, false)]
local procedure DoSomethingOnBeforeRequisitionLineOnAfterGetRecord(var RequisitionLine: Record "Requisition Line"; var CombineTransferOrders: Boolean)
begin
end;
Parameters:
RequisitionLine: Requisition line recordCombineTransferOrders: Flag to combine transfer orders
CheckOptionsOnQueryClosePage(Option, Option, Option, Boolean, Boolean, Code[10], Code[10], Option, Code[10], Code[10], Boolean, Boolean, Action, Boolean) :#
Summary: Triggers to check options of the request page for carry out action planning.
[IntegrationEvent(false, false)]
local procedure CheckOptionsOnQueryClosePage(ProdOrderChoice: Option; AsmOrderChoice: Option; PurchOrderChoice: Option; AssignBlanketOrders: Boolean; OneOrderPerBlanketOrder: Boolean; ReqWkshTemp: Code[10]; ReqWksh: Code[10]; TransOrderChoice: Option; TransWkshTemp: Code[10]; TransWkshName: Code[10]; CombineTransferOrders: Boolean; NoPlanningResiliency: Boolean; CloseAction: Action; var AllowClosePage: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'CheckOptionsOnQueryClosePage', '', false, false)]
local procedure DoSomethingCheckOptionsOnQueryClosePage(ProdOrderChoice: Option; AsmOrderChoice: Option; PurchOrderChoice: Option; AssignBlanketOrders: Boolean; OneOrderPerBlanketOrder: Boolean; ReqWkshTemp: Code[10]; ReqWksh: Code[10]; TransOrderChoice: Option; TransWkshTemp: Code[10]; TransWkshName: Code[10]; CombineTransferOrders: Boolean; NoPlanningResiliency: Boolean; CloseAction: Action; var AllowClosePage: Boolean)
begin
end;
Parameters:
ProdOrderChoice: Production order choice optionAsmOrderChoice: Assembly order choice optionPurchOrderChoice: Purchase order choice optionAssignBlanketOrders: Assign blanket orders flagOneOrderPerBlanketOrder: One order per blanket order flagReqWkshTemp: Requisition worksheet template codeReqWksh: Requisition worksheet name codeTransOrderChoice: Transfer order choice optionTransWkshTemp: Transfer worksheet template codeTransWkshName: Transfer worksheet name codeCombineTransferOrders: Combine transfer orders flagNoPlanningResiliency: No planning resiliency flagCloseAction: Close actionAllowClosePage: Allow close page flag
OnBeforePreAndPostProcessEDOrder(Record Requisition Line, Boolean, Option, Option, Code[10], Code[10], Boolean) :#
Summary: Triggers before pre and post processing of ED order in carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnBeforePreAndPostProcessEDOrder(var RequisitionLine: Record "Requisition Line"; OrderFinish: Boolean; SourceType: Option; Choice: Option; WkshTempl: Code[10]; WkshName: Code[10]; EDProcess: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnBeforePreAndPostProcessEDOrder', '', false, false)]
local procedure DoSomethingOnBeforePreAndPostProcessEDOrder(var RequisitionLine: Record "Requisition Line"; OrderFinish: Boolean; SourceType: Option; Choice: Option; WkshTempl: Code[10]; WkshName: Code[10]; EDProcess: Boolean)
begin
end;
Parameters:
RequisitionLine: Requisition line recordOrderFinish: Order finish flagSourceType: Source type optionChoice: Choice optionWkshTempl: Worksheet template codeWkshName: Worksheet name codeEDProcess: ED process flag
OnCheckLineBeforeTestSupplyFrom(Record Requisition Line, Boolean) :#
Summary: Triggers before testing supply from on a requisition line in carry out action planning.
[IntegrationEvent(false, false)]
local procedure OnCheckLineBeforeTestSupplyFrom(RequisitionLine: Record "Requisition Line"; var TestSupplyFrom: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSFCYCarryOutActionMsgPlan", 'OnCheckLineBeforeTestSupplyFrom', '', false, false)]
local procedure DoSomethingOnCheckLineBeforeTestSupplyFrom(RequisitionLine: Record "Requisition Line"; var TestSupplyFrom: Boolean)
begin
end;
Parameters:
RequisitionLine: Requisition line recordTestSupplyFrom: Flag to test supply from
Protected Variables#
ProdOrderChoice#
Type: Option