R30383-31 Invoice - Set Deal Type
Code | 30383-31 |
Entity | Crm.Invoicing.Invoices Entity |
Name | SetDealType |
Attribute | DealType |
Layer | Front-End |
Events | AttributeChanged(DocumentType) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | if (DealType == null && DocumentType != null) DealType = DocumentType.InvoicesOptions[First].DefaultDealType; |
Description | If Deal Type is null, when the Document Type is changed - in the Deal Type field of the Invoice is set the value of Default Deal Type from the Invoice options of the document type. |
Message | |
Version | Introduced: 2020.1 |
Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.