How to delete a line from Grid using web-service in Sage Enterprise Management

By | July 29, 2018

You may come across a situation where you will need to delete a line from a Grid in Sage X3 using web-services. This can be achieved using the web-service operation “delete lines”. Following is an example used to delete a line from Sales Order Grid using web-service tester in Sage X3.

To run the web-service tester in Sage X3 versions 9 and higher,

Navigate to: Administrator>Administrator>Web services.

To run the web-service tester in Sage X3 versions below version 9, open the web-tester URL using the path – http://x3server:28880. Here x3server is the Sage X3 server path.


Select the delete lines operation from the list of operations:

web service operations

Web-service operations

Enter the parameters in the Request screen as shown in the below figure:

Web-service request parameters

Web-service request parameters

Pool alias/Pool ID is the name of the web-service pool. E.g. SEED

Public Name is the name of the web service. E.g. SOH

Object keys will have the key and value for the object. E.g. key-SOHNUM, value-SONNA0230183

Line keys will have the line number that needs to be deleted. E.g. 1

Bloc key will contain be the name of the screen, where the grid/table is present, and the parameter defined for the table/grid in the screen dictionary both separated by ‘~’ for e.g. “SOH4~NBLIG”. Kindly refer the below screenshot to locate the parameter value in screen dictionary:

Parameter value in screen dictionary

Parameter value in screen dictionary

Click on Invoke button to execute.

Hope this helps!

About Us
Greytrix – a globally recognized Premier Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation expertise.

Greytrix caters to a wide range of Sage Enterprise Management (Sage X3) offerings – a Sage Business Cloud Solution. Our unique GUMU™ integrations include Sage Enterprise Management (Sage X3) for Sage and Magento eCommerce along with Implementation and Technical Support worldwide for Sage Enterprise Management (Sage X3). Currently we are Sage Enterprise Management Implementation Partner in East Africa, Middles East, Australia, Asia. We also offer best-in-class Sage X3 customization and development services, integrated applications such as POS | WMS | Payment Gateway | Shipping System | Business Intelligence | eCommerce and have developed add-ons such as Catch – Weight  and Letter of Credit for Sage Enterprise Management to Sage business partners, end users and Sage PSG worldwide.

Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage Enterprise Management – Salesforce is a 5-star app listed on Salesforce AppExchange.

For more information on Sage X3 Integration and Services, please contact us at We will be glad to assist you.