Job Orders Maintenance
The job orders maintenance wizard corrects the data of completed job orders in alameen ERP 10. It checks their levels, recalculates their costs, regenerates their manufacturing overhead entries, and reprices and regenerates the raw materials bills and the finished goods delivery bills. The wizard shows no backup page, asks no confirmation before it runs, and has no undo command. For the practical steps see Maintain job orders.
Take a backup of the file before you start, and ask the other users to leave it. The pages themselves warn: "This operation is dangerous, and might result in changes in the whole file. You'll not be able to undo these changes." The wizard works on completed job orders only, which are those finished from the Job Order window, except where the section of a maintenance says otherwise. It does not lock the file, and it does not record the maintenance by name in the file log.
Opening the window
- From the ribbon: Job Orders > Tools > Job Orders Maintenance. The command is a small button in the Tools group.
- The command appears when the licence of alameen ERP 10 includes the job orders feature and a file is open.
- You need the permission Job Orders Maintenance on the Operations page of Users Management. It is one permission for the whole wizard: no maintenance has its own permission, and the five options on the first page are always enabled.
If windows are open in the program, the message "All opened windows must be closed before performing this operation. Are you sure you want to do this?" appears. Click Yes to let the program close them and open the wizard. If you click No, or one of the windows cannot be closed, the wizard does not open.
How the wizard works
The wizard has three pages at most. On the first page you choose the maintenance and click Next, which opens the page of the chosen maintenance:
| Option on the first page | Pages in order |
|---|---|
| Check Job Orders Levels | Checking levels only, with a Start button. It does not ask for a factory or periods. |
| Recalculate Job Orders Cost | Recalculating costs, then Factory and periods. |
| Generate Job Orders Entries | Generating entries, then Factory and periods. |
| Recalculate Job Orders Cost and Generate their Bills | Recalculating bills, then Factory and periods. |
| Renumber Job Orders | Does not open the renumbering page. See Renumber Job Orders. |
What the whole wizard has in common:
- Every page has a heading line with the name of the chosen maintenance, and a warning that the operation is dangerous and cannot be undone.
- Back returns to the previous page, and from the levels page it returns to the first page. Going back does not undo an operation you have already run. What you chose on the pages is kept when you go back, except the two periods on the Factory and periods page, which return to the first and last period.
- Cancel on any page before the run asks "Are you sure you want to exit and cancel the maintenance operation?". Yes closes the wizard with nothing changed, and No keeps you on the page. While the run is in progress Cancel is disabled, so you cannot stop the operation.
- While the run is in progress all the buttons of the page are disabled and the progress bar appears. The bar moves to half when you click Start and fills at the end, so it does not show how much is done.
- The whole maintenance runs in one transaction. If the program reports a failure, all its changes are cancelled. There is one exception, in Regenerating finished goods delivery bills.
- On success the message "Operation successfully completed" appears, and the wizard returns to the first page with its default options, so you can run another maintenance. On failure the error message appears and you stay on the same page. After a failed run, close the wizard and open it again before running it with another factory or other periods. The list Calculate cost based on is not restored to its first value after a success.
First page: choosing the maintenance
The heading line is "Job Orders Maintenance" and the text is "Select the desired maintenance operation from Available Maintenance list". At the bottom there is a note: "Note:All maintenance (except for renumbering) implemented on the completed job orders only.".
Do not use the option Renumber Job Orders. The program does not read it: if you select it and click Next, the wizard opens the page of the maintenance you chose before it, or the Check Job Orders Levels page if you chose none. In the last case the page ends with "Operation successfully completed" without running anything. The details are in Renumber Job Orders.
| Option | What it does | Required | Values and rules |
|---|---|---|---|
| Check Job Orders Levels | Recalculates the levels of the job orders. It is explained in Checking levels. | One of the five | Selected when the wizard opens, and after every successful operation. |
| Recalculate Job Orders Cost | Recalculates the costs saved in the completed job orders. It is explained in Recalculating costs. | One of the five | It stays selected only if you choose it. |
| Generate Job Orders Entries | Deletes the manufacturing overhead, deviation and spoilage entries and regenerates them. It is explained in Generating entries. | One of the five | |
| Recalculate Job Orders Cost and Generate their Bills | Reprices the raw materials bills and the finished goods delivery bills and generates their entries. It is explained in Recalculating bills. | One of the five | |
| Renumber Job Orders | Does not work, as the warning above explains. | One of the five | Do not select it. |
The five options are in one group titled Available Maintenance, so one option is selected at a time. When you return to this page with Back, the option you chose last stays selected.
| Button | What it does |
|---|---|
| Next | Opens the page of the selected maintenance. |
| Back | Disabled on this page. |
| Cancel | Asks about leaving the wizard, as in How the wizard works. |
Checking levels
The page title is "Check Job Orders Levels". Its text is: "This maintenance calculates actual levels of each JOB in case of using raw materials alternatives and applies the higher actual level of completed JOB in the origin BOM. The level is used in processing Goods in Process when performing " reprice and generate JOB bills" maintenance.". The page has no fields, and it does not ask for a factory or periods.
The level is a number that shows where a job order stands in the manufacturing chain. A job order whose raw materials include no material made by other job orders has level 1. A job order that uses a semi-finished material made by level 1 job orders has level 2, and so on. The wizard regenerates the bills level by level using these numbers, and the report Cost Processing Levels of Job Order shows them.
| Button | What it does |
|---|---|
| Start | Checks the levels in the whole file, with no confirmation question. |
| Back | Returns to the first page. |
| Cancel | Before the start it asks about leaving the wizard. While running it is disabled. |
| Next | Disabled: this is the last page. |
What the operation changes, in order:
- It takes the completed job orders of the whole file, regardless of the factory or the date.
- For every produced material and every spoilage material in these job orders it computes the depth of its raw materials chain: the number of levels from the material down to the raw materials that no BOM manufactures.
- In the raw material lines of the job order BOMs it puts the level of the material, which is the depth of the material itself, and
0for a material that nobody manufactures. This step covers the raw material lines in every job order that contains that material, even if the job order is not completed. - It sets the level of every job order in the file to the highest level among its raw materials plus
1. - In every materials BOM it records the highest level that any of its job orders reached, as the actual level of the BOM.
The operation changes no bills, entries or costs. On success "Operation successfully completed" appears and the wizard returns to the first page.
Recalculating costs
The page title is "Recalculate Job Orders Cost". Its text is: "This maintenance performs the following calculations in JOB:-", followed by the list:
- Compute the quantity produced by production unit (good and spoiled units)
- Allocate joint costs of raw materials among products.
- Allocate joint labor costs among products.
- Allocate joint MOH among products.
- Calculate finished goods cost (good and spoiled units).
A second text of three lines is placed over the lower part of the list: allocate direct MOH costs to joint products, allocate MOH costs to joint products, and compute finished goods cost (good and spoiled units). The page has no fields. Next is always enabled and opens Factory and periods, and Back returns to the first page.
What the operation changes, for every completed job order in the chosen factory and periods:
- It deletes the detailed costs saved in it: the direct materials of each product, the direct labor, and the spoilage data.
- It recalculates them from the issue, return and transfer bills of materials and from the labor allocation registered in the job order, and saves them again, as the program calculates them when the job order is finished.
- It recalculates the total manufacturing overhead for each month of the job order, and saves the job order.
- If the job order has spoilage and the cost of the production unit is lower than the spoilage selling price in the BOM, it updates the spoilage selling price in the job order BOM.
It does not change bills or entries. If you changed the prices of the raw materials bills, use Recalculating bills instead: it recalculates after repricing.
Generating entries
The page title is "Generate Job Orders Entries". It has four check boxes, all unchecked when the page opens, and Next is disabled until you check at least one. If you come back to this page from the next one, your choices stay.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Generate Manufacturing Overhead Entries | Deletes the manufacturing overhead entries registered in each job order and generates them again, one entry for each month of the job order. | Check at least one | Can be combined with the next two. |
| Generate Abnormal Spoilage Entries | Generates the abnormal spoilage entry of each job order that has abnormal spoilage. | Can be combined with the others. | |
| Generate Deviation Entries of Manufacturing Overhead | Deletes the deviation entries and generates them again. | Checking it clears Cancel Deviation Entries and disables it. | |
| Cancel Deviation Entries | Deletes the deviation entries without generating others. | Checking it clears Generate Deviation Entries of Manufacturing Overhead and disables it. |
| Button | What it does |
|---|---|
| Next | Opens Factory and periods. Disabled until an option is checked. |
| Back | Returns to the first page. |
| Cancel | Asks about leaving the wizard. |
The checked options run for every completed job order in the chosen factory and periods, in this order: manufacturing overhead, then spoilage, then generating or cancelling the deviation. For each option:
- Generate Manufacturing Overhead Entries: the program deletes the old manufacturing overhead entries of the job order. Then, for each month whose calculated manufacturing overhead is more than zero, it generates an entry of that amount, debit the job order account and credit the manufacturing overhead account registered in the production line. The calculated amount is the estimated unit cost multiplied by the allocation base registered in the factory: the quantity produced, the labor hours or the machine hours. The entry date is the first day of the month if the estimated cost is monthly, and the job order end date if it is annual. If the estimated cost is annual and the line has no estimated cost, the program deletes the old entry and generates no other.
- Generate Abnormal Spoilage Entries: it processes only the job orders that use spoilage and whose abnormal spoilage net cost is more than zero. It deletes their old entry and generates an entry dated the job order end date, debit the abnormal spoilage account of the produced material and credit the job order account. It also updates the spoilage selling price in the job order BOM. Other job orders do not change.
- Generate Deviation Entries of Manufacturing Overhead: it deletes the old deviation entries and generates for each month an entry of its deviation value if it is not zero. The deviation is the actual unit cost minus the estimated unit cost, multiplied by the allocation base. If it is positive the entry debits the job order account and credits the deviation account registered in the production line, and if it is negative the entry is the reverse. The program generates no entry if the actual cost of the line (or of the month) has not been saved yet.
- Cancel Deviation Entries: it deletes the deviation entries and saves the job order change without generating new entries.
Example of the direction of the entry: a month whose calculated manufacturing overhead is 500 gives an entry of 500, debit the job order account and credit the manufacturing overhead account of the production line.
On success "Operation successfully completed" appears. If one of the job orders fails, all the changes of the maintenance are cancelled and "An error was encountered while performing the operation." appears.
Recalculating bills
The page title is "Recalculate Job Orders Cost and Generate their Bills". It has two check boxes and a list. Next is disabled until you check a box. The page also has an explanation: "This maintenance re-prices raw materials bills for period of maintainance and generates their entries, then recalculates job costs to reprice finished goods (good and spoiled) bills based on new costs and also to generate their entries. Knowing that the program generates the bills of level 1 then bills of level 2 till reach the higher level in the file.".
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Recalculate finished goods cost and generate their bills. | Rebuilds the finished goods delivery bills with the costs saved in the job orders. The note "(This maintenance recalculate finished units both good and spoiled then generate their bills)." is under it. | Check at least one | Unchecked when the page opens. The details are in Regenerating finished goods delivery bills. |
| Recalculate raw materials and finished goods cost then generate their bills. | Reprices the raw materials bills, recalculates the costs, and reprices the finished goods bills, level by level. | Unchecked when the page opens. The details are in Repricing raw materials and finished goods. | |
| Calculate cost based on | The raw materials price used to calculate the bills. | No | A list that stays disabled until you check Recalculate raw materials and finished goods cost then generate their bills.. Its two values are Average and Weighted average, and Weighted average is selected the first time; after that the list keeps your last choice until you close the wizard. It has no effect on the first box. |
| Button | What it does |
|---|---|
| Next | Opens Factory and periods. Disabled until a box is checked. |
| Back | Returns to the first page. |
| Cancel | Asks about leaving the wizard. |
The bills concerned are the bills of the bill types registered in the factory for issuing, returning and transferring materials, and the finished goods delivery bills, of the completed job orders. With Weighted average the program recalculates the fixed weighted average prices of the period for all materials, saves them over the stored ones, then prices with them. Fixed weighted average explains it, and Reprice bills and regenerate their entries explains the general repricing.
Regenerating finished goods delivery bills
When you check Recalculate finished goods cost and generate their bills., the program goes through every completed job order in the chosen factory and periods. It deletes each delivery bill of the job order and then saves and posts it again, with the costs saved in the job order in its lines: the cost of the product unit, or the cost of the good unit and the spoilage selling price if the job order has spoilage. In spite of its title, this box does not recalculate costs: it uses the saved costs, so run Recalculating costs before it, or check the second box. A bill that the replication does not allow you to edit stays as it is.
If deleting a bill or saving it again fails in this box, the program does not report the failure and cancels nothing: it stops processing the rest of the bills of that job order and counts the maintenance as successful. A bill may stay deleted without being saved again. After any maintenance of the delivery bills, check the bills of the job orders.
Repricing raw materials and finished goods
When you check Recalculate raw materials and finished goods cost then generate their bills. the program works on the completed job orders that started and ended inside the chosen periods, level by level from 1 up to the highest level in their raw materials. For each level:
- With Weighted average: it calculates the prices of the raw materials of this level for the period, puts them in the lines of the job order bills of the factory bill types, and regenerates the entries of these bills. If it finds a material with a zero price in these bills, it stops and counts the maintenance as failed.
- With Average: it posts the material movement again, then reprices the bills of the bill types registered in the factory in the period at the average cost price. This covers all the bills of these types in the period, not only the bills of the completed job orders.
- It recalculates the costs of the job orders whose level is the next level.
- It reprices the finished goods delivery bills of every job order of the factory with this level, whatever its date or status, and regenerates the entries of the bills dated in the periods.
If you check both boxes, the program runs the finished goods delivery bills box first with the saved costs, then the second box, which reprices and recalculates and rebuilds the delivery bills again with the new costs. The final result of the bills is the result of the second box.
Notes:
- You choose the periods in Factory and periods, and every month from the first day of From to the last day of To takes part. Here both the start date and the end date of the job order must be inside these periods. The cost and entries maintenances need only the end date. So a job order may pass the check "No completed Jobs found..." and still not be processed by this maintenance.
- If the job orders of the period have no raw materials, the program changes nothing in this box and the maintenance ends with success.
Factory and periods
This is the last page of three of the maintenances, and it has a Start button. Its heading carries the name of the chosen maintenance: "Recalculate Job Orders Cost", "Generate Job Orders Entries" or "Recalculate Job Orders Cost and Generate their Bills". It has the same warning that the operation is dangerous.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Factory | The factory whose job orders you process. | Yes | A list with <All Factories> and every factory defined in the file, by the Arabic or Latin name according to the language of the program. <All Factories> is selected when the page opens. When you return to it with Back, your factory stays. |
| From (group Periods) | The first month of the maintenance. | Yes | A list of the months of the financial period of the file. The month name is preceded by the year number if the period spans more than one year. The first month is selected when the page opens. |
| To (group Periods) | The last month of the maintenance. | Yes | The same list. The last month is selected when the page opens. |
The whole month takes part in the maintenance: from the first day of the From month to the last day of the To month. The program does not prevent From from being after To, but then no job order matches.
| Button | What it does |
|---|---|
| Start | Starts the chosen maintenance, with no confirmation question. |
| Back | Returns to the page of the maintenance. |
| Cancel | Before the start it asks about leaving the wizard, and while running it is disabled. |
| Next | Disabled: this is the last page. |
When you click Start the program looks for the completed job orders in the chosen factory and periods: a job order qualifies when its end date is inside the period. If it finds none, the message "No completed Jobs found in the selected terms, cannot continue!" appears and nothing changes. Otherwise it runs the maintenance as its page explains.
Renumber Job Orders
The option Renumber Job Orders on the first page does not open the renumbering page. The program reads the other four options only, so if you select this option the wizard keeps your previous choice:
- If you chose nothing before it, Next opens the Checking levels page, and Start on it ends with "Operation successfully completed" without any change, because no maintenance was really chosen.
- If you chose another maintenance before it and then came back, Next opens the page of that maintenance. If that maintenance was Check Job Orders Levels, Start does nothing either.
So the wizard does not change the numbers of the job orders. The renumbering page exists in the program, and its text is: "This maintenance renumbers all job orders to each factory by their current numerical order. In case of replicating of job orders numbers the renumbering process will be implemented in Alpha order of the name.", but no path leads to it.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| All opened windows must be closed before performing this operation. Are you sure you want to do this? | You open the wizard while windows are open in the program. | Click Yes to let the program close them, or No and the wizard does not open. |
| Are you sure you want to exit and cancel the maintenance operation? | You clicked Cancel before the maintenance ran. | Yes closes the wizard, and No keeps you in it. |
| No completed Jobs found in the selected terms, cannot continue! | No completed job order in the factory ends in the two periods, in the costs, entries or bills maintenance. | Change the factory or the periods, and make sure the job orders are finished. Nothing changes. |
| There is one or more materials whose cost is zero in one or more job order ( you can preview Material Stock-take report with the cost price and average price policy selected to find out those materials) cannot continue. | In Recalculate raw materials and finished goods cost then generate their bills. the program found a material with a zero price in the bills at Weighted average. It also appears if the maintenance fails for another reason. | The changes of the maintenance are cancelled. Open the stock-take report with the cost and the average price policy, correct the materials whose cost is zero, and run again. "An error was encountered while performing the operation." follows. |
| Internal error has occurred while processing the operation | An unexpected error occurred during the run. | The changes of the maintenance are cancelled. Try again, and if the error repeats, tell the support. "An error was encountered while performing the operation." follows. |
| An error was encountered while performing the operation. | One of the maintenance steps failed. | The changes of the maintenance are cancelled. Check the job orders and their related data and try again. |
| Operation successfully completed | The maintenance ended. | Click OK. The wizard returns to the first page. |
Related topics
This page applies to alameen ERP 10, version 10.1.79.764.