addBom
This method allows creating:
- Data of a structure item.
To insert each of these items, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\item\AddBomRequestType.java |
Return | web\wwwroot\ws\java\item\AddBomResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDOBJECT | X | Object ID # |
NMOBJECT | X | Object name |
IDOBJECTOWNER | X | ID # (Upper level object) |
IDREVISIONOWNER | X | Revision (Upper level object) |
VLQUANTITY | X | Quantity |
FGAPPLICATION | Object specification (Considered as 1 by default). 1 - Item; 2 - Supply. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:item">
<soapenv:Header/>
<soapenv:Body>
<urn:addBom>
<!--You may enter the following 6 items in any order-->
<urn:IDOBJECTOWNER>?</urn:IDOBJECTOWNER>
<urn:IDREVISIONOWNER>?</urn:IDREVISIONOWNER>
<urn:IDOBJECT>?</urn:IDOBJECT>
<urn:IDREVISION>?</urn:IDREVISION>
<urn:VLQUANTITY>?</urn:VLQUANTITY>
<urn:FGAPPLICATION>?</urn:FGAPPLICATION>
</urn:addBom>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 1. FAILURE: Returns a message regarding the error that occurred |