
            select
                BedState_id as "BedState_id",
                Error_Code as "Error_Code",
                Error_Message as "Error_Msg"
            from p_BedState_ins(
                BedState_id := NULL,
                Bed_id := '43336',
                BedFondState_id := 3,
                BedState_begDate := '2022-03-09 08:03:00',
                pmUser_id := '347913240018'
                ,EvnSection_id := '500801008657939'
                ,BedState_endDate := '2022-03-11 23:59:00'
                
             );
        
