Skip to content

Handle Result

The result returned from scheduling is called a Scheduling Plan and is handled automatically by the IFS Optimization Framework. In order to use the result the returned scheduling entities have corresponding methods for handling the data returned. These methods will have to be overridden in the PL/SQL package file in the Scheduling Model. Custom application logic can be added in these methods based on each scheduling entity returned. It's also possible to add custom application logic that should happen before handling all the returned entities, e.g. clearing out old data. The method Import_Pre_Processing can be overridden for this purpose. Similarly it's also possible to add custom application logic that should happen after handling all the returned entities, e.g. start processing the returned data. The method Import_Post_Processing can be overridden for this purpose. The entity Plan is the head entity for the Scheduling Plan and is handled first.

Handled entities and corresponding methods

EntityMethod
Aggregate_MemberAccept_Aggregate_Member
Aggregated_ActivityAccept_Aggregated_Activity
AllocationAccept_Allocation
Allocation_DataAccept_Allocation_Data
Allocation_OperationAccept_Allocation_Operation
Allocation_PartAccept_Allocation_Part
Appointment_OfferAccept_Appointment_Offer
Appointment_SummaryAccept_Appointment_Summary
Explanation_Message_ParamAccept_Explan_Message_Param
Explanation_OutcomeAccept_Explanation_Outcome
Explanation_Outcome_AllocAccept_Explan_Outcome_Alloc
Explanation_Outcome_MessageAccept_Explanation_Outcome_Msg
Explanation_ResponseAccept_Explanation_Response
Isochrone_PointAccept_Isochrone_Point
PlanAccept_Plan
Plan_AreaAccept_Plan_Area
Plan_BreakAccept_Plan_Break
Plan_DeletionAccept_Plan_Deletion
Plan_Depot_TransferAccept_Plan_Depot_Transfer
Plan_PointAccept_Plan_Point
Plan_PolygonAccept_Plan_Polygon
Plan_ResourceAccept_Plan_Resource
Plan_RouteAccept_Plan_Route
Plan_Split_Resource_OrderAccept_Plan_Split_Res_Order
Plan_TravelAccept_Plan_Travel
Plan_Travel_Part_UsageAccept_Plan_Travel_Part_Usage
Resource_MovementAccept_Resource_Movement
Schedule_ExceptionAccept_Schedule_Exception
Schedule_Exception_DataAccept_Schedule_Exception_Data
Suggested_DispatchAccept_Suggested_Dispatch
Suggested_Split_Res_OrderAccept_Suggested_Split_Res_Ord
Travel_DetailAccept_Travel_Detail

Example

Updates from PSO Workbench

Updates made in the PSO Workbench will be handled in a similar way to the Scheduling Plan but in a separate broadcast. The updated scheduling entities have corresponding methods for handling the updated data. These methods will have to be overridden in the PL/SQL package file in the Scheduling Model. Custom application logic can be added in these methods based on each updated scheduling entity. It's also possible to add custom application logic that should happen before handling all the updated entities. The method Update_Pre_Processing can be overridden for this purpose. Similarly it's also possible to add custom application logic that should happen after handling all the updated entities, e.g. start processing the updated data. The method Update_Post_Processing can be overridden for this purpose. The entity Input_Reference is the head entity for Workbench updates and is handled first.

Handled entities and corresponding methods

EntityMethod
Activity_StatusUpdate_Activity_Status
External_Change_Req_ResourceUpdate_Ext_Change_Req_Resource
External_Change_RequestUpdate_External_Change_Request
External_Change_Request_ItemUpdate_Ext_Change_Request_Item
Input_ReferenceUpdate_Input_Reference
Object_DeletionUpdate_Object_Deletion
Schedule_EventUpdate_Schedule_Event
Schedule_Exception_ResponseUpdate_Schedule_Except_Resp
Visit_PartUpdate_Visit_Part

Example