Assembly and Disassembly
This window records the assembly of a material from its components, or its disassembly into its components. In assembly the components leave one warehouse and the assembled material enters another. In disassembly the assembled material leaves and its components enter.
For every operation the program saves two linked bills: one for the assembled materials and one for their components. Types with stages add a third bill, created in the last stage. For the practical steps see Assemble or disassemble materials. This page explains every field, button and command.
Opening the window
- Click Invoices in the top ribbon, then the name of the type in the group Assembly and Disassembly. Types without stages are listed under Assemble and Disassemble, and types with stages under Assemble with Stages and Disassembling With Stages. Each type you define has a command with its name.
- The command appears when your licence includes warehouses and the assembled materials feature. The group fills only after you have saved a first type in the file. You define the types in Assembly and Disassembly (types).
- A type's command appears for users who may add or browse that type, and also for users who have Review Posted on it.
- The command opens an empty window for a new operation. A saved operation also opens from the display commands of reports. If you open the entry of one of its bills, click Origin in the journal entry and this window opens on the same operation. In the window of the final bill, the Display menu also has a line with the name and number of the operation.
- Move between saved operations with the navigator at the top of the window, as in the invoice.
The two kinds of types
The type decides how the window looks and behaves. There are two kinds:
| Type without stages | Type with stages | |
|---|---|---|
| Saving | Add saves both bills and posts them as each bill form is set to do. | Add saves both bills without posting. You post them with the commands of the Operations button. |
| Grid | Assembled materials only. If a material that is not assembled comes in, the message "No Unassembled Materials will be added, they are not subject to stages" appears and it is not saved. | Assembled and plain materials, with the columns of the final bill form. |
| Client, Client Account and Pay | Hidden. | Shown. |
| Operations and Final Bill | Hidden. | Shown. |
| Post | Shown as the type is set. | Hidden. |
How an operation works
- The bill of the assembled materials holds the assembled materials of the grid. In assembly it is an input bill; in disassembly it is an output bill. Its fields are in the Input Options column in assembly and in the Output Options column in disassembly.
- The bill of the components holds the components of each assembled material. In assembly it is an output bill; in disassembly an input bill. The program stores each component with its parent material, so it knows the components of each line when you reopen the operation.
- The final bill: in every type with stages the program keeps a draft made of the grid lines. The real bill is created from it in the stage Delivered (assembly) or Receipt (disassembly), if the type enabled that stage, as a bill of the form chosen as the final bill form.
When you open a saved operation of a type with stages, you see the lines of the final bill draft.
Operation data
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Navigator | Moves between saved operations, adds and searches. | Works as in the invoice. | |
| Security Level | Security level of the bill. | No | As in the invoice. |
| Client | The client to whom the assembled materials are sold (assembly) or from whom they are received (disassembly). | Depends on Pay | Shown in a type with stages. Search follows the rules of lookup boxes. You must choose one when you save unless Pay is cash, and the program checks it again at approval (assembly) or receipt (disassembly), otherwise "Please enter the customer/supplier name" appears. |
| Client Account | The client's account in the final bill. | Depends on the type | Shown with Client. If the final bill has prices and an entry you must fill it, also when you save, otherwise "Debit Account Missing" appears. |
| Pay | Payment method of the final bill. | Yes | Shown with Client. The payment terms on the client card apply when you save, and a client without terms takes those of the components form. If you choose credit and the terms are "Cash payment" or "Prepaid", the message "Can't save a bill as credit if Payment term is"Cash" or "Prepaid"." appears. If you choose cash and the terms are "Credit only", "Can't save credit bill unless payment type is credit" appears. |
| Date | Date of the operation. | Yes | Today by default. Note that each posting stage sets the date of the bill it posts to today; see Operations. |
| Currency | Currency of the operation. | Yes | List of currencies. When you change it the price numbers stay as they are and are counted in the new currency. Check the prices. |
| Parity | Exchange rate of the currency against the base currency. | Read only. | |
| Salesman and Distributor | The salesman and distributor recorded on the bill. | No | Lookup boxes. Both are hidden if the type hides them, and Salesman is disabled without its permission. |
| Branch | Branch of the operation. | Depends on the option | Shown when branches are enabled. The branch you choose must be valid for you when you save. |
| Notes | Note of the operation. | No | Free text. |
The input and output option columns
In the middle of the window two columns set up the two bills. Their headings change with the type: in assembly, Output Options is for the components bill and Input Options for the assembled materials bill. In disassembly the headings are the other way round: Input Options is for the components bill.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Warehouse | Warehouse of the bill the column belongs to. | Yes | Defaults to the warehouse set in the bill form. "Please enter warehouse name" appears if it is empty in the column of the components bill, and "Input warehouse is missing" if it is empty in the column of the assembled materials bill, in both directions. In assembly, if the type does not post automatically and the two warehouses differ, set Item Warehouse for each component in Meal Ingredients; otherwise a component without a warehouse leaves the warehouse of the Input Options column. |
| Cost Center | Cost center of the bill. | Depends on the type | Hidden if the form has no cost centers. Defaults to the cost center set in the type. Component lines with no cost center take the center of the components column in assembly, and the center of the Output Options column in disassembly. |
| Warehouse Account | The counter account in the bill's entry. | Yes, with an entry | Shown if the type generates an entry and its grid has price columns. Defaults to the account set in the type. If empty, "Input warehouse account missing" appears for the column of the assembled materials bill and "Debit Account Missing" for the column of the components bill. |
| Materials Account | Materials account in the bill's entry. | Shown with Warehouse Account. The program fills it with the account of the warehouse when you choose the warehouse, and you can change it. |
In disassembly types the two Materials Account boxes cross over: the box under the column of the assembled materials bill belongs to the components bill, and it follows the warehouse of the other column.
Materials grid
The grid shows the assembled materials (and plain materials in a type with stages). Its columns are the invoice columns chosen in the type; the invoice page explains them. What differs here is the following.
| Action | What happens |
|---|---|
| Choosing the material | In a type without stages the search lists assembled materials only; in a type with stages it lists all materials. A saved operation opened from a report or an entry lists assembled materials only. The search lets you pick several at once. If the material is assembled, the program prepares its components, quantities and prices from its card, and if you picked one material with a zero quantity it sets it to 1. When you pick several at once the quantity stays zero and the sum of the components is not placed: type the quantity and check the price. |
| Qty | When you change it, the program rebuilds the components from the material card and multiplies the quantity of each component per unit by the new quantity. When you change Gifts, it multiplies by the quantity plus the gifts. |
| Unit | When you change it, the program rebuilds the components for one unit. Type Qty again after changing the unit, then check the components with F6 and the price. |
| Price | See How the price is calculated. |
F6 | Opens Meal Ingredients for the line. The material must be assembled and the quantity not zero, otherwise "Please specify the quantity" appears. If the material has equivalents, their window opens first. |
F8 | Edits the serial numbers of the line. |
F9 | Opens the material card. |
| Deleting a line or a cell | The program removes the material and its components from the operation. |
| Row menu | See Mouse menus. |
| Import Bill | An item of the row menu that reads the grid lines from a file with the bill import rules. Quantities are always read as positive. |
Changing Qty, Gifts or Unit rebuilds the components from the material card, so the changes you made in Meal Ingredients are lost, such as replaced components, prices, warehouses and dates. Edit the components after the quantity, unit and gifts are final.
When you type the quantity, the output warnings of the invoice show in disassembly if the type posts automatically, and the maximum limit warning shows in assembly.
The permissions Modify Quantity and Items Discount and Addition are checked on the assembly type itself, as in the invoice.
Discounts, additions and totals
Below the materials grid are the discount and addition grid, the total boxes and the Invoice Info button. They work as in the invoice. If the type has no Unit Price and no Total column, the discount grid, the totals and the account boxes are hidden. What matters here:
- In an assembly with stages the program removes discounts and additions from the assembled materials bill when it saves. The final bill draft keeps them.
- In a type without stages the assembled materials bill is saved with the discounts and additions you entered, and so is it in a disassembly with stages. The components bill never has discounts or additions in any type.
Buttons
| Button | What it does |
|---|---|
| Add | Saves the new operation: saves both bills and links them. In a type without stages it also posts them, as the type is set. In a type with stages it posts nothing and records the state Offer. After saving, the window empties for a new operation or the print window opens, as in the invoice. To run the stages go back to the operation with the navigator. |
| New | Starts a new operation. It clears the grid, the discount grid, Notes, Client, the operation state and the stage commands, puts Currency and Pay back to their defaults, takes Client Account from the final bill form if the type has one, and enables the fields. It keeps Date, unless the type forces today's date, and Branch, Salesman, Distributor, the warehouses and the cost centers. |
| Modify | Saves your changes to the open operation. In types with stages the fields are disabled after Approval in assembly and after Receipt in disassembly, unless the type allows modifying through stages, and the button is disabled after Reject. See the warning below the table. |
| Delete | Deletes the operation with all the bills, entries and states it created. It cannot be undone. |
| Post | Posts the two bills of the operation. Shown in a type without stages only, for a saved operation that is not posted and whose type posts to warehouses. The program asks "Do you want to Post bill to warehouses ?" for the components bill. If you choose No, the components bill is not posted but the assembled materials bill is. Check both bills afterwards. |
| Generate entry | Generates the entry of the two bills if the type generates it by hand and none exists. |
| Output Entry and Input Entry | Output Entry opens the entry of the bill that takes materials out of the warehouse, and Input Entry the entry of the bill that brings them in. So in assembly the first is the components bill entry and the second is the assembled materials bill entry; in disassembly it is the opposite. A button is disabled while that bill has no entry. |
| Final Bill | Opens the bill the operation created. In disassembly it is called Primary Bill. Disabled until the bill is created, and hidden in a type without stages. In the window of that bill Modify and Delete are disabled. |
| Operations | Opens the operations menu. Hidden in a type without stages and disabled before the operation is saved. |
| Invoice Info | Opens the invoice information window. |
| Print and Preview | Print or preview the operation with the assembly print design. The design offers the data of the assembled materials bill, of the components bill and the operation state. Print is disabled while the operation is not posted for a user without the permission to print unposted bills. |
| Close | Closes the window. |
In types with stages Modify deletes the bills of the operation and their entries and saves them again. If the type allows modifying through stages, the operation goes back to Offer with nothing posted, the final bill is deleted, and you run the stages again. If it does not, the program runs the stages already done again, with today's date.
Operations menu
Click Operations in a type with stages. The menu lists only the stages the type enabled. The program runs stages in order: you cannot run a stage before the one that precedes it, otherwise "Bill must be submitted to operations in the order as shown" appears. If the type did not enable an earlier stage, the program runs it for you. In a disassembly type without Receipt, Under Disassembling asks "Current bill cannot be modified after being approved.. Do you want to continue?", checks the client and the account, and creates the Primary Bill. In an assembly type without Delivered no final bill is created. Stages already done are disabled. The program writes a log line for each stage.
Save your changes before each stage: the stages use the saved operation, and the program does not warn you about other unsaved changes.
Before each posting stage the program checks the serial numbers of the materials that require them. If some are missing it opens their window and the stage stops: enter them and choose the stage again.
The stages do not check the posting permission: any user who opens the saved operation can run them. Post and Generate entry need their permissions on the type, on the Bills page of Users Management.
Assembly
| Command | What it does | Irreversible change |
|---|---|---|
| Offer | The first state. Recorded at the first save. | No |
| Approval | Checks the client, account and payment, and stores them in the final bill draft. If the type does not allow modifying through stages, the program asks "Current bill cannot be modified after being approved.. Do you want to continue?". The fields are disabled afterwards. | The fields are disabled |
| Under Assembling | Checks the balance of the components, then posts the components bill, so the components leave their warehouse, and generates its entry if the type generates entries automatically. | Components leave stock |
| Assembled | Posts the assembled materials bill in one transaction, so the assembled materials enter their warehouse, and generates its entry. | Assembled materials enter stock |
| Delivered | Creates the final bill from the draft with the final bill form. The bill is posted, and its entry generated, only if that form does so automatically; otherwise post it from its own window. All lines take the warehouse of the assembled materials column. Final Bill is enabled afterwards. | The bill is created |
| Reject | Available until delivery. After you confirm "All previous operations on the current bill will be permanently undone after being rejected.. Do you want to continue?", it deletes the entries of both bills and cancels their posting. Then it disables the grid and Modify. | Posting and entries are cancelled |
Disassembly
| Command | What it does | Irreversible change |
|---|---|---|
| Offer | The first state. | No |
| Approval | Records approval. The fields stay enabled until Receipt. | No |
| Receipt | Checks the client, account and payment, then creates the Primary Bill from the draft with its form at once. The bill is posted, and its entry generated, only if that form does so automatically. In a type that allows modifying through stages the program asks "Current bill cannot be modified after being approved.. Do you want to continue?" first. All lines take the warehouse of the assembled materials column. Afterwards the fields are disabled unless the type allows modifying. Primary Bill is enabled afterwards. | The bill is created |
| Under Disassembling | Posts the assembled materials bill in one transaction, so the assembled materials leave their warehouse. | Assembled materials leave stock |
| Disassembled | Posts the components bill in one transaction, so the components enter their warehouse, and generates its entry. | Components enter stock |
| Reject | Shown after Offer, Approval or Under Disassembling only. After confirmation it cancels the posting and deletes the entry of the assembled materials bill, then disables the grid and Modify. It does not cancel the Primary Bill if one exists. | Posting and entry are cancelled |
| Lock | Shown if the type enabled locking, and only after Receipt. Choosing it changes nothing. | No |
At each posting stage the program changes the date of the bill it posts to today's date, then posts it. The stages Assembled, Delivered, Under Disassembling and Disassembled run in one transaction: if posting or generating the entry fails, the program rolls the stage back. In assembly the balance of the components is checked in Under Assembling, and also on Add and Modify if the type posts automatically. A message about the material comes first, such as "Sold with negative balance", then "This process can't be executed because the output became negative" may appear if output below zero is not allowed for you or in the program options. In disassembly the program does not check the balance of the assembled materials.
The stages Under Assembling, Assembled, Delivered, Receipt and Disassembled post or create real bills: balances, entries and average prices change. Only Reject goes back, and it cannot be undone itself. Check the sequence before you click.
Meal Ingredients
Press F6 on the line of an assembled material. The window Meal Ingredients opens with the components of the line at their full quantity for the quantity of the line.
| Item | Description |
|---|---|
| Grid | The components. Its columns come from the type: Material, Qty, Combination, Unit, Unit 2, Unit 3, Unit Price, Total, Item Warehouse, Notes, Quantity 2, Quantity 3, Production Date, Expiry Date, Cost center and Category, the ones the type enabled. |
| Sum | The sum of the lines: quantity × price + addition % − discount %, divided by the exchange rate of the currency. |
| Assembled Material Cost | Shown in disassembly only. The value of the assembled material line: quantity × price + the line's addition + its share of the bill addition − its share of the bill discount − the line's discount. The share is split over the lines in proportion to the line value against the bill total. It is not divided by the exchange rate, so do not compare it directly with Sum when the currency is not the base currency. It is 0 if the bill total is 0. |
| Ok | Moves the components into the operation and marks the bill as modified. |
| Close | Closes the window without moving your changes. After a change it is called Cancel, and the program asks first if the warning option is on. |
Rules for editing components:
- Material: a material marked required cannot be replaced, and "This material is obligatory, therefore it can't be deleted or replaced." appears. For other components choose a replacement among the materials that share the shared field set on the assembled material card with the original. It takes the price of the new material and keeps the quantity. If no shared field is set on the card, all materials are offered.
- Qty: editable only for a flexible component. The cell of a component that is not flexible does not accept input, but Quantity 2 and Quantity 3 still change Qty, even for a component that is not flexible. You need the permission Modify Quantity.
- Adding a component: type a material in the first empty row. It becomes flexible and not required, and its quantity stays
0: type it. If it is already in the list the program says "Material already exists as one of collective material items. Modify the quantity instead of trying to add it again". - Unit 2 and Unit 3 are read only, and Quantity 2 and Quantity 3 accept input only for a material that has those units.
- Expiry Date: if the date is today or earlier, "Material is expired, please pay attention" appears.
- Price source: right-click Unit Price to place a price from the material card. From the menu or Total the program raises the price to your lowest allowed price; a price typed in Unit Price is accepted as it is.
F8edits the serial numbers of the component.Backspaceclears the cell, and on Material it removes the component. Right-clicking a row number shows no menu.
How the price is calculated
An operation has three different prices:
| Price | Where it is saved | Where it comes from |
|---|---|---|
| Price of a component | The components bill (and Meal Ingredients) | The component's card price of the default price type of the components bill form, at the bill date and in its currency. With the price type Cost (the default) it is the average cost of the component. You can change it in Meal Ingredients; a component you replace or add there takes the card price without the exchange rate of the bill date. In disassembly the average cost of the components is computed from it. |
| Price of the assembled material in its bill | The assembled materials bill. In assembly the average cost of the assembled material is computed from it, if the type affects the cost price. | Type without stages: the sum of component prices × quantities for one unit if the price type of the form is Sums of Raw Materials, or your own price if you changed it. Type with stages and a final bill: when you save, the program replaces the line price according to the default price type of the assembled materials bill form (in disassembly, of the components bill form). If it is Sums of Raw Materials, it is the sum of prices divided by the quantity; if it is a price level, it is the material's card price in the unit of the line. |
| Price of the line in the final bill | The final bill | What the grid shows. In a type with stages with Selected Price by Type: the price of the default price type of the final bill form. With Sums of Raw Materials, typing the material places its price of the default price type of the components bill form in assembly, which is the average cost of the material by default. To place the sum of the components open Meal Ingredients with F6 and click Ok. Check the price before saving. |
The type decides this in the field Price on its operations page, between Selected Price by Type and Sums of Raw Materials. When you click Ok in Meal Ingredients and the default price type is Sums of Raw Materials, the program puts in the assembled material line the sum of the component lines after their discounts and additions, divided by the quantity of the line. The price type read is that of the assembled materials bill form in assembly and of the components bill form in disassembly. In a disassembly with stages the line price does not change.
The program does not distribute the cost of the components over assembled materials by ratios, and does not distribute the cost of an assembled material over its components. In disassembly it shows Sum and Assembled Material Cost side by side so that you change the component prices yourself until they agree.
Example
A food basket of 2 kg rice and 1 kg sugar. The average cost of rice is 5.00 and of sugar 8.00, and the price type of the components bill is Cost. We assemble 10 baskets, and the price type of the assembled materials bill form is Sums of Raw Materials.
| Bill | Material | Quantity | Price | Value |
|---|---|---|---|---|
| Components (output) | Rice | 20 | 5.00 | 100.00 |
| Components (output) | Sugar | 10 | 8.00 | 80.00 |
| Assembled materials (input) | Food basket | 10 | 2 × 5.00 + 8.00 = 18.00 | 180.00 |
Entry of the components bill: Warehouse Account debit 180.00 and Materials Account credit 180.00. Entry of the assembled materials bill: Materials Account debit 180.00 and Warehouse Account credit 180.00. In a disassembly of baskets worth 180.00 with a bill discount of 18.00, the basket takes all of it, so Assembled Material Cost is 162.00.
Mouse menus
Row menu in the grid
Right-click the row number. The menu adds the usual items of the invoice: Import Bill, Export Bill, Material Card (F9), Daily Movement (Ctrl+F9), Material Movement (Shift+F9), Material Equivalents (F6) and others. Assembly types remove Copy, Paste, Cut, Delete and Insert from the corner menu, as in material grid menus.
Row menu in the material card
This menu does not appear in the assembly window. It belongs to the components grid on the Assembled Material page of the material card. Right-click the number of a row that has a material, and the menu adds three items: Material Card (F9), Daily Movement (Ctrl+F9) and Material Movement (Shift+F9). It is described on the assembled material page.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Cannot add a bill has no assembled material | You clicked Add or Modify and no assembled material was chosen since the window was emptied. | Add an assembled material. |
| Assembled bill must contain one assembled material at least | You deleted all the lines. | Add a material. |
| Please enter warehouse name | Warehouse in the column of the components bill is empty. | Choose the warehouse. |
| Input warehouse is missing | Warehouse in the column of the assembled materials bill is empty. | Choose the warehouse. |
| Input warehouse account missing | Warehouse Account of the assembled materials bill column is empty and the type generates an entry with prices. | Choose the account. |
| Debit Account Missing | An account of the components bill column, or Client Account, is empty. | Choose the account. |
| Total bill sum must be greater than or equal to zero | The bill discount is larger than its value. | Reduce the discount. |
| Discount value is greater than the allowed limit. Cannot be saved | You exceeded the highest discount allowed for you. | Reduce the discount. |
| No Unassembled Materials will be added, they are not subject to stages | In a type without stages a plain material came into the grid, from an import or a barcode. | Nothing. The material is ignored. |
| Please specify the quantity | F6 on a line whose quantity is zero. | Type the quantity. |
| Bill must be submitted to operations in the order as shown | You asked for a stage before the one that precedes it. | Run the stages in order. |
| The bill is modified, but modifications are not saved yet. Therefore, bill will be posted as saved - not as shown now. Do You Wish to Continue? | A stage stopped for serial numbers and you chose the stage again without saving. The buttons are Yes and No, and the default is No. | Save first. |
| Current bill cannot be modified after being approved.. Do you want to continue? | Approval (assembly) in a type that does not allow modifying through stages, or Receipt (disassembly) in a type that allows it. | Yes or No. |
| All previous operations on the current bill will be permanently undone after being rejected.. Do you want to continue? | Reject. | Yes or No. |
| Bill not saved | The final bill or the primary bill could not be created. | Check the client, the account and the type, and repeat the stage. |
| Invalid Bill Number | The program did not find the final bill draft. | Reopen the operation. |
| This process can't be executed because the output became negative | A component balance does not cover Under Assembling. | Add stock or change the quantity. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.