Custom Bank Integration in Sage 300 Using ACCTYPE Optional Field

By | February 24, 2026

In Sage 300 ERP, Banks require different file formats or identifiers based on the type of bank account for example, Current Account or Savings Account. However, Sage 300 does not provide a standard field in the Vendor master to store account type information that can be directly consumed by a bank integration program.

To solve this limitation, we implemented a custom solution using Optional Fields in Sage 300. This blog explains how the ACCTYPE optional field, stored in CSOPTFIELD, is created, mapped, and used in a Custom bank integration EXE to dynamically populate account type details in the bank TXT file.

The EXE then generates a TXT file in a company-specific format, supporting configurable field sequences and custom separators such as “@”. This flexible design enables the same solution to adapt to different company requirements.

By automating data extraction and TXT file creation from the AP module, this customization , minimizes errors, and ensures consistency between Sage 300 transactions.

New Stuff: – OE Ship via codes report in Sage300

Please refer below screenshot of the user interfaces for the “ Custom Bank Integration in Sage 300 Using ACCTYPE Optional Field“.

Figure 1 : Sage 300 Common Service Optional Field Screen

Figure 2 : Vendor Master Mapping Optional Field Screen in sage 300

Figure 3 : Bank Integration Exe in sage 300

Output:

DFT@IN@78678-09091@INR@9061.90@@20260130@@@@@@@@@@@@@Chloride Systems@@@@2@1234567890@@@@@@NEFT@HDFC0000339@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@customer_service@chlorideus.com@@@@@@@@@@@@@CITI14@3@CITIBA@@@@@@@@@@@@@@@@@@@@greytrix
INV@ .
INV@ .
INV@ .
INV@ .
INV@Invoice Number Inv Date Inv Amt TDS% TDS Ded Net Pay .
INV@AP/INV/123 20260130 6146 4.00 246 5900.

Optional Fields:

Steps For adding the Optional field into sage 300.

  • Go to common service add the ACCTYPE as optional field.
  • Add values and Description into it.
  • Go to A/P Setup.
  • Click on optional field.
  • Go to vendor master screen in AP Vendor.
  • Add the Optional Field for selected vendor.

This Exe includes following fields and can be modified according to the requirement.
 

  • Bank code
  • payment code
  • Debit country
  • Debit account number
  • currency
  • payment amount
  • posting date
  • beneficiary name
  • beneficiary account number
  • beneficiary account type
  • bank routing code
  • bank routing method
  • account name
  • country code
  • invoice date
  • invoice number
  • posting date
  • invoice amount

In this way, the report provides a clear picture of Payment activity, enabling better decision-making and effective monitoring of business growth. We can also customize this report output with required additional fields. 

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.