Back to SOAP referens page

Message: BOM (Bill of Material)

Function name Parameter Type Direction Description
SOAP_BOM_Query() type L IN 1
version L IN 1
company A8 IN Returns only the values of the specified company, leave blank for all companies.
query XML IN Query definition <query>.
records L OUT Numbers of records found.
keylist ArrA20 OUT Array of Product numbers returned
log XML OUT Operations log in XML <log>.
SOAP_BOM_Get() type L IN 1
version L IN 1
company A8 IN Returns only the values of the specified company, leave blank for all companies.
keylist ArrA20 IN Array of Product tree to get, first item in this array is the top level of the BOM, second item is the next level.
level L IN Max number of levels returned, 0 is top level.
mode L IN 0 = Normal, 9 = special
data XML OUT Returned data in XML <boms>.
log XML OUT Operations log in XML <log>.

XML Message/Tag name Data Table/Field IN OUT Default Description
<boms> C [Detalj] REQ STD    
 <num_records> L Records in selection([Detalj]) REQ STD   Number of records (<bom> tags) in xml
 <bom id=nnn> C [Detalj] REQ STD    
  <prod_id> A20 [Slutprodukt]Nr REQ STD    
  <prod_level> I N/A REQ STD    
  <prod_name> A30 [Slutprodukt]Benämning NO STD    
  <prod_status> L [Slutprodukt]BeredningsStatus NO STD    
  <prod_ts> DT [Slutprodukt]TimeStamp NO STD    
  <bom_items> C Bom items container REQ STD    
   <bom_item id=nnn> C Bom item container REQ STD    
    <bom_item_id> A20 [Detalj]Består av REQ STD    
    <bom_item_parent> A20 [Detalj]Ingår i REQ STD    
    <bom_item_level> I N/A   STD    
    <bom_item_type> A30 [Artikel]Typ NO STD    
    <bom_item_qtyvar> R [Detalj]Rörligt Antal REQ STD    
    <bom_item_qtyfix> R [Detalj]Fast Antal REQ STD    
    <bom_item_group> L [Detalj]Grupp REQ STD    
    <bom_item_op> A10 [Detalj]Arbetssteg REQ STD    
    <bom_item_pos> A10 [Detalj]Pos   STD    
    <bom_item_order> I [Detalj]SorteringsOrdning   STD    
    <bom_item_status> L [Detalj]BeredningsStatus   STD    
    <bom_item_drawingpos> A10 [Detalj]RitningsPos   STD    
    <bom_item_note> T [Detalj]Anvisning        
    <bom_item_str1> A30 [Detalj]FrittFält1        
    <bom_item_str2> A8 [Detalj]FrittFält2_8        
    <bom_item_str3> A20 [Detalj]FrittFält3_20        
    <bom_item_ts> DT [Detalj]Timestamp   STD    


Revision Date Notes
9.2.7 2013-06-04 Parameters changes.
Interna uppdateringar för 4D 12.5.0.
Doctype HTML5.
7.6.1 2008-04-24 Definition moved here.
New parameters in SOAP_BOM_Query() and SOAP_BOM_Get(): 'company' and 'level'.
Author: Åke Losman ©2007-2013  Info Struct AB