Condition_LoanOverdueCount
Description
Returns whether the BaseObject's loan overdue count for a specified loan product matches the given condition.
For Mortgage loans, the overdue count is checked across all Household members.
For other loan types, only the BaseObject itself is checked.
Parameters
| Parameter | Description |
|---|
| BaseObject | The character whose loan overdue count will be checked. |
| CompareType | Supported compare types: Equal, NotEqual, Greater, Less, GreaterOrEqual, LessOrEqual. |
| S1 | Loan product ID to check, as defined in LoanProduct.json. |
| F1 | The value to compare against the overdue count. |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Check if the Mortgage loan overdue count is 0 | Self | LoanOverdueCount | Equal |
| Check if the LoanShark overdue count is greater than 2 | Self | LoanOverdueCount | Greater |
| Check if the Mortgage loan overdue count is 1 or more | Self | LoanOverdueCount | GreaterOrEqual |
| Check if target's LoanShark overdue count equals 3 | Target | LoanOverdueCount | Equal |