cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CAR Omnichannel Promotion Pricing in GK POS, only basket promotions work but items discounts don't.

amrhesham
Explorer
0 Likes
961

Dears,
I am working on sending promotions from the omnichannel promotion pricing (on-premise) in customer activity repository to GK POS. The outbound idocs are successfully generated from CAR and successfully received in GK via PI. But only basket promotions ( Discounts on Total Receipt) work fine while discounts/promotions on items don't work at all, although the GK Server doesn't show any error while receiving the XML file containing the promotion and price info.

Kindly advise, the message types used in the replication scenarios:
- IDoc type /ROP/BASE_PRICE01 (message type /ROP/BASE_PRICE)
- IDoc type /ROP/PROMOTION01 (message type /ROP/PROMOTION)

>>Attached the xml file received by GK
id-logktst-1622622134459-0-46.xml

Appreciate your help.

Also I have found that there are System Parameters of the Promotion Calculation Engine which is the core of promotion pricing service, and there is a parameter as below:

>>CalculationMode: Basket
Possible values:

  • Basket: mapped to enum field BASKET. The PCE calculates the benefits for the entire shopping basket.
  • LineItem: mapped to enum field LINE_ITEM. The PCE calculates the benefits per line item independently.
  • 0: the default value will be used.

    But I can't find the way I access these parameters to change them to be lineitem instead of basket. Appreciate if you can help where I can change these parameters...

    Thanks in advance!
  • Accepted Solutions (0)

    Answers (1)

    Answers (1)

    anupam_ghosh2
    Active Contributor
    0 Likes

    Hi amrhesham,

    XML looks fine.

    Here target system GK has to tell you what is going wrong in their server.

    I mean as long as XML format is correct and acceptable by GK , we cannot know what changes are required in message structure. Internally somewhere GK is rejecting this payload.

    They need to provide log of error to troubleshoot the issue.

    Regards

    Anupam

    amrhesham
    Explorer
    0 Likes

    I have found that there are System Parameters of the Promotion Calculation Engine which is the core of promotion pricing service, and there is a parameter as below:
    >>CalculationMode: Basket
    Possible values:

  • Basket: mapped to enum field BASKET. The PCE calculates the benefits for the entire shopping basket.
  • LineItem: mapped to enum field LINE_ITEM. The PCE calculates the benefits per line item independently.
  • 0: the default value will be used.

    But I can't find the way I access these parameters to change them to be lineitem instead of basket. Appreciate if you can help where I can change these parameters...

    Thanks in advance!