AlreadyLost
MIS
Is it possible to use if then in a running total?
Here is my running total:
Running Total Name: OverPaymentAmt
Field to Summarized: Invoice_Line_Item.Amount
Type of Summary: sum
Evaluate: Use a formula: {TB_FIN_INVOICE_LINE_ITEM.PE}= '9903'
Reset: on change of group: invoice_line_item.invoice_id
Basically: I need to evaluate on the following: If {TB_FIN_INVOICE_LINE_ITEM.Related_PE}= '9903' and {TB_FIN_INVOICE_LINE_ITEM.PE}= '9921' and
{TB_FIN_INVOICE_LINE_ITEM.PE}= '9903'
then I want to not display the amount
else if {TB_FIN_INVOICE_LINE_ITEM.PE}= '9903' and
{TB_FIN_INVOICE_LINE_ITEM.Related_PE}= '9903' and no PE 9921 in this line item then I want it to display 9903's amount.
Not sure how to write the if then statement in the running total. Please advice.
Here is my running total:
Running Total Name: OverPaymentAmt
Field to Summarized: Invoice_Line_Item.Amount
Type of Summary: sum
Evaluate: Use a formula: {TB_FIN_INVOICE_LINE_ITEM.PE}= '9903'
Reset: on change of group: invoice_line_item.invoice_id
Basically: I need to evaluate on the following: If {TB_FIN_INVOICE_LINE_ITEM.Related_PE}= '9903' and {TB_FIN_INVOICE_LINE_ITEM.PE}= '9921' and
{TB_FIN_INVOICE_LINE_ITEM.PE}= '9903'
then I want to not display the amount
else if {TB_FIN_INVOICE_LINE_ITEM.PE}= '9903' and
{TB_FIN_INVOICE_LINE_ITEM.Related_PE}= '9903' and no PE 9921 in this line item then I want it to display 9903's amount.
Not sure how to write the if then statement in the running total. Please advice.