Interfacing to Accounts Receivable
  Overview
 

 

The Accounts Receivable System is designed to work with other subsystems by communicating with them through a series of interface programs and data files. The use of these interface programs and files allows this communication to be established with minimal or no modification to the Accounts Receivable System itself.

The Accounts Receivable System does not contain any names and addresses nor does it contain a chart of accounts for the General Ledger System. It relies on the interface communications with other subsystems for information and support processing.

A set of sample programs are provided with the General Ledger System. The sample source code for these programs is located in the library named IFGEN. The programs provided will interface with the General Ledger System and other subsystems provided by Business Applications, Inc. They will not communicate with any other subsystems with out modification.

A set of sample programs are provided with the Accounts Receivable System. The sample source code for these programs is located in the library named IFGEN. The programs provided will interface with the Accounts Receivable System and any other subsystems provided by Business Applications, Inc. However, they will not communicate with any other subsystems with out modification. Programs residing in library ARGEN are either Accounts Receivable System target or source programs and should not be modified. All modifications should be done by copying source code to IFUSER and then be compiled to library IFUSER.

It is the user's responsibility to insure these programs are modified to communicate with the user's subsystems.

These programs can be either CL or RPG depending on the requirements of the task being performed. CL programs are normally used when library lists need to be changed or modified in order to access other subsystems.

The IFUSER library should always exist in the library list of any user while performing Accounts Receivable functions.

 

 

 

  Interface Calls To Accounts Receivable
 

 

The following are calls which can be made to the accounts receivable system to send information to the application, retrieve information from the application or to enter the application to display or work with information within the application.

This list assumes you are using the BAI General Ledger System. If not, there are other other interface programs which must be considered. There are other interfaces available beyond what are listed here. However they are not required to implement the system. If you feel you have a need for some additional interface, please contact Business Applications, Inc. for more information.

 
Description Program Sample programs
Notes

Import Account

ASAJXFR IFGEN/QRPGSRC/CVEZXFR
Import Credit Limit ASAOXFR IFGEN/QRPGSRC/CVEZXFR
Account Master Maint ARTOXFR IFGEN/QRPGSRC/XASBS02
Check Acct Existence ARRXXFR IFGEN/QRPGSRC/XASBS01
Clear Apprvd/Pending ARVXXFR IFGEN/QRPGSRC/SOSBS57
1
Create Acct w/Defaults ARX6XFR IFGEN/QRPGSRC/SOSBS56
Delete Company Accounts ASQLXFR IFGEN/QRPGSRC/IGNUXFR
Get Account Credit Status ARBPXFR IFGEN/QRPGSRC/SOSBS02
1,2
Get Account Credit Values ARTLXFR IFGEN/QRPGSRC/SOSBS02
1
Get Closing Date Sts ARZYXFR IFGEN/QRPGSRC/SOSBS68
Get Document by Number ASQXXFR IFGEN/QRPGSRC/SOSBS123
Get Due & Disc Dte Dta ARBVXFR IFGEN/QRPGSRC/SOSBS28
2
Get EDI Partner ASM3XFR IFGEN/QRPGSRC/IGLHXFR
Get Terms of Sale Desc ARBYXFR IFGEN/QRPGSRC/SOSBS08
2
Import Payment Dist ARQ3XFR IFGEN/QRPGSRC/SOSBS34
Import Receivable Item ARBTXFR IFGEN/QRPGSRC/SOSBS06
1
Notify Cr Aprvl Reqrd ARXJXFR IFGEN/QRPGSRC/SOSBS29
1
Request Cr. Approval ARBSXFR IFGEN/QRPGSRC/SOSBS04
1
Select Terms of Sale ARBQXFR IFGEN/QRPGSRC/SOSBS01
Update from Acct Maint ARQ5XFR IFGEN/QRPGSRC/SOSBS45
Update Credit Line ARBRXFR IFGEN/QRPGSRC/SOSBS05
1
Verify Receivable Item ASFMXFR IFGEN/QRPGSRC/SOSBS06
Wk w/Collection Status ARVVXFR IFGEN/QRPGSRC/SOSBS72

Notes

1 Required if you want to use credit interfaces.
2 Required if you want to use Terms of Sale interfaces.

 

 

 

Interface Calls From Accounts Receivable

 

 

These programs may need to be modified in order to correctly access the information from or to feed information to your applications. Many are required to be modified. Any modified programs should reside in library IFUSER. They will then be used in place of supplied BAI interface programs when called. DO NOT place these programs in IFGEN library. If you do, they may be replaced when application updates are applied.

This list assumes you are using the BAI General Ledger System. If not, there are other other A/R to G/L interface programs which must be considered. Please contact Business Applications, Inc. for more information.

Samples of these programs can be found in QRPGSRC in library IFGEN.

Program Description Note
ARSBS02 AR Get Name and Address 1
ARSBS11 AR Wk w/Names and Addresses 1
ARSBS12 AR Work with Credit Holds 2,5
ARSBS17 AR Select Name and Address 1
ARSBS20 AR Select Sales Rep 2
ARSBS27 AR Get Phone Numbers 1
ARSBS29 AR Add EDI Doc to Mailbox 3
ARSBS30 AR Transmit EDI Docs 3
ARSBS31 AR Display EDI Comm Sts 3
ARSBS32 AR Display EDI Mail Box 3
ARSBS33 AR Get Formatted Name and Address 1
ARSBS35 AR Wk w/Name and Address 1
ARSBS37 AR Get Customer PO# 2
ARSBS38 AR Get Sales Rep 2
ARSBS39 AR Update of Sort Code 1
ARSBS41 AR Send Inv to External EDI 4
ARSBS42 AR Resubmit Account For Approval 1,5
ARSBS48 AR Select Currency Code 6
ARSBS49 AR Get Currency Information 6

Notes

1 Required Modification if you are not using BAI supplied name and address file.
2 Required Modification if you are not using BAI Sales Order processing System.
3 Required Modification if you are not using EDI/400 for EDI Processing.
4 Required if you are doing EDI Processing.
5 Required if you want to use credit interfaces.
6 Required if you are not using BAI Currency File.