Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to use if statement for comparing dates in BIP template

edited Oct 30, 2024 6:59PM in Reporting and Analytics for ERP 1 comment

Summary:

How to use if statement for comparing dates in BIP template

Content (please ensure you mask any confidential information):

I have customised the Customer Statement Data Model to show me the apply_date of the payment. Now I wish to show payments only where the apply_date is before the statement_date. I have put in the following conditions to try and achieve this.

<?if:CDC_PAYMENT_AMT=''?>0<?end if?>

<?if:CDC_PAYMENT_AMT!='' and CDC_APPLY_DATE <= STATEMENT_DATE?><?CDC_PAYMENT_AMT?><?end if?>

<?if:CDC_PAYMENT_AMT!='' and CDC_APPLY_DATE > STATEMENT_DATE?>0<?end if?>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!