Message: Order

Function name Parameter Type Direction Description
SOAP_Order_Query() type L IN
version L IN 1
mode L IN 0
company A8 IN Returns only the values of the specified company, leave blank for all companies.
query XML IN Query definition <query>.
keylist ArrL OUT Array of Order numbers returned
log XML OUT Operations log in XML <log>.
SOAP_Order_Get() type L IN 0
version L IN 1
mode L IN 0
company A8 IN Returns only the values of the specified company, leave blank for all companies.
keylist ArrL IN Array of Order numbers to get
data XML OUT Returned data in XML
log XML OUT Operations log in XML <log>.

Tag name Data Table/Field IN OUT Default Description
<orders> C [Order] REQ STD    
 <num_records> L Records in selection([Order]) REQ STD   Number of records (<order> tags) in xml
 <order id=nnn> C [Order] REQ STD    
  <order_no> L [Order]Nr REQ STD    
  <order_date> D [Order]Datum REQ STD    
  <order_cust_no> L [Order]Kund REQ STD    
  <order_cust_name> A65 [Kund]Namn N/A STD    
  <order_status> I GetOrderStatus ([Order]Nr) N/A STD    
  <order_inventory> A20 [Order]Forrad REQ STD    
  <order_project> A20 [Order]Projekt   STD    
  <order_form_code> A5 [Order]Blankettkod   STD    
  <order_currency> A3 [Order]Valuta REQ STD    
  <order_currency_rate> R [Order]Valutakurs   STD    
  <order_cust_orderno> A20 [Order]KundOrdernr REC STD    
  <order_refname> A20 [Order]Referens REC STD    
  <order_purchaser> L [Order]Ordermottagare REC STD    
  <order_purch_name> A40 [Personal]Namn N/A STD    
             
  <order_address_delivery> T [Order]Leveransadress   STD    
  <order_country_delivery> A2 [Order]LandKodLevAdr REC STD    
  <order_address_mailing> T [Order]Postadress   STD    
  <order_country_mailing> A2 [Order]LandkodPostAdr REC STD    
             
             
  <order_agree_type> L [Order]Avtalstyp   STD    
  <order_agree_active> B [Order]Avtal_pagar   STD*   Only if [Order]Avtalstyp>0
  <order_agree_total> L [Order]Avtal_antal   STD*   Only if [Order]Avtalstyp>0
  <order_agree_count> L [Order]Avtal_count   STD*   Only if [Order]Avtalstyp>0
  <order_agree_last_inv_date> D [Order]Avtal_SenasteFaktdatum   STD*   Only if [Order]Avtalstyp>0
  <order_agree_next_inv_date> D [Order]Avtal_NastaFaktdatum   STD*   Only if [Order]Avtalstyp>0
             
  <order_note_cust> T [Order]Kommentar   0    
  <order_note_prod> T [Order]EgenNotering   0    
  <order_str1> A30 [Order]FriStr1   0    
  <order_str2> A30 [Order]FriStr2   0    
  <order_str3> A30 [Order]FriStr3   0    
  <order_str4> A30 [Order]FriStr4   0    
  <order_str5> A30 [Order]FriStr5   0    
  <order_str6> A30 [Order]FriStr6   0    
  <order_str7> A30 [Order]FriStr7   0    
  <order_str8> A30 [Order]FriStr8   0    
  <order_date1> D [Order]FriDatum   0    
  <order_txt1> T [Order]FriText   0    
  <order_txt2> T [Order]FriText1   0    
  <order_txt3> T [Order]FriText2   0    
             
  <order_co> A8 [Order]ForetagsID REQ STD    
  <order_ts> DT [Order]Timestamp   STD    
             
  <mos> C [TO] REQ STD    
   <mo id=nnn> C [TO] REQ STD    
    <mo_no> L [TO]TOnr   STD    
    <mo_status> I [TO]Status   STD    
    <mo_status_test> A30 TOGetStatus (0;1)   STD    
    <mo_del_date_desired> D [TO]OnskadLev   STD    
    <mo_del_date_confirmed> D [TO]Lev_datum   STD    
    <mo_inventory> A20 [TO]Forrad   STD    
    <mo_project> A20 [TO]ProjektNr   STD    
    <mo_prod_group> A30 [TO]Varugrupp   STD    
    <mo_pos> I [TO]Position   STD    
    <mo_product> A20 [TO]SlutproduktNr/[TO]Artikelnr   STD   Type: 'EP' = End product, 'P' = Product
    <mo_qty> R [TO]Bestallt_antal   STD    
    <mo_unit> A5 [Slutprodukt]Sort/[Artikel]Sort   STD    
    <mo_price> R [TO]Saljpris STD
    <mo_price_exkl_rebate> R [TO]SaljprisExklRab   STD    
    <mo_discount> R [TO]Rabatt   STD    
    <mo_amount> R [TO]Saljvarde   STD    
    <mo_calc1> R [TO]Kalkylpris1        
    <mo_calc2> R [TO]Kalkylpris2        
    <mo_note_cust> T [TO]Kundkommentar   STD    
    <mo_note_prod> T [TO]ProdKommentar   STD    
    <mo_ts> DT [TO]ProdKommentar   STD    


Revision Date Notes
9.2.7 2013-06-04 Parameters changes.
Internal changes for 4D 12.5.0.
Doctype HTML5, jQuery 1.10.1.
7.6.1 2008-04-17 Created.
Author: Åke Losman ©2013-2015  Info Struct AB