Previous Topic: Accounting Sources Entry Panel

Next Topic: Example 2: Defining Accounting Sources Using a Lookup Table


Example 1: Defining Accounting Sources Without a Lookup Table

In this example, we are telling CA PMA Chargeback to:

USERID CA PMA Chargeback MM/DD/YY HH:MM:SS __ Acctdefs Cbdefs Query Data Period Options Exit Help +-- CBASRCE --- Accounting Sources Entry --------------+ | Panel Exit Help | ---------------------------------------------------- | Type information. Then select an action. | | Version . : Acct Version : PROD | ORD Type . : MBJ | Structure : DIVISION | | Lookup Table ________ | | ORD Field Name St Length | | JOBNAME_________ 01 04 | ACCTCODE________ 01 08 | USER-INFO_______ 01 04 | | F5=Save F6=Delete F11=Lookup +------------------------------------------------------+ Command ===> ____________________________________________________________ F1=Help F3=Exit F4=Prompt F9=Command F10=Action Bar F12=Cancel PA1=Susp

This processing takes place at Detail function time for each ORD record.

The ACCSRTAB table is used to generate the required code to perform this task. The data entered is validated to ensure that the fields used in the creation of the construct are valid and exist within the ORD definition.