How to change Page size of Sage 300 Web API.

In this blog, we are going to learn how to change Page size of Sage 300 WEB API. Page size means count of records which is returned from Sage 300 WEB API.

Normally, it always return 100 records from Sage 300 WEB API. It is a default setting of Sage 300 WEB API, but in case user want to modify the page size either extend or decrease than 100, Sage has provided an option in Web.config file to modify the same.

NEW STUFF:

Please find the below steps to modify the Page Size of Sage 300 WEB API.

Goto Start >> Run window and type “inetmgr” command to open Internet information service manager.

Goto Sage 300WEBAPI Active Directory.

Sage300WebAPi

Right click on Sage 300WEBAPI active directory and click to explore properties

Go to the folder where Sage 300 WEB API all files are exists.

WebApi2

Select Web.config in the folder and open this file in Notepad.

WebApi

After opening the file in Notepad, Click to search setting name “PageSize”.

Pagesize

You need to modify PageSize value to change return records count from Sage 300 WEB API. User can either extend Page size value or decrease the Page size value from Web.config file.

Suppose we have changed Pagesize value from 100 to 1 and saved web.config file.

The record count will get decreased to 1. Here’s below screen shot of the same.

Basic Auth

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged 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 competence.

Greytrix offers unique GUMU™ integrated solutions of  Sage 300 with Sage CRM, Salesforce.com, Dynamics 365 CRM and Magento eCommerce along with Sage 300 Migration from Sage 50 US, Sage 50 CA, Sage PRO, QuickBooks, Sage Business Vision and Sage Business Works. We also offer best-in-class Sage 300 customization and development services and integration services for applications such as POS | WMS | Payroll | Shipping System | Business Intelligence | eCommerce for Sage 300 ERP and for Sage 300c development services we offer, upgrades of older codes and screens to new web screens, latest integrations using sData and web services  to Sage business partners, end users and Sage PSG worldwide. Greytrix offers 20+ addons for Sage 300 to enhance productivity such as GreyMatrixDocument AttachmentDocument NumberingAuto-Bank ReconciliationPurchase Approval SystemThree way PO matchingBill of Lading and VAT for Middle East. The GUMU™ integration for Dynamics 365 CRM – Sage ERP is listed on Microsoft Appsource with easy implementation package.

For more details on Sage 300 and Sage 300c Services, please
contact us at accpac@greytrix.com,
We will like to hear from you.

The post How to change Page size of Sage 300 Web API. appeared first on Sage 300 ERP – Tips, Tricks and Components.

You May Also Like

About the Author: Optimize Our Inventory

Leave a Reply

Your email address will not be published. Required fields are marked *