How to Update PartyNumber for the Existed Party
We may have some use cases that we want to update PARTY_NUMBER values for the existed customers so that we have the aligned values with the boundary systems. 
Please note: You can also update PARTY_NUMBER (Registry ID) in AR Manage Customer UI if you prefer to take UI approach.
First, we need to set the value for profile option HZ_GENERATE_PARTY_NUMBER to 'Auto numbering, update allowed'.
Then, we can use SOAP API to update the value for PARTY_NUMBER.
WSDL:
https://FusionPod/crmService/FoundationPartiesOrganizationService?WSDL
Operation:
updateOrganization
Request Payload (I only include header/body. They need to be embedded in Envelope):
###########
   <soapenv:Header/>
   <soapenv:Body>
      <typ:updateOrganization>
         <typ:organizationParty>
            <org:PartyId>100000006397773</org:PartyId>
            <org:OrganizationProfile>
               <org:PartyId>100000006397773</org:PartyId>
               <org:PartyNumber>1234-Adam</org:PartyNumber>
            </org:OrganizationProfile>       
         </typ:organizationParty>
      </typ:updateOrganization>
   </soapenv:Body>
###########
With the above, you can update PARTY_NUMBER to your preferred value. Please test the end to end flow to ensure this value change doesn't impact your business process.
Till next time,
Adam
Comments
Post a Comment