Dear team,
Need your urgent help.
Need your urgent help.
ID | DATE | AMOUNT | Expected result | Remarks |
AAAAAA | 01-Jan-21 | 100 | 100 | if <1000 take the actual value basis date and ID |
AAAAAA | 01-Jan-21 | 500 | 500 | if <1000 take the actual value basis date and ID |
AAAAAA | 01-Jan-21 | 100 | 100 | if <1000 take the actual value basis date and ID |
AAAAAA | 01-Jan-21 | 0 | 0 | if <1000 take the actual value basis date and ID |
AAAAAA | 01-Jan-21 | 400 | 300 | If crossed 1000 basis date and ID, 1000-sum of previous entries |
BBBBBB | 02-Jan-21 | 10001 | 1000 | If >1000 also freeze 1000 and remaining value should be for all the next following entries for same date and ID |
BBBBBB | 02-Jan-21 | 10 | 0 | If >1000 also freeze 1000 and remaining value should be for all the next following entries for same date and ID |
BBBBBB | 02-Jan-21 | 0 | 0 | If >1000 also freeze 1000 and remaining value should be for all the next following entries for same date and ID |
BBBBBB | 02-Jan-21 | 1111 | 0 | If >1000 also freeze 1000 and remaining value should be for all the next following entries for same date and ID |
BBBBBB | 02-Jan-21 | 234 | 0 | If >1000 also freeze 1000 and remaining value should be for all the next following entries for same date and ID |