D4101540 - Calculate Life Remaining
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| jdExpirationDate | MMEJ | JDEDATE | OPT | NONE | 
The date on which a lot of items expires.
The system automatically enters this date if you have specified the shelf life days for the item on 
  | ||||
| jdBasedOnDate | BODJ | JDEDATE | OPT | NONE | 
The date that the system uses in conjunction with the shelf life days to calculate the lot expiration date. You can enter this date during 
  | ||||
| jdCalculationDate | CLCJ | JDEDATE | OPT | NONE | 
A date that the system uses to calculate the remaining number of days until the lot expires. If you leave this field blank, the system uses 
  | ||||
| mnPercentOfLifeRemaining | POLR | MATH_NUMERIC | OPT | NONE | 
A value that represents the amount of time that has elapsed since the material contained in a lot became an on-hand quantity. The system 
  | ||||
| mnNumberOfDaysRemaining | NODR | MATH_NUMERIC | OPT | NONE | 
A number that represents the difference between either the expiration date and the current date or between the expiration date and a 
  | ||||
| cErrorCode | ERRC | char | OPT | NONE | 
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
  | ||||
| None | 
| None |