Supplier Address Creation and Updation by using SOAP Web Service or WSDL in cloud fusion

Supplier Address Creation
Supplier Address Creation and Updation by using SOAP Web Service or WSDL in cloud fusion

Service WSDL URL: https://servername/fscmService/SupplierServiceV2?WSDL
Create Supplier with Supplier Address
<soapenv:Body>
<typ:createSupplier>
<typ:supplierRow>
<!--Optional:-->
<sup:Supplier>Test Supplier App9001</sup:Supplier>
<sup:AlternateName>App9001</sup:AlternateName>
<sup:TaxOrganizationType>CORPORATION</sup:TaxOrganizationType>
<sup:SupplierType>SUPPLIER</sup:SupplierType>
<sup:BusinessRelationship>SPEND_AUTHORIZED</sup:BusinessRelationship>
<sup:SupplierAddresses>
<sup:Operation>CREATE</sup:Operation>
<sup:AddressName>Main</sup:AddressName>
<sup:Country>IN</sup:Country>
<sup:AddressLine1>123 Old railway Line</sup:AddressLine1>
<sup:City>Delhi</sup:City>
<sup:State>Delhi</sup:State>
<sup:County>India</sup:County>
<sup:OrderingPurposeFlag>FALSE</sup:OrderingPurposeFlag>
<sup:RemitToPurposeFlag>FALSE</sup:RemitToPurposeFlag>
<sup:RFQOrBiddingPurposeFlag>TRUE</sup:RFQOrBiddingPurposeFlag>
</sup:SupplierAddresses>
</typ:supplierRow>
</typ:createSupplier>
</soapenv:Body>
How to Update Supplier Address
<soapenv:Body>
<typ:updateSupplier>
<typ:supplierRow>
<!--Optional:-->
<sup:Supplier>Test Supplier App9001</sup:Supplier>
<sup:AlternateName>App9001</sup:AlternateName>
<sup:SupplierAddresses>
<sup:Operation>UPDATE</sup:Operation>
<sup:AddressName>Main</sup:AddressName>
<sup:Country>IN</sup:Country>
<sup:AddressLine1>9001 New railway Line</sup:AddressLine1>
<sup:City>Delhi</sup:City>
<sup:State>Delhi</sup:State>
<sup:County>India</sup:County>
<sup:EmailAddress>Test_9001@gmail.com</sup:EmailAddress>
<sup:OrderingPurposeFlag>FALSE</sup:OrderingPurposeFlag>
<sup:RemitToPurposeFlag>FALSE</sup:RemitToPurposeFlag>
<sup:RFQOrBiddingPurposeFlag>TRUE</sup:RFQOrBiddingPurposeFlag>
</sup:SupplierAddresses>
</typ:supplierRow>
</typ:updateSupplier>
</soapenv:Body>
Comments
Post a Comment