|
OpenTokens: %FUNC()%
|
|
| %FUNC(expression)%
|
|
|
| Example: To evaluate the expression (5 * 8 / 2), you would enter %FUNC(5 * 8 / 2)%.
|
|
|
|
|
| Example: %FUNC(gettoken('a,b,c', ',', 2))% will assign the single character 'b' to the g.OUIX_FuncReturn variable.
|
| Example: %FUNC(Product_FindFirst())%
|
|
|
| Example: %FUNC(AvailabilityGroup_Find_Name('AG01'))%
|
| Example: %SET(g.AGName|AG01)% and then do the lookup with the token %FUNC(AvailabilityGroup_Find_Name(%VAR(g.AGName)%))%
|
| *** Note for Uncompiled OpenUI ONLY ***
|
|
|
| ONLY the specified function names listed in the below lists can be used. (This is due to a limitation of Miva Empresa that doesn't allow dynamic function name calling into external files)
|
|
|
| The functions you can use is limited to specific functions located in the following scripts:
|
|
|
| · | lib/db.mv
|
| · | lib/util.mv
|
| · | features/aff/aff_db.mv
|
| · | features/agr/agr_db.mv
|
| · | features/att/att_db.mv
|
| · | features/cus/cus_db.mv
|
| · | features/cus/cus_rt.mv
|
| · | features/inv/inv_db.mv
|
| · | features/inv/inv_rt.mv
|
| · | features/not/not_db.mv
|
| · | features/pgr/pgr_db.mv
|
| · | features/rpd/rpd_db.mv
|
| · | features/sta/sta.mv
|
| · | features/sta/sta_db.mv
|
| · | features/stp/stp_db.mv
|
| · | features/usl/usl_db.mv
|
| · | features/usl/usl_rt.mv
|
|
|
|
|