In Sage Enterprise Management (formerly Sage X3), Optimization function concerns a selection of work orders in process, for a given analysis horizon. Optimization function launch screen, it is possible to enter a start date, an end date, and a process date. According to the values entered for these various dates and the values assigned to the general setups OPTAMMAR and OPTMAVMAR as shown in below screenshot.
Navigate: Setup > General parameters > parameter values > GPA manufacturing

Fig 1.1: Parameter Value Screen

Fig 1.2: Parameter Values Screen
Navigate: Manufacturing > Detailed Scheduling > Optimisation

Fig 1.3: Optimization Screen
The system then verifies that the WO to which the selected operation belongs falls within the horizon [entered start date – OPTAMMAR / entered end date + OPTAVMAR]. If this is the case, the operation is retained for analysis and therefore the WO in its globality, if not, it is excluded, because the system only selects complete WOs for analysis.
OPTAMMAR (Forward Optimisation margin)
The activation of the Optimisation function requires the choice of a planning horizon, which by default is proposed as a month, and which can be entered.
This horizon is then corrected by the OPTAMMAR parameter, expressed in weeks, and which represents the lead-time to be considered before the first WO of the selection in the planning horizon.
This margin is used to define the start date of the optimization calendar with respect to the chosen horizon.
OPTAVMAR (Backward Optimisation margin)
The activation of the Optimisation function requires the choice of a planning horizon, which by default is proposed as a month, and which can be entered.
This horizon is then corrected by the OPTAVMAR parameter, expressed in weeks, and which represents the lead-time to be considered after the first WO of the selection in the planning horizon.
This margin is used to define the end date of the optimization calendar with respect to the chosen horizon.
About Us
Greytrix is a one-stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation expertise.
Greytrix has some unique solutions of Sage X3 integration with Sage CRM, Salesforce.com, and Magento eCommerce along with Sage X3 migration from Sage 50 US, Sage Pro, and QuickBooks. We also offer best-in-class Sage X3 customization and development services to Sage business partners, end users, and Sage PSG worldwide.
For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com. We will be glad to assist you.