Files
Fuchs_Intranet/Fuchs_Database/dbo/Tables/fds__bankingtransactions.sql
T
Stefan c98be7b23f
Playwright Tests / test (push) Has been cancelled
Enhance banking transaction data structure and validation
- Increased the length of the NameOfPayer field from NVARCHAR(60) to NVARCHAR(140) in the banking transactions function, table, temporary table, and user-defined type to accommodate longer names.
- Expanded the SepaRemittanceInformation field from VARCHAR(150) to VARCHAR(200) in the banking transactions function for more detailed remittance information.
- Modified the stored procedure fds__setBankingtransaction_done to return additional transaction data (ValueDate and Amount) along with the success flag for improved notification messaging.
- Added validation in MFRClientConfig constructor to ensure the provided URL is not null or empty, enhancing error handling for configuration settings.
2026-07-04 16:37:23 +02:00

38 lines
1.9 KiB
Transact-SQL

CREATE TABLE [dbo].[fds__bankingtransactions] (
[taID] VARCHAR (10) NOT NULL,
[AccountIdentification] VARCHAR (50) NULL,
[ValueDate] DATE NULL,
[Amount] NUMERIC (9, 2) NULL,
[FundsCode] VARCHAR (1) NULL,
[AccountNumberOfPayer] VARCHAR (30) NULL,
[BankCodeOfPayer] VARCHAR (11) NULL,
[CompensationAmount] VARCHAR (50) NULL,
[CreditorReference] VARCHAR (30) NULL,
[CreditorsReferenceParty] VARCHAR (50) NULL,
[CustomerReference] VARCHAR (50) NULL,
[EndToEndReference] VARCHAR (50) NULL,
[JournalNumber] VARCHAR (10) NULL,
[MandateReference] VARCHAR (50) NULL,
[NameOfPayer] NVARCHAR (140) NULL,
[OriginalAmount] VARCHAR (150) NULL,
[OriginatorsIdentificationCode] VARCHAR (150) NULL,
[PayersReferenceParty] VARCHAR (150) NULL,
[PostingText] VARCHAR (30) NULL,
[SepaRemittanceInformation] VARCHAR (200) NULL,
[TextKeyAddition] INT NULL,
[TransactionCode] INT NULL,
[IsUnstructuredData] BIT NULL,
[UnstructuredData] NVARCHAR (390) NULL,
[UnstructuredRemittanceInformation] NVARCHAR (390) NULL,
[DebitCreditMark] VARCHAR (2) NULL,
[TransactionTypeIdCode] VARCHAR (3) NULL,
CONSTRAINT [PK_fds__bankingtransactions] PRIMARY KEY CLUSTERED ([taID] ASC)
);
GO
CREATE NONCLUSTERED INDEX [fds__bankingtransactions__ix1]
ON [dbo].[fds__bankingtransactions]([taID] ASC)
INCLUDE([Amount]);