var
lDept: Business.Model.Org.Torgunit;
begin
lDept :=Business.Model.Org.OrgSys.OrgSystem.FindUnit('BM1','','');
if lDept = nil then
Dialogs.ShowMessage('没有ID为BM1的部门')
else
begin
Dialogs.ShowMessage(lDept.DisplayName)
Dialogs.ShowMessage(lDept.BizURL.URL);
end;
end;