Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36993

Forum Post: SO Entry - Add Line based on ShipVia Code - Logical Question

$
0
0
Hi All, I have presented a problem that, in itself, sounds simple enough. If we have a ShipVia that starts with a certain character code (Let's say "ABC" ) then we are going to add a line item (misc charge) for certain criteria. My initial thought was to utilize the PostValidate of ShipVia to add/check the lines as necessary. This doesn't work. It seems the ShipVia PostValidate completes before the CustomerNo PostValidate does, for a new order. Meaning that if I create a line on validate of ShipVia, when the CustomerNo validation happens I get prompted with a message about recalculating the price of the existing lines - which we don't want. Can you guys think of any way for this to happen successfully, for both new orders and when a ship via is changed? Another thought was to set a storage variable and then create the line at a later date, but I can't wrap my head around what and where. Any help is appreciated.

Viewing all articles
Browse latest Browse all 36993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>