Enhance banking transaction data structure and validation
Playwright Tests / test (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
- 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.
This commit is contained in:
@@ -34,7 +34,12 @@ BEGIN
|
||||
;
|
||||
|
||||
|
||||
--output to confirm as boolean
|
||||
SELECT CAST( (CASE WHEN ISNULL((SELECT TOP(1) [done_manually] FROM @out), '') <> '' THEN 1 ELSE 0 END) as bit);
|
||||
--output to confirm as boolean, plus the transaction data needed for the notification message
|
||||
SELECT
|
||||
CAST( (CASE WHEN ISNULL((SELECT TOP(1) [done_manually] FROM @out), '') <> '' THEN 1 ELSE 0 END) as bit) as [success]
|
||||
,b.[ValueDate]
|
||||
,b.[Amount]
|
||||
FROM (SELECT 1 as [dummy]) as d
|
||||
LEFT JOIN [dbo].[fds__bankingtransactions] as b ON b.[taID] = @taID;
|
||||
|
||||
END
|
||||
Reference in New Issue
Block a user