FNCUST_GET_JSON_INVOICE_DATA: docid nun bigint
This commit is contained in:
@@ -20,19 +20,13 @@ GO
|
||||
-- =================================================================
|
||||
-- Creation Date / Author: 26.02.2026 / MK
|
||||
-- Version Date / Editor: 26.02.2026 / MK
|
||||
-- Version Number: 3.2.0.0
|
||||
-- Version Number: 1.0.0.0
|
||||
-- =================================================================
|
||||
-- History:
|
||||
-- 26.02.2026 / MK - Initial version based on JSON invoice import
|
||||
-- 26.02.2026 / MK - Style harmonized to PRDEX convention
|
||||
-- 26.02.2026 / MK - Converted to export function (tables to JSON)
|
||||
-- 26.02.2026 / MK - JSON output: camelCase, INCLUDE_NULL_VALUES, CreateInvoice_Request template
|
||||
-- 26.02.2026 / MK - Converted to inline table-valued function (ITVF)
|
||||
-- 26.02.2026 / MK - Style, formatting, naming convention aligned with PRDEX_CHECK_SYSTEM
|
||||
-- 26.02.2026 / MK - Added SCHEMABINDING, ORDER BY in subqueries, simplified validation
|
||||
-- 26.02.2026 / MK - First Version
|
||||
|
||||
CREATE OR ALTER FUNCTION [dbo].[FNCUST_GET_JSON_INVOICE_DATA](
|
||||
@pDOCUMENT_ID INT = NULL
|
||||
@pDOCUMENT_ID BIGINT = NULL
|
||||
)
|
||||
RETURNS TABLE
|
||||
WITH SCHEMABINDING
|
||||
|
||||
Reference in New Issue
Block a user