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
|
-- Creation Date / Author: 26.02.2026 / MK
|
||||||
-- Version Date / Editor: 26.02.2026 / MK
|
-- Version Date / Editor: 26.02.2026 / MK
|
||||||
-- Version Number: 3.2.0.0
|
-- Version Number: 1.0.0.0
|
||||||
-- =================================================================
|
-- =================================================================
|
||||||
-- History:
|
-- History:
|
||||||
-- 26.02.2026 / MK - Initial version based on JSON invoice import
|
-- 26.02.2026 / MK - First Version
|
||||||
-- 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
|
|
||||||
|
|
||||||
CREATE OR ALTER FUNCTION [dbo].[FNCUST_GET_JSON_INVOICE_DATA](
|
CREATE OR ALTER FUNCTION [dbo].[FNCUST_GET_JSON_INVOICE_DATA](
|
||||||
@pDOCUMENT_ID INT = NULL
|
@pDOCUMENT_ID BIGINT = NULL
|
||||||
)
|
)
|
||||||
RETURNS TABLE
|
RETURNS TABLE
|
||||||
WITH SCHEMABINDING
|
WITH SCHEMABINDING
|
||||||
|
|||||||
Reference in New Issue
Block a user