Skip to main content

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

ParameterDescription
BaseObjectThe object to evaluate for forced sale eligibility (note: uses NonBaseObject internally)
CompareTypeEqual only (always checks eligibility)
S1Loan product ID under debt collection (LoanProduct.json Id)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if the object can be forcibly sold for Mortgage debtSelfIsForceableSaleByDebtEqualMortgage
Check if the target object is eligible for repossession for a loanTargetIsForceableSaleByDebtEqualLoan_001