Skip to main content

Calculate conditional discounts

Calculate the conditional discounts to post what you owe your customers under the contract offers. You calculate each month, then the whole year. Each monthly calculation makes a journal entry. The yearly calculation keeps the discount only for the customers who reached the limit.

Before you begin​

  • You need the permission Conditional Discount Calculation in Users Management.
  • Create the contract offers and make them active. See Create a special offer.
  • Give each customer of the offers a Conditional account in his card, under Discount Counter Account. See Customer card.
  • Enter the sales bills and the sales returns of the month. The calculation reads them.
  • The end of the period must not be before the lock date of the file.
  • If you want to type your own first and last dates for the month, turn on User-Defined in the options page of special offers. See The options page.

Steps​

Each month​

  1. Click Materials > Special Offers > Conditional Discounts > Conditional Discount Calculation.
  2. Keep Monthly selected.
  3. Choose the Year and the Month. With User-Defined, type From and To instead.
  4. If the window shows Branch, choose it.
  5. Click Calculate. If the program asks "Generated entries for the same period will be deleted. Are you sure to continue", click Yes only if you want to calculate this month again.
  6. Read the message. If it says "Operation completed successfully", Entry No shows the number of the entry. Click Entry to open it.

At the end of the year​

  1. Check that every month of the year was calculated, with no gap, in the branch.
  2. Choose Yearly and choose the Year.
  3. Click Calculate. Read the message.

Result​

Each monthly calculation makes one posted journal entry, dated the last day of the month. For each discount account and each condition it debits the discount account and credits the Conditional account of the customer.

Example. A sales bill of 20,000.00 of Beverages in January, with a discount of 2%. The entry of January: debit Discounts allowed 400.00, credit Conditional discount reserve 400.00. In February the sales are 40,000.00 and the sales return 2,000.00: debit 760.00 and credit 760.00.

The yearly calculation then adds the sales of the year. For a customer with 58,000.00 and a limit of 50,000.00, it rebuilds the entries with the same amounts. For a customer below the limit, it deletes his discount from every month. The months become closed: you cannot calculate them again by month.

To check the figures, run Conditional Discounts Calculation and Realized Conditional Discounts Percentage.

If something goes wrong​

MessageWhy it appearsWhat to do
Branch should be selectedThe file has branches and Branch is empty.Choose the branch.
End Date must be after "Lock Date"The end of the period is before the lock date.Choose a later period.
Calculation can't be completed! There are customers without "Conditional Discount Counter Account". These customers are : …Customers of the offers have no Conditional account.Set the account in the card of each customer listed, then calculate again. The entries of the month that were deleted before this message stay deleted.
Monthly calculation for the period can't be done! Annual calculation is already done covering this periodThe year was calculated.You cannot calculate this month again by month.
The entry isn't generated! No realized conditions in this periodNo bill line matched the offers.Check the offers, the dates and the bill types.
Can't continue annual calculation! There are periods without monthly calculation: …Part of the year has no monthly calculation.Calculate the months that are listed, then calculate the year again.

This page applies to alameen ERP 10, version 10.1.79.764.