[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, sub_cat_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        4, 0, 1, 3, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90201-0196","part_no":"011","working_qty":"100","rob":"20","req_qty":"80","unit":"PW","remark":"test","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90201-0196","part_no":"072","working_qty":"80","rob":"20","req_qty":"45","unit":"SW","remark":"test1","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90201-0196","part_no":"180","working_qty":"60","rob":"50","req_qty":"10","unit":"PW","remark":"test2","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Items Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
        )

)

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        5, 1, 3, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90201-0196","part_no":"011","working_qty":"100","rob":"20","req_qty":"80","unit":"PW","remark":"test","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90201-0196","part_no":"072","working_qty":"80","rob":"20","req_qty":"45","unit":"SW","remark":"test1","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90201-0196","part_no":"180","working_qty":"60","rob":"50","req_qty":"10","unit":"PW","remark":"test2","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        1, 1, 3, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-1-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90101-0147","part_no":"187","working_qty":"100","rob":"80","req_qty":"20","unit":"AW","remark":"test","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-1-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90101-0147","part_no":"055","working_qty":"50","rob":"10","req_qty":"40","unit":"MK","remark":"test","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-1-25","sub_cat_id":0,"item_id":0,"drawing_no":"P90101-0147","part_no":"092","working_qty":"30","rob":"20","req_qty":"10","unit":"AK","remark":"test","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        2, 1, 3, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-2-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"N\/A","working_qty":"100","rob":"50","req_qty":"50","unit":"kg","remark":"need","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-2-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"N\/A","working_qty":"12","rob":"10","req_qty":"2","unit":"ltr","remark":"","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-2-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"N\/A","working_qty":"10","rob":"20","req_qty":"20","unit":"g","remark":"","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        3, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        4, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        5, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        6, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        8, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-8-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"N\/A","working_qty":"100","rob":"50","req_qty":"10","unit":"kg","remark":"test","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
        )

    [1] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
        )

    [2] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_for'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_for'.
        )

    [3] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_eq_name_engine_type'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_eq_name_engine_type'.
        )

    [4] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_model_type'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_model_type'.
        )

    [5] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_name'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_name'.
        )

    [6] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_address'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_address'.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
        )

    [1] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
        )

    [2] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_for'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_for'.
        )

    [3] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_eq_name_engine_type'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_eq_name_engine_type'.
        )

    [4] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_model_type'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_model_type'.
        )

    [5] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_name'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_name'.
        )

    [6] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_address'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'req_maker_address'.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 22018
            [SQLSTATE] => 22018
            [1] => 245
            [code] => 245
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'SN1023' to data type int.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Conversion failed when converting the nvarchar value 'SN1023' to data type int.
        )

)

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        0, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"jygyjgjy","working_qty":"10","rob":"10","req_qty":"10","unit":"kg","remark":"test","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Insert Items SQL] 
    INSERT INTO item_requisition_header_all (
        req_id, irq_line_no, current_col_no, item_id_1, item_id_2, item_id_3, item_id_4, item_id_5, item_id_6, item_id_7, item_id_8, item_id_9, item_id_10, item_id_11, item_id_12, item_id_13, item_id_14, item_id_15, item_id_16, item_id_17, item_id_18, item_id_19, item_id_20, item_id_21, item_id_22, item_id_23, item_id_24, item_id_25, item_id_26, item_id_27, item_id_28, item_id_29, item_id_30, item_id_31, item_id_32, item_id_33, item_id_34, item_id_35, item_id_36, item_id_37, item_id_38, item_id_39, item_id_40, item_details_1, item_details_2, item_details_3, item_details_4, item_details_5, item_details_6, item_details_7, item_details_8, item_details_9, item_details_10, item_details_11, item_details_12, item_details_13, item_details_14, item_details_15, item_details_16, item_details_17, item_details_18, item_details_19, item_details_20, item_details_21, item_details_22, item_details_23, item_details_24, item_details_25, item_details_26, item_details_27, item_details_28, item_details_29, item_details_30, item_details_31, item_details_32, item_details_33, item_details_34, item_details_35, item_details_36, item_details_37, item_details_38, item_details_39, item_details_40, item_date_of_creation
    ) VALUES (
        1, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N'{"req_no":"E-1-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"jygyjgjy","working_qty":"10","rob":"5","req_qty":"5","unit":"kg","remark":"test","cat_id":0,"sec_sub_cat_id":0}', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, GETDATE()
    )

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Items Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Items Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42000
            [SQLSTATE] => 42000
            [1] => 102
            [code] => 102
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ','.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'cat_id'.
        )

    [1] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
        )

    [2] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
        )

    [3] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'third_sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'third_sub_cat_id'.
        )

)

[Header Insert Failed] Array
(
    [0] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'cat_id'.
        )

    [1] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sub_cat_id'.
        )

    [2] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'sec_sub_cat_id'.
        )

    [3] => Array
        (
            [0] => 42S22
            [SQLSTATE] => 42S22
            [1] => 207
            [code] => 207
            [2] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'third_sub_cat_id'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'third_sub_cat_id'.
        )

)

