• Running a Crystal Report with a range parameter from Web Services using (CWSGPRTRT) Generic Print Report

    We have set up an outside App that calls the Generic Print Report (GWSGPRTRPT). You pass the report name, language, destination, and an array of parameter names and values separated by "~". We have gotten this process to work, but only if the specific…
  • View Archive Folder scripts from the Web Service script editor

    Hello, I want to make some modifications to SPEITM, but I noticed that our Sage x3 provider has done some of their own in a custom file, YSPEITM which they've called at the action runtime in SPEITM: Unfortunately, this script does not exist in the…
  • Create a delivery from a pickticket using webservice?

    Hello All, We have the need to trigger/automate the creation of a delivery (from a given PickTicket) to an external system using webservices. Could you please provide some guidance / sample subprogram code to get us going? Thank you so much
  • Delete/insert lines with SOAP web service

    Hi, I don't understand how to set up the parameters to insert and delete lines via web service; actually, I can't find much on those parameters in general (their definition, when should I use which, etc). A simple example would do the job as well, I…
  • Web service returning "Process[WS_NAME] - No return code (status[6]) "

    I'm getting the following message on some web services responses. Just in some times. "Process[ZWS_NAME] - No return code (status[6]) " The web services its a Subprogram web service. Has anyone known what is it? And how to fix it?
  • Trying to read the products of Magento from X3 using rest api integration and Node JS Error

    Hi All, We are trying to read the product of Magento from Sage X3 using integration methods such as Rest webservices, Node.Js for one of our client. The Magento API endpoints uses 'OAUTH1' type of authorization for authentication of the Rest API requests…
  • Subprogram to Create Delivery and Invoice

    I want to build a few subprograms to be executed through web services. Basically, from a given picklist in GESPRH2, I want to click the buttons for 'Deliverable' and then 'Delivery' to create the delivery, and then in GESSDH I want to click the 'Invoice…
  • Delivery Locking after validating

    I trying to validate my deliveries using the VALIDATION() subprogram in the TRTVENLIVV file. Whenever, I successfully validate a delivery, the record is locked up. I added the Unlock = "SDH"+delivery_number command, but the record is still locked…
  • How to turn off carrier price calculation?

    On the delivery screen, when I work with web services, when I save a record, it asks web service the following message and web services responds with a yes. The carrier, shipping address, or weight/volume was modified: Search for the carrier price?…
  • Limit lines return web service subprogram

    I developed a web service in subprogram only for searching but it have a limitation of 1000 lines, if greater than 1000 lines there is a timeout error. How to fix this? Thanks very much.
  • Sales Order Issue while creating through web service using Import template

    Hi All, For one of our customer we have written a sub program based web service in which we have used standard import export template to create the sales order in the system. The reason behind using the import export template is, we have sales kit product…
  • How to modify the quantities of a delivery and its movements of stock through code or import / export template

    I have a validated delivery to which I want to modify both the delivery quantities and the quantities of the stock movements made; I need to do it by code or template. Would anyone know what template to use or how could I develop it?
  • QC Soap Call

    I am trying to do a query soap call on the quality control screen (STQ Object). I keep getting this error message. Does anybody know what this error means? I only see one mask in our system so I am not sure where the system thinks there are 2.... …
  • Pick/Pack Report print via webservices issue

    I am running into an issue where the I can't print a pick report and packing report based on the delivery number that I specify. It seems like it is not reading the delivery number that I specify and just the STOFCY value I created a subprogram, and…
  • Release products out of Quality Control via Web Services

    Has anyone released products from quality control using web services? If so, can you provide some details on how you did it? Thanks, Chris
  • Process[ZSOH] - No return code (status[6])

    What does this error message mean? I am getting this returned when I try to do a save call with my web services publication. (ZSOH is the name of my publication)
  • Printing a crystal report via webservices

    Has anybody tried printing a crystal report via web services by creating a subprogram? If so, could you please send some examples so I can take a look at what was done to get this accomplished? If not, anybody got any ideas on the best approach for this…
  • Import SIH using Web Services

    Hi all, as you can read i'm trying to import an invoice in my Sage X3 V9 PATCH 6 using Web Services, in my specific script(SPESIH) there is an action that i don't want to perform if i'm importing using web services. I wonder if there is a method to…
  • How to get quotations in response using ASYRRESTCLI.EXEC_REST_WS

    I currently have this piece of code: Local Char YAPI(250), YURI(250), PCOD(100)(1..10), PVAL(100)(1..10), HCOD(100)(1..10), HVAL(100)(1..10) Local Clbfile YMTD(250), YREQBODY, YRESBODY, RESHEAD(0) YREQBODY ='{'+%22+'"SOHNUM:"'+%22+':'+[M]XSOHNUM+…
  • 4GL syntax for if this is a soap api call

    Is there a 4gl syntax that represents a if the process is by a soap api call? For example, let say im making a modification to sales order via the modify soap call. I have code in APRES_MOD, but I don't want that code to be executed when the modification…
  • ADC Soap API

    Has anybody created an API call for an ADC function? More specifically, I am looking at the ADC Material picking screen and looking for information on how to write a write api call for this. Thanks, Chris
  • Automatic order acknowledgement when the order is created

    Is there a way to automatically print the order acknowledgement when somebody presses the create button on the sales order?
  • implement API SMS in Sage X3 with RESTfull

    how to implement API SMS in Sage X3 with RESTfull webservices ?.I need an exemple if possible.
  • Delivery Locked after Validation

    I am creating deliveries in Sage EM using the SDH web service. After the delivery is created, I am calling the code from the SDH object to validate the delivery. I have found that the deliveries get validated successfully, but they remain locked. Does…
  • Reading data from the REST Web Service

    Hi All, We are calling a REST Web Service via the classic 4GL code with " Func EXEC_REST_WS" . I am using a simple GET to retrieve information. The parameters that are described in the Online Help ( link here ) make use of a Return s parameter.…