Posted status incorrect when reposting on a period closed

Description

When trying to repost a document on a period closed (can be made by mistake by the user) - the posted status is set to "posting error" and then the accounting for the document cannot be seen from the posted button.

Steps to reproduce:

  • accounting schema set to manual period control

  • post a document in an open accounting period

  • close the accounting period

  • push the posted button on the document (the posting are shown)

  • push repost (error is shown)

  • now the posted button of the document shows "posting error" or "period closed" and the accounting cannot be seen

possible solutions are to check the period openness on the repost button - or to avoid setting the value "posting error" or "period closed" if the document is already posted

note the fact_acct records still exist and shown in reports, but they are not accesible from the posted button

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Priority

Critical
Configure