Skip to main content
Version: 2.2.3

import_attrib_assoc

This method allows filling out an attribute associated with a supply.

For the attributes to be successfully filled out, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\supply\Import_attrib_assocRequestType.java
Returnweb\wwwroot\ws\java\supply\Import_attrib_assocResponseType.java

Request:

ID #RequiredDescription
IDOBJECTXSupply ID #.
IDATTRIBUTEXAttribute ID #
VALUEXAttribute value.
Standards to enter date type data:
▪ dd/mm/yyyy;
▪ yyyy-mm-dd.
IDREVISIONSupply revision ID #.
FGINSERTLISTVALUEIf the value 1 is entered, the interface will verify whether the attribute value already belongs to the list of values. If it does not exist, it will be added.
DSATTRIBUTEAttribute value. Mandatory information if the type of the attribute value is MEMO.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sp">
<soapenv:Header/>
<soapenv:Body>
<urn:import_attrib_assoc>
<!--You may enter the following 6 items in any order-->
<urn:idobject>?</urn:idobject>
<urn:idattribute>?</urn:idattribute>
<urn:value>?</urn:value>
<urn:idrevision>?</urn:idrevision>
<urn:fginsertlistvalue>?</urn:fginsertlistvalue>
<urn:dsvalue>?</urn:dsvalue>
</urn:import_attrib_assoc>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred