Color Code Logic for Receivable Section

Created by Rprakash, Modified on Fri, 6 Jun, 2025 at 6:58 PM by Rprakash

Purpose

This FAQ explains how the system determines the color display for the receivable section based on specific field conditions. It helps users understand why certain records appear in yellow, green, blue, red or no color.


What is this color logic used for?

The logic determines the color of the "Actual Revenue" field in a table based on payment and accounting status. This visual cue helps users quickly assess the payment status of records.


Color Coding Conditions for Actual Revenue Display

ConditionColor
accountInterface = 'Y' AND recPostDate is not empty AND recAccDate is empty AND paymentStatus ≠ 'Fully Paid' AND paymentStatus ≠ 'Partially Paid'Yellow
accountInterface = 'Y' AND recPostDate is not empty AND recAccDate is empty AND paymentStatus = 'Partially Paid'Red
accountInterface = 'Y' AND recPostDate is not empty AND recAccDate is not empty AND paymentStatus ≠ 'Fully Paid' AND paymentStatus ≠ 'Partially Paid'Green
accountInterface = 'Y' AND recPostDate is not empty AND recAccDate is not empty AND paymentStatus = 'Partially Paid'Red
accountInterface = 'Y' AND recPostDate is not empty AND recAccDate is not empty AND paymentStatus = 'Fully Paid'Blue
accountInterface = 'Y' AND recPostDate is empty AND recAccDate is empty AND paymentStatus = 'Partially Paid'Red
accountInterface = 'Y' AND recPostDate is empty AND recAccDate is empty AND paymentStatus ≠ 'Partially Paid' AND ≠ 'Fully Paid'No color
accountInterface = 'Y' AND recPostDate is not empty AND recAccDate is empty AND paymentStatus = 'Fully Paid' AND serviceOrder.job ∈ systemDefaultmiscVl AND receivedAmount ≠ 0Yellow
Any other case under accountInterface = 'Y', and paymentStatus = 'Partially Paid'Red
Any other case under accountInterface = 'Y', and paymentStatus ≠ 'Partially Paid'No color
accountInterface ≠ 'Y' AND paymentStatus = 'Partially Paid'Red
accountInterface ≠ 'Y' AND paymentStatus ≠ 'Partially Paid' AND recPostDate is not empty AND recAccDate is empty AND paymentStatus = 'Fully Paid' AND serviceOrder.job ∈ systemDefaultmiscVl AND receivedAmount ≠ 0Yellow
accountInterface ≠ 'Y' AND paymentStatus ≠ 'Partially Paid' in any other situationNo color

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article