[Vtigercrm-developers] [FEATURE REQUEST] Support Multiple SalesOffices
Jens Hamisch
jens at Strawberry.COM
Wed Nov 15 03:40:42 PST 2006
Hi Dennis,
hi *,
it took a while to check everything out and finally to upload
my changes to the SVN, but now I finally managed to do it.
The feature branch 5.1_jens now contains a copy of 5.0.2 plus
the following changes:
FCR 2035 - Multi Organization and Organization Units support
Postgres 8.1 support (5.0.2 does not contain all required
patches)
FormLetter support (Campaign reports may utilize the contacts
as secondry table to generate a list of addresses to be
used as form letter database in openoffice/staroffice/etc)
Some bugfixes regarding vtiger 5.0.2
Account-Contacts filter on SalesOrder-, PurchaseOrder-, Quote-
and Invoice-Popups): If an account is specified, the popup
shows only tho contacts related to that account. May be over-
ridden in the popup).
This version is based on vtiger 5.0.2.
It is almost a snapshot of my working vtiger copy.
It runs stable in the following environment:
Solaris 10 (Sparc 64 bit)
Apache 2.2.2
PHP 5.1.4
Postgres 8.1.2 (with perl 5.8.7 backend)
It is currently available on SVN only
svn checkout http://vtiger.fosslabs.com/svn/vtiger/vtigercrm/branches/5.1_jens
The branch also consists of a SQL-Script to migrate an existing database
from 5.0.2 to 5.1_jens: schema/502To51Jens.sql
This script offers the opportunity to use 5.1_jens on an existing database.
However, I strongly advise to produce and save a backup before doing so.
You may also start on an empty database using the usual installation
prodcedure.
If you start from scratch and populate the database with your entities
(e.g. using a SQL dump from your productive database), you'll have to
adjust the organization assignment before using the database as follows:
INSERT INTO vtiger_entity2org
SELECT 'vtiger', crmid, '1' FROM vtiger_crmentity;
Replace 'vtiger' by your organizationname in this case.
I'd appreciate any comments on my addons.
Kind regards,
Jens
On Fri, Aug 25, 2006 at 11:20:17PM +0200, Jens Hamisch wrote:
> Hi Dennis,
> hi *,
>
> I've opened a feature change request in trac on this: #2035.
> Attached please find a proposal describing the required database
> and GUI changes.
>
> I'm on vacation for the next 2 weeks, so IMHO I could start
> working on this enhancement based on the GA aftar my return.
>
>
> Kind regards
> Jens
>
>
>
> On Fri, Aug 18, 2006 at 09:14:39AM +0200, Jens Hamisch wrote:
> >
> > Hi Dennis,
> > hi *,
> >
> >
> > I'd like to post a proposal for an implementation of this feature.
> > In advance there's one item unclear to me:
> >
> > What is the "official" procedure to add items to the
> > vtiger_tab and vtiger_field tables?
> >
> > As I'd suggest the introduction of new tables, there should be a
> > new table identifier on those. I'd like to ensure not to get into
> > conflict with other addons and the ongoing process from RC to GA.
> > So how do I "reserve" unique table ids? And is there a space for
> > private tables (if someone adds private stuff)?
> >
> >
> > Jens
> > On Thu, Aug 17, 2006 at 04:56:59PM +0200, Jens Hamisch wrote:
> > > Hi,
> > >
> > > > I also agree that there may be a default sales office for
> > > > sub-organizations, but I don't thing that sub-organizations is a
> > > > prerequisite for having multiple sales offices.
> > >
> > > yes ...
> > >
> > > The problem I have, that I need support for more than one entire
> > > organization. So my point of introducing organizational units was
> > > to split this off the organization table. The wording doesn't matter
> > > at a first glance. A 'sales office' or 'location' would just be
> > > some abstract part of an organization.
> > >
> > > > Jens, are you going to work on this?
> > >
> > > Yeah.
> > >
> > > > I'm going to be offline for a week (military exercise) so I won't be
> > > > able to work on it for a little bit.
> > >
> > > Have fun!
> > > I hope to able to present something to you ehen you'll be online again.
> > >
> > > -- Jens
> > >
> > > --------------------------------------------------------------------------------
> > > /
> > > +##+|##+ STRAWBERRY Jens Hamisch
> > > +v#+v v##+ EDV-Systeme GmbH Managing director
> > > / v v\v
> > > | . . . | Waldeckstr. 9a Car (Voice): (+49 172) 81 04 162
> > > | . | D-82515 Wolfratshausen Voice: (+49 8171) 41805-0
> > > | . | Fax: (+49 8171) 41805-59
> > > \ . / Tel.: (+49 8171) 41805-0 Email: jens at Strawberry.COM
> > > \____/ Strawberry at Strawberry.COM
> > >
> > > _______________________________________________
> > > Get started with creating presentations online - http://zohoshow.com?vt
> >
> > --
> >
> > --------------------------------------------------------------------------------
> > /
> > +##+|##+ STRAWBERRY Jens Hamisch
> > +v#+v v##+ EDV-Systeme GmbH Managing director
> > / v v\v
> > | . . . | Waldeckstr. 9a Car (Voice): (+49 172) 81 04 162
> > | . | D-82515 Wolfratshausen Voice: (+49 8171) 41805-0
> > | . | Fax: (+49 8171) 41805-59
> > \ . / Tel.: (+49 8171) 41805-0 Email: jens at Strawberry.COM
> > \____/ Strawberry at Strawberry.COM
> >
> > _______________________________________________
> > Get started with creating presentations online - http://zohoshow.com?vt
>
> --
>
> --------------------------------------------------------------------------------
> /
> +##+|##+ STRAWBERRY Jens Hamisch
> +v#+v v##+ EDV-Systeme GmbH Managing director
> / v v\v
> | . . . | Waldeckstr. 9a Car (Voice): (+49 172) 81 04 162
> | . | D-82515 Wolfratshausen Voice: (+49 8171) 41805-0
> | . | Fax: (+49 8171) 41805-59
> \ . / Tel.: (+49 8171) 41805-0 Email: jens at Strawberry.COM
> \____/ Strawberry at Strawberry.COM
>
> %PDF-1.4
> %äöÜß
> 1 0 obj
> << /Length 2 0 R
> /Filter /FlateDecode
> >>
> stream
> xÝYÝ\'¾_ißë\Lù#Ev³^§]©/ЦU5S©¹éë×g&ÉV©ªVùümáHñ÷ýÝ_B
> yÒ"ZuÂmþúUüüFüY~¿O¿Ýß=¾Üßya%`^~ß½WB)ñòQ¼JêïÅË÷wJ
~|+´ÒI_¦7à)?<¥OÍÄ<Of¶<Nf
òÌv
> U|$¾*é|ù*µgXÅÉ¢¨'¦ùÂBSbòkÒa¥ªë/+mOîê²u±´ðØ
øx¸(
¡
ÈÖòÙýÄBñÌ0ïW\¼g
1J
ÚhªT²iH¤gZgúëú5yÒ,1doñàÅ"âdPÈ® ²eR5+*1W~⬪Ä3C×XYÛ\SÃGµlWft²$}kçéÊÒL¹Æ§ËMç${Ü
Õ9®¬6P
Ç
ÅWKàÚZ{ß6ÝÞF
¾
£¨pCE
Ky
t¿ßß}|C~ü¡äC`1FùS§QFAÒ Ûør56ÈLúFü
> Ë_Am`D¿±íÛv|Æu|P´Õû_ÂËF0´ýKl\®8FÕo zV;kôë$Þ(¬m_ÉqC*¨ÒåÛ©)
XJë«)½Û@£=$××ÀêÿÄá5yÎMw´pWv
/|ÆJyø[ļÚ$óÕWÉO¥#%äùx¬):²eU±ïÉ°TýßH0ªZxxàJKOuÇìCmJ" àØ¢¦³H ý¸`X}11Ã.Eðg¥XÏ÷w ª
ÚÉÎjå¦áY"!èTkh?. FVNxV:ugeö§ov*]'ÆL)JR´ÈÌPÂYÍd
©ôpX¹lÿªsѲoB=PfîRV4&üd
[JHÒ×K@§XæuÕ)ÜÄ£y§ËÊK?S¾Ú±9Ö¬
Ûj
\ÀF`s
846&
üÖS²¸ßÖ ×2úRuÌÅBa/#í¾ÉF11b£â°{éïк!2<»sÒ²òÜn±²íȼÑiP
ûþd®÷
z6=0)ÕÄz§xdW¢[.Il©Üb®iuËÞ·¸ÁûOìæê#<¸ºMì|
Nçþr¹?\ôÂ9HɳÈÝTêõ¸å±·®½d3¾]½U
»-¦ï?+í2I¾<ÍÖ.uª5å-j×çݲÃZ´I@Ô|~M×Z$Î"í&S£a=q, Zc¡R0ã\jëe¬ª¢_]ê¾iaÒì-¤½|øCQã>ÛwRÚ ±ÖÆÜJ¸/ªBB}Ï©phOeääàÐÞ<3úRõÌÅÒ^Î*FnÀ Î`¤¾I4ÑXäº×)UÛ5Üun>¦1ÅcY
bîãñ,ÎD>µ åìÖý¸`=B/Uøo®§1/d<}â5µÉ¯T3w^óº
¼n2c²-Îþ±x®;ä
|0y=
oÉì¦zt±wC¾
ÖðÚ_>£kxêMclÆy£Ë
Y&3_òó:·áæi°±¥¨9üÎI(jÒ1ïîÇâo
Moe·®øtõ2veØGÿ{l-éDuݪã×r«öéúHS
LJ»hòsF¦Ì&S+ÀýPF5CK£:ã;ÐÕË8nT-4ªêÛ6ªWP®ñzêX¥ûâµ9mh8µÆsÍ
VJ}å´5¢«Pów¼=%½Ù7{J«TùÊàðö©.=^%JÖ'à²þÔI[¾¥(>wIRp
> r¬W:J[é±5
<v&ºÞP
3YÐÆ»:î´ÖÈôE&Ölé+QÃÛÄ´õ©TFK9f6kê»LÖsªÛ*Õ ³wÊÜëØl±écTáøÔ/1«Do»åfr1·¯W¥B´Kªê?¤õ×no¤¥
1ùÞ;Ì9[ZFv»^à©Ö2*Ò9Ôe°âUæ-¥*Õ2QV¢í¸gÔäJö&ä¥ÊçlbØ}°öû¬.ø_}{>øúẫáü8¨óT×µ¦î¯Ôíâxæû
endstream
> endobj
>
> 2 0 obj
> 1713
> endobj
>
> 4 0 obj
> << /Length 5 0 R
> /Filter /FlateDecode
> /Length1 9796
> >>
> stream
> xÝz{|TÕ¹èZ{í½ç={Ï{&dö0&<0I0 ÈC#@F'OðÈpâ" ¨9
j-z©Ôòôp `åzôh=ÓãUÚª½Xs¤ÚÖ:ó=CDkÏýÝû»¿óÇÝ;ß^ßzë{/®î¤E;AÁºÍ5mOï
>ú)BØX·µKJûѼ_¸ÔضaóÏ
ú³!r!ξaSOãëAË&/!d¾ÔÔPSo~õU2vÀs AÑXõSP¿is×ý;?T
ú;Pß³©µ®¦ÂP=¡Ì&¨/Ý\s©å
º´¥fsÃêÝÂ!¨¿ûí¶ÖήfÔ§ö·u4´åß½êm1oB>Z at yZgËñ
> ¥JÑêôh0Ì«ÍîHs¦gdº$÷ôÿ÷ÃÝOùÉu#ó7õ±dûÄÇ_~éþÿe
> þÛ×.JÁ¿2î
Àih óÿhðÞ|öÃ[
oÞhÓÂ<¢Ìçd1z@¡çItÖ¿:6t÷`zÞ=t<fÐS¨ u1GÐZ¢jæmÔ^FÏ£§ss
> fûóór}³rfzgL65;ë6Ï·äÊÌHw¦9ì6«Ål2DA¯ÓjÔ*¥çXÂ`4Çì*9^§Ûí®ÊIÕÓ¾Z,ñSw¿2ÈùµIé_«g|9Y¿3̱2Ï¢Åtác¨ìÃ2Å°9è.Ø´vJM*oñ6Ç
êÃa±Ø#J±²ë¾)òÚÇ4êEE
êèZ¨0Ûv-Ä2ÂÎ;Æ ¥.gfÌè1Y¥ZbÁ¡0 Å°ô¾ì95q~Ï]¦ÝÄLIÇøE1
¼¯Ô
ÖÄÐtlæùÁ=§DTöjë=õ5ÕÀ¹ ñ"Y¥Mk(K)¤Ë'´H¥MÒ ²£´)_ÏbõíЬZT9à>ï¡,¼±%0bɶ÷d°ÔÞ,Ñêàà{êîÊ[{Ýô[UUeK=° ,VÚRG±ûrf&Ïb@}¸
îÙRCé,mdZ÷È4ÈCK@05ÿ»Q¥õÒúúäêbÁ5rÖ¬«¬[\jJ
Vî /®r'½|Uå"J§f±3)öÉpªJovJ;`T'ÅЪJK?
sÑ`Ý\YyÜUf9+Æe
ið÷(Ãñ¿ÚRjá³Äß#yÊÂe
©l0<XsjbGG=Ç/l+
îå0ëÔÄ!g¬lOUL7áyÀ{ªe«*nCÕÍjùÍ*ÅÒÈÇ.Àß
©¸ÖTº%`ÔÚÊ*'ð©âkOT@qçSl£<j;ÉE)Ôí¦Ú9t*j¡Ûqwe².¡ZçqôyA
aÚsþfe-íÙq³grzØ»¼(TKL=ù'VSiÓ¼¶þÝ
ÉþiQ%q2UIq©½`éE1ðiÞAÂëèqçEUh@¥·Ú³üîuRéà¤$['EÝZ Ð(Ûà6dÁCËç;8ôgZ"@ &¦ãzzdjÔÃ
> '"*Ó«÷û}¨¸x</×ä7õØ3ÅýùqÁï=`å¯X_Àuþ·N·ògf´
AZ3ñ)&!v:Q}P#f
> BZ,
ÌWã1Á-µcd«a1ìH«-kI±FÍfþ¥K êϦÅßù¾ñ*ñÐ7ø#>»×½Ømµúó÷LÉÎ.môç-YîìlÏÇ{ßë{qlÍ3c/µÿǹ?Gðk®ÚÚ~içmÇçæ~û=o`Åz»bóÖ4KË¢p#
táQAÐòÄJ² !¢QPª~å3û
§M@]øÅ8*.*.ÅJ È2ÇoµZ
Ãl A%lûÿ±òDECߺ3d¬{ êoÅ?e´{{úâg`àÚuæ"ìéAWbzZÚEʬѨÜNÀq6°w¶8Ý=ÏÝeârJ<5ñYPÔà ¬JOÓ°";ê6è9`
> ê
ÉdE
ä®!:ÁMA»
zFø¸Ý0DEg~/óõL¶8Ó×
ÕÁ2?йôx:×;î÷û|í!Я×Ûn°zQ±\)
7Ú
> y½úY^}D¼( ¢ø=Jøb³P±XÌV
ËTbkV~7P¸ª 2¶ù
~zCÁíóÝþᱡU;J.ÍY4wê´üÚ¡U-»V¼X%ÍõàöaÓ~ÈÝæÖjP~0Û'¨{ÕZÀJÂ(ô2't*¾WñC,¤D¼J©HVäâðÜlçåË_|rù21.1áøS\wü èr`â:YRq#/Ú/O[¶1m{ÚPgry\ÌL¡HX!T,Ç#Ý3ÖbÞff®±Ù®ÓLáxÌSèL¶ÑtѬ)Ò9.ç]ø=Ì`,:
S£w÷½âwDVôQ¾ü¾)ÆßÇß¿oó(ÕTëðÙeÕB!l0ßÔü©Àâ@ `6(]åu&C
> rÛÏ\ÜeOï¶tEÃ;"×
ÙÛòÊȺÌ\ݶ
VÞ1ï
fz¢Ç×:-£z]oøÝÓÊóÝÿJäNÇêÕ 6ø²Ï-\
> \ï®'GP&Ú,ÃbqèÉR¨_©W8Q¯2"VQÂK²E,ZÁÑobÀ~12ý¢ø¼F§î4Ñv
@@qïx!ýÃ Á¡
6qQQ^.S&-§¦ä§Öe£vÓÀHçÉU
÷-8qb¨ÿhø±ïìúþ{+Û'ãõz¢gvI¼õ={èÒ?ÆÁ¸;·\»A}VpNÐ
tÇÍ÷ºà`Q+^JE(HÂUáºÀ!!(0BRã)e²îòSºü& Gïå93ÁÜ'8çÂÁÛ½3nOD¾h¢Zz'ètȧ,Él
j zCmθ]Pgèt*Ë1 #*q
è½d/5®5¶ð=ün3Fù³6ñ³ñ¸CÐÕP × [c^nB²´N?øwGÿ51ñùO´¯
ܺýÀóÃÍo¿èÇèíÃjgÖ*¿¿kï³~ìÉüÁL£eâY+ÍVTê~Õé76'-Jv{¡b1/GJ&¶Ü"Èçª[r¢îî¢à 0ªÃCÕO?¿Á6l_¸4¾Æ¦àÏ9¸rÐp°±4£Ôµ6c«.½NêLï½Ê6#£4«²³z²HÖ°Éd23I
·Ñ»ÕK¼Ã:S
Ûd<^UÏOÕmêGÕ1õëjNíìCªÑ´H+¨%µ5¿¯}\¶9àb>.¡âñìBB_µ12ÍͬHÊü¶Ùìì¬ÙÜc*¸¥RûÙñ£¿}áG_?Hü¸j%Ó ×<^¿Ã°{óÆÁ-Í$qð_={v[ÛÏ¿ÿË_~«sé#ë·v¿çíñ·Ìám55ÛÚ¨4ØkÌîMàPvÐÄ~3¯a"!û|?òp³¼p¶6öï{¶q!À¿¤I=¨#àÞG Î%PmUNú@|àòeêõ`ÇzÄÇ0C+¾é¸à1üBX300&v,ÃbR
ë¨û"˹rå|! 'ä3RôÓ0ÀE.á(OÅîzòP|à8âßݶ/g·y¨r
{
²£¥ÁÙsq8ÏZÊ-Sp^%ΰÓ0oÒ
#Ö 6ò(×Éu¿§ b¤U
U²ü:èÀÀ'©òá²Çx¦@Va´Aa1Ó `6Ã(Ïÿùϯ|xUÝ9°³«kW7ØøIâG¼à
øs>ýcâCöéï°VOÎ
&w9×p+Ø1Ü£Ã:SÁÌ(À«,\)·[ko·rʪtÌ1=¢«@I/¤8jIÌP?P>¿8NÍ'D9JndsÂÏ+ªjÇUIJÉ
> Çt{z³°uË3¿ü,öòï"¿yB¹{c8Ò¿yîz®GÿÄÏ~tøè
l¹z¯Äøß¼cÖ5D¦$ÏÅÏçvçmh~pºxl^sÚR*,³T*U#iV)-+ðúC8Ù'íàªÇÅDh<é|L Dä¿Üd1#°¤Ù,ÅñÑÄÊÄëñ!¼âzâ
> sí#\x
ÛhL\w#
Áy hûÏ%~víáü÷ßÅ>ªý{Á5ä×ÐÌ mÁ:#p]5ÂÀó¤ëש2È *pÌGõ9-
²AÒÄk±zçÎ
máûî®ì;IÆÞßjzjÝ¡Î.°ð{ÍBy¨=l-s5º6múnã2Ì7±i·éflÕbFÒühö
ȪZ7Ï<Öjsd0Ó|2Ï%¸u·Mç8_T¥E6l³eì
Øu»Ñ¸ ±`zTB¹(ÊÑ°²³Ä²ÄÇCùãO:#È
> !âCv%ë0ZvJ~?¤XTÁeä¶x¬T7x
NY¶É l<åK}!wË誷ÏàígæÌXÕ·oÃÊçj¦\»øòo~]}×¢+¸bYSã+74õTwC¤ï?ĬÛ÷üÃuó-³
> s¥éÖ¬SKê£OþíγsæϹ԰7×- Ý·diø¿sÁÃKnÞMågö.Î*P Á \äx3X 3Âù,0<þCA
õc>ÿMÏ1>éÎÀm¸-^büã×_ü
ÿ*GÆâÆÃÌÐ
dÌØ
> dAÆfnÔjåÎäæËjµáúM 6eeÓ2¨âxͦòr
Ø¥2)H¤f1à+°'ñ?£µ¬Nb{ð¸üÜÁÄ%çßa
TEðõ`+&®³n²_¶£àm¨g´#H4ðÖalLk
uÞ%/9¨ê,XPÊdwEFÛÈvÄÂ7°5ñῼø;~=td`×óÇÉþÄo_}%ñ'¬¹ü¬;x¤çß=·3zRWÁEãjôíà?©0¨).T6)YV©R5Çó`Âô1ØÌÀíPÅó}
> dV(·/y³
> bCx
æ
Tç$
B,KsÄáÙ!ÚÊvSN³ìr!\*¢Æì!nâ'ÍTîeÚ_=!ö*üâ¹ÈçQ| QËãÏ<P½ôäÃSþIeb
¸Ýβ:`%FaT%"¤Ñö3höCy§y|2óñË& ¼ì
Áî
8mØÏüúdbûO7ñãêMkïyè»e3îÝFã
fþí
> æ§ÆmÌïñÇ^9K]ê
/ÇÊ)AÄJÄDD®B´á BÈèxú!Ó£AæF^&BDÖ ZéÜc.¢÷Áe°(eá¾k±gê,<ÞOm{¤½OmÏlß<ç¸3?&ÿNüÝÄY½0ôîÿú¤íØs
> ¨ÒAt\Ìnູ~0zÛ(L1ªËÌUfÆ
Á7^Ð1B¿î´CÎÌâíIý*NP273Êz=Õd"='¶î:únâïV½<ïD¨¶çG:!gÿ¢"ñÇ×ÞMü);éNèÓì>'uÀIr¦'U±È©¢'¿<©É3'
ÌVã©~õG
> =ÞÝöà9Å6Wö®©ßJx/a^2ú.ÃYÃYý/ìy÷ã_þsÓ?%oÁ¤ vp£Þ¦ÕB at ujâãàR@²ÍëÈ0~Ï`2&dÂVaw:3íFµZÉ#>@êå,acI³¤ ½j¸ç²AeOzĸô%¯Y¶BùæJÁ~õËK+è°×¿áÂÊÊþujA{øÆØ#=<úØã/Ô~»zÃýâÅ×?ýÖ½fYõ=Ïmyæj5¼~Iñ¢ucz£7ñjó]4¥Úu/ѪsUaFÑ4¢C8¬3 £ÞôAµ& ×+ýÆ6ÅQÅ?³4+ÌÈxÞÈåtËåôß+ôªHÝYqQ¼H¦[©·ø-
Ñ¿ßYxçÌiW<xb'¼ûsãq±ã±ÀÁ¸¹q0ùûKùÐ ýÁjð×JR¡bÁ]hÔ¤&
ÇBÂC0¯Tª458Ìó^{QÅU*H<¤Ú*a#°£ )ü
, 5ø"(|6êÛCrK
ðU§¢P)bòÒä÷òì_°Gþócæk~<z-ñ^âp4ùî¤cù
¼,q¿_N\JFîKþ=8Ø·¢'2[5[»%
kd%TµZD´ÍEY8¤vUj8W)<
gÇ0Ò¨
> 1h´jå
> V¥hºÀ"\Ãø*¾!Ò!¶
³WÙë,X̲O P£2Áî9À¶C
Ðþò7és©×ý:s¾ZÐkrúÂ$_ü&ßÄ&.&Z
> $nÌO4^üíG×ÈØL_¼
¿ÁÌ¿AùP
§»·ÃÉX#HfAô#`$̱¼YË1ÄÏ ¬1¢×rp?
> Õáã7À"¯z¹Ý Û¤$©M̯ƻ¯@nøäk$cïcö3oÆÿ$ë#Àî¡Àc÷ E¿GÎäoeÏßÿø³7X¢ÿv)ÿ+'BªÔïò
EkbÚ-¿EaôÕÇ£&f·Ð¸çFa
> !¾
öཨ_@ݤÝIûJbà¯(¨æGQ5ñ¢½0
> dcµ \f´ÖègFQÆö@év
k#KãõÓ'ÓcAóÑè_p¼ße¼Ì^¬&ï ÖÎÞÍ>Íé¹{¹a~!ßÊçÿ X¥Qü@qU9MY¥¼¢JSíRÕµò)=hÍl "ò¡Q@
ãìÐF{EôãI^ä»8ÂÐ
S8A.ôÓÎÂߤp¥¡?¤p
©±!
+Ðì¤;±*X´?Â1²37R8ôD ZHÒR8ì¤2
sh6iKá<èáÁ®N-nÞÐÜÕ¼¡^ª¯éªêZÛz:74uIk¤[Z»zÚ¤E
m
5]Í[¤¼Â¼
øÌnß´IGwJ
[êgIK¡uuÍÎCRs§T#uuÔÔ7l®éØ(µ6þõU¿ÕÔ\×$m®éj`±
Í]
@Uó©®¡£«ÊîæÎúæ::¾sÖä6ÒÊ5«6toªé\8GºµWJußÚVÑÐÑI·Í£W¶yôhsè(:håÿ¦ ŨmèØP=j ^X
jEm¨uÈ£èïµZe+¡o@ô·É- Ö8ýÖÈ+ÒÜÈ
> áÍC9)¬ÍÖÛÑ&x¥[Öîk
P6@¹U¦\#cWú[ ÿÀåñÊ.y¿z¿Ê´ÚZQãÿßÍpî&Àéj=PÖÊ3(eä]»dú¼jgÕÉ-gÉzêÏÕ cèj7×ïóüåi(}kÐ*yýnè¡gøKs¾É¹Ò×fÿµq2§ÍzrSk¯L6ÐÌI©Í\ëæJt
òKh¢þ?¿|ûw\ïøÞ)~ýäw«ïàðüÈ{¡üBÛ"ÇáómçßÙâ³w%è´xNºN2£õ®}Ãù®Þa<2ZäúÎèÑÑ%Ñ|W?ÀÑH¦ë{ë]¯û{ë½¾|WàÞ|W´7Ý%öÆzÏ÷ò^y¿5ã[ÖôVg·5Ëêè´¶YO)Qб©ÕjKßÔjsnjulÜbunÜÒÛÖb¦ÍfKzc³ÅÙØìhh2;úÛÓXô¹ûq}Ã{vôDúz"ùOT+]®}ì½GéØ
0P©tõDú Þ¨«QºjòCë®jÊ
> ¥ë
µJW =|*}ÅR`1ζ~6ߢʳð¹â³ Y9¯~Út!{ªþ¶,aG/¹
LÞ¡³;Òt«Mg4uhÐjuz-ý¯CÁL^¡ÔÓBÞ uÎWºyJ)TºÐ\¥«ÜcÆåhù C¹º$æ÷.¾å{ÇøòõÇ0~¸
> ZcÌC§àc:Å@a\´n}å)ì ÝýòOþ¢ðþ½ÎTYUåÍÕ/_]k˨åSäÑ*HÞÿë{Q²HI=ß4ßZÙé6%ÉÊ1=@ýªî®/GtÂëí§Þήnô¾Q
> endstream
> endobj
>
> 5 0 obj
> 6721
> endobj
>
> 6 0 obj
> << /Type /FontDescriptor
> /FontName /CAAAAA+GillSansMT
> /Flags 4
> /FontBBox [ -161 -229 1040 916 ]
> /ItalicAngle 0
> /Ascent 929
> /Descent -230
> /CapHeight 916
> /StemV 80
> /FontFile2 4 0 R
> >>
> endobj
>
> 7 0 obj
> << /Length 383
> /Filter /FlateDecode >>
> stream
> x]Ën0E÷Hüé¢)BJFÊ¢öLR¤Æ ,ò÷
{iUu:öÌx=Ñf¿Ý»¦WÑ«o«Bzul\íåÒ^}%ê §Æ
6ªnªþñ«ÎeÑ_Ü.½÷îتÕ*ÞKïoj¶®ÛÜañÅ×âwR³MÁ¥âÚu_r׫8ò\Õr
k>Ýsy!ý~_M»ÿ¼ß:Q½Um-®¬Äî$a°ã\v»<ÄÕÿwYcõYú1ZÑq®ó Â# Ø0±À`£Â°$,k«=X`H[³<r¥w; hGÓ'ÉôIQ@ÓÇ}2 Å
húØ0ù°}Rt 'M>}4}2
:ùà4}æ¸M]úX0ô±hÔÐÇ.ù¸?8¾3Fówª«÷Ãa18ãÈ4N~§¼k;äMoP¾ endstream
> endobj
>
> 8 0 obj
> << /Type /Font
> /Subtype /TrueType
> /BaseFont /CAAAAA+GillSansMT
> /FirstChar 0
> /LastChar 34
> /Widths [ 1000 250 479 500 384 277 729 426
> 770 219 437 500 500 280 500 500
> 500 500 823 395 426 416 333 551
> 666 509 219 323 500 323 458 250
> 500 719 437 ]
> /FontDescriptor 6 0 R
> /ToUnicode 7 0 R
> >>
> endobj
>
> 9 0 obj
> << /Length 10 0 R
> /Filter /FlateDecode
> /Length1 9292
> >>
> stream
> xÝ:{|U÷~¯$ÍãûòN|i(CIÐj5¡/ÖR±EIÛ¦<ZúºK¦L£´È*Ë:ø
ÔtÑ@Ç3£"ã:+¾ã(²3B¿î¹_Buw~¿ùíîôÜ{îû¼î9ç:Û»¢H6"VEÚö}wûá_!
·wâüAÀßx¼©mùª¶\0!Dÿ!Ö¶|度9ew!¤L dØß
4
> g6+rÔÂ
ÍСh@û
hOm^ÕyÇîVM´C{ëÊÖÈÍ×ÖíD(#í¹«"w´ÑkèeÐÞmqudUtRØíý1ým
1Ôkok¶=³èìåªAú
ú0|ÉG(GÚÍ°B©JSk´:^Ð&³Åj³§;22§8EWúÿýa»R¥éÛFégý]Þ/Mÿ£@ÿë^°ÕËø5ÃÓÑè#4üyYè/Ì>~ö Üiý¼¾aø®ï´çÔÿ~'ÌÅV´íÇK©ã¸_
³Ñyô
ÜÍFï 8
EÐVlD§P?Pñ³
> fù}ùyÞ¹3<WN¿"gZöTwKtNÉÌp¤ÛmVÙd4è^§Õ¨ÓTJÇ24
Ñ°Õ
²+<ËUj§_ÞNÐÙ§®2\6ÉñµE_kg~=e²}Cî²r²ñ!TùNØ@äl\'¥U4¶¸+b {Yc8+ÊݨüÄ"EÞû:Ì]MË¥©UsÛáÊk±PW
¢R;#að$¨ì
> -à@w9ì#Æ/G'mýêe0cà ®,¡Ïc`$ÄC3õo
P}Ø£it7Fä"@ã!DgW4×9V7 6ôÍb¿£¢9¥»
V}k?t«Êjû\Ç
Ô ½'q
̸îγº¿ÂI³¿¿OL콩ö«£.RÖÕÕÙàþ
> 7lU´+6oî$O)4[È-BgEØ?iÝ*Ó OhÅDþÞ¬þþFwEc¤±4¹{Y"X#W¨fIÌ ®¼.Õ#<.¯s%
=¿º¶æ;jì §z £âÒ H(¸
6H
bU׺aêlRDg£þÙ²ñ¸ê0¬ªúrUÍÜbÿç(Ãî±.ï¤z¸lásDÐJwe¸¿¿Ò-Vöû#ÃëÝ¢àî?4~[ENª
UÃG
Êu !ܯ٨¬®
8\úºKͪKM&¥Ù)Àßõ©
> ¤jj]"êæÚ:È©à5'kbH`¸³AÇ)±EgO§,
º\Ä:¨
7Õ&Û"ªw<^è#LF]1ßLF6^\
vÃ)å0jN(§MþñÅXÑ|U[þáhr<a,«¥
T]£
4ÁÒ<pÓKVàWxúA /º'ÁÖ
sÔ
<ÑÞ"÷üÔýVìIr(r´Ap§¡B.½K
/6²àF¡F\M|Ì
/Ì¡õÁ0Ëq'6¤e4e¢ie
l6KYÌbÊ8Næ0®¼
A"ÇV±a¶
On¥{höüv7d(.Ö£@IP(ñ¯ õ±3=}ÝÏöÍ´*?O
ÝØ¥Âìññ;w/Åëñ¼íúb
Ûwñ-:Ðiøv1g _
ZëÐz´4§äÕ<O
x%P è¸Î;^â÷êý~¯ÆKã>/
> éýÞü<lvéM¿¯È̹³¦èÝد§]Òþ
åKW|/~ðX
ȦÏKë+o*:}õáxð*|D:
©Zd³}Hx47¯
> Z,Eª ÁPÄ«ªVõÒ´ÎÀó\©jãNÔåéh¤ÃA
ÖéôW{Û×ÆÎ
> gQ y<ùyÆY
~D)BzZ.+Ë˸X:ͼ%ãÈ'«èÑf±4¹PÍ@
èH0Ó`Ú£ðÁ
ìE¾ VWä¢ZmRcµZCTZ¾(gH¡sI«Z¹Cz+kùlN·¨ly£:
ñ£af¡&³`ÔdÊ,R"`£l¶©£B¦Ìd2½¡±bÂØ74æ÷Ê(¨;ccÀtbgÌãøC!¢7ááÌ&ãÎZ0«h(
> ýÖ,2ä÷AFÒM:kú¼JO{fãM»¤Ïþ:.¶?Ü1ôê¨ãú¦ÊÊÆHþm·¿»N¨Z¸úÛi·;]?Ü·ohÃÃåYuÍ9¦½[^L4ζÌ+»íÂÊüæküD»&>ffB®§GTÌ[ÌÖ©ØAHÐîâ
Ø`P ´ÑLÄj
T ÆÍ?k´Jµ½ÜQ«p~ü¬ ù¼Â0|dÁø»½¶ü<ÂÄÜPÁ,ä÷!
Ëla×4wc:páoÒ+Øvæ÷ت_¢z°ÿGÒx·í±'pöÑ
XýW±EzíüÆ~üÐ(Ü^0}@#2¼B¡3¨ax×Æu#p
N|ÄÊõ~ßg¥§QáMWwT¯.]¾M:M'¤O±k±ô·Ê ³ÔLì
> £0xGÁ¶-¨ èT)À-¶ÓFF·]Å Ò<uPýSêæVAÏ¡w¹VdõKDz¹D«pªÝ±J_H¶J×áßàµØóké7¤·±õ÷+OâÒ¯ð}8¾®NÝýç#Mì\¼<
ÙÑÊà4BqRfÒhÒÒô+8ÌqüdÜk¤F¤7v ºëäq4gíæ̤iTX¥r
ýcé bVqÙ0²vìP%}:âXâ.rÕ5æÁà1õ²º÷PmÏK´<U+mÊúñºFéA¼t¸vù ¶ëýÛê
©ÀWbº¤/Zx?(pÁ.4hsðFâWO%ýªi4§
> R Z¡P3i¬QÓæXR¦ME· Í׬d{tÝFßM?BBs4ìIK{L+÷Ùõp¯BäR@6p°`®ÄÿMK¢xY(]ô>½ÒR_Ô¼xéVûbnæáÇ/þ¨[ûkÀ¬¨<8Áô}¶ê6«Ôv+MÅ!ùç¬Vµ¾û=^fÄ&¼Ëп¼ò%¸tȹ
|Ïs
> R×Ú¥ÐÓ{¥9ob4öîó}ÿ²%Üý¾y7³]Ò»ÒEþâñç>/-i Ô'c@ýÄÇø®&
øqº[eäºWô7Z»~^,6ïúØÞëc67M-Û}·yéÍÑ°ÁåÁ|/=l7÷ª*JõM8¤1ÙJ`_ì×å΢À´¾B=!B½þ·Oÿtv
ã?Ô,ËÍ7ÞÈöIwIÃÒO¤»ð\
kðº«Ç¶÷?%½÷áÄ®wÈ8¨,Û4¤íPT`½ºnfØÖ£|Ìâ£S'÷i:NÙà4÷nªGñÒÒãOã¥oýñ±×ATë¤ç¤£Ò6¦ëâÀg'FÇÈIåÀmüD:r£¦dý)ñZãÁºè±K«UìC45¤0ê*M^Ï6#C¯²`Þ¢GNÁI9{ÓNÊB$ÈMý^pq%BÒóËq,x¸
9¨Î*Ì.ÕúE½Þä÷epIWÎvÞµ5ý¾=«w?¿vð©¼ïÉÏ6
¶Î¾¢æý.niXº~×Úûïÿ´¼FuiþÙYÓ¯ÖGa|¬à
*m´
ͱ¹{ÒM\;"_ø¤IaÌ&ÐeäX?ixo×?ý
> ãÿ8¾utO_²¸e]OóM Xn®ôÉ«g¤Ìe»Æ+¤yUlÝ2Vöt3ÑÉ `)±XA(,Sìö"ÅðÄ¿¼¨xIù¦âM%3Cí ZÊ*_T2¥BñÕb²Z-8h²Y%£Íà,M¶"A@c óacÚ0¤5ÒC</ÍÉ$Ó`M´ ØMÓìfûÑ)Ië!¼DZk±lIzÿ¯gÍ×MJÒëÐý,¡èhA©HÌ¥n(gª
}4s`û\<cÃÉí||ý=Òm§?¦»×|½1{íн¿©ªtäÝþ½[6í Õ¶âpÛ\¨7h°§§TªÀß©ªt;ÃÂZ#:(2¿W
> ü·óFz»È¤+í*F±F¯Ï´v# ¡4Ãn®;ó,Âèùìi½ó)³i'\êº
gë*çf
> &HÌÑOÁIþfâYSÁ0+¥~¸¬µ
>
éÎüEºxnë«ë^¨N<ÇY½É:¤?wf]1·½þÑ-?§ç.[¼iÆ
máGÿø¥j°Ã`fäÚo£ç
=!O@¥'à&ZÝå°¹Ákò¹Õ<ÍJ{èÃ·Ô ÷ý¡ýë×Æ÷îéY©ÆÖkÿع¡û^8¹!&_þÄN|LOSi^%ô4Q0®<bÄ|\1kA.2ÜùR@óËn|ó,âá^ìg6<²ëéô½Ñzé4Ø}âþ§?D9Fï
HàeánÐêÌ*JT(l¥4¯1e2yìPÇ5ƸæÉ7pflÌ 2FÀ<CgÇøJ%³Ä$%TX')$åRì:ôYä'§þuT:½´ú®féÕê®Õ$Y·õÔ©_>0¾ÞغwüAÊÛÐÒ;Þ
¾Vµ+ð;ÍFC·ëÖ ¯,¤Bc'áúo$jJ"8ÀøbFX»gqhmpîô4õzûåx|;²@K3Ì+,gbYÑõ
> F&Í!<³(Ì3
(³ì,º¦h{SO'ý×NÇu
> dÅ.vãàkO>¯n0Ð?ÿ+¥¼x-ØçĹ Äh&àý =î£1ww<?Oá2»4íÂ{»RphV
o¬ì Y3Ä
!$ððz饴{UGÍI'óetÖkôéb¼Uÿ:.~yæCéeÿöË/7uÐÏHß{aýï_ǯá9Ø¿oôÝz°_/) Âäh0â¼7¨Á»óJ¬+°.Îè¿´à10aOö\_·à{;~!Þk"6Ò·ûÉGÆ÷S§öï
a9ô')Pqp
> AIµP¬Ä<űX
> P`Ö!
QÌpJö$6c
äÐôn)½XßæÑqÇóÔÛÄÌÃÕTªyóÑ;(É°¤*É4
> @ÕK`Äê¹ õüTdó§PÛ +àM«£+±§âø§<N$n!9×È;RIb§&=/nßù¤(§º×Ýts[÷å·Âz`Á2lûÝ«ØP?¾°
?S´gÛ]ÿ¼×øÐA£Ç) N_þ©ÍQDêÇÓ4EÅ2$à{<ä¥ä²øÓdSòOèQÒÕAmw°
N(}ò3ÇU3q¯pã@Ì
žÂÐ&Ä¡
H¡`^hc at d³ Ó§8t¼©ºm(ÁÁCmóZ)(ÅkBr²«"W1oÅfén|ÍéÄÔm´Er`YKëAò^ Vo
Q_J3<XWð¬ PWâú#FòsÄyäáçAÄy³ùy²Ü§L$æzî>§ÖÀ[§ïÞí§îuRK.Vá¡É¤A\4¡`pi;e7Í1Qä_QÈÏKHÑkÐ4yT¢J¤(ÊZC¯19¬_
IC*(D²è¤Ë·ÏÅh¾nñª
÷>ñÂÑ1)3¥·rîï\V}ûA
id\Á꺤éL=Ü;buùÁÌT2Åk
:77sN©y/ËtáÜ×Ó)ùÒÉþòdêþµ»¥ßÞµäR5µ+{ºZêèDuTú๷¤çyò9ékïÛÜ7$ÿÀm
~u_ò9R'9pßUo^úÁ`â4]ááÈ<Uêw+y¢Uºâ«?P|íw·ºØãp×ÈNyÐf1*fZÐzõRðÌä<(̶ =
> Úý½0§
ê%\ÚÍP9s¥a>ó2ª®vâÚ$Ï3!xaNcÃø´ñ
êø\ßãÜßZ¡&¿.Q
@á{ñ
¾Ë¨ã´^Ao¡£'fæ ``Ïq¹ÜFîq
B®¨QlS<xYiW^ü¾òy ª¹t£"b(øyÑ û¨Ï¡EFôËIYLÊÃ+t$
Sp!ÂiN¥pîÁÛ)
ÃùÎ!
UW åØ «06ÛñwR8F6ê¯)BJZHá4MÛR8²èªÎ¢Yt{
> çÐú¡®--uÆî6ÎØÐÚ¶®=¶¼¹S¬i[W·v®keímíÎXëj1¿¸8?â+EyvØ
í¶ß
m)^ÞEÕ
ûÅX;Û#ÑUöbkÓ½ëÚæXC³¸*²N¬ÂfËc
Ñv *¶Zl¶wF néju4ÆÈüÇkJ[W6Nî+~uH$cßèX
mï §úfæÁü
pj~ÑÂY!Jf.¬É½låÿ.3¨
,v9@'À(v°ðemh
jg5C¯j B½ÆVtÂxÜSvÀIw$3DárSX ½sÐJø_Ù»CnE¡B}»L
y
ÌHÎ]û®ñÇäùÊNù¼F¿
> êv´úZQÓ?DëZX¾'»º^^A([.Ú)ÓUL^Õ ÷%Û-à
Úå¹ònöï~¾É
¡¯Â0ÿ´æ~««ÄÉuÆbÊI^}@M^jÿ
)^óÁïÌÔYáä®ö$;æNîR>
> AÖÙôm?=m'0:! Î<Ûè¼ñ(F#Â87 ÇǨ-CS/ÅMÎS½>ç+Ï
Óï=êÜÙ-W¿ãsÁ°s´×à
t9Z¾ð¹x£ódO£38êrGmöÂÑ^³7^èܾÃáÜÞîìî)töÄ-N±'¯gcÍÇñ»ãoÄÿ
sSî°d®µdÜnqtYÒ;-öKeX¶ÌkÆÊV«ce«}ÅjcÅêöôü·Ì¦ÉÑ3;böh³Ém¯I¿·ì×.
Û¶| а ÀwïR¥sWHé
Øøvm·(ßè«U:ã½ ÝÐ
ÐQ:ë|¡[Î¥µÎ["7+aßP, Oì2ú|
A"³Ðl.0fy¿Yã3«òÍ\öÑLó\þJîéü´
ÝÔl>Ë]ü§Î©µÙÓµfUk0´¼ ×h´:
ùÏ#B©¡V0¥q\tòW)t±Òf+U~0ÌGókJFõ¢Òß3Yðyæ'U·Ö
Âø{uÐ ¶cT`¶SPÊÜZ;íd8.ÿü{ÁÃxc|Û6Ç$VWçÉL4Î_ThˬKørOf
òüýö d¬ ú|ÛjüÕFÂFN*M6©Õ¥
ß²®££ÃÓÙvÿw{Ùd
> endstream
> endobj
>
> 10 0 obj
> 6200
> endobj
>
> 11 0 obj
> << /Type /FontDescriptor
> /FontName /BAAAAA+GillSansMT-Bold
> /Flags 4
> /FontBBox [ -176 -229 1165 929 ]
> /ItalicAngle 0
> /Ascent 929
> /Descent -230
> /CapHeight 929
> /StemV 80
> /FontFile2 9 0 R
> >>
> endobj
>
> 12 0 obj
> << /Length 383
> /Filter /FlateDecode >>
> stream
> x]Mo@ï$ü=ÚMEM<ô#¥ý£%)Yñà¿/¼/¦È³;3;ÏîxÙa{0u¯¼wÛ¹ôêTÊÊ¥½ÚRÔQεq
¨ª.û;âW6Eç:Þß.½4sjÕzí:JyCÀ¥·75ÛTíQ°øf+±µ9«ÙWs)¿vÝ4bzå»NªJNcÍ¢{-Q
Òçj¨ûÛ|HüòyëD\Ðìl+¹tE)¶0gqµï§j½ß§®#¦ú¿.u<ß
£õíûQ Ä+À"B@àEXñ
m¸³<BVËX`ØrÕvÌao{v GÐ>¥5}
ªé&Âä³L>hGÓ'Üèàv4}¢=>1>1ºÖôIX`òaiúÄPÐô3}Üu@Ð'\0½Ïǽ?âøÎÍÇWkÂcpÆ©<¦¼k;äM_,í¾ªendstream
> endobj
>
> 13 0 obj
> << /Type /Font
> /Subtype /TrueType
> /BaseFont /BAAAAA+GillSansMT-Bold
> /FirstChar 0
> /LastChar 34
> /Widths [ 1000 719 405 270 541 551 448 277
> 770 676 884 551 270 551 801 530
> 583 426 604 500 583 958 270 509
> 500 594 583 520 333 583 270 509
> 583 551 583 ]
> /FontDescriptor 11 0 R
> /ToUnicode 12 0 R
> >>
> endobj
>
> 14 0 obj
> << /F1 13 0 R
> /F2 8 0 R
> >>
> endobj
>
> 15 0 obj
> <<
> /Font 14 0 R
> /ProcSet [ /PDF ]
> >>
> endobj
>
> 16 0 obj
> << /Type /Page
> /Parent 3 0 R
> /Resources 15 0 R
> /MediaBox [ 0 0 842 595 ]
> /Contents 1 0 R
> >>
> endobj
>
> 3 0 obj
> << /Type /Pages
> /Resources 15 0 R
> /MediaBox [ 0 0 595 842 ]
> /Kids [ 16 0 R
> ]
> /Count 1
> >>
> endobj
>
> 17 0 obj
> << /Type /Catalog
> /Pages 3 0 R
> >>
> endobj
>
> 18 0 obj
> << /Author <FEFF004A0065006E0073002000480061006D0069007300630068>
> /Creator <FEFF0044007200610077>
> /Producer <FEFF0053007400610072004F0066006600690063006500200037>
> /CreationDate (D:20060817201019+02'00')
> >>
> endobj
>
> xref
> 0 19
> 0000000000 65535 f
> 0000000017 00000 n
> 0000001815 00000 n
> 0000017415 00000 n
> 0000001842 00000 n
> 0000008668 00000 n
> 0000008693 00000 n
> 0000008932 00000 n
> 0000009397 00000 n
> 0000009754 00000 n
> 0000016060 00000 n
> 0000016086 00000 n
> 0000016331 00000 n
> 0000016797 00000 n
> 0000017162 00000 n
> 0000017218 00000 n
> 0000017285 00000 n
> 0000017553 00000 n
> 0000017613 00000 n
> trailer
> << /Size 19
> /Root 17 0 R
> /Info 18 0 R
> >>
> startxref
> 17844
> %%EOF
> Database Tables
> ===============
>
> New tables
> ----------
> vtiger_orgunit
>
> Description:
> Defines a oranizational unit
>
> Columns
> orgunitid serial NOT NULL
> orgid integer NOT NULL DEFAULT 0
> type character varying(30)
> name character varying(60) NOT NULL
> address character varying(150)
> city character varying(100)
> state character varying(100)
> country character varying(100)
> code character varying(30)
> phone character varying(30)
> fax character varying(30)
> website character varying(100)
>
> Constraints:
> vtiger_orgunit_pkey
> PRIMARY KEY (orgunitid)
>
> fk_1_vtiger_orgunit
> FOREIGN KEY (orgid)
> REFERENCES vtiger_organizationdetails(orgid)
> ON DELETE CASCADE
>
> Indices:
> vtiger_orgunit_name_idx
> ON vtiger_orgunit
> USING btree (orgid, name)
>
> vtiger_orgunit_type_idx
> ON vtiger_orgunit
> USING btree (orgid, type)
>
>
> vtiger_orgunittype
>
> Description:
> Defines the values to be entered into vtiger_orgunit.type
>
> Columns:
> orgunittypeid serial NOT NULL
> orgunittype character varying(30)
> sortorderid integer DEFAULT 0 NOT NULL
> presence integer DEFAULT 1 NOT NULL
>
> Constraints:
> vtiger_orgunittype_pkey
> PRIMARY KEY (orgunittypeid)
>
> Indices:
> vtiger_orgunittype_type_idx
> ON vtiger_orgunittype
> USING btree (type)
>
>
> vtiger_user2org
>
> Description:
> Defines a list of organizations a user may work for
>
> Columns:
> orgid integer NOT NULL DEFAULT 0
> userid integer NOT NULL DEFAULT 0
> primary boolean DEFAULT 0
>
> Constraints:
> fk_1_vtiger_user2org
> FOREIGN KEY (orgid)
> REFERENCES vtiger_organizationdetails(orgid)
> ON DELETE CASCADE
>
> fk_2_vtiger_user2org
> FOREIGN KEY (userid)
> REFERENCES vtiger_users(userid)
> ON DELETE CASCADE
>
> Indices:
> vtiger_user2org_orgid_idx
> ON vtiger_user2org
> USING btree (orgid)
>
> vtiger_user2org_userid_idx
> ON vtiger_user2org
> USING btree (userid)
>
>
> vtiger_user2orgunit
>
> Description:
> Defines a list of organizational units a user is
> assigned to
>
> Columns:
> orgunitid integer NOT NULL DEFAULT 0
> userid integer NOT NULL DEFAULT 0
> primary boolean DEFAULT 0
>
> Constraints:
> fk_1_vtiger_user2orgunit
> FOREIGN KEY (orgunitid)
> REFERENCES vtiger_orgunit(orgunitid)
> ON DELETE CASCADE
>
> fk_2_vtiger_user2orgunit
> FOREIGN KEY (userid)
> REFERENCES vtiger_users(userid)
> ON DELETE CASCADE
>
> Indices:
> vtiger_user2orgunit_orgid_idx
> ON vtiger_user2orgunit
> USING btree (orgunitid)
>
> vtiger_user2orgunit_userid_idx
> ON vtiger_user2orgunit
> USING btree (userid)
>
>
> vtiger_entity2org
>
> Description:
> Assignes entities to particular organizations
>
> Columns:
> orgid integer NOT NULL DEFAULT 0
> crmid integer NOT NULL DEFAULT 0
>
> Constraints:
> fk_1_vtiger_entity2org
> FOREIGN KEY (orgid)
> REFERENCES vtiger_organizationdetails(orgid)
> ON DELETE CASCADE
>
> fk_2_vtiger_entity2org
> FOREIGN KEY (crmid)
> REFERENCES vtiger_crmentity(crmid)
> ON DELETE CASCADE
>
> Indices:
> vtiger_entity2org_crmid_idx
> ON vtiger_entity2org
> USING btree (crmid)
>
> vtiger_entity2org_userid_idx
> ON vtiger_entity2org
> USING btree (userid)
>
>
> Changes
> -------
> 1. vtiger_campaing should be a vtiger_crmentity
> -> Add the following constraint to the database
>
> fk_r_vtiger_campaign
> FOREIGN KEY (campaignid)
> REFERENCES vtiger_crmentity(crmid)
> ON DELETE CASCADE
>
> -> Provide a migration script for already stored campaigns
>
>
> PHP changes
> ===========
> Administrators Role
> -------------------
> 1. Settings -> Company Details
> - ListView
> - Add
> - Delete
> - Change
>
> 2. Settings -> Users
> - User is a member of one or more companies
> (implement like the group membership assignement)
> - Assign one main company to the user (out of the
> membership list).
>
> CEO Role
> --------
> 1. Settings -> Company Details
> - Change deatils only for the companies, the user has a
> CEO role for
>
> 2. Settings -> Company Unit
> - ListView
> - Add
> - Delete
> - Change
>
> 3. Settings -> Users
> - User is a member of one or more organization units
> (take care to provide only those units of organizations/
> companies to which the user already is assigned).
> - Assign one main orgunit to the user (out of the
> membership list).
>
> Standard user role
> ------------------
> 1. login scheme
> After the login the authenticated user gets another
> window which lets him select the organization/company
> he's going to act for in the new session.
>
> Open item: Skip this second login step if there's only
> one organization assigned to that user?
>
> My proposal:
> For the time being: yes.
> This would be subject of further FCRs (like book-
> keeping - booking date selection on login).
>
> Open item: Display the organization selection somewhere
> during the entire session?
>
> My proposal: yes, upper right corner with the user name
>
> 2. Assignment of entities to exactly one company/organization
> This affects:
> - Quotes
> - Sales orders
> - Invoices
> - Price Books
> The company assignement is taken from the selection, the
> user did during login.
>
> 3. Assignment of entities to more than one company/organization
> This affects
> - Leads
> - Accounts
> - Contacts
> - Potentials
> - Products
> - Campaigns
> To the modification/add forms another list entity is to
> be added. This list fills the crmentity2org table. Users
> may add/delete entries to/from this table.
>
> Open item: May this table be empty?
>
> 4. Assignment of entities to orgunits
> This affects:
> - Quotes
> - Sales orders
> - Invoices
> - Price Books
> The company assignement is taken from the selection, the
> user did during login.
>
> 5. PDF generation
> Addresses to be takenout of the organization table according
> to the organization reference of the affected entity.
> Addresses may be overridden by orgunit references.
>
> General
> -------
> 1. The role assignments shown above results in permissions
> to be maintained.
>
> 2. Do we use the term 'company' as in the GUI or 'organization'
> as in the database? (No preferences from my side ... only
> that there should be a common understanding).
>
> 3. Should there be a more sophisticated relationship between
> entities and organizations (also orgunits)? May like
>
> If a product is assigned to company A and B:
> May both companies change product details or should
> there still be an ownership assigned to one of the
> companies?
>
> This could be done using flags in the entity2org table
> but would result in more sophisticated GUI operations.
> _______________________________________________
> Get started with creating presentations online - http://zohoshow.com?vt
--
--------------------------------------------------------------------------------
/
+##+|##+ STRAWBERRY Jens Hamisch
+v#+v v##+ EDV-Systeme GmbH Managing director
/ v v\v
| . . . | Waldeckstr. 9a Car (Voice): (+49 172) 81 04 162
| . | D-82515 Wolfratshausen Voice: (+49 8171) 41805-0
| . | Fax: (+49 8171) 41805-59
\ . / Tel.: (+49 8171) 41805-0 Email: jens at Strawberry.COM
\____/ Strawberry at Strawberry.COM
More information about the vtigercrm-developers
mailing list