Clean up superseded/orphaned SQL files in Fuchs_Database
Playwright Tests / test (push) Canceled after 0s
Playwright Tests / test (push) Canceled after 0s
Remove fds__getBankingtransaction_manual.sql, superseded by the already-referenced fds__getBankingtransaction_manual_1.sql, and four unreferenced loose copies sitting outside the SSDT folder structure at the project root (fds__getInvoiceFileContent.sql, fds__getInvoiceFiles_ForBlobArchive.sql, fds__getReminderFileContent.sql, fds__getReminderFiles_ForBlobArchive.sql) - the real, referenced versions live under dbo/Stored Procedures/. Also wires the already-committed fds__getCompanyAddressJson.sql function into the project's build list. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -190,6 +190,7 @@
|
||||
<Build Include="dbo\Functions\fds__getCompanyName.sql" />
|
||||
<Build Include="dbo\Functions\fds__getCompanyEmail.sql" />
|
||||
<Build Include="dbo\Functions\fds__getCompanyAddress.sql" />
|
||||
<Build Include="dbo\Functions\fds__getCompanyAddressJson.sql" />
|
||||
<Build Include="dbo\Functions\fds__fn_vatfrombalances.sql" />
|
||||
<Build Include="dbo\Functions\fds__fn_ReminderDocumentName.sql" />
|
||||
<Build Include="dbo\Functions\fds__fn_reminder_id.sql" />
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
-- =============================================
|
||||
-- Description: Returns the raw field values of a single manually entered
|
||||
-- banking transaction (TransactionTypeIdCode = 'MAN'), so the
|
||||
-- "manuelle Buchung ändern" dialog can be pre-filled.
|
||||
-- =============================================
|
||||
CREATE PROCEDURE [dbo].[fds__getBankingtransaction_manual]
|
||||
@taID varchar(10),
|
||||
@authuser varchar(100)
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON;
|
||||
IF [dbo].[fis_getModuleAuth]('fds_bam', @authuser) < 1
|
||||
THROW 60000, N'not authorized', 1;
|
||||
|
||||
SELECT
|
||||
[taID]
|
||||
, [ValueDate]
|
||||
, [Amount]
|
||||
, [NameOfPayer]
|
||||
, [SepaRemittanceInformation]
|
||||
FROM [dbo].[fds__bankingtransactions]
|
||||
WHERE [taID] = @taID
|
||||
AND [TransactionTypeIdCode] = 'MAN';
|
||||
END
|
||||
Reference in New Issue
Block a user