CREATE VIEW "SBODEMODE"."B1_MarketingDocumentLinesView_AR" ( "ObjType", "DocEntry", "LineNum", "BaseType", "BaseEntry", "BaseLine", "LineStatus", "AcctCode", "CEECFlag", "TaxRelev", "TaxOnly", "ItemCode", "ShipFromCo", "ShipToCode", "Quantity", "UomCode", "Weight1", "Wght1Unit", "LineTotal", "WhsCode", "VisOrder" ) 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."ItemCode", T0."ShipFromCo", T0."ShipToCode", T0."Quantity", T0."UomCode", T0."Weight1", T0."Wght1Unit", T0."LineTotal", T0."WhsCode", T0."VisOrder" 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."ItemCode", T0."ShipFromCo", T0."ShipToCode", T0."Quantity", T0."UomCode", T0."Weight1", T0."Wght1Unit", T0."LineTotal", T0."WhsCode", T0."VisOrder" 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."ItemCode", T0."ShipFromCo", T0."ShipToCode", T0."Quantity", T0."UomCode", T0."Weight1", T0."Wght1Unit", T0."LineTotal", T0."WhsCode", T0."VisOrder" 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."ItemCode", T0."ShipFromCo", T0."ShipToCode", T0."Quantity", T0."UomCode", T0."Weight1", T0."Wght1Unit", T0."LineTotal", T0."WhsCode", T0."VisOrder" 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."ItemCode", T0."ShipFromCo", T0."ShipToCode", T0."Quantity", T0."UomCode", T0."Weight1", T0."Wght1Unit", T0."LineTotal", T0."WhsCode", T0."VisOrder" FROM  "SBODEMODE"."WTR1" 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."ItemCode", T0."ShipFromCo", T0."ShipToCode", T0."Quantity", T0."UomCode", T0."Weight1", T0."Wght1Unit", T0."LineTotal", T0."WhsCode", T0."VisOrder" FROM  "SBODEMODE"."RPD1" T0)) WITH READ ONLY