N0701500, Convert Date To String Based On Format Code
Input: Date and Format Code
Format
Code         Output String Format
1MMDDYYYY
2YYYYMMDD
3DDMMYYYY
4MMDDYY
5YYMMDD
6DDMMYY
Where:
DD = Day
MM = Month
YY = Year (2-digit)
YYYY = Year (4-digit)
All are left-padded with zeroes
Error
CodeExplanation
blankNo Errors
1Format Code Not Recognized
2Date is blank (null date)
D0701500 - Convert Date To String Based On Format Code
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| jdInputDate_DT | DT | JDEDATE | REQ | INPUT | 
The date that the employee was terminated, if applicable.  | ||||
| cOutputFormatCode_EV01 | EV01 | char | REQ | INPUT | 
An option that specifies the type of processing for an event.  | ||||
| szOutputDateString_DL01 | DL01 | char | REQ | OUTPUT | 
A user defined name or remark.  | ||||
| cErrorCode_EV01 | EV01 | char | OPT | OUTPUT | 
An option that specifies the type of processing for an event.  | ||||
| None | 
| None |