Take-over UI display rules
AI-generated content
This document was generated by an AI assistant from the 'Event Matrix Accounting' Google Sheet. Verify accuracy before relying on the details.
When the user opens the take-over screen and selects either a tenant or an owner, the UI only displays the take-over events relevant to that side. The direction (RECEIVABLE / PAYABLE) is also constrained per event. This page mirrors the sheet's "Take-over UI rules" tab.
At a glance
| Event | Display when tenant selected | Display when owner selected | RECEIVABLE allowed | PAYABLE allowed |
|---|---|---|---|---|
ACCOUNTING_TAKEOVER_TENANT_BALANCE_DEBITOR | yes | no | YES | NO |
ACCOUNTING_TAKEOVER_TENANT_BALANCE_CREDITOR_CASH | yes | no | NO | YES |
ACCOUNTING_TAKEOVER_TENANT_BALANCE_CREDITOR_NOT_CASH | yes | no | NO | YES |
ACCOUNTING_TAKEOVER_TENANT_DEPOSIT | yes | no | NO | YES |
ACCOUNTING_TAKEOVER_OWNER_BALANCE_CREDITOR | no | yes | NO | YES |
Why this matters
The tenant variants split into three sub-natures (rent only, rental charges only, generic misc) which all share the same display rules above; only the credit account differs (467200 / 467210 / 467220). See:
ACCOUNTING_TAKEOVER_TENANT_BALANCE_DEBITORACCOUNTING_TAKEOVER_TENANT_BALANCE_DEBITOR_RENTACCOUNTING_TAKEOVER_TENANT_BALANCE_DEBITOR_RENTAL_CHARGESACCOUNTING_TAKEOVER_TENANT_BALANCE_CREDITOR_CASHACCOUNTING_TAKEOVER_TENANT_BALANCE_CREDITOR_NOT_CASHACCOUNTING_TAKEOVER_TENANT_DEPOSITACCOUNTING_TAKEOVER_OWNER_BALANCE_CREDITOR
Open questions
- Whether the UI enforces these rules client-side or whether the back end also validates the (event × direction) combination on persist. Worth checking before exposing the take-over flow to a new client.