Code |
31422-3 |
Entity |
Finance.Payments.PaymentTransactions Entity |
Name |
ChangeParty |
Attribute |
Party |
Layer |
Front-End |
Events |
AttributeChanging(Party) |
Priority |
Normal |
Modify |
YES |
Applicable
Legislations |
ALL // no condition needed |
Action |
if (OldValue != NewValue AND Lines.Any())
{
IssueWarning(Finance_Payments_ChangePartyNotAllowed);
} |
Description |
If there are lines in the document, it is not allowed to change the Party. |
Message |
The change of Party '{PartyName}' in document '{DocumentText}' is not allowed while
there are lines in the document. |
Version |
Introduced: 21
|
Revocable |
YES |