BeyondERP.Newsletter
Menu

Setup step on the Calculate FIFO purchase price page · Rebate management

Schedule Calculate FIFO purchase price

Run the FIFO calculation at the right time so FIFO vendor rebates use the purchase value of the stock sold.

See how to set it up Back to Rebate management

Used by
Accounts payable manager
Business process
Process vendor rebates with Dynamics 365 Supply Chain Management
Menu item
TAMRebateCalcFIFOPriceService
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “FIFO value drives the vendor rebate”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic task dialog that calculates, on a first in, first out basis, the purchase value of stock that has been sold so that vendor rebate deals whose Price basis is FIFO can be calculated.
What you do hereUse this task before processing vendor rebate deals that are based on sales orders with Price basis set to FIFO; the FIFO purchase value it produces is then used as the basis for those vendor rebates.
ExampleFor example, BEAT sold 1,000 units of item BEAT-000789 at $3.00 that were bought at $2.00 first in, first out. The task values the stock sold at $2,000.00, so a 5.00 percent vendor rebate on that deal is $100.00 instead of $150.00.
Calculate FIFO purchase price page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itBefore every run that processes vendor rebate deals whose Price basis is FIFO.
How oftenAs often as those deals are processed, for example daily before a daily provision run.
Batch settingsSet it as a recurring batch job that ends before the processing job starts.
What the output showsThe FIFO value of the stock sold, used as the basis for FIFO vendor rebates. A FIFO rebate that matches the sales value usually means the task didn't run first.

Source: Microsoft Learn

Setup steps on this page

Schedule Calculate FIFO purchase price

Run the FIFO calculation at the right time so FIFO vendor rebates use the purchase value of the stock sold.

Steps from Microsoft

  1. Go to Rebate management > Periodic tasks > Calculate FIFO purchase price.
  2. Check that the vendor rebate deals you will process use Vendor rebate basis = Sales order and Price basis = FIFO; other deals don't need this task.
  3. Run the task (or set a recurrence) so the stock sold is valued first in, first out.
  4. Then run Process > Rebate management for the period and check the rebate basis on the deal's Transactions.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Records to includeFilter on the records the calculation runs for. The dialog has no date fields: the task values the stock already sold.Checked in Dynamics 365
Batch processingUnder Run in the background: run the calculation as a batch job, with a recurrence so it runs before each vendor rebate processing run.Checked in Dynamics 365Yes, daily at 01:00

Common errors and fixes

MessageWhat to do
A FIFO vendor rebate is calculated on the sales valueRun Calculate FIFO purchase price before Process > Rebate management; FIFO deals need the task to value the stock sold. Microsoft Learn

Test checklist

  1. Receive 1,000 units at $2.00 and sell them at $3.00 for an active FIFO vendor rebate deal of 5.00 percent.
  2. Run Calculate FIFO purchase price.
  3. Run Process > Rebate management for the period.
  4. Check the rebate on the deal's Transactions is $100.00.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule Calculate FIFO purchase priceA recurring batch job that ends before each Process > Rebate management or Process > Provision run for FIFO vendor rebate deals.Microsoft Learn says the task must be run to calculate rebates for deals with Price basis FIFO; it values the stock sold first in, first out.How should the FIFO calculation be run?Running it once at go-live only: later sales then aren't valued for the next processing run.Test: FIFO value drives the vendor rebate

Feature management and licence

Licence or add-inPart of the Rebate management module of Dynamics 365 Supply Chain Management; the task is run by the people who process and post rebates.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyNeeded only for vendor rebate deals with Vendor rebate basis Sales order and Price basis FIFO; other price bases don't use it. Microsoft Learn
Can it be undoneReversible: The task posts nothing; running it again recalculates the value.
If you change it laterThe FIFO value is refreshed for the next processing run. Rebates already processed don't change until the period is processed again. Microsoft Learn
Technical architect

6Technical

Menu itemTAMRebateCalcFIFOPriceService Checked in Dynamics 365
FormSysOperationTemplateForm Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleAccounts payable managerVendInvoiceAccountsPayableManager
    • DutyMaintain purchase rebatesTAMVendRebateMaintain
      • PrivilegeCalculate FIFO purchase priceTAMRebateCalcFIFOPurchPriceProcess
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itAccounts payable manager VendInvoiceAccountsPayableManagerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=TAMRebateCalcFIFOPriceService
Data migrationLoad order: Calculate FIFO purchase price has no data entity in Data management: it is a processing dialog that keeps no records of its own. After the deals are loaded and activated, run it again for the open periods in the new system.Load first: All rebate management dealsMicrosoft Learn
Everyone

8Sources

To cite this step: RM-USE-060, Schedule Calculate FIFO purchase price. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RM-USE-060