Resolve a document
Who it is for: a PRRO Manager. Result: a document that is stuck becomes final or goes to manual analysis. Conditions: the action is done by a PRRO Manager who is an enabled cashier of the company.
When it is needed
A document in the state Sent (it waits for the answer) or Unknown blocks the PRRO. A PRRO with such a document is blocked for new documents and for closing the shift; resolving the document frees it.
What Resolve does
- A Draft or Signed document that was never sent: becomes Failed (final).
- Sent or Unknown: it can be resolved when the read timeout plus 120 seconds have passed. Earlier the app says how many seconds to wait. Then it asks the server for the state of the PRRO and checks the number of the document.
- If the server expects exactly this number, the document is sent again with the same signed data.
- If the server has already registered this document, it becomes Accepted.
- If the server registered it but its fiscal number is not known yet, the document is Accepted and the number appears later.
- If another document took the number, or the server expects an unexpected number, the document goes to manual analysis.
- When Check of the local number did not answer, the app shows: "Check of the local number … did not answer (…): the document stays as it is; resolve it again".
"Resolve" is also shown on an accepted document whose fiscal number is not known yet: it fills the number in.
Two parallel resolves send the document at most once.
Messages
"The document is being sent right now: resolve it again after N seconds", "The document is final: nothing to resolve", "The document was resolved meanwhile by another user: nothing was done".