A header intended to group money movements for one bank run — an outgoing vendor payment file or an incoming customer deposit slip, distinguished by BatchType — with a count and total rolled up from its lines. In the current code base it is a metadata-only structure: no entity handler, server action or job creates a batch, rolls it up or advances its state. The roll-up helper PaymentBatchService.RecomputeTotalsAsync exists but is invoked from nothing except an integration test, and the NEFT/RTGS and cheque-register exports select Payment rows by company and date range without consulting batches at all.
Fields
| Field | Label | Type | Required | What it does |
BankAccountId | Bank Account | Lookup → BankAccount | | The company bank account the run is drawn on or deposited into. It is a plain reference — no posting, file export or reconciliation path reads it today, so it records intent rather than driving the money side of anything. |
BatchDate | Batch Date | DateAndTime | | |
BatchType | Batch Type | Text | | Distinguishes an outgoing vendor payment run from an incoming customer deposit slip, with 'Payment' as the default. It has no seeded pick list, and no code branches on it today — the roll-up helper merely echoes it back — so it is descriptive metadata rather than a behavioural switch. |
CreatedById | Created By | Lookup → UserAccount | Yes | |
CreatedDateTime | Created Date | DateAndTime | Yes | |
Id | Id | Guid | Yes | |
ItemCount | Item Count | Number | | Meant to be the number of non-deleted lines in the batch, set alongside the total by the same roll-up routine. Since nothing invokes that routine outside tests, it is not maintained automatically and should be verified against the actual lines before being trusted. |
ModifiedById | Modified By | Lookup → UserAccount | Yes | |
Name | Document Number | Text | Yes | |
OwnerId | Owner | Lookup → UserAccount | Yes | |
PartnerAccountId | Partner Account | Lookup → Account | | |
RecordTypeId | Record Type | Guid, hidden | | |
Reference | Reference | Text | | |
Status | Status | Text | | Any movement here is manual data entry and implies nothing about whether a bank file was produced or the member payments were posted. |
TotalAmount | Total Amount | Currency | | Meant to be the sum of the non-deleted line amounts, rounded to two decimals. |
UIProps | UI Props | Text | | |
UpdatedDateTime | Modified Date | DateAndTime | Yes | |
Actions
| Action | Label | Type | What it does |
Clone | Clone | ServerAction (Clone) | Create a copy of this record |
DeleteEntity | Delete | Delete | DeleteEntity |
DeleteListHeader | Delete | Delete | DeleteListHeader |
DeleteListRow | Delete | Delete | DeleteListRow |
EditEntity | Edit | Edit | Edit |
EditInLine | EditInLine | EditInline | EditInLine |
EditListRow | Edit | Edit | EditListRow |
New | New | New | New |