Getting the price from a special Price List (Period and Volume discounts)
Heiko Merz
Hello,I read many things here in this forum, but have no solution, maybe someone can help.
We have about 10 Customers where we have special agreements, meaning that if a sales order is being created with less than 17 pallets in total, the system should take a special price, which is set up in a price list under Price Lists - Period and Volume Discounts. The price should be set up several times, depending on the date (Valid from - until).
Ok, no problem. I have created 10 new price lists, each price list has the customer number as price list name.
Then, I set up an optimizer rule which checks when pressing the button ADD/UPDATE: How many pallets in total ?
--> More or equal 17 --> Go on without doing anything.
--> Less than 17 -->
And here is where I have problems: The system should now go into the price list named "CardCode", there search for the item in the current row, then check the period price and get this price and set it to the unit price field.
So, I have all information I need to have, I just need the code doing: Go into the correct price list and get the correct period price.
I hope someone can help me here.
Thanks in advance,
Heiko
Inga Babco
Hi Heiko,es hilft dir bestimmt die SDK-Funktion GetItemPrice. Such einfach in der SDK-Hilfe nach "GetItemPrice sample".
Diese Funktion braucht als Parameter CardCode, ItemCode, Menge und Datum.
Viele Grüße
Inga
Heiko Merz
Das ist richtig, habe ich auch schon gesehen.Aber der Cardcode für einen Preis in der Preisliste ist ja , z.B. für Preisliste 3, "*3".
Wenn ich das mitgebe, kommt ein Fehler.
Gruß
Heiko
0
Please sign in to leave a comment.
Comments
0 comments