262 Adjust materialwithdrawal scrap at workorder finish

This special function, "262 Adjust materialwhithdrawal srap at workorder finish" is intended to return material that is consumed during scrap by a produced part. This is done by controlling how much material will be used per unit and thereafter return the scrap quantity multiplied by the factor which will correspond to the quantity of material per piece by the main part*-1, (negative material scrap reportings will be treated as a supplement to the current stock). This is done when orders end, if the special function is active on the machine running that specific order.

Below you can find an example exemplifying this with order number 30073 and operation 10.

When the order is finished it has produced 30 prima quality pieces and 10 pieces of scrap (which will not be shown here).

The TUGGBEN part is configured to consume, 3 pieces of "EMBALLAGE" and 2.66 pieces of "EMBALLAGE_LITET" for each detail produced.
Given the rule stated above, when the order is finished it will create two material reports on:

10*3 = 30 pieces for material "EMBALLAGE"
and
10*2.66 = 26.6 pieces for material "EMBALLAGE_LITET"

  

It is possible to run several orders at the same time with this special function activated.
The reports made when orders are finished will be separated by work order and operation.

Even though this special function is intended to be used primarily with the ERP system Monitor, it is possible to use it with connection type 0.
If doing so, you have to make sure that synchronized data will populate the table called "object_planned_work_order_materials". 
Another thing you need to make sure to check if you use the connection type 0 is to use the part registry in Balthzar and that the field "part_type_id" will be used with the correct value, as described below.   
 

Settings for setup

In order to use this special function you have to go to "Client" -> "Administration" -> "System settings" -> "Basic data" -> "General company settings". See picture below.    

Multiple records are allowed sharing the "part_type_id" header in Fieldname, as long as the value in the "Value"-column is unique. Only one record with the field name "scrap_reason" is allowed. If the field name "scrap_reason" is not used, then the most recently used scrap code will be used when creating records using this function.

 

Technical information
Please note that records created like this will be assigned the text "SF262" in the field "reporting_source" in the table "object_material_reporting".