CREATE VIEW "SBODEMODE"."B1_GDPDocsView" ( "CardCode", "DocDate", "DocStatus", "InvntSttus", "ObjType", "isIns" ) AS ((((((((((((((((((SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ORDR" T0) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ODLN" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ORRR" T0  INNER  JOIN "SBODEMODE"."RRR1" T1  ON  T1."DocEntry" = T0."DocEntry"  AND  T1."BaseType" > 0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ORDN" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ODPI" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OINV" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ORIN" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OCSI" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OCSV" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OPOR" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OPDN" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OPRR" T0  INNER  JOIN "SBODEMODE"."PRR1" T1  ON  T1."DocEntry" = T0."DocEntry"  AND  T1."BaseType" > 0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ORPD" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ODPO" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OPCH" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."ORPC" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OCPI" T0)) UNION (SELECT T0."CardCode", T0."DocDate", T0."DocStatus", T0."InvntSttus", T0."ObjType", T0."isIns" FROM  "SBODEMODE"."OCPV" T0)) WITH READ ONLY