CREATE VIEW "IMCYC"."B1_MarketingDocumentLinesView" ( "ObjType", "DocEntry", "LineNum", "BaseType", "BaseEntry", "BaseLine", "LineStatus", "AcctCode", "CEECFlag", "TaxRelev", "TaxOnly" ) AS (((((((((((((((SELECT T0."ObjType", T0."DocEntry", T0."LineNum", T0."BaseType", T0."BaseEntry", T0."BaseLine", T0."LineStatus", T0."AcctCode", T0."CEECFlag", T0."TaxRelev", T0."TaxOnly" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."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" FROM  "IMCYC"."RDR1" T0)) WITH READ ONLY