Initial
This commit is contained in:
34
DMS/SQL-Server/Sichten/[VWCUST_RPT_EB_POS_KONTIERUNG].sql
Normal file
34
DMS/SQL-Server/Sichten/[VWCUST_RPT_EB_POS_KONTIERUNG].sql
Normal file
@@ -0,0 +1,34 @@
|
||||
USE [DD_ECM]
|
||||
GO
|
||||
|
||||
/****** Object: View [dbo].[VWCUST_RPT_EB_POS_KONTIERUNG] Script Date: 21.03.2024 17:03:40 ******/
|
||||
SET ANSI_NULLS ON
|
||||
GO
|
||||
|
||||
SET QUOTED_IDENTIFIER ON
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE VIEW [dbo].[VWCUST_RPT_EB_POS_KONTIERUNG] as
|
||||
SELECT
|
||||
dwDocID as DocID,
|
||||
dwRow,
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 1) as 'AuftragNr',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 2) as 'Kostenstelle',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 3) as 'Sachkonto',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 4) as 'Lagermaterial',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 5) as 'Nettobetrag',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 6) as 'Steuerschlüssel',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 7) as 'Bruttobetrag',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 8) as 'Geschäftsbereich',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 9) as 'S/H',
|
||||
(SELECT Data FROM FNDD_SPLIT_STRING(szValue ,'~') where SequentialOrder = 10) as 'Option'
|
||||
FROM
|
||||
windream60.dbo.Vector
|
||||
where
|
||||
dwAttrID = 10041
|
||||
|
||||
GO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user