
            select
                DocumentPrivilege_id as "DocumentPrivilege_id",
                Error_Code as "Error_Code",
                Error_Message as "Error_Msg"
            from dbo.p_DocumentPrivilege_ins
            (
                documentprivilege_id := null, personprivilege_id := '70101000006763', documentprivilegetype_id := '765', documentprivilege_ser := '5745', documentprivilege_num := '123', documentprivilege_begdate := '1994-01-01', documentprivilege_org := 'ОВД',
                pmUser_id := '364917400063'
            )
        
