
            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 := '70101000006764', documentprivilegetype_id := '765', documentprivilege_ser := '12', documentprivilege_num := '23', documentprivilege_begdate := '2021-12-02', documentprivilege_org := 'овд',
                pmUser_id := '364917400063'
            )
        
