Hi community,
I would like to ask how do build the multi-row formula for the following condition:
1. Before using the multi-row formula, we would need to change the date from ascending order and group by product
2. To build the multi-row formula, we would need to consider the following:
A . If the document type for next row is CZ , then we need to deduct the amount with the concept : deduct the current amount against the next row
B. If the document type for next row is OP, then we need to add the amount with the concept : add the current amount against the next row
C. If the document type for the current row is AC, then the calcualtion amount is zero.\
D. If the document type for current row is OP, then the calculation amount in zero.

Many thanks