Presentation is loading. Please wait.

Presentation is loading. Please wait.

Variants with be.as script. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither.

Similar presentations


Presentation on theme: "Variants with be.as script. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither."— Presentation transcript:

1 Variants with be.as script

2 © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither approved nor in any way acknowledged or endorsed by SAP. For SAP Business One, only the documentation and training officially released by SAP shall be binding upon SAP. SAP shall not be responsible for any content of this documentation and training and this documentation and training shall not be binding upon SAP in any way. The official current SAP Business One documentation and training for SAP Business One is available at http://service.sap.com/sbocustomer/documentation and http://service.sap.com/sbocustomer/training.http://service.sap.com/sbocustomer/documentation http://service.sap.com/sbocustomer/training

3 © beas group 2011 / Page 3 Requirements for this Tutorial You will need a good grasp of: Production: structure of BOMs and routings Basic knowledge of be.as-script

4 © beas group 2011 / Page 4 Variants with be.as script Advantages Works with simple variants as well as with the product configurator Based on scripts, very easy to use in complex calculations Does not require maximum BOMs or a maximum- routing to filter from

5 © beas group 2011 / Page 5 Variants with be.as script Application range Is used when: Complex variants are to be defined Conditions must be handled If maximum BOMs or a maximum-routings are inappropriate

6 © beas group 2011 / Page 6 Variants with be.as script Advantages to the formula based variant generator Scripts are deposited in the work sequence, item or BOM BOM positions and work sequences can be created from the script Easy use when you have some knowledge of be.as script Conditions can be represented easier Better handling of complex tasks

7 © beas group 2011 / Page 7 Variants with be.as script BOM Extension Job: into an empty assembly for variant A material test003 and for variant B material test004 is to be inserted as material position. For this, click in the empty assembly on the yellow C in front the item number. ( If a script has been deposited, the C turns to S )

8 © beas group 2011 / Page 8 Variants with be.as script BOM Extension The script editor opens. On the right side all available functions and variables (variant domain) are displayed. First the variant should be queried: Double click on "Variant ID (A… Z.)". An IF statement is inserted. Next remove the 3 points and double-click on "add bom position". Now the Add command is inserted.

9 © beas group 2011 / Page 9 Variants with be.as script Insert BOM Now remove all properties that are not needed and fill the necessary properties with correct values. The IF statement is now copied for the variant B. Then a work sequence is added.

10 © beas group 2011 / Page 10 Variants with be.as script Test To test the variant, change to „calculation“ tab and start the calculation with variant A. You see that the material has been inserted.

11 © beas group 2011 / Page 11 Variants with be.as script Extension of work sequence In the same way can work sequences are inserted. You can insert positions, if the position number is already in use, it is replaced by a higher number. In this example, positions are defined in reverse order and then a work order is created.

12 © beas group 2011 / Page 12 Variants with be.as script Alternative: enter field name As an alternative you can enter the field name. Important: At this the content must be stated according to the database content, eg. clockmandatory=1/0 corresponds bde=J/N. It is also possible to address all the fields which are not listed in the object.

13 © beas group 2011 / Page 13 Variants with be.as script Change BOM Existing BOM can also be changed. The script is entered at the yellow C (S) before the position number of the BOM item. In the editor, access is available to all variant variables as well as to the properties of the BOM. Example: Variant A requires a set of 2 pieces.

14 © beas group 2011 / Page 14 Variants with be.as script Routing and parallel resources Routing positions can be changed in the same way. Again, the script is entered at the yellow C (S) before the position number. All relevant properties can be accessed. Furthermore, a parallel resource can be entered. For this purpose "addparallelresource" is available.

15 © beas group 2011 / Page 15 Variants with be.as script Notes Scripts are taken into account in calculation and at the creation of work orders They are not considered in the order proposal list (forecasts, customer orders) and batch pre- calculation. As variants usually are used for make-to-order, consideration in order proposal list is usually not necessary. Alternatively, you can work with planned orders.

16 Thank you for your cooperation!


Download ppt "Variants with be.as script. © beas group 2011 / Page 2 This documentation and training is provided to you by beas group AG. The documents are neither."

Similar presentations


Ads by Google