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

Supplier Site

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

Service WSDL URL: https://servername/fscmService/SupplierServiceV2?WSDL 

Supplier Sites Creation


   <soapenv:Body>
      <typ:createSupplier>
         <typ:supplierRow>

           	        <sup:Supplier>Test Supplier App9010</sup:Supplier>
			<sup:AlternateName>App9010</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_add</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>

			<sup:SupplierSites>
				<sup:Operation>CREATE</sup:Operation>
				<sup:SiteName>Main Office</sup:SiteName>
				<sup:AddressName>Main_add</sup:AddressName>
				<sup:ProcurementBU>Snapdeal Private Limited</sup:ProcurementBU>
				<sup:PurchasingPurposeFlag>True</sup:PurchasingPurposeFlag>
				<sup:AlternateSiteName>Main Office Purchasing</sup:AlternateSiteName>
				<sup:CommunicationMethod>EMAIL</sup:CommunicationMethod>
				<sup:EmailAddress>purchasing@gmail.com</sup:EmailAddress>				
				<sup:SupplierSiteAssignments>
					<sup:Operation>CREATE</sup:Operation>
					<sup:ClientBU>Snapdeal Private Limited</sup:ClientBU>
					<sup:BillToBU>Snapdeal Private Limited</sup:BillToBU>
				</sup:SupplierSiteAssignments>
			</sup:SupplierSites>
						
         </typ:supplierRow>
      </typ:createSupplier>
   </soapenv:Body>

Supplier Update

 <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>

			<sup:SupplierSites>
				<sup:Operation>UPDATE</sup:Operation>
				<sup:SiteName>Main_Office9001</sup:SiteName>			
				<sup:ProcurementBU>Snapdeal Private Limited</sup:ProcurementBU>
				<sup:PurchasingPurposeFlag>True</sup:PurchasingPurposeFlag>
				<sup:AlternateSiteName>Main Office Purchasing</sup:AlternateSiteName>
				<sup:CommunicationMethod>EMAIL</sup:CommunicationMethod>
				<sup:EmailAddress>purchasing_9001@gmail.com</sup:EmailAddress>				
			</sup:SupplierSites>
            </typ:supplierRow>
      </typ:updateSupplier>
   </soapenv:Body>
Categories

Comments

Popular posts from this blog

E-Text Report In Fusion | Types of E-Text reports

Supplier API's

How to pass default Parameter in cursor