
            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 := '48510',
                BedFondState_id := 3,
                BedState_begDate := '2022-03-09 08:26:30',
                pmUser_id := '346511841749'
                ,EvnSection_id := '500801008848393'
                ,BedState_endDate := '2022-03-19'
                
             );
        
