|
Teavon, may I suggest that you shrink the script a bit. You are using many objects which are defaults found in the Customer and Item master. How about you use the customercode, and let the order type,class,warehouse,etc default from the smg process. The same would go for the line data i.e. itemcode,quantity and let the warehouse,uom etc.default as well. I haven't mentioned all the required fields, but these should be noted in the SMG documentation. ----- Original Message ----- From: "teavon" <teavon@sinoi.com> To: <BPCS-L@midrange.com> Sent: Wednesday, April 25, 2001 11:18 PM Subject: SMG CustomerOrderGW Problem > Hello, Everybody: > I just met a problem in creating a customer order through SMGSender. It always return some unknown errors. Here is my script: > > { > []"" > { > [message]"Logon" > [object]"|SecurityGw" > { > [data] > { > [user]"wf90003" > [password]"t750424" > } > } > } > > []"" > { > [message]"Create" > [object]"|CustomerOrderGw" > { > [data] > { > [entereddate]"2001/04/09" > [customercode]"17" > [termscode]"01" > [baseordertype]"1" > [totalorderedstockingunitqty]"1" > [warehousecode]"CH" > [companycode]"10" > [countrycode]"USA" > [paymentcode]"C" > [customertaxcode]"CUST" > [currcode]"USD" > [statecode]"HN2" > [reasoncode]"BILJE" > [bankcode]"DOM" > [documenttype]"1" > [valuedate]"2001/04/10" > [pricingcustomercode]"17" > [promocustomercode]"17" > [invoicetocustomercode]"17" > [baseordertype]"4" > [orderclasscode]"354" > [userordertypecode]"1" > [line] > { > [linecode]"1" > [itemcode]"PEN12" > [itemclasscode]"10" > [orderedqty]"1" > [orderedunitcode]"EA" > [requestdate]"2001/04/09" > [txstockingunitnetprice]"10" > [txstockingunitlistprice]"10" > [linestatus]"E" > [warehousecode]"CH" > [customercode]"17" > [entereddate]"2001/04/09" > [droppartialshipment]"N" > [itemtaxcode]"IT17" > [componentlineitemflag]"N" > [inventoryreasoncode]"01" > [facilitycode]"F1" > [natureoftxcode]"10" > [baseordertypecode]"4" > [userorderclasscode]"354" > [baseordertypecode]"1" > [userordertypecode]"1" > } > } > } > } > > []"Last" > { > [message]"Logoff" > [object]"|SecurityGw" > } > > } > > Does anyone has any experience on creating customer order through SMG? It will be very appreciated if you can mail me some sample script files . I am using SMG V6.1.01. BPCS Version is V6.1.01 Client Server! > > Thanks a lot. > Teavon Tu > > > ---------------------------------------------------------------------------- ---- > { > []"" > { > [message]"Logon" > [object]"|SecurityGw" > { > [data] > { > [user]"wf90003" > [password]"t750424" > } > } > } > > []"" > { > [message]"Create" > [object]"|CustomerOrderGw" > { > [data] > { > [entereddate]"2001/04/09" > [customercode]"17" > [termscode]"01" > [baseordertype]"1" > [totalorderedstockingunitqty]"1" > [warehousecode]"CH" > [companycode]"10" > [countrycode]"USA" > [paymentcode]"C" > [customertaxcode]"CUST" > [currcode]"USD" > [statecode]"HN2" > [reasoncode]"BILJE" > [bankcode]"DOM" > [documenttype]"1" > [valuedate]"2001/04/10" > [pricingcustomercode]"17" > [promocustomercode]"17" > [invoicetocustomercode]"17" > [baseordertype]"4" > [orderclasscode]"354" > [userordertypecode]"1" > [line] > { > [linecode]"1" > [itemcode]"PEN12" > [itemclasscode]"10" > [orderedqty]"1" > [orderedunitcode]"EA" > [requestdate]"2001/04/09" > [txstockingunitnetprice]"10" > [txstockingunitlistprice]"10" > [linestatus]"E" > [warehousecode]"CH" > [customercode]"17" > [entereddate]"2001/04/09" > [droppartialshipment]"N" > [itemtaxcode]"IT17" > [componentlineitemflag]"N" > [inventoryreasoncode]"01" > [facilitycode]"F1" > [natureoftxcode]"10" > [baseordertypecode]"4" > [userorderclasscode]"354" > [baseordertypecode]"1" > [userordertypecode]"1" > } > } > } > } > > []"Last" > { > [message]"Logoff" > [object]"|SecurityGw" > } > > } > +--- | This is the BPCS Users Mailing List! | To submit a new message, send your mail to BPCS-L@midrange.com. | To subscribe to this list send email to BPCS-L-SUB@midrange.com. | To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com. | Questions should be directed to the list owner: dasmussen@aol.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.