• Subject: SMG CustomerOrderGW Problem
  • From: "teavon" <teavon@xxxxxxxxx>
  • Date: Thu, 26 Apr 2001 11:18:02 +0800

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"
        }

}

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.