Import Source Orders That Include Credit Check

Control how Order Management handles credit check for each source order that you import from a source system.

Use a web service or file-based data import. This example does credit check in the source system.

performs credit check in the source system.

Set attributes in the payload you use to import your source order.

Attribute

Description

PreCreditCheckedFlag

Set the value.

  • True. Don't check credit. Order Management won't do credit check on the source order even if you enable credit check for the business unit.

  • False. Do check credit.

CreditCheckAuthorizationCode

Set to any numeric value, such as 9090.

Order Management uses the value that you set to populate the Credit Reference attribute on the order line.

If you import a source order, and if a sales order already exists in Order Management that matches the source order, then Order Management examines the value of Credit Reference in the sales order. If Credit Reference isn't equal to the value of CreditCheckAuthorizationCode, then Order Management checks credit for the source order.

CreditCheckAuthorizationExpiryDate

Set to a date value, such as 2016-10-05T10:00:00Z.

Order Management uses the value that you set to populate the Expiration Date attribute on the order line.

If the current date.

  • Happens after CreditCheckAuthorizationExpiryDate. Order Management checks credit.

  • Happens on or before CreditCheckAuthorizationExpiryDate. Order Management doesn't check credit.

Note

  • You can reference PreCreditCheckedFlag from a transformation rule or an order management extension.

  • You can send PreCreditCheckedFlag only through order import.

  • PreCreditCheckedFlag doesn't display in the Order Management work area.

To view the code and date, in the Order Management work area, navigate to a fulfillment view, then open a sales order. On the Order page, in the Fulfillment Line Details area, in the Attributes area, on the Billing tab, in the Credit Approval area, note.

  • CreditCheckAuthorizationCode displays in the Credit Reference attribute.

  • CreditCheckAuthorizationExpiryDate displays in the Expiration Date attribute.

For example:

tab Billing, in area Credit Approval

Here's an example payload.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><your security details></soap:Header>
    <soap:Body>
        <ns1:process xmlns:ns1="http://xmlns.oracle.com/apps/scm/doo/decomposition/receiveTransform/receiveSalesOrder/DooDecompReceiveOrderComposite">
            <ns1:OrchestrationOrderRequest xmlns:ns2="http://xmlns.oracle.com/apps/scm/doo/decomposition/receiveTransform/receiveSalesOrder/model/">
                <ns2:SourceTransactionNumber>RD_CC_TEST_0907_1</ns2:SourceTransactionNumber>
                <ns2:SourceTransactionSystem>LEG</ns2:SourceTransactionSystem>
        				<ns2:RevisionSourceSystem>LEG</ns2:RevisionSourceSystem>
                <ns2:SourceTransactionIdentifier>RD_CC_TEST_0907_1</ns2:SourceTransactionIdentifier>
                <ns2:BuyingPartyId>1006</ns2:BuyingPartyId>
                <ns2:BuyingPartyName></ns2:BuyingPartyName>
                <ns2:BuyingPartyNumber></ns2:BuyingPartyNumber>
                <ns2:BuyingPartyContactId></ns2:BuyingPartyContactId>
                <ns2:BuyingPartyContactName></ns2:BuyingPartyContactName>
                <ns2:BuyingPartyContactNumber></ns2:BuyingPartyContactNumber>
                <ns2:CustomerPONumber></ns2:CustomerPONumber>
                <ns2:TransactionalCurrencyCode>USD</ns2:TransactionalCurrencyCode>
                <ns2:TransactionalCurrencyName></ns2:TransactionalCurrencyName>
                <ns2:TransactionOn>2017-06-07T10:10:10</ns2:TransactionOn>
                <ns2:PlacedOn></ns2:PlacedOn>
                <ns2:RequestingBusinessUnitIdentifier>204</ns2:RequestingBusinessUnitIdentifier>
                <ns2:TransactionTypeCode></ns2:TransactionTypeCode>
                <ns2:CurrencyConversionType></ns2:CurrencyConversionType>
                <ns2:CurrencyConversionRate></ns2:CurrencyConversionRate>
                <ns2:CurrencyConversionDate></ns2:CurrencyConversionDate>
                 <ns2:TransactionDocumentTypeCode></ns2:TransactionDocumentTypeCode>
                <ns2:CancelReasonCode></ns2:CancelReasonCode>
                <ns2:CancelReason></ns2:CancelReason>
                <ns2:RequestCancelDate></ns2:RequestCancelDate>
                <ns2:Comments></ns2:Comments>
                <ns2:BatchIdentifier></ns2:BatchIdentifier>
                <ns2:RequestingLegalUnitIdentifier>204</ns2:RequestingLegalUnitIdentifier> 
                <ns2:RequestingLegalUnit></ns2:RequestingLegalUnit>
                <ns2:OrigSystemDocumentReference>ManualShipmentProcess</ns2:OrigSystemDocumentReference>
                <ns2:InterfaceStatus></ns2:InterfaceStatus>
                <ns2:PartialShipAllowedFlag>false</ns2:PartialShipAllowedFlag>
        <ns2:FreezePriceFlag>true</ns2:FreezePriceFlag>
        <ns2:OperationMode></ns2:OperationMode>
        <ns2:PreCreditCheckedFlag>true</ns2:PreCreditCheckedFlag>
                <ns2:OrchestrationOrderRequestLine>
                    <ns2:SourceTransactionLineIdentifier>101</ns2:SourceTransactionLineIdentifier>
                    <ns2:SourceTransactionScheduleIdentifier>101</ns2:SourceTransactionScheduleIdentifier>
                    <ns2:SourceTransactionLineNumber>1</ns2:SourceTransactionLineNumber>
                    <ns2:SourceTransactionScheduleNumber>1</ns2:SourceTransactionScheduleNumber>
                    <ns2:ProductIdentifier>149</ns2:ProductIdentifier>
                    <ns2:ProductNumber></ns2:ProductNumber>
                    <ns2:ProductName></ns2:ProductName>
                    <ns2:OrderedQuantity>10</ns2:OrderedQuantity>
                    <ns2:CanceledQuantity></ns2:CanceledQuantity>
                    <ns2:OrderedUOMCode>Ea</ns2:OrderedUOMCode>
                    <ns2:RequestedFulfillmentOrganizationIdentifier>204</ns2:RequestedFulfillmentOrganizationIdentifier>
                    <ns2:RequestedFulfillmentOrganizationCode></ns2:RequestedFulfillmentOrganizationCode>
                    <ns2:BusinessUnitIdentifier></ns2:BusinessUnitIdentifier>
                    <ns2:BusinessUnitName></ns2:BusinessUnitName>
                    <ns2:RequestingBusinessUnitIdentifier>204</ns2:RequestingBusinessUnitIdentifier>
                    <ns2:RequestingBusinessUnitName></ns2:RequestingBusinessUnitName>
                    <ns2:CancelReasonCode></ns2:CancelReasonCode>
                    <ns2:CancelReason></ns2:CancelReason>
                    <ns2:SubstitutionAllowedFlag></ns2:SubstitutionAllowedFlag>
                    <ns2:SubstitutionReasonCode></ns2:SubstitutionReasonCode>
                    <ns2:CustomerPONumber></ns2:CustomerPONumber>
                    <ns2:CustomerPOLineNumber></ns2:CustomerPOLineNumber>
                    <ns2:CustomerPOScheduleNumber></ns2:CustomerPOScheduleNumber>
                    <ns2:CustomerProductIdentifier></ns2:CustomerProductIdentifier>
                    <ns2:TransactionLineTypeCode></ns2:TransactionLineTypeCode>
                    <ns2:ParentLineReference></ns2:ParentLineReference>
                    <ns2:RootParentLineReference></ns2:RootParentLineReference>
                    <ns2:ShippingInstructions>XYZ</ns2:ShippingInstructions>
                    <ns2:PackingInstructions>XYZ</ns2:PackingInstructions>
                    <ns2:InvoicingRuleCode></ns2:InvoicingRuleCode>
                    <ns2:InvoicingRule></ns2:InvoicingRule>
                    <ns2:AccountingRuleCode></ns2:AccountingRuleCode>
                    <ns2:AccountingRule></ns2:AccountingRule>
                    <ns2:RequestedShipDate></ns2:RequestedShipDate>
                    <ns2:RequestedArrivalDate>2015-11-15T10:10:10</ns2:RequestedArrivalDate>
                    <ns2:ScheduleShipDate>2015-11-15T10:10:10</ns2:ScheduleShipDate>
                    <ns2:ScheduleArrivalDate>2015-11-15T10:10:10</ns2:ScheduleArrivalDate>
                    <ns2:DemandClassCode></ns2:DemandClassCode>
                    <ns2:DemandClass></ns2:DemandClass>
                    <ns2:IncotermCode></ns2:IncotermCode>
                    <ns2:Incoterm></ns2:Incoterm>
                    <ns2:ShippingCarrierCode></ns2:ShippingCarrierCode>
                    <ns2:ShippingCarrier></ns2:ShippingCarrier>
                    <ns2:PaymentTerms></ns2:PaymentTerms>
                    <ns2:PaymentTermsCode>1</ns2:PaymentTermsCode>
                    <ns2:TransactionCategoryCode>ORDER</ns2:TransactionCategoryCode>
                    <ns2:ReturnReasonCode></ns2:ReturnReasonCode>
                    <ns2:ReturnReason></ns2:ReturnReason>
                    <ns2:ShippingServiceLevelCode></ns2:ShippingServiceLevelCode>
                    <ns2:ShippingServiceLevel></ns2:ShippingServiceLevel>
                    <ns2:ShippingModeCode></ns2:ShippingModeCode>
                    <ns2:ShippingMode></ns2:ShippingMode>
                    <ns2:ShipmentPriorityCode></ns2:ShipmentPriorityCode>
                    <ns2:ShipmentPriority></ns2:ShipmentPriority>
                    <ns2:InventoryOrganizationIdentifier>204</ns2:InventoryOrganizationIdentifier>
                    <ns2:InventoryOrganization></ns2:InventoryOrganization>
                    <ns2:FreightTermsCode></ns2:FreightTermsCode>
                    <ns2:FreightTerms></ns2:FreightTerms>
                    <ns2:RequestCancelDate></ns2:RequestCancelDate>
                    <ns2:OriginalProductIdentifier></ns2:OriginalProductIdentifier>
                    <ns2:OriginalProductName></ns2:OriginalProductName>
                    <ns2:OriginalProductNumber></ns2:OriginalProductNumber>
                    <ns2:ShipToPartyIdentifier>1006</ns2:ShipToPartyIdentifier>
                    <ns2:ShipToPartyName></ns2:ShipToPartyName>
                    <ns2:ShipToPartyNumber></ns2:ShipToPartyNumber>
                    <ns2:ShipToPartySiteIdentifier>1036</ns2:ShipToPartySiteIdentifier>
                    <ns2:ShipToAddress1></ns2:ShipToAddress1>
                    <ns2:ShipToAddress2></ns2:ShipToAddress2>
                    <ns2:ShipToAddress3></ns2:ShipToAddress3>
                    <ns2:ShipToAddress4></ns2:ShipToAddress4>
                    <ns2:ShipToCity></ns2:ShipToCity>
                    <ns2:ShipToPostalCode></ns2:ShipToPostalCode>
                    <ns2:ShipToState></ns2:ShipToState>
                    <ns2:ShipToProvince></ns2:ShipToProvince>
                    <ns2:ShipToCountry></ns2:ShipToCountry>
                    <ns2:ShipToContactPartyIdentifier></ns2:ShipToContactPartyIdentifier>
                    <ns2:ShipToContactPartyNumber></ns2:ShipToContactPartyNumber>
                    <ns2:ShipToContactPartyName></ns2:ShipToContactPartyName>
                    <ns2:BillToCustomerIdentifier>1002</ns2:BillToCustomerIdentifier>
                    <ns2:BillToCustomerName></ns2:BillToCustomerName>
                    <ns2:BillToCustomerNumber></ns2:BillToCustomerNumber>
                    <ns2:BillToAccountSiteUseIdentifier>1009</ns2:BillToAccountSiteUseIdentifier>
                    <ns2:BillToAddress1></ns2:BillToAddress1>
                    <ns2:BillToAddress2></ns2:BillToAddress2>
                    <ns2:BillToAddress3></ns2:BillToAddress3>
                    <ns2:BillToAddress4></ns2:BillToAddress4>
                    <ns2:BillToCity></ns2:BillToCity>
                    <ns2:BillToPostalCode></ns2:BillToPostalCode>
                    <ns2:BillToState></ns2:BillToState>
                    <ns2:BillToProvince></ns2:BillToProvince>
                    <ns2:BillToCountry></ns2:BillToCountry>
                    <ns2:BillToAccountContactIdentifier></ns2:BillToAccountContactIdentifier>
                    <ns2:BillToAccountContactName></ns2:BillToAccountContactName>
                    <ns2:BillToAccountContactNumber></ns2:BillToAccountContactNumber>
                    <ns2:PartialShipAllowedFlag>false</ns2:PartialShipAllowedFlag>
                    <ns2:FulfillmentLineIdentifier></ns2:FulfillmentLineIdentifier>
                    <ns2:ShipToRequestRegion></ns2:ShipToRequestRegion>
                    <ns2:RequestedSupplierCode></ns2:RequestedSupplierCode>
                    <ns2:RequestedSupplierName></ns2:RequestedSupplierName>
                    <ns2:RequestedSupplierNumber></ns2:RequestedSupplierNumber>
                    <ns2:RequestedSupplierSiteCode></ns2:RequestedSupplierSiteCode>
                    <ns2:SupplierAddressLine1></ns2:SupplierAddressLine1>
                    <ns2:SupplierAddressLine2></ns2:SupplierAddressLine2>
                    <ns2:SupplierAddressLine3></ns2:SupplierAddressLine3>
                    <ns2:SupplierAddressLine4></ns2:SupplierAddressLine4>
                    <ns2:SupplierAddressCity></ns2:SupplierAddressCity>
                    <ns2:SupplierAddressState></ns2:SupplierAddressState>
                    <ns2:SupplierAddressZipCode></ns2:SupplierAddressZipCode>
                    <ns2:SupplierAddressProvince></ns2:SupplierAddressProvince>
                    <ns2:SupplierAddressCountry></ns2:SupplierAddressCountry>
                    <ns2:FulfillmentMethodCode></ns2:FulfillmentMethodCode>
                    <ns2:Comments></ns2:Comments>
                    <ns2:ReferenceTransactionLineId></ns2:ReferenceTransactionLineId>
                    <ns2:InterfaceStatus></ns2:InterfaceStatus>
                    <ns2:UnitListPrice>5</ns2:UnitListPrice>
                    <ns2:UnitSellingPrice>5</ns2:UnitSellingPrice>
                    <ns2:ExtendedAmount>100</ns2:ExtendedAmount>
                    <ns2:BatchIdentifier></ns2:BatchIdentifier>
                    <ns2:DestinationShippingOrganizationIdentifier></ns2:DestinationShippingOrganizationIdentifier>
                    <ns2:DestinationShippingLocationIdentifier></ns2:DestinationShippingLocationIdentifier>
                    <ns2:EarliestAcceptableShipDate></ns2:EarliestAcceptableShipDate>
                    <ns2:LatestAcceptableShipDate></ns2:LatestAcceptableShipDate>
                    <ns2:EarliestAcceptableArrivalDate></ns2:EarliestAcceptableArrivalDate>
                    <ns2:LatestAcceptableArrivalDate></ns2:LatestAcceptableArrivalDate>
                    <ns2:PromiseShipDate></ns2:PromiseShipDate>
                    <ns2:PromiseArrivalDate></ns2:PromiseArrivalDate>
                    <ns2:SubInventoryCode></ns2:SubInventoryCode>
                    <ns2:SubInventory></ns2:SubInventory>
                    <ns2:ShipSetName></ns2:ShipSetName>
                    <ns2:TaxExemptFlag>S</ns2:TaxExemptFlag>
                    <ns2:TaxClassificationCode></ns2:TaxClassificationCode>
                    <ns2:TaxExemptionCertificateNumber></ns2:TaxExemptionCertificateNumber>
                    <ns2:TaxExemptReasonCode></ns2:TaxExemptReasonCode>
                    <ns2:DefaultTaxationCountry></ns2:DefaultTaxationCountry>
                    <ns2:FirstPartyTaxRegistration></ns2:FirstPartyTaxRegistration>
                    <ns2:ThirdPartyTaxRegistration></ns2:ThirdPartyTaxRegistration>
                    <ns2:DocumentSubType></ns2:DocumentSubType>
                    <ns2:FinalDischargeLocationIdentifier></ns2:FinalDischargeLocationIdentifier>
                    <ns2:ProductFiscalCategoryIdentifier></ns2:ProductFiscalCategoryIdentifier>
                    <ns2:ProductType></ns2:ProductType>
                    <ns2:ProductCategory></ns2:ProductCategory>
                    <ns2:TransactionBusinessCategory></ns2:TransactionBusinessCategory>
                    <ns2:AssessableValue></ns2:AssessableValue>
                    <ns2:UserDefinedFiscClass></ns2:UserDefinedFiscClass>
                    <ns2:IntendedUseClassificationIdentifier></ns2:IntendedUseClassificationIdentifier>
                    <ns2:FOBPointCode></ns2:FOBPointCode>
                    <ns2:FOBPoint></ns2:FOBPoint>
                    <ns2:OrigSystemDocumentReference>ORIGSYS</ns2:OrigSystemDocumentReference>
                    <ns2:OrigSystemDocumentLineReference>ORIGSYSLINE</ns2:OrigSystemDocumentLineReference>
           <ns2:CreditCheckAuthorizationCode>1235</ns2:CreditCheckAuthorizationCode>
            <ns2:CreditCheckAuthorizationExpiryDate>2016-11-15T10:10:10</ns2:CreditCheckAuthorizationExpiryDate>
          <ns2:ContractStartDate></ns2:ContractStartDate>
<ns2:LineCharge>
                        <ns2:ChargeDefinitionCode>QP_SALE_PRICE</ns2:ChargeDefinitionCode>
                        <ns2:ChargeSubtypeCode>ORA_PRICE</ns2:ChargeSubtypeCode>
                        <ns2:PriceTypeCode>ONE_TIME</ns2:PriceTypeCode>
                        <ns2:PricedQuantity>1</ns2:PricedQuantity>
                        <ns2:PricedQuantityUOMCode>Ea</ns2:PricedQuantityUOMCode>
                        <ns2:PrimaryFlag>true</ns2:PrimaryFlag>
                        <ns2:ApplyTo>PRICE</ns2:ApplyTo>
                        <ns2:RollupFlag>false</ns2:RollupFlag>
                        <ns2:SourceChargeIdentifier>SC1</ns2:SourceChargeIdentifier>
                        <ns2:ChargeTypeCode>ORA_SALE</ns2:ChargeTypeCode>
                        <ns2:ChargeCurrencyCode>USD</ns2:ChargeCurrencyCode>
            <ns2:SequenceNumber>1</ns2:SequenceNumber>
            <ns2:PricePeriodicityCode></ns2:PricePeriodicityCode>
                        <ns2:GsaUnitPrice></ns2:GsaUnitPrice>
                        <ns2:ChargeComponent>
                            <ns2:ChargeCurrencyCode>USD</ns2:ChargeCurrencyCode>
                            <ns2:HeaderCurrencyCode>USD</ns2:HeaderCurrencyCode>
                            <ns2:HeaderCurrencyExtendedAmount>97</ns2:HeaderCurrencyExtendedAmount>
                            <ns2:PriceElementCode>QP_NET_PRICE</ns2:PriceElementCode>
                            <ns2:SequenceNumber>2</ns2:SequenceNumber>
                            <ns2:PriceElementUsageCode>NET_PRICE</ns2:PriceElementUsageCode>
                            <ns2:ChargeCurrencyUnitPrice>97</ns2:ChargeCurrencyUnitPrice>
                            <ns2:HeaderCurrencyUnitPrice>97</ns2:HeaderCurrencyUnitPrice>
                            <ns2:RollupFlag>false</ns2:RollupFlag>
                            <ns2:SourceParentChargeComponentId></ns2:SourceParentChargeComponentId>
                            <ns2:SourceChargeIdentifier>SC1</ns2:SourceChargeIdentifier>
                            <ns2:SourceChargeComponentIdentifier>SCC1</ns2:SourceChargeComponentIdentifier>
                            <ns2:ChargeCurrencyExtendedAmount>97</ns2:ChargeCurrencyExtendedAmount>
                        </ns2:ChargeComponent>
            <ns2:ChargeComponent>
                            <ns2:ChargeCurrencyCode>USD</ns2:ChargeCurrencyCode>
                            <ns2:HeaderCurrencyCode>USD</ns2:HeaderCurrencyCode>
                            <ns2:HeaderCurrencyExtendedAmount>97</ns2:HeaderCurrencyExtendedAmount>
                            <ns2:PriceElementCode>QP_LIST_PRICE</ns2:PriceElementCode>
                            <ns2:SequenceNumber>1</ns2:SequenceNumber>
                            <ns2:PriceElementUsageCode>LIST_PRICE</ns2:PriceElementUsageCode>
                            <ns2:ChargeCurrencyUnitPrice>97</ns2:ChargeCurrencyUnitPrice>
                            <ns2:HeaderCurrencyUnitPrice>97</ns2:HeaderCurrencyUnitPrice>
                            <ns2:RollupFlag>false</ns2:RollupFlag>
                            <ns2:SourceParentChargeComponentId></ns2:SourceParentChargeComponentId>
                            <ns2:SourceChargeIdentifier>SC1</ns2:SourceChargeIdentifier>
                            <ns2:SourceChargeComponentIdentifier>SCC2</ns2:SourceChargeComponentIdentifier>
                            <ns2:ChargeCurrencyExtendedAmount>97</ns2:ChargeCurrencyExtendedAmount>
                        </ns2:ChargeComponent>
                    </ns2:LineCharge>    
    </ns2:OrchestrationOrderRequestLine>
   
  
  </ns1:OrchestrationOrderRequest>
        </ns1:process>
    </soap:Body>
</soap:Envelope>