Origen fuente: http://online-help.sageerpx3.com/erp/12/wp-static-content/static-pages/en_US/v7dev/api-guide_api-asyrwebser.html A standard API is available in X3 scripts to perform calls to the platform's javascript published functions. It works on code executed from classic pages as well as on V7 (and later) code. General Web server javascript call The function is located in the ASYRWEBSER library, and its definition is the following: Funprog EXEC_JS(MODULE, FUNCTION_NAME, MODE, ARGUMENTS, ENCODINGS, CALLB, RETURNS, RETURNS_ENC, RESHEAD, RESBODY) Value Char MODULE() : # The name of the published node.js javascript module Value Char FUNCTION_NAME() : # The name of the javascript function to be called Value Char MODE() : # A mode to determine if the call is synchronous or asynchronous ('sync' or 'wait') : # This mode depends on the signature of the function Value Clbfile ARGUMENTS() : # Multiple arguments delimited by...
Recopilación de trucos e información para el desarrollo de aplicaciones en Sage X3 que pertenecen a otros autores y algunos propios