CREATE VIEW "IMCYC"."B1_FolioNumbersView" ( "FolSeries", "FolNumFrom", "FolNumTo", "ObjType", "DocEntry", "DocNum", "DocDate", "DocSubType", "PTICode", "Letter", "CANCELED" ) AS (((((((((SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."OINV" T0) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."ORIN" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."ODLN" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."ORDN" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."OWTR" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."OPCH" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."ORPC" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."OPDN" T0)) UNION ALL (SELECT T0."FolSeries", T0."FolNumFrom", T0."FolNumTo", T0."ObjType", T0."DocEntry", T0."DocNum", T0."DocDate", T0."DocSubType", T0."PTICode", T0."Letter", T0."CANCELED" FROM  "IMCYC"."ORPD" T0)) WITH READ ONLY