Account terms triggers
To set the Account Terms fields to read-only when the account is integrated to M3, you can add these triggers to a dialog:
| Triggers | Value |
|---|---|
| Event | onload |
| Operator | and |
| Condition | Value |
|---|---|
| Column | Account.Status |
| Operator | greaterthanorequal |
| Value | 10 |
| Setter | Value |
|---|---|
| Type | column |
| Name | AccountTerms.MeansOfTransporationCode |
| True Action | disable |
| False Action | enable |
| Setter | Value |
|---|---|
| Type | column |
| Name | AccountTerms.Priority |
| True Action | disable |
| False Action | enable |
| Setter | Value |
|---|---|
| Type | column |
| Name | AccountTerms.CurrencyCode |
| True Action | disable |
| False Action | enable |
| Setter | Value |
|---|---|
| Type | column |
| Name | AccountTerms.TermsOfPaymentCode |
| True Action | disable |
| False Action | enable |
| Setter | Value |
|---|---|
| Type | column |
| Name | AccountTerms.TermsOfDeliveryCode |
| True Action | disable |
| False Action | enable |