API for PW Requisition Entry Import

By | July 31, 2024

In Sage 300 ERP, In the PW module Requisition Entry, there is no option to import the entry. Therefore, we have developed an API that enables users to import the Requisition Entry and automatically select the Tax group based on the state of the ship to location and bill to location.

New Stuff: – Adding Project details in the AR Invoice Report

This blog will cover the import of PW Requisition entries using the API. Users can use the API to retrieve data for both the header and detail sections. Additionally, the Tax group will be determined based on the ship-to and bill-to-location states.

For example, the user must create optional fields labeled ‘RCMIGST’ and ‘RCMSCGST’. The values for these optional fields will include the state name, with their descriptions being the RCM tax group for that state. The API will compare the vendor’s state with the state of the Bill To/Ship To/Detail line location. If the vendor’s state matches the state of the Bill To/Ship To/Detail line location, the tax group will be based on the value selected from the RCMSCGST optional field for that state. If the vendor’s state is different from the state of the Bill To/Ship To/Detail line location, the tax group will be based on the value selected from the RCMIGST optional field for the Bill To/Ship To/Detail line location state.

If the vendor and the location of the Bill To/Ship To/Detail line have the same state, then the tax group will be the SCGST tax group for that state. If the state differs between the vendor and the Bill To/Ship To/Detail line location, then the tax group will be the IGST tax group for the state of the Bill To/Ship To/Detail line location.

If the vendor specified in the JSON file has the tax group set as ‘NOTAX’ in the vendor master screen, the Requisition entry will also have the NOTAX tax group.

The sample request payload in JSON format is shown below.

Figure 1: JSON request parameters

After sending the information above to the API, the user will receive the details of the latest transaction in JSON format.

Figure 2: JSON response payload

The above output shows the header and detail information of the requisition entry, and the response can be adjusted according to the user’s requirements.

About Us:-

Greytrix – a globally recognized and one of the oldest Sage Gold 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 MagentoeCommerce 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 Data 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.