A client of mine would like me to find a way to auto-allocate sales orders for ACS Multi-Bin Picking, and I was considering a scheduled export/import of sorts to trip a database field, but they also came back to me with this suggestion from one of the ACS programmers:
""To do this you will want to have the KSync run a script where you access the Sales Order Header object ""SO_SalesOrder_bus"", pass thru the sales order number, set ""Y"" to the D404_AllocateOrder$ and write the order header back. This is a sample below.""
soHeadObj=new(""so_SalesOrder_bus"",cosession)
setKeyVal=soHeadObj'setKey(SalesOrderNo$)
soHeadObj'setValue(""D404_AllocateOrder$"",""Y"")
soHeadObj'write()
Is it possible to write to the sales order in this fashion, is it a good/clean option, and how do I actually call Sage to run this script? I'm sure the way I'm phrasing this question all wrong, since I've never done any ""scripts"" outside of Sage besides VI batch files, but hopefully, someone understands what I'm asking :)