Creating an algorithm class

< ReadOnly and ReadWrite service

 

To create a subclass of an algorithm class, you must select the object, and click on “New Algorithm” if the object doesn’t already have an “Algorithms” folder.

Usage:

1 - FSObjectName

2 - FSObjectNameAlgorithm

3 - Module where the algorithm is situated (eg. Fluentis.FluentisErp.Core.WM.Algorithms)

4 - Same as the Module

All the algorithm methods that the class contains are created later on. After saving the algorithm class, you should create at least one algorithm method or you could generate the class as it is.

To generate the algorithm class, go to Fluentis tab, click on “Business Modules” and select the row named Module.Algorithms. This will generate two folders: Core/Algorithms and Algorithms. After the process is done, you need to copy the files you generated and include them into the proper project.

> Adding an algorithm method

© 2013 Fluentis Srl. All rights reserved.