Condition_IsForceableSaleByDebt
Description
Checks whether the specified object is eligible for forced sale due to debt collection (loan overdue). Objects are excluded if they are broken, have no price, are of excluded types (Door, Dusty, Soot, Roof), are not in the whitelist category, are stored in the site inventory bag, or if the site's total repossessed object price already covers the remaining overdue debt for the given loan product.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object to evaluate for forced sale eligibility (note: uses NonBaseObject internally) |
| CompareType | Equal only (always checks eligibility) |
| S1 | Loan product ID under debt collection (LoanProduct.json Id) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if the object can be forcibly sold for Mortgage debt | Self | IsForceableSaleByDebt | Equal | Mortgage |
| Check if the target object is eligible for repossession for a loan | Target | IsForceableSaleByDebt | Equal | Loan_001 |
Back to Command FinderSearch and filter all 491 Script Condition documents