Hourly Constraint in Batch Task

By | February 22, 2021

We may come across where we need to execute the batch task for only particular time for the rest of the batch server should not be in active state so that the other process can utilize the working space. In Sage X3 we can setup this making the setup in such a way so that only for that particular time the batch server will work, in the rest of time it will in inactive state.

To execute the batch server for particular time frame we need to execute perform the below setup:

Batch Calendar:

We need to setup the batch calendar: This include the start and end Date on which the batch server will be active and will be executing the task. For the rest of the period the batch task will not be in active state.

In this screen we would be able to mention multiple range of the date on which the batch server needs to be active. If the current date fall in the below given multiple range then it will go-ahead to check the other condition. This is the first date check is utilized.

Fig: Batch calendar

In the next step we need to navigate: —

All > Setup > Usage >Batch Server

Fig: Hourly constraint

In the above screen, we need to mention the constraint name and description.

Workday: This will help us to decide the working weekday for batch task to be active. We can mark the day as if we need to consider as working weekday. We will be not marking the checkbox if this is not the working weekday. This bifurcation will help us to not execute the batch task in the working time of the user while entering the transaction so that server will be utilized in the user and not batch task.

Calendar: The batch server calendar which executed in the earlier step will be utilized to fetch the date of the execution.

Hours /Day worked: In this we would be able to mention the start and end time of the batch server to be active and executing the task. If the current weekday falls in the calendar date and does satisfies the working day, it will follow this time zone.

Hours(worked ) other days: In this we would be able to set the time of the for the non-working days which we have unmarked in workdays. If the current weekday falls in the calendar date and doesn’t satisfies the working day, it will follow this time zone.

According to this setup we will be executing the batch server for only particular time constraint and would release the server for the other process.


It will check the date from the calendar attached, then it would check the weekday of the execution. If the weekday is satisfied then it will check the hours of the execution. Incase if the weekdays is not satisfied it will follow the time of the range from the second the grid to check the time of active batch task.

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation competence. 

Greytrix caters to a wide range of Sage X3, a Sage Business Cloud Solution, offerings. Our unique GUMU™ integrations include Sage X3 for Sage CRMSalesforce.com, Dynamics 365 CRM and Magento eCommerce along with Implementation and Technical Support worldwide for Sage X3. Currently we are Sage X3 Implementation Partner in East Africa, Middle East, Australia, Asia, US, UK. We also offer best-in-class Sage X3 customization and development services, integrated applications such as POS | WMS | Payment Gateway | Shipping System | Business Intelligence | eCommerce and have developed add-ons such as Catch – Weight  and Letter of Credit and India Legislation for Sage X3 to Sage business partners, end users and Sage PSG worldwide. Greytrix Sales Commission App for Sage X3 simplifies commission calculations and postings on sales transactions.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

Greytrix is a recognized Sage champion ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage X3 – Salesforce is a 5-star rated app listed on Salesforce AppExchange and GUMU™ integration for Dynamics 365 CRM – Sage ERP listed on Microsoft AppSource.

For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com, We would like to hear from you.