Validate PTO Availability - B0701260
Hi,
Can any one explain how the business function B0701260 calculates the available leave balances?
And what set ups it is checking?
Is there any documentation related to this?
We are passing the below parameters to this business function.
ValidatePTOAvailability(B0701260.ValidatePTOAvailability)
| | "0" -> cMode [EV01]
| | Blank <- cLeaveBalance [EV02]
| | Null-> cSourceTable [EV03]
| | 1201 -> mnAddressNumber [AN8]
| | "S" -> szLeaveType [LTTP]
| | 804 -> mnPayDeductBenAccType [PDBA]
| | 2 <- cReturncode [EV04]
| | 13595 -> mnJobnumberA [JOBS]
| | 8 -> mnHoursRequested [PHRW]
| | STD -> szLeaveVerificationSet [LVVS]
| | 20 <- BF mnHoursAvailable
| | 12 <- BF mnHoursAccrued
| | 25 <- BF mnHoursBegBal
| | 07AH <- szLeaveBalanceError [DTAI]
| | Blank <- szPartialDaysError [DTAI]
| | 0 <- mnResultingBalance [MATH01]
| | 0 <- mnCurrentBalance [MATH01]
| | 0 <- mnTimeTaken [MATH01]