Parts preliminary calculation
Description
- Capture of characteristics (optional)
- Recording cost rates (optional)
- Select part(s)
- Calculate
- Error log
- Edit Resolved Resources (optional)
- Transferring the calculation values into the master data
- Possibly new calculation with changed settings
This module is used for the pre-calculation of parts from the parts master. The main screen - from which the preliminary costing is carried out - has three windows/cards: the card with the list of parts to be calculated (parts), a card with attributes (attributes) and a card with cost rates (cost rates).
The general procedure of a parts pre-calculation is the following:
0a. Capture physical characteristics (optional)
Since a preliminary cost estimate can also be made using variant parts, you can store characteristic values in the Characteristics window in advance: this prevents the interactive query of characteristics during the explosion of the BOMs and routings. This is one way of storing characteristic values.
Another is that each preliminary cost estimate can have its own characteristic values, which is described below.
Characteristic features can be transferred from the master data (part + production role) by clicking on the "Transfer" button above the list of characteristic features.
0b. Recording cost rates (optional)
The cost rates in the form of overhead rates for materials, wages, sales and administration are copied by default from the corresponding deposits with the client into the Cost Rates window. These values can be overwritten here. Here, too, each preliminary calculation saves the cost rates for itself and these can be overwritten there. This is also explained in more detail below.
1. select part(s)
Here you have the choice between a simple selection by number/text, etc. or via further more complex search criteria, such as warehouse, logistics indicator, etc.". Only parts that have a production role can be selected for a preliminary costing: the parts list and the routing of a part are defined in the production role.
A new preliminary cost estimate is automatically created for each newly selected part. This preliminary cost estimate is given its own number and is stored with the production role of the part. Any existing characteristics from the Characteristics window and the cost rates from the Cost Rates window are also copied into the preliminary cost estimate.
In addition, you can insert or change characteristics manually, for example, if none have been specified in the main window or if they are insufficient. Just as in the main window, there are two ways of inserting here:
A lot size is also copied into the preliminary calculation: This depends on the "Lot size" option, according to which the lot size is copied from the production roll or from a manual specification.
It is also possible to import results from the sales item turnover statistics into the parts cost estimate list. In the sales item turnover statistics, you can, for example, display all spare parts with a positive turnover in the current statistical period and run the cost estimate for these parts only.
2. calculate
The (or all) parts selected in the list can then be pre-calculated. You can choose between a calculation according to standard values (only the characteristics and cost rates from the pre-calculation windows are taken into account) or an individual calculation: the values from the saved pre-calculation are taken. If neither the values in the preliminary costing nor the values in the windows have been changed after selecting a part, both procedures are of course identical.
During costing, the parts list(s) and routings are exploded according to the specifications under Option/Stage. The respective status of an explosion is displayed in the status line of the precalculation window.
At the end of a cost estimate, the new values for material and labour (per lot size) and thus the manufacturing costs (per 1 unit) are displayed.
3. error log
Possible errors in the explosion of the bills of material and routings, as well as missing valuations, lead to an incorrect preliminary costing. An error log can therefore optionally be output on the screen or written to a file.
The following error causes are checked:
If a preliminary cost estimate has one or more errors, this data cannot be transferred to the production role of the part as new production costs.
4. edit resolved resources (optional)
The resulting bill of material and the exploded routing can be viewed. On the one hand as a structure tree, on the other hand in a tabular form with exact display of the costs and overhead rates.
5. transfer the costing values to the master data.
The new(error-free) preliminary costing values are transferred with date to the production role of the part.
6. possibly new costing with changed settings.
So that you do not have to fill in a complete preliminary part costing again, for example, inserting material characteristics again and defining them accordingly, possibly even inserting the cost rates or documents, you can copy an already existing preliminary part costing from the list window. This can be done either via the main menu of the list window or via the context menu in the list.
The description, lot size, characteristics including features, cost rates and documents (no conditional ones) are copied.
Functionality
- List window
- Option window
- Input window
- Selection window
- Advanced search
- Takeover in production role
- Error window
List window
On the 'Parts' card, the preliminary costings that are currently being processed are listed.
On the 'Characteristics' card of the part costing, you can insert or delete the characteristics which are necessary for exploding the BOMs and routings.
The global cost rates from the client are displayed on the 'Cost rates' card and can be changed locally.
| Menu item | Description |
|---|---|
| preliminary calculation | - |
| new | - |
| : : Select parts: Total | The search window of the parts master opens. With 'OK' the marked parts are transferred to the list. For each selected part a new pre-calculation is created (also applies to the other menu items under "New"). |
| : : : Select parts: by storage locations | The window 'Search parts' opens, where you can select several parts of a marked warehouse or storage location. |
| search | A search window opens for already created preliminary calculations. |
| Close | Close window |
| Edit | This menu can also be reached for each list entry by right-clicking |
| : Editing | - |
| : : Preliminary costing | The pre-calculation is opened in a separate input window. |
| : : Part | The input window is called up for the part calculated in the pre-calculation. |
| : : Order item | If the part calculated in the preliminary calculation has an order roll, the input window is called up for this order item. |
| : : Manufacturing articles | The input window of the production roll is called up for the part calculated in the preliminary calculation. |
| : : Parts list | The input window of the parts list is called up for the part calculated in the preliminary calculation. |
| : : Work plan | The input window of the work plan is called up for the part calculated in the preliminary costing. |
| : Select | - |
| : : with error | Selects all precalculations that were calculated with errors |
| : : without error | Selects all precalculations that were successfully calculated without errors |
| : : calculated | Selects all preliminary calculations that have already been calculated. |
| : Calculate | - |
| : : Calculate selected parts | The preliminary costing run is started for all parts selected in the list, i.e. the bills of material and routings (resources) are (re)exploded. If the resources have already been exploded, a warning message is displayed. If you select "Standard values", the cost rates, lot size and attributes are first copied from the main window (see tabs) to the preliminary costing; if you select "Individual", this data is already taken from the preliminary costing itself (see input window of a preliminary costing). This "individual" data can be copied in advance into a preliminary calculation for further processing with the menu item "Copy" (see below). The error handling |
| : : Calculate all parts of the list | The pre-calculation run is started for all parts of the list (see "Calculate selected parts") |
| : : Copy | Here you can choose whether you want to copy the cost rates or the attributes from the list window (see tabs "Characteristics" and "Cost rates") into the corresponding preliminary calculations selected in the list: This is useful if, for example, you only want to see the standard values set as defaults in the preliminary calculations, but then want to adjust them individually (e.g. individual lot sizes or attributes). Even after changing cost rates, existing preliminary calculations can be updated with the new cost rates and then recalculated with the next menu item "Update calculation". |
| : : : Update calculation | If the parts lists and routings of a part have been completely exploded, this menu item can be used to transfer any prices/costs of resources that may have been changed in the master data to the preliminary costing. Accordingly, there is no new dissolution of the resources, rather only the valuation of the resources is carried out again. |
| : : Error log | Call up the error log for all selected preliminary costings in the list. |
| : Resolved Resources | - |
| : : Edit | The resources of the part selected in the list are displayed as a tree. |
| : : Delete | The resources of the part selected in the list are deleted. This is useful e.g. if a resolution with wrong parameters (e.g. also the stock-keeping production parts should be completely resolved, but the corresponding parameter was forgotten to be set accordingly). |
| : List preliminary calculation sheet | The resources of the part selected in the list are displayed as a list. The data can also be edited in this display form, and a printout of the preliminary costing is also possible. |
| : Refresh display | The data of the preliminary calculations shown in the list are updated. |
| : Pre-calculation results of the selected parts | The material and labour costs of the selected, error-free preliminary calculations are transferred as new standard values to the corresponding production rolls of the parts. The error handling is similar to the calculation of the parts themselves(error log). |
| : Pre-calculation results of all parts | In contrast to the previous selection, all listed preliminary calculations are processed here. |
| : Pre-calculation results of the selected parts | The marked part precalculations are removed from the production parts and the previously valid costs of the production part are restored. The link between the production part and the preliminary cost estimate is removed and the preliminary cost estimate receives the status "Withdrawn". The transfer date on the production role is also deleted. The previously valid preliminary part costing is NOT subsequently set on the production part, so the production part looks as if no preliminary costing had yet been created for this part. |
| : Remove lines from list | The selected entries in the list are removed from the list. |
| Copy, create a new part pre-calculation | The preliminary cost estimate selected in the list is copied as a new preliminary cost estimate - without copying any resources that may already have been exploded. |
| : Error file | - |
| : : Open | If an output to a file was selected in the options under Error handling, this file can be opened by selecting this menu item. |
| : : Delete | The file specified in the options under Error Handling is deleted. |
| Options | Open the options window to set the options for calculating parts. |
| Symbol | Description |
|---|---|
| Empty list | |
| Edit preliminary costing | |
| Delete all selected precalculation(s). | |
| For the last pre-calculation selected in the list the corresponding parts mask is opened. | |
| The order roll mask is opened for the last pre-calculation marked in the list for the corresponding part. | |
| For the last pre-calculation marked in the list, the production roll mask is opened for the corresponding part. | |
| The logistics account is opened for the last pre-calculation selected in the list for the corresponding part. | |
| For the last pre-calculation selected in the list, the use of the parts is displayed for the corresponding part. | |
| The parts list is opened for the last marked preliminary costing in the list for the corresponding part. | |
| For the last pre-calculation marked in the list the work plan is opened for the corresponding part. | |
| If all presettings are set as desired, only the parts marked in the list are calculated with 'Perform calculation' and the calculated values are displayed in the columns 'NEW'. | |
| If all presettings are set as desired, all listed parts are calculated with 'Calculate' and the calculated values are displayed in the columns 'NEW'. | |
| An error log is created for all marked parts and the result is displayed on the screen. | |
| If an output of the errors to a file was selected before the calculation, the file can be viewed with this button. | |
| Display of the resources of the precalculation of the last line marked in the list. | |
| Display of the pre-calculation sheet of the last line marked in the list. | |
| Copy the list to the clipboard. | |
| Easy printing of the list. |
| Field | Description |
|---|---|
| Parts | |
| : Validity date standard costs | By selecting the checkbox, additional columns with the standard costs of the previous year are displayed in the list. The date can then be freely selected. After confirming the entry, the standard costs for the selected date appear. |
| : List | Listing of the preliminary calculations |
| Features | |
| : Characteristics Selection | List of characteristics |
| Cost rates | |
| : Material overhead surcharge | This value can be pre-set in the ‘Rates’ tab in the client (attribute: material.primeOverheadRate) |
| : Production overhead surcharge | This value can be pre-set in the ‘Rates’ tab in the client (attribute: wages.primeOverheadRate) |
| : administrative overhead surcharge | This value can be pre-set in the ‘Rates’ tab in the client (attribute: administrative.overheadRate) |
| : Sales overhead surcharge | This value can be pre-set in the ‘Rates’ tab in the client (attribute: sales.overheadRate) |
Option window
Each time the main list window is opened, the options described here are reset to the default settings.
| Menu item | Description |
|---|---|
| Edit | - |
| : Set default settings | all changed settings are reset to default |
| Field | Description |
|---|---|
| Dissolve | |
| : By logistics-KZ | - |
| : : : only break down production parts | Only parts whose logistics concentration camp it identifies as production parts are broken down. |
| : : : dissolve all parts | All parts with parts lists are exploded. |
| Depth | - |
| : : Multistage | The parts lists are exploded in full increments. |
| : : Single stage | Only the first level of the parts list of the part to be precalculated is exploded. |
| Manufacturing parts | |
| : Manufacturing parts with bearing guide | - |
| : : do not dissolve | Production parts whose provision identification identifies them as stocked parts are not dissolved. |
| : : dissolve | All production parts are dissolved regardless of their provision. |
| : Manufacturing parts with costs | - |
| : : : dissolve nevertheless | All production parts are dissolved independently of existing costs. |
| : : do not dissolve | If a production part already has material and/or labour costs, it will not be further dissolved. |
| Lot size | |
| : Default | - |
| : : : Specification by part to be calculated | Either the batch size is defined by the information in the production roll, ... |
| : : manual specification | ...or it is entered directly manually. Another way of specifying the lot size is by an entry in the preliminary costing itself and subsequent "individual" calculation. |
| : Manual specification | - |
| : : Batch size | Manual specification of the batch size (see above). |
| : dynamic lot size adjustment of the | If the option has been selected that stocked production parts should also be dissolved (see above), then their set-up costs are dynamically allocated to the lot size of these production parts. |
| Evaluation | |
| : Calculate | - |
| : : with evaluation | An evaluation will be carried out at the time of the dissolution of the resources. |
| : : without evaluation | No valuation is carried out at the time the resources are exploded: this can be useful if problems arise when determining the valuation and you initially only want to get an overview of the assemblies occurring in the part. |
| : Purchasing (warehouse) | - |
| : : Standard price | Purchased parts kept in stock are valued at the standard price (from the order part roll). In the case of quantity-dependent prices, the lot size - not the required quantity - is used. |
| : : Average price | Purchased parts held in stock are valued at the average stock price. |
| : : current price A supplier | Stocked purchased parts are valued at the current price of the 'A' supplier. In the case of quantity-dependent prices, the lot size - not the required quantity - is used. For ordered parts supplied by the customer, the price of ‘A’ Supplier is always used, plus the parts in the Supplier’s bill of materials. |
| : : Maximum price | "Maximum price" material cost calculation for purchased parts. If a value could be determined in one step, the process is cancelled:
|
| - | |
| : : Standard price | Stocked production parts are valued at the standard price (from the production parts roll). In the case of quantity-dependent prices, the lot size - not the required quantity - is used. |
| : : Average price | Production parts held in stock are valued at the average stock price. |
| : Purchasing (Dispo) | - |
| : : Standard price | Available purchased parts are valued at the standard price. In the case of quantity-dependent prices, the required quantity - not the lot size - is used. |
| : : current price A supplier | Available purchased parts are valued at the current price of the 'A' supplier. In the case of quantity-dependent prices, the required quantity - not the lot size - is used. For ordered parts supplied by the customer, the price of ‘A’ Supplier is always used, plus the parts in the Supplier’s bill of materials. |
| : : Maximum price | |
| : Manufacturing (Dispo) | - |
| : : Standard price | Available production parts are valued at standard price. In the case of quantity-dependent prices, the required quantity - not the lot size - is used. |
| Processing | |
| : Creation mode | - |
| : : persistent | The preliminary costing is written to the database (standard). |
| : : : Use last open preliminary costing | With this selection, the system checks the last preliminary costing of the part. If this is not yet transferred to the role, it is used. If the selection is not selected or if the last preliminary cost estimate has been transferred, a new preliminary cost estimate is created. |
| : : transient | The preliminary costing is not written to the database. This processing option is suitable for tests and preliminary precalculations. When you select it, the list of any preliminary cost estimates displayed is deleted. |
| : Error handling | - |
| : : Output | All errors that occur during a preliminary costing are handled and output immediately, i.e. a preliminary costing aborts immediately at these points. |
| : : Suppress | The errors that occur during a preliminary costing are not shown immediately during processing, but are only output collectively at the end of the preliminary costing(s). You can choose between outputting the errors to a file or to the screen (see group "Error output" below). |
| : : : Error output | this group can only be selected if the option "Suppress" has been selected in "Error handling". |
| : : : : File | The errors are written to the file itmcoedt_error.log in the directory CX_ROOTDIR\Projects\Data |
| : : : : Screen | The errors are displayed on the screen as a list. |
| button | Description |
|---|---|
| OK | The settings are saved and the window is closed. |
Input window
In this window data of a preliminary calculation can be edited and completed.
| Menu item | Description |
|---|---|
| Edit | - |
| : Features | - |
| : : Insert | Insert feature |
| : : Create | - |
| : : : Preset | Create preset feature |
| : : : Formula | Formula Create characteristic |
| : : : Conditional | Create conditional characteristic |
| : : Remove | Remove selected feature |
| : List preliminary calculation sheet | The exploded resources of the preliminary costing are listed in tabular form with all their costs and overhead rates |
| : Edit Resolved Resources | The exploded resources are opened in the tree view and thus for editing. Here the hierarchical arrangement of assemblies can be recognised. |
| : Open editing window | Opens the main window of the pre-calculation, from which e.g. the results can be transferred to the production data. |
| : Calculate | - |
| : : Individual | The parts lists and routings for the part on the preliminary costing are exploded and the costs are added together from their master data. Only the characteristics from the saved preliminary costing are taken into account for the calculation and determination of the variants. |
| : : Standard values | The parts lists and routings for the part on the preliminary costing are exploded and the costs are added together from their master data. Only the characteristics and cost rates from the preliminary costing windows are taken into account. |
| : Set transfer indicator | A transfer indicator can be assigned manually here. This is particularly necessary if production parts have tables as prices and thus the automatic transfer of the costs of the preliminary costing into the production part is not possible. |
| : Reset preliminary costing | The preliminary parts calculation is removed from the production part and the previously valid costs of the production part are restored. The link between the production part and the preliminary costing is removed and the preliminary costing is given the status "Withdrawn". The transfer date on the production role is also deleted. The previously valid preliminary part costing is NOT subsequently set on the production part, so the production part looks as if no preliminary costing had yet been created for this part. |
| Close | Close window |
| Search | Call up the selection window |
| Symbol | Description |
|---|---|
| Save changes | |
| Delete parts of preliminary calculation | |
| Edit Resolved Resources | |
| List preliminary calculation sheet | |
| Create/edit notes | |
| Edit part | |
| Show sales items | |
| Show sales set | |
| Show spare part | |
| Show purchase items | |
| Show production articles | |
| Show parts usage | |
| Display parts list | |
| Edit work plan | |
| Open first document |
| Field | Description |
|---|---|
| Part | |
| : Number | Parts Pre-calculation number |
| date | Date of creation of the preliminary cost estimate |
| : Employees | Selected employee |
| Description | Description text |
| Part | Part for which the preliminary costing was prepared |
| : Batch size | Lot size with which the preliminary cost estimate is to be calculated |
| Production costs | Production costs of the part resulting from this preliminary costing |
| Options | A plain text output of the set options, e.g. whether lower parts of stock-guided parts should also be resolved: |
| : Takeover | - The transfer fields can be set manually if the menu item "Edit>Set transfer indicator" is pressed. |
| : : Date | Date when the costs of the preliminary costing have been transferred to the production part. |
| : : Status | If the status "Archived" has been set, this preliminary costing is no longer displayed by default in the list of preliminary costings on the production part. |
| : : Employees | Employee who has taken over the costs of the preliminary costing on the production part |
| Attributes | |
| : List | Listing of attributes |
| Cost rates | |
| : Material overhead surcharge | Material GMK - is drawn from clients |
| : Production overhead surcharge | Wage GMK - is drawn from clients |
| : administrative overhead surcharge | Administration GMK - is drawn from clients |
| : Sales overhead surcharge | Sales GMK - is drawn from clients |
| Documents | |
| : Structure tree | Using the structure tree on the left side, subfolders or subnodes( (At present only document references can be structured). |
| : List | On the right-hand side is the list of document references. Local document references are marked with the house icon ( link: Description of the buttons for maintaining the assignments to the document references |
| Description of structure node | For the folder (structure nodes) defined in the structure tree, a different description can be entered here and saved using the save button to the right of the field. |
| button | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Documents | |||||||||||||||||||||||
| Open | Opens the document for the selected document reference in the preview. Depending on the file type, Adobe Acrobat Reader, Word or, for example, Internet Explorer will be launched. | ||||||||||||||||||||||
| Insert | When inserting, you can choose between local document references and global document references.
| ||||||||||||||||||||||
| Edit | The document reference can be edited in its editing mask. | ||||||||||||||||||||||
| Remove | If a global document reference is selected, the link between the document reference and the part is broken. Local document references are deleted. | ||||||||||||||||||||||
| Status bar | |||||||||||||||||||||||
| OK | Changes to the parts pre-calculation are saved. If no changes are made, the button is locked. | ||||||||||||||||||||||
| Delete | The displayed part pre-calculation is deleted. | ||||||||||||||||||||||
| Close | The window is closed without saving changes. If you want to save the changes, you must press the "OK" button. | ||||||||||||||||||||||
Selection window
This window is used to select a part preliminary costing.
| Menu item | Description |
|---|---|
| Advanced search | Call up advanced search |
| Symbol | Description |
|---|---|
| Empty list | |
| Edit preliminary costing |
| Field | Description |
|---|---|
| Number | Search by number |
| Date | Search by date |
| Part | Search by part number |
| Structures | Search by part structure |
| button | Description |
|---|---|
| OK | The selected part of the preliminary costing is taken over. |
| Close | The selection is cancelled. |
Advanced search
| Field | Description |
|---|---|
| From number | Each preliminary costing is given a unique number. Here you can enter the number with which the search should begin. |
| To number | Here you can enter the number with which the search should end |
| Acquired | Query whether the preliminary costing has already been transferred to the part roll. If you select the checkbox, two additional checkboxes appear with "Yes" and "No". |
| Disbanded | Query whether the parts list of the preliminary costing has already been exploded. If you select the checkbox, two additional checkboxes appear with "Yes" and "No". |
| Incorrect | Query whether an error occurred during the calculation of the preliminary costing. If you select the checkbox, two additional checkboxes appear with "Yes" and "No". |
| button | Description |
|---|---|
| OK | The advanced search is carried out |
Takeover in production role
The preliminary costing can be transferred to the parts roll. This can only be done once.
| Field | Description |
|---|---|
| Validity of the pre-calculation values | - |
| Valid from | Date value |
| : Overwrite existing values | Overwrite the current values in the parts roll without saving the old values in the price history |
| Take over replenishment time | Transfer calculated replenishment lead time to the sub-role |
| Transfer despite errors | Pre-calculation of the costs in the part roll, even if there are still faults. |
| button | Description |
|---|---|
| OK | Entries are taken over |
Error window
In this window, the error messages of the selected preliminary costing are displayed.
| Field | Description |
|---|---|
| List | |
| : Preliminary costing | Number of the selected preliminary costing |
| Part | Part number of the part for which the preliminary cost estimate was created |
| : Role | Production roll number of the part for which the preliminary costing was created |
| : Object | Part or routing number of the part causing the fault. |
| : Error | Error description: What is wrong with the pre-calculation item? |
Double-clicking on an entry opens the preliminary calculation sheet and the corresponding item is marked. This makes it even easier to identify and correct errors (through manual pricing, etc.)
Related topics
Technical Documentation
- Implementation
- Quality assurance
- Parts Pre-calculation basic module
- Sequence of events Parts Preliminary costing
Parts Pre-calculation Basic module
Module name
itmcoest.mod
Classes
Security
In addition to restricting access rights via the class and its data fields, the module can be restricted in its use via some of the received messages.
| Message | Parameters | Function | Security |
|---|---|---|---|
| ITEM_COSTS_ESTIMATE | |||
| ITEM_SELECTED | |||
| SLOT_ATTRIBUTE_SELECTED |
| Message | Parameters | Function | Receiver module |
|---|---|---|---|
| EDIT_ITEM | |||
| SELECT_ITEM | |||
| SELECT_SLOT_ATTRIBUTES |
Sequence of events Parts Preliminary costing
Macro ComputeCostEstimate
- CopyRatesIntoCostEstimate
- CopyAttributesIntoCostEstimate
Explode parts list
Explode work plan
NewPricePerPiece consisting of
- ResolveBOMCosts " CX_BILL_OF_MATERIAL" Costs
- ResolveJobScheduleCosts " CX_JOB_SCHEDULE" Costs
The actual calculations happen in the NewPricePerPiece macro, which in turn calls the Costs macro (see above):
updateMode = TRUE à SumUpCosts
Depending on the call, material.costs or wages.costs are written where determined per entry. Variable totalCosts contains the total costs per type (material/wages). The total value - incl. the values of the subparts - remains on the stack, converted per lot size.
If anything has been changed, everything can be recalculated via "Update calculation" using NewPricePerPiece with updateMode == TRUE.
updateMode = FALSE à SumUpImputedCosts
The costs already stored in the individual resolved items are added up.
Transfer
In CX_PRODUCT write away imputed.date in CX_ITEM_COST_ESTIMATE::transferred.date.