Skip to Content
avatar image
Former Member

Use of variant program DISCNT07 creates a zero posting relevant line item

Hello All,

We are making use of a Discount variant where we would need your advice.

We are using DISCNT07 variant program to cater a new requirement where bill discounts are offered only for a few segment of our customers. We've created a new rate where we are passing the bill charges and make use of this variant DISCNT07 to calculate the credit discount. The operand type for the discount variant is ADISCPER.

We've created a zero discount and assigned it at the rate level and then were applicable we've assigned the valid discounts e.g. 10%, 20% at the relevant installation level.

What we've noticed is that the calculation works perfectly fine for accounts where the credit discount is applicable. However for accounts where no credit is applicable (i.e.) no valid discount % assigned at installation level, the system seems to calculate a zero posting relevant line item. This is due to the zero discount assigned at the Rate level.

We've checked the system and found that there is no impact either at Finance level or for the bill print however we seem to generate a zero posting line item and unnecessarily increase the growth of the database.

We've analyzed the optional step option at the Schema level however it doesn't make any difference. We've also explored the replacement value options (Req. value & Opt. value) at the discount operand level however they don't help us as it enforces a mandatory discount operand to be maintained at the installation level.

Can you please let us know if there is a workaround to avoid the creation of this zero posting line item? Thank you for your help in advance.

Regards,

Tushar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 20, 2015 at 05:08 PM

    Putting this step in an if..endif should solve your issue I guess.

    Cheers,

    Rakesh. .

    sapisurdg.wordpress.com

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      As Rakesh suggested, check if the calculated discount is greater than zero and then only execute the line for writing the posting relevant line item.

      Thanks,

      Amiit