Journal Voucher
Process Demonstration

Executive Summary
This screen enables the creation, modification, and deletion of journal vouchers containing balanced debit and credit account entries. Operators can enter transaction dates, select accounts from dropdowns, input amounts, edit descriptions, save vouchers, and remove vouchers from the system.
Business Purpose
The Journal Voucher form supports accurate financial transaction recording by ensuring that all debit and credit entries are balanced before saving. This function is critical for maintaining correct accounting records for fuel station operations.
Operating Procedure
- Click the New button to initiate a new journal voucher.
- Enter the transaction Date in the date input field.
- For each line item in the grid:
- Select the Account from the dropdown list.
- Input the debit or credit amount in the appropriate field, ensuring totals will balance.
- After entering all lines, click Save Voucher to store the journal entry.
- To modify an existing voucher:
- Locate the voucher by scanning the list and click the Edit button next to the relevant voucher number.
- Adjust the desired fields, such as the description or amounts.
- Click Update to save changes.
- To delete a voucher:
- Click the Delete button corresponding to the voucher.
- Confirm the deletion action by clicking Yes, Delete in the prompt.
Required Inputs
- Date: A valid date for the journal voucher transaction.
- Accounts: At least two account selections, one for debit entries and one for credit entries, selected from non-empty dropdowns.
- Amounts: Numeric values entered into debit and credit fields for each line.
- Description (optional): Text in the debit line's description input for clarification or adjustment details.
Validation Rules
- At least two lines must be present with one marked as debit and another as credit.
- The total debit amount must equal the total credit amount to enable saving.
- Each account dropdown must have a valid, non-empty selection.
- Date must be filled with a valid calendar date before saving.
- Edit updates require at least one changed field before enabling the Update button.
- Deletion requires user confirmation to proceed.
Expected Results
- Saving a voucher creates a new journal entry with a unique voucher number (e.g., "JV-0001") displayed in the list.
- Editing a voucher updates the existing voucher data as per input changes.
- Deleting a voucher removes it from the list and the underlying data store after confirmation.
- The voucher list reflects all current vouchers and their updated states after each operation.
Exception Handling
- Attempting to save with unbalanced debit and credit amounts results in an error and prevents saving.
- Selecting empty account options or leaving mandatory fields blank disables the Save Voucher button.
- Editing with no changes keeps the Update button disabled to prevent redundant updates.
- Canceling the delete confirmation aborts voucher removal and retains it in the list.
- Any UI or processing delays during operations maintain user feedback through loading indicators or disabled buttons until completion.
This document is system-generated and maintained by the PMS documentation automation pipeline.