D76H3B53C - Get Next Legal AP Number - CHI - 04 - 76H
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szLegalCompany | H76LECO | char | OPT | INPUT | 
A code that groups one or more JDE companies. This code contains the legal company  | ||||
| szLegalDocumentType | H76LEDT | char | OPT | INPUT | 
| szEmissionSerial | H76EMS | char | OPT | INPUT | 
| mnNextLegalNumber | H76NN | MATH_NUMERIC | OPT | OUTPUT | 
Next Legal document number available.  | ||||
| szErrorCode | DTAI | char | OPT | OUTPUT | 
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
  | ||||
| cSuppressErrorMessage | SUPPS | char | OPT | INPUT | 
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
       0 = allow 
  | ||||
| None | 
| None |