Dynamic Logic Plus Example¶
Overview¶
This example uses the Payment entity. The screenshot shows a setup with these links/fields:
OrdersPayment AttemptsAccountContactAmount
Cascade Update Triggers¶
We have a formula on Orders that calculates paid amount.
- In Triggering Fields, select
Amount. - In Link, select
Orders.
Now, when Amount changes on a Payment, linked Orders records are re-saved so formulas can be recalculated.
Cascade Remove¶
When a Payment is deleted, related Payment Attempts should be deleted automatically.
Links Must Be Empty Before Remove¶
Prevent deleting a Payment if it has related Orders records.
Users must remove linked Orders first, which protects data integrity.
Linked Field Automation (legacy UI label: "Associated Links")¶
Make Account and Contact dependent:
- When
Contactis selected,Accountcan be auto-filled. - When
Accountis selected,Contactautocomplete/modal selection is filtered by that Account. Orderscan be configured to depend on bothAccountandContactin the same way.
Note
Do not place the same link in both Cascade Remove and Links Must Be Empty Before Remove.
