Skip to main content
Question

Scheduled Task Creation

  • April 8, 2022
  • 1 reply
  • 191 views

Forum|alt.badge.img+8

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?

Thilini Aluthweediya
Hero (Employee)
Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings