Presentation is loading. Please wait.

Presentation is loading. Please wait.

Variants with be.as script

Similar presentations


Presentation on theme: "Variants with be.as script"— Presentation transcript:

1 Variants with be.as script

2 This documentation and training is provided to you by beas group AG
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 and 11/24/2018

3 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

4 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

5 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

6 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 ) This example is only to illustrate the possibility, the job can be realized through the simple variant system without a script.

7 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.

8 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.

9 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.

10 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.

11 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.

12 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.

13 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.

14 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.

15 Thank you for your cooperation!


Download ppt "Variants with be.as script"

Similar presentations


Ads by Google