R28918 Entry - New Apply Date Is Not Part Of Released BG VAT Declaration Period
Code | R28918 |
Entity | Finance.Vat.Entries Entity |
Name | NewApplyDateIsNotPartOfReleasedBGVATDeclarationPeriod |
Attribute | ApplyDate |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Action | Validate that:
If (AdjustedDocument != null && oldApplyDate) != newApplyDate) BGVATDeclarations[VATPeriodEnd >= newApplyDate && VATPeriodStart <= newApplyDate, Void == false, DocumentState >= 30, BGVATDeclaration.EnterpriseCompany == Entry.EnterpriseCompany].Count()== 0 |
Description | If a BGVATDeclaration is released for a certain period, than the user cannot release entries which are part of the period of the declaration. The releasing of the declaration shows that this is the final version of the declaration and it is sent to the National Revenue Agency. No entries must be added to such VAT period. |
Message | The new ApplyDate attribute of VAT entry '{DocumentText}' can't be {ApplyDate} because there are released VAT declarations for VAT periods that include that date. |
Introduced In Version | |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.