Message: Purchase Order

Function name Parameter Type Direction Description
SOAP_PurchOrder_Query() type L IN 1
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 Purchase Order numbers returned
log XML OUT Operations log in XML <log>.
SOAP_PurchOrder_Get() type L IN 1
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 Purchase 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
<purchorders> C [Beställning] REQ STD    
 <num_records> L Records in selection([Beställning]) REQ STD   Number of records (<purchorder> tags) in xml
 <purchorder id=nnn> C [Beställning] REQ STD    
  <purchorder_id> L [Beställning]Nr REQ STD    
  <purchorder_supplier> L [Beställning]Leverantörsnr REQ STD    
  <purchorder_purchaser> L [Beställning]Inköpare REQ STD    
  <purchorder_date> D [Beställning]Datum REQ STD    
  <purchorder_project> A20 [Beställning]Projekt        
  <purchorder_currency> A3 [Beställning]Valuta   STD    
  <purchorder_refname> A20 [Beställning]Referens        
  <purchorder_refno> L [Beställning]RefNr        
  <purchorder_note> T [Beställning]FriText        
  <purchorder_company> A8 [Beställning]ForetagsID REQ STD    
  <purchorder_ts> DT [Beställning]Timestamp   STD    
  <porows> C [Rekvisition] REQ STD    
   <porow id=nnn> C [Rekvisition] REQ STD    
    <porow_id> L [Rekvisition]BestRadID   STD    
    <porow_mo> L [Rekvisition]TOnr   STD    
    <porow_wo> L [Rekvisition]Arbetsordernr   STD    
    <porow_status> I [Rekvisition]Status   STD    
    <porow_row> A10 [Rekvisition]Radnr   STD    
    <porow_prod_type> B [Rekvisition]Slutprodukt   STD   'EP' = End product, 'P' = Product
    <porow_prod> A20 [Rekvisition]Slutproduktnr/[Rekvisition]Artikelnr   STD    
    <porow_qty> R [Rekvisition]Antal   STD    
    <porow_qty2> R [Rekvisition]Olevererat   STD    


Revision/MPS
Date/time Notes
10.1.0 2015-07-17 SOAP_PurchOrder_Query() New parameter 'mode' inserted in position 3.
SOAP_PurchOrder_Get() Parameter 'mode' moved to position 3.
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-24 Definition moved here.
Author: Åke Losman ©2013-15 Info Struct AB