...
- We can't add lines that are already in the batch
- Making sure not to overpay a supplier
- We can't send a negative value (total)
Design:
Filter:
- Supplier filter:
- supplier area
- supplier class
- supplier group
- supplier on hold
- supplier range (from -to)
- Transaction filter:
- transaction on hold
- Due date
- action date
Settings:
- Bank account
- Payment line aggregation (summing up all the lines of the supplier into one group)
UI/UX Design
Data structure
Tables:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CREATE TABLE [dbo].[PaymentBatchAccounts]( [Id] [int] IDENTITY(1,1) NOT NULL, [AccountLink] [int] NOT NULL, [iAllowICPurchases] [bit] NOT NULL, [Master_Sub_Account] [nvarchar](max) NULL, [Account_Type] [nvarchar](max) NULL, [Description] [nvarchar](max) NULL, [iAccountType] [int] NOT NULL, [AcLookup] [nvarchar](max) NULL, [iForeignBankCurrencyID] [int] NOT NULL, [CurrencyCode] [nvarchar](max) NULL, [CurrencyId] [int] NOT NULL, [BranchId] [bigint] NULL, CONSTRAINT [PK_PaymentBatchAccounts] PRIMARY KEY CLUSTERED |
...