R33300 ExciseAdministrativeDocument - New DocumentDate Is Not Part Of Released Excise Declaration Period

Code | R33300 |
Entity | Finance.Excise.ExciseAdministrativeDocuments Entity |
Name | NewDocumentDateIsNotPartOfReleasedExciseDeclarationPeriod |
Attribute | DocumentDate |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Action Validate that: |

If (AdjustedDocument != null && oldDocumentDate) != newDocumentDate) |

ExciseDeclaration[ToDate >= newDocumentDate && FromDate <= newDocumentDate, Void == | false, DocumentState >= 30, ExciseDeclaration.EnterpriseCompany == | Entry.EnterpriseCompany].Count()== 0
Description If a ExciseDeclaration 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 Customs. | No entries must be added to such period. |
Message The new DocumentDate attribute of ExciseAdministrativeDocument '{DocumentText}' can't be {DocumentDate} because | there are released ExciseDeclarations for periods that include that date. |
Introduced In Version 2022 |
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.