Skip to main content
Solved

Calculate Purchase Costs - scheduled task

  • October 8, 2025
  • 6 replies
  • 102 views

Forum|alt.badge.img+7

Hi everybody,

in IFS10 we have scheduled task to calculate purchase costs (latest purchase cost). 

 

 

How to set it up in IFS Cloud?

I tried to set it up, but I don’t know the syntax for ATTRIB_ parameter in IFSCloud. When I copy the argument from background job (when you run it manually), it doesn’t work.

 

I am aware of other ticket saying it is not possible even in APPS10, but it definitely works, so I just want to double check.

 

Thansk a lot.

Jan

Best answer by westjan

Hi,

found the solution. You have to use different API and then you can see the parameters.

 

 

6 replies

Forum|alt.badge.img+7
  • Author
  • Do Gooder (Customer)
  • Answer
  • October 24, 2025

Hi,

found the solution. You have to use different API and then you can see the parameters.

 

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • February 27, 2026

Hi,

What COST_SET_TYPE_ do you use and must you have primary supplier set.

 I have tried Latest Purchase Price, LatestPurchPrice, LatestPurchasePrice

I still don't get a Latest Purchase Price calculated in the I P U C page. If i run manually then all good. I cant get the schedule to work. Thankyou in advance


Forum|alt.badge.img+7
  • Author
  • Do Gooder (Customer)
  • March 2, 2026

Hi,

I have it set as follows and it works:

 

And the parameters of schedule:

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • March 23, 2026

Hi Westjan,

 

Yes. We had to read the code and found the same as you.

Latest Purch Price

Average Purchase Price,


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • March 23, 2026

Thanks, WestJan. 

Does Sysdate - 270 MEAN GO BACK 270 DAYS.

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • March 23, 2026

Thanks, WestJan. 

Does Sysdate - 270 MEAN GO BACK 270 DAYS. Thx again