I have an excel migration for Supplier for Purchase Part. This allows price lists to be created by users and inserted to the price list tab. However, if a price list is active - this prevents the tool from working. Is there a way to close an active price list automatically before the new price list is inserted?
S4PP price lists have effectivity dates (date from/date to)
I presume you are getting an ‘interval already exists or overlaps and existing interval’ error message?
So, you need to have two migration jobs.
Close any Price Lists for any Supplier/partcode combinations you are about to update by setting the ‘To date’ to today -1
Add the new Price list entries with a ‘From Date’ set to today
You can chain DataMig jobs together by calling the first from the 2nd using a CONNJOB parameter which allows for some degree of error checking before processing.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.