Edit Customer is a function of the type EDTFIL.

In this example, the code in USER: Validate subfile record fields is placed in a wrapper. This example shows parameter substitution, not application design.
This code populates CTL.Customer Code with RCD.Customer Code, sets RCD.Customer Code to CON.A, and checks whether CTL.Billing Location is equal to WRK.Delivery Location. If it is, WRK.Customer Check Flag is set to Y and PGM.*Sbmjob receives the override string CON.*BLANK.
The function and the parameter interface are created and contexts are substituted for any contexts unavailable to the EXCEXTFUN. CTL is the first unavailable context, so an array is created for this function. The array name consists of the first 22 characters of the function name plus PAR at the end.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |