Skip to Content
avatar image
Former Member

Customer Checkout sales screen discounts issue when fetching sales order

Hi experts,

One of ours customers needs to fetch the sales orders created in SAP Business One. When we do it i CCO, the sales items discounts and the sale discount are wrong. Here is a sales order we created in SBO.

And here is the CCO sales screen after fetching this sales order.

The CCO version we are using is the one below.

Please, we need to know about this as soon as possible. Thanks in advance.

Best regards,

Gabriela

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 25, 2017 at 12:43 PM

    Dear Gabriela,

    what you describe is the intended and designed system behavior in CCO. This is in order to be consistent between SBO and CCO with regard to the distribution of discounts.

    Just to give you an idea what could happen if we did not follow this approach. Let’s assume item1 is non-dicsountable in CCO and item2 is discountable:

    Example 1:

    SBO Sales order with 20% discount on header level

    item 1 100

    item 2 50

    ____________

    total 150 - 20% ( =30) = 120

    What CCO actually does:

    CCO Invoice

    item1 100 -20 = 80

    item2 50 -10 = 40

    ____________

    total 120

    BUT: Let’s assume it did not allocate discount on item1:

    CCO Invoice

    item1 100 - 0 = 100

    item2 50 - 30 = 20

    ____________

    total 120

    return of item2 only:

    item2 = 20

    ðWhen returning item2 the customer would get paid only 20 instead of 40.

    Example 2:

    SBO Sales order with 60% discount on header level

    item1 50

    item2 70

    ____________

    total 120 - 60% ( = 72) = 48

    What CCO actually does:

    CCO Invoice

    item1 50 - 60% (= 30) = 20

    item2 70 – 60% (= 42) = 28

    ____________

    total 48

    BUT: Let’s assume it did not allocate discount on item1:

    CCO Invoice

    item1 50 - 0 = 50

    item2 70 - 72 = -2

    ____________

    total 48

    ðNegative amount on item2!

    I hope this explains why CCO behaves correctly and as expected in the situation you described.

    kind regards

    Stephan

    Add comment
    10|10000 characters needed characters exceeded