Update a Customer Descriptive Flexfield
In this use case, we'll update customer account descriptive flexfield.
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>300100555606069</cus:PartySiteId>
<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
<cus:SetId>202</cus:SetId>
<cus:CustomerAccountSiteUse>
<cus:SiteUseCode>SOLD_TO</cus:SiteUseCode>
<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
</cus:CustomerAccountSiteUse>
<cus:CustomerAccountSiteUse>
<cus:SiteUseCode>BILL_TO</cus:SiteUseCode>
<cus:CreatedByModule>HZ_WS</cus:CreatedByModule>
</cus:CustomerAccountSiteUse>
<cus:CustomerAccountSiteUse>
<cus:SiteUseCode>SHIP_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:c02f8d42-5cb9-4b6c-b706-321bb1e99673</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:ns4="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/" xmlns:ns9="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/" xmlns:ns2="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/" xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/" xmlns:ns1="http://xmlns.oracle.com/adf/svc/types/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns2:Value>
<ns2:CustomerAccountId>300100560117299</ns2:CustomerAccountId>
<ns2:PartyId>1003</ns2:PartyId>
<ns2:LastUpdateDate>2021-12-09T04:40:01.525Z</ns2:LastUpdateDate>
<ns2:AccountNumber>CDRM_216283</ns2:AccountNumber>
<ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
<ns2:CreationDate>2021-12-09T04:39:59.026Z</ns2:CreationDate>
<ns2:CreatedBy>FUSION</ns2:CreatedBy>
<ns2:LastUpdateLogin>D22807D666EC220AE0531C5CF00A1645</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:OrigSystem xsi:nil="true"/>
<ns2:OrigSystemReference>300100560117299</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-12-09</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>300100560117300</ns2:CustomerAccountSiteId>
<ns2:CustomerAccountId>300100560117299</ns2:CustomerAccountId>
<ns2:PartySiteId>300100555606069</ns2:PartySiteId>
<ns2:LastUpdateDate>2021-12-09T04:40:01.601Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
<ns2:CreationDate>2021-12-09T04:39:59.417Z</ns2:CreationDate>
<ns2:CreatedBy>FUSION</ns2:CreatedBy>
<ns2:LastUpdateLogin>D22807D666EC220AE0531C5CF00A1645</ns2:LastUpdateLogin>
<ns2:RequestId xsi:nil="true"/>
<ns2:OrigSystemReference>300100560117300</ns2:OrigSystemReference>
<ns2:Status>A</ns2:Status>
<ns2:BillToIndicator>P</ns2:BillToIndicator>
<ns2:MarketIndicator>N</ns2:MarketIndicator>
<ns2:ShipToIndicator>P</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-12-09</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>300100560117301</ns2:SiteUseId>
<ns2:CustomerAccountSiteId>300100560117300</ns2:CustomerAccountSiteId>
<ns2:LastUpdateDate>2021-12-09T04:40:01.61Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
<ns2:CreationDate>2021-12-09T04:39:59.806Z</ns2:CreationDate>
<ns2:CreatedBy>FUSION</ns2:CreatedBy>
<ns2:SiteUseCode>SOLD_TO</ns2:SiteUseCode>
<ns2:PrimaryFlag>true</ns2:PrimaryFlag>
<ns2:Status>A</ns2:Status>
<ns2:Location>CDRM_190377</ns2:Location>
<ns2:LastUpdateLogin>D22807D666EC220AE0531C5CF00A1645</ns2:LastUpdateLogin>
<ns2:BillToSiteUseId xsi:nil="true"/>
<ns2:OrigSystemReference>300100560117301</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-12-09</ns2:StartDate>
</ns2:CustomerAccountSiteUse>
<ns2:CustomerAccountSiteUse xmlns:ns6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSiteUse/">
<ns2:SiteUseId>300100560117302</ns2:SiteUseId>
<ns2:CustomerAccountSiteId>300100560117300</ns2:CustomerAccountSiteId>
<ns2:LastUpdateDate>2021-12-09T04:40:01.794Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
<ns2:CreationDate>2021-12-09T04:40:00.734Z</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_190378</ns2:Location>
<ns2:LastUpdateLogin>D22807D666EC220AE0531C5CF00A1645</ns2:LastUpdateLogin>
<ns2:BillToSiteUseId xsi:nil="true"/>
<ns2:OrigSystemReference>300100560117302</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-12-09</ns2:StartDate>
</ns2:CustomerAccountSiteUse>
<ns2:CustomerAccountSiteUse xmlns:ns6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSiteUse/">
<ns2:SiteUseId>300100560117303</ns2:SiteUseId>
<ns2:CustomerAccountSiteId>300100560117300</ns2:CustomerAccountSiteId>
<ns2:LastUpdateDate>2021-12-09T04:40:01.834Z</ns2:LastUpdateDate>
<ns2:LastUpdatedBy>FUSION</ns2:LastUpdatedBy>
<ns2:CreationDate>2021-12-09T04:40:00.79Z</ns2:CreationDate>
<ns2:CreatedBy>FUSION</ns2:CreatedBy>
<ns2:SiteUseCode>SHIP_TO</ns2:SiteUseCode>
<ns2:PrimaryFlag>true</ns2:PrimaryFlag>
<ns2:Status>A</ns2:Status>
<ns2:Location>CDRM_190379</ns2:Location>
<ns2:LastUpdateLogin>D22807D666EC220AE0531C5CF00A1645</ns2:LastUpdateLogin>
<ns2:BillToSiteUseId xsi:nil="true"/>
<ns2:OrigSystemReference>300100560117303</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-12-09</ns2:StartDate>
</ns2:CustomerAccountSiteUse>
</ns2:CustomerAccountSite>
</ns2:Value>
</ns0:result>
</ns0:mergeCustomerAccountResponse>
</env:Body>
</env:Envelope>