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

Forum Post: Script to prevent Quote conversion to Sales Order

$
0
0
Sage ERP 100 2013 I have a client that wants to prevent Quotes converting to a Sales Order based on UDF values. I just tried to create a simple script on the Column Pre-Validate of OrderType to display if it is a Quote. The script does nothing.  If I put is in Table Post-Read, it displays the message Quote. My question is how can I check if the Order type was "Q" and changed to "S".   I will work on checking the UDF data once I find the right spot.  Thank you in advance. Ctype="" Set oUI = oSession.AsObject(oSession.UI) retVal = oBusObj.GetValue("OrderType$",Ctype) If Ctype="Q" then rv=oUI.MessageBox("Quote!!!") end if

Viewing all articles
Browse latest Browse all 36990

Trending Articles