Question

Scheduled Task Creation

  • 8 April 2022
  • 1 reply
  • 134 views

Userlevel 4
Badge +6

LCS Case G2325718

*************

I would like to understand whether we can automate a current right-click option within one of the IFS screens.  This would be to run nightly with set parameters.

This is on the Sales Part Base Prices screen. This would ideally run every night. There is not currently a database task for these.

-- Add New Sales Parts
-- Add New Sales Parts to Sales Price Lists

If possible, can you please instruct how and we will implement into our non-production environment?


1 reply

Userlevel 5
Badge +6

Hi @Thilini Wijesinghe 

There is another core methods such as
Customer_Order_Pricing_API.Add_Parts_To_Price_Lists_Bat__

Customer_Order_Pricing_API.Add_New_Sales_Parts_Batch__

which can be use for batch scheduling as inside these method it is calling
Transaction_SYS.Deferred_Call('Customer_Order_Pricing_API.Start_Add_Prt_To_Price_Lists__', attr_,
Transaction_SYS.Deferred_Call('Customer_Order_Pricing_API.Start_Add_New_Sales_Parts__', attr_,


Using this methods it is possible to achieve this as a schedule database tasks using below steps.

1.Create new database tasks using
Customer_Order_Pricing_API.Add_Parts_To_Price_Lists_Bat__
Customer_Order_Pricing_API.Add_New_Sales_Parts_Batch__


2.Then this new database task will be available in New database task schedule list.
3. We can enter the required values for given parameters in those methods and schedule the task as desired.
 

Cheers,

Thilini

Reply