Description |
*Pre Condition:*
Make sure that there's an Existing Meter Billing Transaction dated before Latest Date
*Steps to Reproduce:*
Step 1: Go to Meter Billing > Meter Reading > New
Step 2: Create New Meter Reading using Latest Date
Step 3: Post the Transaction
Step 4: Open the Existing Meter Reading Transaction dated before latest date
Step 5: Unpost the Transaction
*{color:#c0392b}Issue{color}:*
Transaction was Unposted
{color:#2ecc71} *Acceptance Criteria:* {color}
*Unposting*
#1: Unposting previous posted transaction dated earlier than the latest should be stopped and should show Error Message.
#2: Error Message should Display: "This transaction cannot be Unposted, because it is not the latest Posted Meter Billing transaction."
*Posting:*
#1: When posting a transaction, there cannot be Unposted trans for the same Meter Key with an earlier Date.
#2: Error Message should Display: "This transaction cannot be Posted, because it is not the latest Unposted Meter Billing transaction. To Post this transaction, you must first post all transactions for the same Meter Key with an earlier Date."
|