Create a Customer Account including Customer Account Site and Customer Account Site Use

In this use case, we'll create a customer account with customer account site and customer account site use. This requires CustomerAccountService to interact with LocationService and OrganizationService. A location is created using createLocation operation of Location service. A PartySite is created using the LocationId value in mergeOrganization operation of Organization web service. A CustomerAccount is created using the PartySiteID and PartySiteUseId values in mergeCustomerAccount operation of Customer web service.

  1. Create a Location using Location Web Service

    Operation: createLocation

    Request Body

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/" xmlns:loc="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/" xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/sourceSystemRef/" xmlns:loc1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/location/">
    	<soapenv:Header/>
    	<soapenv:Body>
    		<typ:createLocation>
    			<typ:location>
    				<loc:Country>CA</loc:Country>
    				<loc:Address1>Lakewood Shores</loc:Address1>
    				<loc:City>Redwood</loc:City>
    				<loc:PostalCode>78741</loc:PostalCode>
    				<loc:State>Ontario</loc:State>
    				<loc:CreatedByModule>HZ_WS</loc:CreatedByModule>
    			</typ:location>
    		</typ:createLocation>
    	</soapenv:Body>
    </soapenv:Envelope>

    Response Body

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/">
       <env:Header>
          <wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule//LocationService/createLocationResponse</wsa:Action>
          <wsa:MessageID>urn:uuid:bfc77568-4b06-465f-9cb6-69adff43c701</wsa:MessageID>
       </env:Header>
       <env:Body>
          <ns0:createLocationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/">
             <ns2:result xsi:type="ns1:LocationResult" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/applicationModule/types/" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/locationService/" xmlns:ns4="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/location/" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ns1:Value>
                   <ns1:LocationId>300100551151963</ns1:LocationId>
                   <ns1:LastUpdateDate>2021-09-17T12:15:05.364Z</ns1:LastUpdateDate>
                   <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
                   <ns1:CreationDate>2021-09-17T12:15:05.001Z</ns1:CreationDate>
                   <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
                   <ns1:LastUpdateLogin>CC2A2E41A454828DE0531C5CF00A0CCB</ns1:LastUpdateLogin>
                   <ns1:RequestId xsi:nil="true"/>
                   <ns1:OrigSystem xsi:nil="true"/>
                   <ns1:OrigSystemReference>300100551151963</ns1:OrigSystemReference>
                   <ns1:Country>CA</ns1:Country>
                   <ns1:Address1>Lakewood Shores</ns1:Address1>
                   <ns1:Address2 xsi:nil="true"/>
                   <ns1:Address3 xsi:nil="true"/>
                   <ns1:Address4 xsi:nil="true"/>
                   <ns1:City>Redwood</ns1:City>
                   <ns1:PostalCode>78741</ns1:PostalCode>
                   <ns1:State>Ontario</ns1:State>
                   <ns1:Province xsi:nil="true"/>
                   <ns1:County xsi:nil="true"/>
                   <ns1:AddressStyle xsi:nil="true"/>
                   <ns1:ValidatedFlag>false</ns1:ValidatedFlag>
                   <ns1:AddressLinesPhonetic xsi:nil="true"/>
                   <ns1:PostalPlus4Code xsi:nil="true"/>
                   <ns1:Position xsi:nil="true"/>
                   <ns1:LocationDirections xsi:nil="true"/>
                   <ns1:AddressEffectiveDate xsi:nil="true"/>
                   <ns1:AddressExpirationDate xsi:nil="true"/>
                   <ns1:ClliCode xsi:nil="true"/>
                   <ns1:Language xsi:nil="true"/>
                   <ns1:ShortDescription xsi:nil="true"/>
                   <ns1:Description xsi:nil="true"/>
                   <ns1:SalesTaxGeocode xsi:nil="true"/>
                   <ns1:SalesTaxInsideCityLimits>1</ns1:SalesTaxInsideCityLimits>
                   <ns1:FaLocationId xsi:nil="true"/>
                   <ns1:ObjectVersionNumber>1</ns1:ObjectVersionNumber>
                   <ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
                   <ns1:GeometryStatusCode>DIRTY</ns1:GeometryStatusCode>
                   <ns1:ValidationStatusCode xsi:nil="true"/>
                   <ns1:DateValidated xsi:nil="true"/>
                   <ns1:DoNotValidateFlag xsi:nil="true"/>
                   <ns1:Comments xsi:nil="true"/>
                   <ns1:HouseType xsi:nil="true"/>
                   <ns1:EffectiveDate>2021-09-17</ns1:EffectiveDate>
                   <ns1:AddrElementAttribute1 xsi:nil="true"/>
                   <ns1:AddrElementAttribute2 xsi:nil="true"/>
                   <ns1:AddrElementAttribute3 xsi:nil="true"/>
                   <ns1:AddrElementAttribute4 xsi:nil="true"/>
                   <ns1:AddrElementAttribute5 xsi:nil="true"/>
                   <ns1:Building xsi:nil="true"/>
                   <ns1:FloorNumber xsi:nil="true"/>
                   <ns1:StatusFlag>true</ns1:StatusFlag>
                   <ns1:InternalFlag>false</ns1:InternalFlag>
                   <ns1:TimezoneCode xsi:nil="true"/>
                   <ns1:Latitude xsi:nil="true"/>
                   <ns1:Longitude xsi:nil="true"/>
                   <ns1:Distance xsi:nil="true"/>
                </ns1:Value>
             </ns2:result>
          </ns0:createLocationResponse>
       </env:Body>
    </env:Envelope>
  2. Use the LocationId to create a PartySite using Organization Web Service

    Operation: mergeOrganization

    Request Body

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    	<ns1:mergeOrganization xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
    	<ns1:organizationParty xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/">
    		<ns2:PartyId>1003</ns2:PartyId>
    		<ns2:PartySite xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/">
    			<ns3:LocationId>300100551151963</ns3:LocationId>
    			<ns3:CreatedByModule>HZ_WS</ns3:CreatedByModule>
    			<ns3:PartySiteUse>
    			<ns3:SiteUseType>BILL_TO</ns3:SiteUseType>
    			<ns3:CreatedByModule>HZ_WS</ns3:CreatedByModule>
    			</ns3:PartySiteUse>
    		</ns2:PartySite>
    	</ns1:organizationParty>
    	</ns1:mergeOrganization>
    </soap:Body>
    </soap:Envelope>
    Response Body
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
       <env:Header>
          <wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule//OrganizationService/mergeOrganizationResponse</wsa:Action>
          <wsa:MessageID>urn:uuid:269a6d88-25b3-464b-902a-d1eb0faeaf46</wsa:MessageID>
       </env:Header>
       <env:Body>
          <ns0:mergeOrganizationResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/">
             <ns3:result xsi:type="ns2:OrganizationPartyResult" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/" xmlns:ns1="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:ns3="http://xmlns.oracle.com/apps/cdm/foundation/parties/organizationService/applicationModule/types/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns5="http://xmlns.oracle.com/apps/cdm/foundation/parties/contactPointService/" xmlns:ns8="http://xmlns.oracle.com/apps/cdm/foundation/parties/relationshipService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ns2:Value>
                   <ns2:PartyNumber>1003</ns2:PartyNumber>
                   <ns2:PartyId>1003</ns2:PartyId>
                   <ns2:PartyType>ORGANIZATION</ns2:PartyType>
                   <ns2:PartyName>UNITED PARCEL SERVICE, INC</ns2:PartyName>
                   <ns2:LastUpdatedBy>1318</ns2:LastUpdatedBy>
                   <ns2:ValidatedFlag xsi:nil="true"/>
                   <ns2:LastUpdateLogin>4081020</ns2:LastUpdateLogin>
                   <ns2:CreationDate>1997-02-23T12:47:25.0Z</ns2:CreationDate>
                   <ns2:RequestId>4350529</ns2:RequestId>
                   <ns2:LastUpdateDate>2007-04-12T21:13:29.0Z</ns2:LastUpdateDate>
                   <ns2:CreatedBy>1028</ns2:CreatedBy>
                   <ns2:OrigSystemReference>1003</ns2:OrigSystemReference>
                   <ns2:HQBranchIndicator>HQ</ns2:HQBranchIndicator>
                   <ns2:DUNSNumberC>006991681</ns2:DUNSNumberC>
                   <ns2:SICCode>4215</ns2:SICCode>
                   <ns2:JgzzFiscalCode>01-83937602</ns2:JgzzFiscalCode>
                   <ns2:Address1>93 Peachtree Parkway</ns2:Address1>
                   <ns2:Country>US</ns2:Country>
                   <ns2:Address3 xsi:nil="true"/>
                   <ns2:GroupType xsi:nil="true"/>
                   <ns2:Address2 xsi:nil="true"/>
                   <ns2:Address4 xsi:nil="true"/>
                   <ns2:Status>A</ns2:Status>
                   <ns2:City>Atlanta</ns2:City>
                   <ns2:PostalCode>30328</ns2:PostalCode>
                   <ns2:County>Fulton</ns2:County>
                   <ns2:YearEstablished>1969</ns2:YearEstablished>
                   <ns2:Province xsi:nil="true"/>
                   <ns2:State>GA</ns2:State>
                   <ns2:URL xsi:nil="true"/>
                   <ns2:AnalysisFy>1996</ns2:AnalysisFy>
                   <ns2:SICCodeType>1987 SIC</ns2:SICCodeType>
                   <ns2:EmailAddress xsi:nil="true"/>
                   <ns2:FiscalYearendMonth>12</ns2:FiscalYearendMonth>
                   <ns2:EmployeesTotal>25000</ns2:EmployeesTotal>
                   <ns2:CurrentFiscalYearPotentialRevenueAmount>800000000</ns2:CurrentFiscalYearPotentialRevenueAmount>
                   <ns2:NextFyPotentialRevenueAmount xsi:nil="true"/>
                   <ns2:GSAIndicatorFlag>false</ns2:GSAIndicatorFlag>
                   <ns2:CategoryCode>DISTRIBUTION</ns2:CategoryCode>
                   <ns2:LanguageName xsi:nil="true"/>
                   <ns2:MissionStatement xsi:nil="true"/>
                   <ns2:ThirdPartyFlag>false</ns2:ThirdPartyFlag>
                   <ns2:HomeCountry xsi:nil="true"/>
                   <ns2:CreatedByModule xsi:nil="true"/>
                   <ns2:ObjectVersionNumber>10</ns2:ObjectVersionNumber>
                   <ns2:CertificationLevel xsi:nil="true"/>
                   <ns2:CertReasonCode xsi:nil="true"/>
                   <ns2:PrimaryPhonePurpose xsi:nil="true"/>
                   <ns2:PrimaryPhoneContactPointId>3105</ns2:PrimaryPhoneContactPointId>
                   <ns2:PrimaryPhoneLineType>GEN</ns2:PrimaryPhoneLineType>
                   <ns2:PrimaryPhoneCountryCode>1</ns2:PrimaryPhoneCountryCode>
                   <ns2:PrimaryPhoneAreaCode>703</ns2:PrimaryPhoneAreaCode>
                   <ns2:PrimaryPhoneNumber>8441212</ns2:PrimaryPhoneNumber>
                   <ns2:PreferredContactMethod xsi:nil="true"/>
                   <ns2:PrimaryPhoneExtension xsi:nil="true"/>
                   <ns2:IdenAddrLocationId>944</ns2:IdenAddrLocationId>
                   <ns2:PrimaryURLContactPointId xsi:nil="true"/>
                   <ns2:PrimaryEmailContactPointId xsi:nil="true"/>
                   <ns2:IdenAddrPartySiteId>1097</ns2:IdenAddrPartySiteId>
                   <ns2:PreferredName xsi:nil="true"/>
                   <ns2:PersonSecondLastName xsi:nil="true"/>
                   <ns2:PreferredNameId xsi:nil="true"/>
                   <ns2:TradingPartnerIdentifier xsi:nil="true"/>
                   <ns2:PreferredContactPersonId xsi:nil="true"/>
                   <ns2:PreferredFunctionalCurrency xsi:nil="true"/>
                   <ns2:InternalFlag xsi:nil="true"/>
                   <ns2:Comments xsi:nil="true"/>
                   <ns2:CeoName xsi:nil="true"/>
                   <ns2:PrincipalName xsi:nil="true"/>
                   <ns2:OrganizationSize>LARGE</ns2:OrganizationSize>
                   <ns2:PartyUniqueName>UNITED PARCEL SERVICE, INC</ns2:PartyUniqueName>
                   <ns2:SourceSystem xsi:nil="true"/>
                   <ns2:SourceSystemReferenceValue xsi:nil="true"/>
                   <ns2:SourceSystemUpdateDate xsi:nil="true"/>
                   <ns2:PartySite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/partySite/">
                      <ns1:PartySiteId>300100551151980</ns1:PartySiteId>
                      <ns1:PartyId>1003</ns1:PartyId>
                      <ns1:LocationId>300100551151963</ns1:LocationId>
                      <ns1:LastUpdateDate>2021-09-17T12:17:49.595Z</ns1:LastUpdateDate>
                      <ns1:PartySiteNumber>CDRM_784855</ns1:PartySiteNumber>
                      <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
                      <ns1:CreationDate>2021-09-17T12:17:31.002Z</ns1:CreationDate>
                      <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
                      <ns1:LastUpdateLogin>CC2A2E41A457828DE0531C5CF00A0CCB</ns1:LastUpdateLogin>
                      <ns1:RequestId xsi:nil="true"/>
                      <ns1:OrigSystem xsi:nil="true"/>
                      <ns1:OrigSystemReference>300100551151980</ns1:OrigSystemReference>
                      <ns1:StartDateActive>2021-09-17</ns1:StartDateActive>
                      <ns1:EndDateActive>4712-12-31</ns1:EndDateActive>
                      <ns1:Mailstop xsi:nil="true"/>
                      <ns1:IdentifyingAddressFlag>false</ns1:IdentifyingAddressFlag>
                      <ns1:Language xsi:nil="true"/>
                      <ns1:Status>A</ns1:Status>
                      <ns1:PartySiteName xsi:nil="true"/>
                      <ns1:Addressee xsi:nil="true"/>
                      <ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
                      <ns1:GlobalLocationNumber xsi:nil="true"/>
                      <ns1:DUNSNumberC xsi:nil="true"/>
                      <ns1:Comments xsi:nil="true"/>
                      <ns1:PartySiteType xsi:nil="true"/>
                      <ns1:PartyNameDba xsi:nil="true"/>
                      <ns1:PartyNameDivision xsi:nil="true"/>
                      <ns1:PartyNameLegal xsi:nil="true"/>
                      <ns1:RelationshipId xsi:nil="true"/>
                      <ns1:PartyUsageCode xsi:nil="true"/>
                      <ns1:UsageCode>GEOGRAPHY</ns1:UsageCode>
                      <ns1:FormattedAddress>Lakewood Shores,REDWOOD 78741,CANADA</ns1:FormattedAddress>
                      <ns1:Country>CA</ns1:Country>
                      <ns1:Address1>Lakewood Shores</ns1:Address1>
                      <ns1:Address2 xsi:nil="true"/>
                      <ns1:Address3 xsi:nil="true"/>
                      <ns1:Address4 xsi:nil="true"/>
                      <ns1:City>Redwood</ns1:City>
                      <ns1:PostalCode>78741</ns1:PostalCode>
                      <ns1:State>Ontario</ns1:State>
                      <ns1:Province xsi:nil="true"/>
                      <ns1:County xsi:nil="true"/>
                      <ns1:AddressStyle xsi:nil="true"/>
                      <ns1:ValidatedFlag>false</ns1:ValidatedFlag>
                      <ns1:AddressLinesPhonetic xsi:nil="true"/>
                      <ns1:PostalPlus4Code xsi:nil="true"/>
                      <ns1:Position xsi:nil="true"/>
                      <ns1:LocationDirections xsi:nil="true"/>
                      <ns1:AddressExpirationDate xsi:nil="true"/>
                      <ns1:LocationLanguage xsi:nil="true"/>
                      <ns1:ValidationStatusCode xsi:nil="true"/>
                      <ns1:DateValidated xsi:nil="true"/>
                      <ns1:DoNotValidateFlag xsi:nil="true"/>
                      <ns1:HouseType xsi:nil="true"/>
                      <ns1:FormattedMultilineAddress>Lakewood Shores&lt;BR>REDWOOD 78741&lt;BR>CANADA</ns1:FormattedMultilineAddress>
                      <ns1:Country1>CA</ns1:Country1>
                      <ns1:ObjectVersionNumber1>10</ns1:ObjectVersionNumber1>
                      <ns1:ContactPreferenceExistFlag>false</ns1:ContactPreferenceExistFlag>
                      <ns1:FormattedLocaleAddress xsi:nil="true"/>
                      <ns1:CurrencyCode>USD</ns1:CurrencyCode>
                      <ns1:CorpCurrencyCode>USD</ns1:CorpCurrencyCode>
                      <ns1:CurcyConvRateType>Corporate</ns1:CurcyConvRateType>
                      <ns1:InternalFlag>false</ns1:InternalFlag>
                      <ns1:OverallPrimaryFlag>false</ns1:OverallPrimaryFlag>
                      <ns1:EmailAddress xsi:nil="true"/>
                      <ns1:Latitude xsi:nil="true"/>
                      <ns1:Longitude xsi:nil="true"/>
                      <ns1:PartySiteUse>
                         <ns1:PartySiteUseId>300100551151981</ns1:PartySiteUseId>
                         <ns1:BeginDate>2021-09-17</ns1:BeginDate>
                         <ns1:Comments xsi:nil="true"/>
                         <ns1:EndDate>4712-12-31</ns1:EndDate>
                         <ns1:PartySiteId>300100551151980</ns1:PartySiteId>
                         <ns1:LastUpdateDate>2021-09-17T12:17:49.528Z</ns1:LastUpdateDate>
                         <ns1:RequestId xsi:nil="true"/>
                         <ns1:LastUpdatedBy>SALES_ADMIN</ns1:LastUpdatedBy>
                         <ns1:CreationDate>2021-09-17T12:17:31.119Z</ns1:CreationDate>
                         <ns1:CreatedBy>SALES_ADMIN</ns1:CreatedBy>
                         <ns1:LastUpdateLogin>CC2A2E41A457828DE0531C5CF00A0CCB</ns1:LastUpdateLogin>
                         <ns1:IntegrationKey>x</ns1:IntegrationKey>
                         <ns1:SiteUseType>BILL_TO</ns1:SiteUseType>
                         <ns1:PrimaryPerType>N</ns1:PrimaryPerType>
                         <ns1:Status>A</ns1:Status>
                         <ns1:ObjectVersionNumber>1</ns1:ObjectVersionNumber>
                         <ns1:CreatedByModule>HZ_WS</ns1:CreatedByModule>
                      </ns1:PartySiteUse>
                   </ns2:PartySite>
                </ns2:Value>
             </ns3:result>
          </ns0:mergeOrganizationResponse>
       </env:Body>
    </env:Envelope>
  3. Use the PartyId and PartySiteID to create a CustomerAccount including CustomerAccountSite and CustomerAccountSiteUse using Customer Web Service

    Operation: mergeCustomerAccount

    Request Body
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule/types/" xmlns:cus="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/" xmlns:cus1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountContactRole/" xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/sourceSystemRef/" xmlns:cus2="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountContact/" xmlns:cus3="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountRel/" xmlns:cus4="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSiteUse/" xmlns:cus5="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/" xmlns:cus6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/">
       <soapenv:Header/>
       <soapenv:Body>
    		<typ:mergeCustomerAccount>
    			<typ:customerAccount>
    			<cus:PartyId>1003</cus:PartyId>
    			<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
    			<cus:CustomerAccountSite>
    			<cus:PartySiteId>300100551151980</cus:PartySiteId>
    			<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
    			<cus:SetId>202</cus:SetId>
    			<cus:CustomerAccountSiteUse>
    			<cus:SiteUseCode>BILL_TO</cus:SiteUseCode>
    			<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
    			</cus:CustomerAccountSiteUse>
    			</cus:CustomerAccountSite>
    			</typ:customerAccount>
          	</typ:mergeCustomerAccount>
       </soapenv:Body>
    </soapenv:Envelope>

    Response Body

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">
       <env:Header>
          <wsa:Action>http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule//CustomerAccountService/mergeCustomerAccountResponse</wsa:Action>
          <wsa:MessageID>urn:uuid:2c005876-8aaf-4beb-908c-1280fc988f37</wsa:MessageID>
       </env:Header>
       <env:Body>
          <ns0:mergeCustomerAccountResponse xmlns:ns0="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule/types/">
             <ns0:result xsi:type="ns2:CustomerAccountResult" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/" xmlns:ns1="http://xmlns.oracle.com/adf/svc/types/" xmlns:ns4="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ns2:Value>
                   <ns2:CustomerAccountId>300100552218054</ns2:CustomerAccountId>
                   <ns2:PartyId>1003</ns2:PartyId>
                   <ns2:LastUpdateDate>2021-09-23T08:34:46.525Z</ns2:LastUpdateDate>
                   <ns2:AccountNumber>CDRM_212244</ns2:AccountNumber>
                   <ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
                   <ns2:CreationDate>2021-09-23T08:34:45.001Z</ns2:CreationDate>
                   <ns2:CreatedBy>FUSION</ns2:CreatedBy>
                   <ns2:LastUpdateLogin>CC5ED8B7411EC35AE0531C5CF00AF259</ns2:LastUpdateLogin>
                   <ns2:RequestId xsi:nil="true"/>
                   <ns2:OrigSystem xsi:nil="true"/>
                   <ns2:OrigSystemReference>300100552218054</ns2:OrigSystemReference>
                   <ns2:Status>A</ns2:Status>
                   <ns2:CustomerType xsi:nil="true"/>
                   <ns2:CustomerClassCode xsi:nil="true"/>
                   <ns2:TaxCode xsi:nil="true"/>
                   <ns2:TaxHeaderLevelFlag xsi:nil="true"/>
                   <ns2:TaxRoundingRule xsi:nil="true"/>
                   <ns2:CoterminateDayMonth xsi:nil="true"/>
                   <ns2:AccountEstablishedDate>2021-09-23</ns2:AccountEstablishedDate>
                   <ns2:AccountTerminationDate>4712-12-31</ns2:AccountTerminationDate>
                   <ns2:HeldBillExpirationDate xsi:nil="true"/>
                   <ns2:HoldBillFlag>false</ns2:HoldBillFlag>
                   <ns2:AccountName xsi:nil="true"/>
                   <ns2:DepositRefundMethod xsi:nil="true"/>
                   <ns2:NpaNumber xsi:nil="true"/>
                   <ns2:SourceCode xsi:nil="true"/>
                   <ns2:Comments xsi:nil="true"/>
                   <ns2:DateTypePreference xsi:nil="true"/>
                   <ns2:ArrivalsetsIncludeLinesFlag xsi:nil="true"/>
                   <ns2:StatusUpdateDate xsi:nil="true"/>
                   <ns2:AutopayFlag xsi:nil="true"/>
                   <ns2:LastBatchId xsi:nil="true"/>
                   <ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
                   <ns2:SellingPartyId xsi:nil="true"/>
                   <ns2:CustomerAccountSite xmlns:ns7="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/">
                      <ns2:CustomerAccountSiteId>300100552218055</ns2:CustomerAccountSiteId>
                      <ns2:CustomerAccountId>300100552218054</ns2:CustomerAccountId>
                      <ns2:PartySiteId>300100551151980</ns2:PartySiteId>
                      <ns2:LastUpdateDate>2021-09-23T08:34:46.548Z</ns2:LastUpdateDate>
                      <ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
                      <ns2:CreationDate>2021-09-23T08:34:45.243Z</ns2:CreationDate>
                      <ns2:CreatedBy>FUSION</ns2:CreatedBy>
                      <ns2:LastUpdateLogin>CC5ED8B7411EC35AE0531C5CF00AF259</ns2:LastUpdateLogin>
                      <ns2:RequestId xsi:nil="true"/>
                      <ns2:OrigSystemReference>300100552218055</ns2:OrigSystemReference>
                      <ns2:Status>A</ns2:Status>
                      <ns2:BillToIndicator>P</ns2:BillToIndicator>
                      <ns2:MarketIndicator>N</ns2:MarketIndicator>
                      <ns2:ShipToIndicator>N</ns2:ShipToIndicator>
                      <ns2:CustomerCategoryCode xsi:nil="true"/>
                      <ns2:Language xsi:nil="true"/>
                      <ns2:KeyAccountFlag xsi:nil="true"/>
                      <ns2:TpHeaderId xsi:nil="true"/>
                      <ns2:EceTpLocationCode xsi:nil="true"/>
                      <ns2:TranslatedCustomerName xsi:nil="true"/>
                      <ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
                      <ns2:SetId>202</ns2:SetId>
                      <ns2:StartDate>2021-09-23</ns2:StartDate>
                      <ns2:EndDate>4712-12-31</ns2:EndDate>
                      <ns2:SetCode>Vision Corporation 202</ns2:SetCode>
                      <ns2:CustomerAccountSiteUse xmlns:ns6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSiteUse/">
                         <ns2:SiteUseId>300100552218056</ns2:SiteUseId>
                         <ns2:CustomerAccountSiteId>300100552218055</ns2:CustomerAccountSiteId>
                         <ns2:LastUpdateDate>2021-09-23T08:34:46.585Z</ns2:LastUpdateDate>
                         <ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
                         <ns2:CreationDate>2021-09-23T08:34:45.352Z</ns2:CreationDate>
                         <ns2:CreatedBy>FUSION</ns2:CreatedBy>
                         <ns2:SiteUseCode>BILL_TO</ns2:SiteUseCode>
                         <ns2:PrimaryFlag>true</ns2:PrimaryFlag>
                         <ns2:Status>A</ns2:Status>
                         <ns2:Location>CDRM_187314</ns2:Location>
                         <ns2:LastUpdateLogin>CC5ED8B7411EC35AE0531C5CF00AF259</ns2:LastUpdateLogin>
                         <ns2:BillToSiteUseId xsi:nil="true"/>
                         <ns2:OrigSystemReference>300100552218056</ns2:OrigSystemReference>
                         <ns2:SICCode xsi:nil="true"/>
                         <ns2:PaymentTermId xsi:nil="true"/>
                         <ns2:GSAIndicator xsi:nil="true"/>
                         <ns2:TerritoryId xsi:nil="true"/>
                         <ns2:RequestId xsi:nil="true"/>
                         <ns2:TaxReference xsi:nil="true"/>
                         <ns2:SortPriority xsi:nil="true"/>
                         <ns2:TaxCode xsi:nil="true"/>
                         <ns2:SecondLastAccrueChargeDate xsi:nil="true"/>
                         <ns2:LastAccrueChargeDate xsi:nil="true"/>
                         <ns2:LastUnaccrueChargeDate xsi:nil="true"/>
                         <ns2:SecondLastUnaccrueChrgDate xsi:nil="true"/>
                         <ns2:TaxHeaderLevelFlag xsi:nil="true"/>
                         <ns2:FinchrgReceivablesTrxId xsi:nil="true"/>
                         <ns2:TaxRoundingRule xsi:nil="true"/>
                         <ns2:TaxClassification xsi:nil="true"/>
                         <ns2:CreatedByModule>HZ_WS</ns2:CreatedByModule>
                         <ns2:SetId>202</ns2:SetId>
                         <ns2:EndDate>4712-12-31</ns2:EndDate>
                         <ns2:StartDate>2021-09-23</ns2:StartDate>
                      </ns2:CustomerAccountSiteUse>
                   </ns2:CustomerAccountSite>
                </ns2:Value>
             </ns0:result>
          </ns0:mergeCustomerAccountResponse>
       </env:Body>
    </env:Envelope>