IBM Support

JR47279: The ProcessOrder service response BOD does not include associated promotion information

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • It is expected that every call to the ProcessOrder service with
    the 'CalculateExternally' action code should include the
    AssociatedPromotion elements in the acknowledgement BOD.
    Currently, only when a new promotion code is included in the
    request are the associated promotions returned in the response
    BOD.
    
    A correct acknowledgment bod should be similar to the following:
    
    ...
      <_ord:DataArea>
        <_ord:Order>
          <_ord:OrderIdentifier>
     ...
          </_ord:OrderIdentifier>
    ...
          <_ord:PromotionCode>
            <_ord:Code>50166</_ord:Code>
            <_ord:Reason>
              <_wcf:Valid>true</_wcf:Valid>
              <_wcf:ReasonCode>ERR_NO_ERROR</_wcf:ReasonCode>
            </_ord:Reason>
            <_ord:AssociatedPromotion>
              <_wcf:PromotionIdentifier>
                <_wcf:UniqueID>10135569</_wcf:UniqueID>
                <_wcf:ExternalIdentifier revision="1" version="1">
                  <_wcf:Name>Promotion A</_wcf:Name>
                  <_wcf:StoreIdentifier>
                    <_wcf:UniqueID>10051</_wcf:UniqueID>
                  </_wcf:StoreIdentifier>
                </_wcf:ExternalIdentifier>
                <_wcf:CalculationCodeIdentifier>
                  <_wcf:UniqueID>134316</_wcf:UniqueID>
                  <_wcf:CalculationCodeExternalIdentifier>
    
    <_wcf:CalculationUsageID>-1</_wcf:CalculationUsageID>
                    <_wcf:Code>Promotion A</_wcf:Code>
                    <_wcf:StoreIdentifier>
                      <_wcf:UniqueID>10051</_wcf:UniqueID>
                    </_wcf:StoreIdentifier>
                  </_wcf:CalculationCodeExternalIdentifier>
                </_wcf:CalculationCodeIdentifier>
              </_wcf:PromotionIdentifier>
              <_wcf:Description language="-1">Promotion
    A</_wcf:Description>
            </_ord:AssociatedPromotion>
          </_ord:PromotionCode>
          <_ord:PromotionCode>
            <_ord:Code>35230</_ord:Code>
            <_ord:Reason>
              <_wcf:Valid>true</_wcf:Valid>
              <_wcf:ReasonCode>ERR_NO_ERROR</_wcf:ReasonCode>
            </_ord:Reason>
            <_ord:AssociatedPromotion>
              <_wcf:PromotionIdentifier>
                <_wcf:UniqueID>10135578</_wcf:UniqueID>
                <_wcf:ExternalIdentifier revision="1" version="1">
                  <_wcf:Name>Promotion B</_wcf:Name>
                  <_wcf:StoreIdentifier>
                    <_wcf:UniqueID>10051</_wcf:UniqueID>
                  </_wcf:StoreIdentifier>
                </_wcf:ExternalIdentifier>
                <_wcf:CalculationCodeIdentifier>
                  <_wcf:UniqueID>134325</_wcf:UniqueID>
                  <_wcf:CalculationCodeExternalIdentifier>
    
    <_wcf:CalculationUsageID>-1</_wcf:CalculationUsageID>
                    <_wcf:Code>Promotion A</_wcf:Code>
                    <_wcf:StoreIdentifier>
                      <_wcf:UniqueID>10051</_wcf:UniqueID>
                    </_wcf:StoreIdentifier>
                  </_wcf:CalculationCodeExternalIdentifier>
                </_wcf:CalculationCodeIdentifier>
              </_wcf:PromotionIdentifier>
              <_wcf:Description language="-1">Promotion
    A</_wcf:Description>
            </_ord:AssociatedPromotion>
          </_ord:PromotionCode>
          ..............
      </_ord:DataArea>
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 FEP6 or higher integrating with
    Sterling Commerce.
    
    PROBLEM ABSTRACT:
    The ProcessOrder service response BOD does not include
    associated promotion information
    
    BUSINESS IMPACT:
    Order Management System is not able to the apply the correct
    promotions to an order
    
    RECOMMENDATION:
    

Problem conclusion

  • The ProcessOrder service code was updated to always return the
    AssociatedPromotion information.
    
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR47279

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-19

  • Closed date

    2013-09-05

  • Last modified date

    2013-09-05

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
05 September 2013