[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 (
        7, 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":"N\/A","part_no":"N\/A","working_qty":"10","rob":"5","req_qty":"5","unit":"ltr","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":"N\/A","part_no":"N\/A","working_qty":"20","rob":"5","req_qty":"5","unit":"","remark":"","cat_id":0,"sec_sub_cat_id":0}', N'{"req_no":"E-3-25","sub_cat_id":0,"item_id":0,"drawing_no":"N\/A","part_no":"N\/A","working_qty":"45","rob":"5","req_qty":"6","unit":"","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()
    )

[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 ','.
        )

)

[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 ','.
        )

)

[SCOPE_IDENTITY Failed] 
[SCOPE_IDENTITY Failed] 
[SCOPE_IDENTITY Failed] 
[SCOPE_IDENTITY Failed] 
[SCOPE_IDENTITY Failed] 
[Failed to retrieve req_id] 
[Failed to retrieve req_id] 
[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 'item_id_41'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'item_id_41'.
        )

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

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

)

[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 'item_id_41'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'item_id_41'.
        )

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

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

)

[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 'item_id_41'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'item_id_41'.
        )

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

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

)

[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 ','.
        )

)

[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 '='.
        )

)

[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 '='.
        )

)

[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 Fetch Failed] 
[Header Fetch Failed] 
[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 'item_id_41'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'item_id_41'.
        )

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

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

)

[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 'item_id_41'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'item_id_41'.
        )

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

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

)

[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 'item_id_41'.
            [message] => [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Invalid column name 'item_id_41'.
        )

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

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

)

