Message: Order Proposal

Function name Parameter Type Direction Description
SOAP_Proposal_Query() 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.
query XML IN Query definition <query>.
keylist ArrL OUT Array of Order Proposal numbers returned
log XML OUT Operations log in XML <log>.
SOAP_Proposal_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 Proposal ids to get
data XML OUT Returned data in XML <proposals>. Example.
log XML OUT Operations log in XML <log>.
SOAP_Proposal_Set()
 (Read & write access required)
type L IN 0
version L IN 1
mode L IN 0
company A8 IN Company ID
data XML IN Data to send in XML <proposals>.
log XML OUT Operations log in XML <log>.
 
Tag name Data Table/Field IN OUT Query Default Description
<proposals> C [OrderFslg] REQ STD      
 <num_records> L Records in selection([OrderFslg]) REQ STD     Number of records (<proposal> tags) in xml
 <proposal id=nnn> C [OrderFslg] REQ STD      
  <proposal_id> L [OrderFslg]ID REQ STD X   Unique ID of the record.
  <proposal_no> L [OrderFslg]Ordernr RO STD X   Will be generated by HybronMPS when the proposal is converted to an actual order.
  <proposal_custno> L [OrderFslg]Kundnr REQ STD X   Existing Customer number
  <proposal_company> A8 [OrderFslg]ForetagsID REQ STD X   Company ID
  <proposal_status> I [OrderFslg]Status N/A STD X 0 0 = Proposal, Set by Hybron
  <proposal_order_status> I GetOrderStatus([Order]Nr) N/A STD   0 Only shown if an Order is made.
  <proposal_purchaser> L [OrderFslg]Ordermottagare REQ STD     Existing [Personal]Nr
  <proposal_date> D [OrderFslg]Datum REQ STD X    
  <proposal_project> A20 [OrderFslg]Projekt   STD     Existing [Projekt]Nr
  <proposal_currency> A3 [OrderFslg]Valuta   STD   SEK  
  <proposal_rate> R [OrderFslg]Valutakurs   STD   1  
  <proposal_addr_del> T [OrderFslg]Leveransadress   STD      
  <proposal_addr_postal> T [OrderFslg]Postadress   STD      
  <proposal_country> A2 [OrderFslg]LandkodPostAdr REQ STD   SE  
  <proposal_stock> A20 [OrderFslg]Forrad RO STD     From [Personal]ForvaltForrad of the selected [OrderFslg]Ordermottagare
  <proposal_refname> A20 [OrderFslg]Referens   STD      
  <proposal_custorderno> A20 [OrderFslg]Kundordernummer   STD      
  <proposal_goodslabel>  A20 [OrderFslg]Godsmarke   STD      
  <proposal_comment> T [OrderFslg]Anm_Kund   STD     Note from customer regarding whole order
  <proposal_note> T [OrderFslg]Anm_Intern   STD     Note to production regarding whole order
  <proposal_ts>
DT
[OrderFslg]Timestamp
  STD     Is updated every time the record is saved.
  <proposal_type>
A10
[OrderFslg]Typ
  STD     New order blank or "NEW"   New EDI "ORDERS"   Changed EDI "ORDCHG"
  <proposal_ordercomment>
T
[OrderFslg]Orderkommentar
  STD      
  <proposal_mailadress>
A100
[OrderFslg]PostadressRad1
  STD      
  <proposal_mailzip>
A10 [OrderFslg]postnr
  STD      
  <proposal_mailcity>
A100
[OrderFslg]postort   STD      
  <proposal_mailcountry>
A60
[OrderFslg]postland   STD      
  <proposal_deliveryterms>
A64
[OrderFslg]Leveransvillkor   STD      
  <proposal_supplcompanycode>
A30
[OrderFslg]LeverantorForetagsKod   STD      
  <proposal_custcompanycode>
A30
[OrderFslg]KundForetagsKod   STD      
   <proposal_custorderrevno>
A10
 [OrderFslg]KundOrderRevNr   STD      
  <proposal_rows> C [OrderFslgRad] REQ STD     Container
   <proposal_row id=nnn> C [OrderFslgRad] REQ STD      
    <proposal_row_id> L [OrderFslgRad]ID REQ STD     Unique ID of the record.
    <proposal_row_pos> I [OrderFslgRad]Position   STD     HybronMPS will set the value if not present.
    <proposal_row_prod> A20 [OrderFslgRad]Produktnr REQ STD     Either from [Artikel]Nr or [Slutprodukt]nr
    <proposal_row_descr> A60 [Artikel]/[Slutprodukt]Benamning RO STD     For information only.
    <proposal_row_unit> A5 [Artikel]/[Slutprodukt]Sort RO STD     For information only.
    <proposal_row_quantity> R [OrderFslgRad]Antal REQ STD   1 Quantity in the standard unit of the product.
    <proposal_row_price> A10 [OrderFslgRad]Saljpris   STD   0 Price excluding discount, if not present (or blank) Hybron will set the price.
    <proposal_row_discount> R [OrderFslgRad]Rabatt   STD   0 Discount in percent (%)
    <proposal_row_deldate2> D [OrderFslgRad]OnskadLev   STD     Desired delivery date
    <proposal_row_deldate> D [OrderFslgRad]LevDatum   STD     Delivery date, is updated when the proposal is converted to an actual order.
    <proposal_row_comment> T [OrderFslgRad]KundKommentar   STD     Note from customer regarding this row
    <proposal_row_note> T [OrderFslgRad]ProdKommentar   STD     Note to production regarding this row
    <proposal_row_documentno>
A80 [OrderFslgRad]Dokumentnr
  STD      
 
Revision Date Notes
10.2.2
2016-11-28
Added: <proposal_type, ordercomment, mailadress, mailcity, mailcountry, deliveryterms, supplcompanycode, custcompanycode, custorderrevno>  <proposal_row_documentno>
9.4.2 2015-04-08 <proposal_customer> renamed <proposal_custno> and <proposal_co> renamed <proposal_company> as in source.
9.3.3 2014-05-08 Added: <proposal_addr_del>, <proposal_addr_postal>, <proposal_country> & <proposal_goodslabel>
9.2.9 2013-10-03 Added: <proposal_order_status>
9.2.8 2013-08-22 Created.
©2013-2016  Info Struct AB