CREATE VIEW "SBODEMODE"."B1_MarketingDocumentLinesView" ( "ObjType", "DocEntry", "LineNum", "BaseType", "BaseEntry", "BaseLine", "LineStatus", "AcctCode", "CEECFlag", "TaxRelev", "TaxOnly", "DistribSum" ) AS (((((((((((((((SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."INV1" T0) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."RIN1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."DLN1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."RDN1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."PCH1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."RPC1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."PDN1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."RPD1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."DPI1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."DPO1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."CSI1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."CPI1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."CSV1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."CPV1" T0)) UNION ALL (SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly", T0."DistribSum" FROM  "SBODEMODE"."RDR1" T0)) WITH READ ONLY