Ir al contenido principal

Entradas

Lanzar una solicitud de ejecución por lotes

Origen: Sage X3 https://online-help.sageerpx3.com/erp/12/technical-online-help/ El siguiente subprograma lanza la ejecución de una solicitud por lotes V6 desde el código nativo V7. Principios principales de una tarea por lotes V6 Una tarea por lotes V6 está asociada con una función X3 que ejecuta una acción utilizando la  plantilla de  procesamiento estándar  .  A continuación, se define una ventana de criterios con máscaras asociadas.  Debe proporcionar todos los parámetros necesarios para la ejecución de la tarea por lotes completando todos los campos de estas máscaras. Por estas razones, llamar al  ASYRMNGTREQ.CRERQT subprograma requiere que defina los campos de máscara completando los valores correspondientes. Definición de subprograma La API se llama con el funprog correspondiente: Func ASYRMNGTREQ.CRERQT(ACTX,FOLD,USER,TASK,DAT,TIM,ARYPAR,ARYVAL,NBPAR,REQUEST,MESSAGE) Los parámetros son los siguientes: *  ACTX es el contexto actual. *  ...

Sage X3: agregue un nuevo navegador de lista izquierda para ver la cantidad del producto en la pantalla de orden de venta

 Fuente origen: http://sagex3asia.blogspot.com/2017/04/sage-x3-add-new-left-list-browser-to.html Autor: https://www.blogger.com/profile/15857213250701606716 Puede ser útil para algunos ejecutivos de ventas poder ver las cantidades de productos disponibles antes de realizar un pedido para sus clientes en la pantalla Pedido de venta.  Puede hacerlo agregando un nuevo navegador de lista izquierda (objeto) en la pantalla de orden de venta, el ejecutivo de ventas siempre puede consultar este navegador antes de crear una nueva base de orden de venta en las cantidades disponibles para el producto en cada sitio del producto. Para lograr esto, primero, debe crear un nuevo objeto vinculando la tabla a la tabla 'Total del sitio del producto' de ITMMVT. Agregue los campos que desea mostrar en el navegador de la lista de la izquierda.  Puede agregar los campos en la pestaña Selección de otra tabla como ITMMASTER e ITMMVT. Vinculando la tabla entre ITMMVT con ITMMASTER en la ...

How to check “Active” Activity Code

Origen: https://www.greytrix.com/blogs/sagex3/2013/05/02/how-to-check-active-activity-code/ By  Greytrix   |   May 2, 2013 0 Comment In Sage X3 we do many customizations and for each customization, we assign a unique activation code. The problem arrives when we write the code for different customization in single processing file and we have to deactivate one of the customizations. In that case, we need to look for a hook which will restrict the processing of the code related to a particular specific customization. To overcome the above problem X3 provides the feature of the Global variable to deactivate the Activity Code. To achieve this we need to do the following changes. Navigate through Development->Data and Parameters->Development setup->Global variable Create a new global variable that you want to use for the activity Code (refer below screenshot) and enter the formula for the activity code as: func AFNC.ACTIV(“ACTCODE”)      (where...

How to call an API through POSTMAN tool and map with X3 fields (Fuete de datos GREYTRIX)

 Fuente de datos:  https://www.greytrix.com/blogs/sagex3/2020/07/27/how-to-call-an-api-through-postman-tool-and-map-with-x3-fields/ By  Greytrix   |   July 27, 2020 0 Comment We come across the scenario, where we will use POSTMAN software tool  to examine the working of external API. Postman is a simple GUI for sending HTTP requests and viewing responses. REST services are available in sage x3 that returns data in a JSON format. In this blog, we are going to visualize the mapping of fields from postman to x3 Rest web services. Example : In Postman IDE, 1.HTTP Request  — Request is the simplest way possible to make http calls. HTTP Request contains of Request Method, Request URL, Authorization, Request Header, Request Body. a. Request Method: Request method defines the type of request to be made. There are mainly four request methods, used for creating/updating, retrieving and deleting data. POST Request     — For Creating ...

Contar registros de una tabla

https://www.pannimanagement.com/?blog=how-to-check-numberof-records-in-the-table-in-sage-enterprise-management-formerly-sage-x3   To check number of records in the table in Sage X3. Nbrecord – Sage X3 Following Syntax is used for this purpose. Syntax: nbrecord(class) Example: Following example is shown here. A notification will pop up showing the number of records in service request table. In this example there are 25 records in service request table.

4GL will make a SOAP call directly into Syracuse classic SOAP web services

 Origen: https://github.com/Delamater/X3/blob/master/4GL/ZEXEC_HTTP #* Author: Bob Delamater #* Desc: Inject a sales order document with a variable number of lines using #* the developer.sage.com method. #* Leverage EXEC_HTTP to perform this. 4GL will make a SOAP call directly #* into Syracuse classic SOAP web services. #* #* If the result is good, return success. #* #*****************************************************************************! #*! Local Integer ASTATUS, CREATION_STATUS, TIMING_STATUS, RET_OPENLOG Local Clbfile RESHEAD, RESBODY Local Char SOMELOG # Build the arguments for the call Gosub BUILD_ARGUMENTS # Optionally proile the code #TIMING_STATUS = func ASYRTIMING.START("", 1) RET_OPENLOG = openLog('TRA',12) # Call EXEC_HTTP passing in the header, authorization and retrieve the result header and body ASTATUS = func ASYRWEBSER.EXEC_HTTP(HEADERCOD, HEADERVAL, BODY, RESHEAD, RESBODY) RET_OPENLOG = CloseLog() #TIMING_STATUS = func ASYRTIMING.STOP(...