WriteOffResultStatus Enumeration |
Status of a tare write-off (return) operation result.
Namespace: Resto.Front.Api.Data.EgaisAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntax[SerializableAttribute]
public enum WriteOffResultStatus
Members| Member name | Value | Description |
|---|
| Success | 0 | The operation completed successfully. |
| Duplicate | 1 | The tare is already unsealed: the unseal record with the same reason exists in the front journal, or the mark is written off according to EgaisMarksInfo (unsealed outside this front group). The second write-off act is not created. |
| EgaisRejected | 2 | The position data is invalid: the mark is not registered in EgaisMarksInfo under the organization of the batch (or belongs to another organization), the iiko product, the alcohol code or the EGAIS product is not found, or the unpacked amount is not set for a keg. |
| NetworkError | 3 | Connection error: the RMS server, UTM or the main cash is unavailable. The operation can be retried later. |
| UnknownError | 4 | Unknown error. |
| ReasonMismatch | 5 | The write-off reason stored in the unseal record of a marked tare differs from the requested one: for a write-off of packed tare the second act is not created, for a cancellation the operation is not possible. |
| NotCancellable | 6 | Cancellation is not possible: the tare is not unsealed in this front group (no unseal record in the front journal under the organization of the batch; for an unpacked marked product the mark is also not written off according to EgaisMarksInfo), or the server does not allow to cancel the write-off document (for example, the act has already been sent to EGAIS). |
| DuplicateInBatch | 7 | The same mark is present in the batch more than once: only the first position with the mark is processed, the repeated positions are refused with this status. |
See Also