Basic ERD diagram of PV Database
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <Schema Namespace="ProvisionStagingModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2008" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
  8. <EntityType Name="TblDebtor">
  9. <Key>
  10. <PropertyRef Name="OID" />
  11. </Key>
  12. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="DebtorNo" Type="int" />
  14. <Property Name="Balance" Type="money" />
  15. <Property Name="Sundries" Type="money" />
  16. <Property Name="Days30" Type="money" />
  17. <Property Name="Days60" Type="money" />
  18. <Property Name="Days90" Type="money" />
  19. <Property Name="Days120" Type="money" />
  20. <Property Name="Days150" Type="money" />
  21. <Property Name="Days180" Type="money" />
  22. <Property Name="AmountDue" Type="money" />
  23. <Property Name="Installment" Type="money" />
  24. <Property Name="CurrentAge" Type="tinyint" />
  25. <Property Name="AccountType" Type="int" />
  26. <Property Name="DateCreated" Type="datetime" />
  27. <Property Name="Contract" Type="int" />
  28. <Property Name="OptimisticLockField" Type="int" />
  29. <Property Name="GCRecord" Type="int" />
  30. <Property Name="InvoiceAmount" Type="money" />
  31. <Property Name="DepositAmount" Type="money" />
  32. <Property Name="DepositOutstanding" Type="money" />
  33. <Property Name="Current" Type="money" />
  34. <Property Name="Club" Type="nvarchar" MaxLength="10" />
  35. <Property Name="FixedInterestRate" Type="money" />
  36. <Property Name="PrimeAdjustment" Type="money" />
  37. <Property Name="LinkedToPrime" Type="bit" />
  38. <Property Name="InstalmentStartDate" Type="datetime" />
  39. <Property Name="Instalment" Type="money" />
  40. <Property Name="LookupDisplaytext" Type="nvarchar" MaxLength="100" />
  41. <Property Name="Currency" Type="int" />
  42. <Property Name="ZeroInterestDeal" Type="bit" />
  43. <Property Name="DateDepositPaid" Type="datetime" />
  44. <Property Name="ConsoftReference" Type="nvarchar" MaxLength="100" />
  45. <Property Name="Capital" Type="money" />
  46. <Property Name="Fees" Type="money" />
  47. <Property Name="Interest" Type="money" />
  48. <Property Name="LastPaidAmount" Type="money" />
  49. <Property Name="LastPaidDate" Type="datetime" />
  50. <Property Name="LastUpdated" Type="datetime" />
  51. <Property Name="DebtorString" Type="nvarchar" MaxLength="100" />
  52. <Property Name="Status" Type="int" />
  53. <Property Name="MembershipExpiryDate" Type="datetime" />
  54. <Property Name="TotalArrears" Type="money" />
  55. <Property Name="MembershipNumber" Type="nvarchar" MaxLength="100" />
  56. <Property Name="CurrentMonthlyInstalment" Type="money" />
  57. <Property Name="Resort" Type="int" />
  58. <Property Name="WeekModule" Type="nvarchar" MaxLength="100" />
  59. <Property Name="AssetType" Type="int" />
  60. <Property Name="ContractType" Type="int" />
  61. <Property Name="PointsPurchased" Type="int" />
  62. <Property Name="LastYearManagementFeeRaised" Type="int" />
  63. <Property Name="TempConsoftTakeOnStatus" Type="nvarchar" MaxLength="100" />
  64. <Property Name="ConsoftNo" Type="int" />
  65. <Property Name="SendToCollectionSystem" Type="bit" />
  66. <Property Name="DateLastSentToCollectionSystem" Type="datetime" />
  67. <Property Name="PendingCredit" Type="money" />
  68. <Property Name="RemainingTerm" Type="int" />
  69. <Property Name="InsurancePremium" Type="money" />
  70. <Property Name="Override" Type="bit" />
  71. <Property Name="IsCancelledLease" Type="bit" />
  72. <Property Name="CollectionStatus" Type="int" />
  73. <Property Name="DateAllocated" Type="datetime" />
  74. <Property Name="ReportsTo" Type="int" />
  75. <Property Name="AllocatedTo" Type="int" />
  76. <Property Name="IsAllocated" Type="bit" />
  77. <Property Name="IsSent" Type="bit" />
  78. <Property Name="OccupationYear" Type="int" />
  79. <Property Name="DormantEffectiveTo" Type="datetime" />
  80. <Property Name="LevyNextArrivalDate" Type="datetime" />
  81. <Property Name="PaymentMethod" Type="int" />
  82. <Property Name="LastStatusUpdate" Type="datetime" />
  83. <Property Name="MatrixDepositAmount" Type="money" />
  84. <Property Name="MatrixDepositOutstanding" Type="money" />
  85. <Property Name="ConversionRate" Type="money" />
  86. <Property Name="AssetNumber" Type="int" />
  87. <Property Name="NumberOfMonthsRemaining" Type="int" />
  88. <Property Name="Developer" Type="int" />
  89. <Property Name="CancelInsurance" Type="bit" />
  90. <Property Name="DateCancelled" Type="datetime" />
  91. <Property Name="PeriodInMonths" Type="int" />
  92. <Property Name="DateFirstPortfolioFeeRaised" Type="datetime" />
  93. <Property Name="PaymentDay" Type="int" />
  94. <Property Name="NextOccupationDate" Type="datetime" />
  95. <Property Name="LevyInstalmentDue" Type="datetime" />
  96. <Property Name="NextLevyInstalmentDue" Type="datetime" />
  97. <Property Name="SettlementAmount" Type="money" />
  98. <Property Name="LeaseBalance" Type="money" />
  99. <Property Name="ServiceFee" Type="money" />
  100. <Property Name="ExitUndertaking" Type="bit" />
  101. <Property Name="NewExpiryDate" Type="datetime" />
  102. <Property Name="AgeStatus" Type="int" />
  103. <Property Name="CapitalOutstanding" Type="money" />
  104. <Property Name="PrescribedAmount" Type="money" />
  105. <Property Name="RestructuredDate" Type="datetime" />
  106. <Property Name="UndertakingConsultant" Type="int" />
  107. <Property Name="FinancedAmount" Type="money" />
  108. <Property Name="AmountPaid" Type="money" />
  109. <Property Name="LastUnpaidTransactionDate" Type="datetime" />
  110. <Property Name="LastUnpaidAmount" Type="money" />
  111. </EntityType>
  112. <EntityType Name="TblDebtorBanking">
  113. <Key>
  114. <PropertyRef Name="OID" />
  115. </Key>
  116. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  117. <Property Name="DateCreated" Type="datetime" />
  118. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  119. <Property Name="DebtorNo" Type="int" />
  120. <Property Name="BankDetail" Type="uniqueidentifier" />
  121. <Property Name="StartDate" Type="datetime" />
  122. <Property Name="AcbType" Type="int" />
  123. <Property Name="StrikeDay" Type="int" />
  124. <Property Name="Amount" Type="money" />
  125. <Property Name="Percentage" Type="money" />
  126. <Property Name="InvalidDate" Type="datetime" />
  127. <Property Name="RejectionCode" Type="uniqueidentifier" />
  128. <Property Name="OptimisticLockField" Type="int" />
  129. <Property Name="GCRecord" Type="int" />
  130. <Property Name="CancelledDate" Type="datetime" />
  131. <Property Name="LastGenerated" Type="datetime" />
  132. <Property Name="EndDate" Type="datetime" />
  133. <Property Name="Status" Type="int" />
  134. <Property Name="LastUpdated" Type="datetime" />
  135. <Property Name="RunASAP" Type="bit" />
  136. <Property Name="CreditCard" Type="bit" />
  137. <Property Name="CCToken" Type="nvarchar" MaxLength="100" />
  138. <Property Name="Amendment" Type="bit" />
  139. <Property Name="SendToCollectionSystem" Type="bit" />
  140. <Property Name="DateLastSentToCollectionSystem" Type="datetime" />
  141. <Property Name="NumberOfMonths" Type="int" />
  142. <Property Name="MonthsRemaining" Type="int" />
  143. <Property Name="CreditCardDetails" Type="int" />
  144. <Property Name="ClubBanking" Type="int" />
  145. <Property Name="ACBDefaultBanking" Type="int" />
  146. <Property Name="OnHoldUpUntil" Type="datetime" />
  147. <Property Name="ACBStatus" Type="nvarchar" MaxLength="100" />
  148. <Property Name="OverrideDefaultBanking" Type="int" />
  149. </EntityType>
  150. <EntityType Name="TblDebtorBankingAmendment">
  151. <Key>
  152. <PropertyRef Name="OID" />
  153. </Key>
  154. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  155. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  156. <Property Name="DateCreated" Type="datetime" />
  157. <Property Name="AmendmentCode" Type="int" />
  158. <Property Name="DebtorBanking" Type="int" />
  159. <Property Name="OptimisticLockField" Type="int" />
  160. <Property Name="GCRecord" Type="int" />
  161. </EntityType>
  162. <EntityType Name="TblDebtorCategoryBreakdown">
  163. <Key>
  164. <PropertyRef Name="Sequence" />
  165. </Key>
  166. <Property Name="Debtor" Type="int" />
  167. <Property Name="Sequence" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  168. <Property Name="Category" Type="int" />
  169. <Property Name="AmountRaised" Type="money" />
  170. <Property Name="AmountAllocated" Type="money" />
  171. <Property Name="OptimisticLockField" Type="int" />
  172. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  173. </EntityType>
  174. <EntityType Name="TblDebtorCategoryCode">
  175. <Key>
  176. <PropertyRef Name="OID" />
  177. </Key>
  178. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  179. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  180. <Property Name="Category" Type="int" />
  181. <Property Name="SplitReversals" Type="bit" />
  182. <Property Name="SplitRaiseMonthlyInvoice" Type="bit" />
  183. <Property Name="OptimisticLockField" Type="int" />
  184. <Property Name="GCRecord" Type="int" />
  185. <Property Name="AllocateAgingOnNegativeAmount" Type="bit" />
  186. <Property Name="IsCapitalCategory" Type="bit" />
  187. </EntityType>
  188. <EntityType Name="TblDebtorCoding">
  189. <Key>
  190. <PropertyRef Name="Oid" />
  191. </Key>
  192. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  193. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  194. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  195. <Property Name="OptimisticLockField" Type="int" />
  196. <Property Name="GCRecord" Type="int" />
  197. <Property Name="OracleExpenseCode" Type="nvarchar" MaxLength="100" />
  198. </EntityType>
  199. <EntityType Name="TblDebtorConsoftTakeonValues">
  200. <Key>
  201. <PropertyRef Name="Oid" />
  202. </Key>
  203. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  204. <Property Name="MembershipNumber" Type="nvarchar" MaxLength="15" />
  205. <Property Name="AccountType" Type="int" />
  206. <Property Name="Balance" Type="money" />
  207. <Property Name="Current" Type="money" />
  208. <Property Name="Days30" Type="money" />
  209. <Property Name="Days60" Type="money" />
  210. <Property Name="Days90" Type="money" />
  211. <Property Name="Days120" Type="money" />
  212. <Property Name="Days150" Type="money" />
  213. <Property Name="Days180" Type="money" />
  214. <Property Name="OptimisticLockField" Type="int" />
  215. <Property Name="GCRecord" Type="int" />
  216. </EntityType>
  217. <EntityType Name="TblDebtorDocuments">
  218. <Key>
  219. <PropertyRef Name="OID" />
  220. </Key>
  221. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  222. <Property Name="Debtor" Type="int" />
  223. <Property Name="DateCreated" Type="datetime" />
  224. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  225. <Property Name="DocumentType" Type="int" />
  226. <Property Name="Document" Type="int" />
  227. <Property Name="OptimisticLockField" Type="int" />
  228. <Property Name="GCRecord" Type="int" />
  229. </EntityType>
  230. <EntityType Name="TblDebtorFeedback">
  231. <Key>
  232. <PropertyRef Name="OID" />
  233. </Key>
  234. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  235. <Property Name="Date" Type="datetime" />
  236. <Property Name="Name" Type="int" />
  237. <Property Name="Feedback" Type="int" />
  238. <Property Name="Notes" Type="nvarchar(max)" />
  239. <Property Name="DebtorNo" Type="int" />
  240. <Property Name="OptimisticLockField" Type="int" />
  241. <Property Name="GCRecord" Type="int" />
  242. </EntityType>
  243. <EntityType Name="TblDebtorInterestRates">
  244. <Key>
  245. <PropertyRef Name="OID" />
  246. </Key>
  247. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  248. <Property Name="DebtorNo" Type="int" />
  249. <Property Name="InterestRate" Type="money" />
  250. <Property Name="InterestEffectiveDate" Type="datetime" />
  251. <Property Name="OptimisticLockField" Type="int" />
  252. <Property Name="GCRecord" Type="int" />
  253. </EntityType>
  254. <EntityType Name="TblDebtorManagementFeeValues">
  255. <Key>
  256. <PropertyRef Name="OID" />
  257. </Key>
  258. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  259. <Property Name="Debtor" Type="int" />
  260. <Property Name="StartDate" Type="datetime" />
  261. <Property Name="StartDateAdjusted" Type="datetime" />
  262. <Property Name="Estimate" Type="bit" />
  263. <Property Name="ManagementFee" Type="money" />
  264. <Property Name="LevyInstalmentDue" Type="datetime" />
  265. <Property Name="MaxLevyMonths" Type="int" />
  266. <Property Name="FeeYear" Type="int" />
  267. <Property Name="ArrivalDate" Type="datetime" />
  268. <Property Name="DepartureDate" Type="datetime" />
  269. <Property Name="LastUpdated" Type="datetime" />
  270. <Property Name="WeekModule" Type="int" />
  271. <Property Name="OptimisticLockField" Type="int" />
  272. <Property Name="GCRecord" Type="int" />
  273. </EntityType>
  274. <EntityType Name="TblDebtorNotes">
  275. <Key>
  276. <PropertyRef Name="OID" />
  277. </Key>
  278. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  279. <Property Name="TblDebtor" Type="int" />
  280. <Property Name="MessageCode" Type="int" />
  281. <Property Name="Comments" Type="nvarchar(max)" />
  282. <Property Name="DateCreated" Type="datetime" />
  283. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  284. <Property Name="OptimisticLockField" Type="int" />
  285. <Property Name="GCRecord" Type="int" />
  286. <Property Name="MessageNo" Type="int" />
  287. <Property Name="Category" Type="nvarchar" MaxLength="100" />
  288. <Property Name="Company" Type="nvarchar" MaxLength="100" />
  289. <Property Name="Account" Type="nvarchar" MaxLength="100" />
  290. <Property Name="MsgType" Type="nvarchar" MaxLength="100" />
  291. <Property Name="MessageCat" Type="nvarchar" MaxLength="100" />
  292. <Property Name="MessageId" Type="int" />
  293. <Property Name="MessageDate" Type="datetime" />
  294. <Property Name="MessageText" Type="nvarchar" MaxLength="512" />
  295. <Property Name="Amount" Type="money" />
  296. <Property Name="ActionDate" Type="datetime" />
  297. <Property Name="User" Type="nvarchar" MaxLength="100" />
  298. <Property Name="LetterIndicator" Type="nvarchar" MaxLength="100" />
  299. <Property Name="Posted" Type="nvarchar" MaxLength="100" />
  300. <Property Name="Deleted" Type="nvarchar" MaxLength="100" />
  301. </EntityType>
  302. <EntityType Name="TblDebtorReportsRecipients">
  303. <Key>
  304. <PropertyRef Name="OID" />
  305. </Key>
  306. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  307. <Property Name="User" Type="uniqueidentifier" />
  308. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  309. <Property Name="OptimisticLockField" Type="int" />
  310. <Property Name="GCRecord" Type="int" />
  311. <Property Name="DoNotSend" Type="bit" />
  312. </EntityType>
  313. <EntityType Name="TblDebtorResaleTransfers">
  314. <Key>
  315. <PropertyRef Name="OID" />
  316. </Key>
  317. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  318. <Property Name="BankTransferLine" Type="int" />
  319. <Property Name="TransferTransaction" Type="int" />
  320. <Property Name="DebtorNumber" Type="int" />
  321. <Property Name="OptimisticLockField" Type="int" />
  322. <Property Name="GCRecord" Type="int" />
  323. </EntityType>
  324. <EntityType Name="TblDebtorTransactions">
  325. <Key>
  326. <PropertyRef Name="OID" />
  327. </Key>
  328. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  329. <Property Name="Debtor" Type="int" />
  330. <Property Name="TransactionType" Type="int" />
  331. <Property Name="EffectiveDate" Type="datetime" />
  332. <Property Name="DateCreated" Type="datetime" />
  333. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  334. <Property Name="ReferenceNumber" Type="nvarchar" MaxLength="100" />
  335. <Property Name="Amount" Type="money" />
  336. <Property Name="StatementPeriod" Type="int" />
  337. <Property Name="Current" Type="money" />
  338. <Property Name="Days30" Type="money" />
  339. <Property Name="Days60" Type="money" />
  340. <Property Name="Days90" Type="money" />
  341. <Property Name="Days120" Type="money" />
  342. <Property Name="Days150" Type="money" />
  343. <Property Name="Days180" Type="money" />
  344. <Property Name="OptimisticLockField" Type="int" />
  345. <Property Name="GCRecord" Type="int" />
  346. <Property Name="DeltaCurrent" Type="money" />
  347. <Property Name="DeltaDays30" Type="money" />
  348. <Property Name="DeltaDays60" Type="money" />
  349. <Property Name="DeltaDays90" Type="money" />
  350. <Property Name="DeltaDays120" Type="money" />
  351. <Property Name="DeltaDays150" Type="money" />
  352. <Property Name="DeltaDays180" Type="money" />
  353. <Property Name="Deposit" Type="money" />
  354. <Property Name="Reversed" Type="bit" />
  355. <Property Name="TblJournalLines" Type="int" />
  356. <Property Name="DeltaDeposit" Type="money" />
  357. <Property Name="Comments" Type="nvarchar" MaxLength="300" />
  358. <Property Name="BankAccount" Type="nvarchar" MaxLength="100" />
  359. <Property Name="CurrentAge" Type="tinyint" />
  360. <Property Name="PayType" Type="int" />
  361. <Property Name="Capital" Type="money" />
  362. <Property Name="Fees" Type="money" />
  363. <Property Name="Interest" Type="money" />
  364. <Property Name="DeltaCapital" Type="money" />
  365. <Property Name="DeltaFees" Type="money" />
  366. <Property Name="DeltaInterest" Type="money" />
  367. <Property Name="AllJournalLines" Type="int" />
  368. <Property Name="TotalAmountReversedSoFar" Type="money" />
  369. <Property Name="ManagementFeeYearRaised" Type="int" />
  370. <Property Name="IsManFeeEstimate" Type="bit" />
  371. <Property Name="ManagementFeeAdjusted" Type="bit" />
  372. <Property Name="ConsoftCategory" Type="int" />
  373. <Property Name="SendToCollectionSystem" Type="bit" />
  374. <Property Name="DateLastSentToCollectionSystem" Type="datetime" />
  375. <Property Name="CollectionTran" Type="int" />
  376. <Property Name="IsReversed" Type="bit" />
  377. <Property Name="ManualCategoryAllocation" Type="bit" />
  378. <Property Name="DateRanThroughCommissionsReport" Type="datetime" />
  379. <Property Name="CollectionFee" Type="money" />
  380. <Property Name="DateSentToNetready" Type="datetime" />
  381. <Property Name="Override" Type="bit" />
  382. <Property Name="CancellationProccess" Type="int" />
  383. <Property Name="DsDealInvoice" Type="bit" />
  384. <Property Name="CommissionProcessed" Type="bit" />
  385. <Property Name="Instalment" Type="money" />
  386. <Property Name="DeltaInstalment" Type="money" />
  387. <Property Name="DebtorCode" Type="uniqueidentifier" />
  388. <Property Name="HideDebtorTransaction" Type="uniqueidentifier" />
  389. <Property Name="CommissionProcessedDate" Type="datetime" />
  390. <Property Name="BankTransfer" Type="int" />
  391. <Property Name="ConversionRate" Type="money" />
  392. <Property Name="ManFeeAdjustedAmount" Type="money" />
  393. <Property Name="ManFeeAdjustmentLetterGenerated" Type="datetime" />
  394. <Property Name="DebtorStatus" Type="nvarchar" MaxLength="100" />
  395. <Property Name="SentToConsfot" Type="bit" />
  396. <Property Name="BreakDownAmount" Type="money" />
  397. <Property Name="ChequeNumber" Type="nvarchar" MaxLength="100" />
  398. <Property Name="AllBankStatementLines" Type="int" />
  399. <Property Name="IsTempReversed" Type="bit" />
  400. </EntityType>
  401. <EntityType Name="TblDebtorTransactionsCatBreakdown">
  402. <Key>
  403. <PropertyRef Name="Sequence" />
  404. </Key>
  405. <Property Name="DebtorTransaction" Type="int" />
  406. <Property Name="Sequence" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  407. <Property Name="Category" Type="int" />
  408. <Property Name="AmountRaised" Type="money" />
  409. <Property Name="AmountAllocated" Type="money" />
  410. <Property Name="OptimisticLockField" Type="int" />
  411. <Property Name="TransactionType" Type="int" />
  412. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  413. </EntityType>
  414. <EntityType Name="TblDebtorTransactionTypeReportGroup">
  415. <Key>
  416. <PropertyRef Name="Oid" />
  417. </Key>
  418. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  419. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  420. <Property Name="OptimisticLockField" Type="int" />
  421. <Property Name="GCRecord" Type="int" />
  422. </EntityType>
  423. <EntityType Name="TblDebtorTranTypes">
  424. <Key>
  425. <PropertyRef Name="OID" />
  426. </Key>
  427. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  428. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  429. <Property Name="CalculateInterest" Type="bit" />
  430. <Property Name="GroupCategory" Type="nvarchar" MaxLength="100" />
  431. <Property Name="PaymentTransaction" Type="bit" />
  432. <Property Name="OptimisticLockField" Type="int" />
  433. <Property Name="GCRecord" Type="int" />
  434. <Property Name="JournalsAllowed" Type="bit" />
  435. <Property Name="TransactionSign" Type="int" />
  436. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  437. <Property Name="Reversal" Type="int" />
  438. <Property Name="TransactionCategory" Type="int" />
  439. <Property Name="TransferTransaction" Type="bit" />
  440. <Property Name="MainTransactionType" Type="int" />
  441. <Property Name="IsReversal" Type="bit" />
  442. <Property Name="IsReversable" Type="bit" />
  443. <Property Name="PaymentType" Type="int" />
  444. <Property Name="CalculateCollectionFee" Type="bit" />
  445. <Property Name="AccountingType" Type="int" />
  446. <Property Name="DebtorTransactionTypeReportGroup" Type="uniqueidentifier" />
  447. <Property Name="ConsoftCode" Type="nvarchar" MaxLength="100" />
  448. <Property Name="DoNotGenerateBankTransferCapital" Type="bit" />
  449. <Property Name="DoNotGenerateBankTransferLevy" Type="bit" />
  450. <Property Name="DoNotGenerateBankTransferAdmin" Type="bit" />
  451. <Property Name="DebtorOnJournalCanBeBlank" Type="bit" />
  452. <Property Name="ContractStatus" Type="int" />
  453. <Property Name="ReversalTranType" Type="int" />
  454. <Property Name="UnpaidPaymentTransaction" Type="bit" />
  455. </EntityType>
  456. <EntityType Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  457. <Key>
  458. <PropertyRef Name="OID" />
  459. </Key>
  460. <Property Name="Reversals" Type="int" />
  461. <Property Name="ReversalsTemp" Type="int" />
  462. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  463. <Property Name="OptimisticLockField" Type="int" />
  464. </EntityType>
  465. <EntityType Name="TblDebtorWeekModuleException">
  466. <Key>
  467. <PropertyRef Name="Oid" />
  468. </Key>
  469. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  470. <Property Name="Debtor" Type="int" />
  471. <Property Name="Exception" Type="int" />
  472. <Property Name="ResortCode" Type="nvarchar" MaxLength="100" />
  473. <Property Name="WeekModule" Type="nvarchar" MaxLength="100" />
  474. <Property Name="WeekModuleYear" Type="int" />
  475. <Property Name="ArrivalDate" Type="datetime" />
  476. <Property Name="DepartureDate" Type="datetime" />
  477. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  478. <Property Name="DateCreated" Type="datetime" />
  479. <Property Name="FixedArrangement" Type="bit" />
  480. <Property Name="ManFeeYear" Type="int" />
  481. <Property Name="OptimisticLockField" Type="int" />
  482. <Property Name="GCRecord" Type="int" />
  483. <Property Name="EstimateArrivalDate" Type="bit" />
  484. <Property Name="MonthOverride" Type="bit" />
  485. <Property Name="Month" Type="int" />
  486. <Property Name="OverrideArrivalDate" Type="datetime" />
  487. </EntityType>
  488. <EntityType Name="TblDefault">
  489. <Key>
  490. <PropertyRef Name="Oid" />
  491. </Key>
  492. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  493. <Property Name="Value" Type="float" />
  494. <Property Name="Oid" Type="nvarchar" MaxLength="100" Nullable="false" />
  495. <Property Name="OptimisticLockField" Type="int" />
  496. <Property Name="StringValue" Type="nvarchar" MaxLength="100" />
  497. </EntityType>
  498. <EntityType Name="TblDepartment">
  499. <Key>
  500. <PropertyRef Name="DepartmentCode" />
  501. </Key>
  502. <Property Name="DepartmentCode" Type="nvarchar" MaxLength="20" Nullable="false" />
  503. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  504. <Property Name="DateCreated" Type="datetime" />
  505. <Property Name="CreatedBy" Type="nvarchar" MaxLength="20" />
  506. <Property Name="OptimisticLockField" Type="int" />
  507. </EntityType>
  508. <EntityType Name="TblDetailedInfo">
  509. <Key>
  510. <PropertyRef Name="OID" />
  511. </Key>
  512. <Property Name="OID" Type="int" Nullable="false" />
  513. <Property Name="DateOfBirth" Type="datetime" />
  514. <Property Name="MaritalStatus" Type="int" />
  515. <Property Name="Ethnicity" Type="int" />
  516. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  517. <Property Name="IDNumber" Type="nvarchar" MaxLength="100" />
  518. <Property Name="Contacted" Type="bit" />
  519. <Property Name="HowDidYouHearAboutUs" Type="nvarchar" MaxLength="100" />
  520. <Property Name="Occupation" Type="nvarchar" MaxLength="100" />
  521. <Property Name="SpouseOccupation" Type="nvarchar" MaxLength="100" />
  522. <Property Name="OneTimePassword" Type="nvarchar" MaxLength="100" />
  523. <Property Name="Password" Type="nvarchar" MaxLength="100" />
  524. <Property Name="PasswordByte" Type="varbinary(max)" />
  525. <Property Name="HolidayHome" Type="bit" />
  526. <Property Name="TimeShare" Type="bit" />
  527. <Property Name="OtherOwnedHolidayAccomodation" Type="bit" />
  528. <Property Name="OtherOwnedHolidayAccomodationDescription" Type="nvarchar" MaxLength="100" />
  529. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  530. </EntityType>
  531. <EntityType Name="TblDeveloper">
  532. <Key>
  533. <PropertyRef Name="OID" />
  534. </Key>
  535. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  536. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  537. <Property Name="DateCreated" Type="datetime" />
  538. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  539. <Property Name="NCRNumber" Type="nvarchar" MaxLength="100" />
  540. <Property Name="Address" Type="uniqueidentifier" />
  541. <Property Name="TelephoneNumber" Type="nvarchar" MaxLength="100" />
  542. <Property Name="OptimisticLockField" Type="int" />
  543. <Property Name="GCRecord" Type="int" />
  544. <Property Name="RegistrationNumber" Type="nvarchar" MaxLength="100" />
  545. <Property Name="Abbreviation" Type="nvarchar" MaxLength="5" />
  546. <Property Name="DocumentsSignedBy" Type="int" />
  547. <Property Name="MayTransfigure" Type="bit" />
  548. <Property Name="MayUpgrade" Type="bit" />
  549. <Property Name="PostalAddress" Type="uniqueidentifier" />
  550. <Property Name="BankingDetails" Type="uniqueidentifier" />
  551. <Property Name="FaxNumber" Type="nvarchar" MaxLength="100" />
  552. <Property Name="MayTranscollect" Type="bit" />
  553. <Property Name="ExternalDeveloper" Type="bit" />
  554. <Property Name="Key" Type="nvarchar" MaxLength="100" />
  555. <Property Name="AVSCode" Type="nvarchar" MaxLength="100" />
  556. <Property Name="Company" Type="smallint" />
  557. <Property Name="CapitalStatementBankAccount" Type="int" />
  558. <Property Name="ManagementStatementAccount" Type="int" />
  559. <Property Name="EmailSubject" Type="nvarchar" MaxLength="100" />
  560. <Property Name="LevyBankingDetails" Type="uniqueidentifier" />
  561. <Property Name="AccessKey" Type="nvarchar" MaxLength="100" />
  562. <Property Name="SecretKey" Type="nvarchar" MaxLength="100" />
  563. </EntityType>
  564. <EntityType Name="TblDialCodes">
  565. <Key>
  566. <PropertyRef Name="DialCode" />
  567. </Key>
  568. <Property Name="PhoneType" Type="nvarchar" MaxLength="100" />
  569. <Property Name="DialCode" Type="nvarchar" MaxLength="5" Nullable="false" />
  570. <Property Name="OptimisticLockField" Type="int" />
  571. </EntityType>
  572. <EntityType Name="TblDocumentType">
  573. <Key>
  574. <PropertyRef Name="OID" />
  575. </Key>
  576. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  577. <Property Name="DateCreated" Type="datetime" />
  578. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  579. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  580. <Property Name="OptimisticLockField" Type="int" />
  581. <Property Name="GCRecord" Type="int" />
  582. </EntityType>
  583. <EntityType Name="TblDottedReason">
  584. <Key>
  585. <PropertyRef Name="Oid" />
  586. </Key>
  587. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  588. <Property Name="DottedReason" Type="nvarchar" MaxLength="100" />
  589. <Property Name="OptimisticLockField" Type="int" />
  590. <Property Name="GCRecord" Type="int" />
  591. </EntityType>
  592. <EntityType Name="TblEmailRecipiants">
  593. <Key>
  594. <PropertyRef Name="OID" />
  595. </Key>
  596. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  597. <Property Name="Subject" Type="nvarchar" MaxLength="100" />
  598. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  599. <Property Name="IsQuartzJob" Type="bit" />
  600. <Property Name="HasAttatchments" Type="bit" />
  601. <Property Name="OptimisticLockField" Type="int" />
  602. <Property Name="GCRecord" Type="int" />
  603. <Property Name="SenderName" Type="nvarchar" MaxLength="100" />
  604. <Property Name="SenderEmail" Type="nvarchar" MaxLength="100" />
  605. <Property Name="RecipiantName" Type="nvarchar" MaxLength="100" />
  606. <Property Name="RecipiantEmail" Type="nvarchar" MaxLength="100" />
  607. </EntityType>
  608. <EntityType Name="TblEquityCommissionTarget">
  609. <Key>
  610. <PropertyRef Name="Oid" />
  611. </Key>
  612. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  613. <Property Name="StartDate" Type="datetime" />
  614. <Property Name="EndDate" Type="datetime" />
  615. <Property Name="RecalculateDate" Type="datetime" />
  616. <Property Name="Target" Type="money" />
  617. <Property Name="Personnel" Type="int" />
  618. <Property Name="OptimisticLockField" Type="int" />
  619. <Property Name="GCRecord" Type="int" />
  620. </EntityType>
  621. <EntityType Name="TblEquityTargetPercentage">
  622. <Key>
  623. <PropertyRef Name="Oid" />
  624. </Key>
  625. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  626. <Property Name="TargetPercentage" Type="money" />
  627. <Property Name="EquityPercentage" Type="money" />
  628. <Property Name="OptimisticLockField" Type="int" />
  629. <Property Name="GCRecord" Type="int" />
  630. </EntityType>
  631. <EntityType Name="TblEthnicity">
  632. <Key>
  633. <PropertyRef Name="OID" />
  634. </Key>
  635. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  636. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  637. <Property Name="OptimisticLockField" Type="int" />
  638. <Property Name="GCRecord" Type="int" />
  639. </EntityType>
  640. <EntityType Name="TblEVoucher">
  641. <Key>
  642. <PropertyRef Name="OID" />
  643. </Key>
  644. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  645. <Property Name="DateCreated" Type="datetime" />
  646. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  647. <Property Name="VoucherNumber" Type="nvarchar" MaxLength="100" />
  648. <Property Name="SalesVenue" Type="int" />
  649. <Property Name="OTP" Type="nvarchar" MaxLength="100" />
  650. <Property Name="Disabled" Type="bit" />
  651. <Property Name="Authorised" Type="bit" />
  652. <Property Name="VoucherSeries" Type="int" />
  653. <Property Name="VoucherType" Type="int" />
  654. <Property Name="VoucherCategory" Type="int" />
  655. <Property Name="DateRegistered" Type="datetime" />
  656. <Property Name="DateAllocated" Type="datetime" />
  657. <Property Name="Number" Type="int" />
  658. <Property Name="Booking" Type="nvarchar" MaxLength="100" />
  659. <Property Name="SMSSent" Type="datetime" />
  660. <Property Name="EmailSent" Type="datetime" />
  661. <Property Name="OptimisticLockField" Type="int" />
  662. <Property Name="GCRecord" Type="int" />
  663. <Property Name="InTransaction" Type="bit" />
  664. <Property Name="VoucherRedeemed" Type="datetime" />
  665. </EntityType>
  666. <EntityType Name="TblEVoucherCategory">
  667. <Key>
  668. <PropertyRef Name="OID" />
  669. </Key>
  670. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  671. <Property Name="DateCreated" Type="datetime" />
  672. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  673. <Property Name="Prefix" Type="nvarchar" MaxLength="100" />
  674. <Property Name="CategoryName" Type="nvarchar" MaxLength="100" />
  675. <Property Name="Decommissioned" Type="bit" />
  676. <Property Name="SalesVenue" Type="int" />
  677. <Property Name="VoucherValue" Type="money" />
  678. <Property Name="SMSTemplate" Type="nvarchar(max)" />
  679. <Property Name="FullName" Type="nvarchar" MaxLength="100" />
  680. <Property Name="OptimisticLockField" Type="int" />
  681. <Property Name="GCRecord" Type="int" />
  682. <Property Name="IsCBC" Type="bit" />
  683. <Property Name="HTMLTemplate" Type="nvarchar(max)" />
  684. <Property Name="LogoURL" Type="nvarchar" MaxLength="100" />
  685. <Property Name="MainURL" Type="nvarchar" MaxLength="100" />
  686. <Property Name="BannerURL" Type="nvarchar" MaxLength="100" />
  687. <Property Name="Subject" Type="nvarchar" MaxLength="100" />
  688. </EntityType>
  689. <EntityType Name="TblEVoucherNotes">
  690. <Key>
  691. <PropertyRef Name="OID" />
  692. </Key>
  693. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  694. <Property Name="TblEVoucher" Type="int" />
  695. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  696. <Property Name="DateCreated" Type="datetime" />
  697. <Property Name="Comments" Type="nvarchar(max)" />
  698. <Property Name="OptimisticLockField" Type="int" />
  699. <Property Name="GCRecord" Type="int" />
  700. </EntityType>
  701. <EntityType Name="TblEVoucherSeries">
  702. <Key>
  703. <PropertyRef Name="OID" />
  704. </Key>
  705. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  706. <Property Name="DateCreated" Type="datetime" />
  707. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  708. <Property Name="SeriesName" Type="nvarchar" MaxLength="100" />
  709. <Property Name="Prefix" Type="nvarchar" MaxLength="100" />
  710. <Property Name="OptimisticLockField" Type="int" />
  711. <Property Name="GCRecord" Type="int" />
  712. </EntityType>
  713. <EntityType Name="TblEVoucherType">
  714. <Key>
  715. <PropertyRef Name="OID" />
  716. </Key>
  717. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  718. <Property Name="DateCreated" Type="datetime" />
  719. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  720. <Property Name="Type" Type="nvarchar" MaxLength="100" />
  721. <Property Name="Prefix" Type="nvarchar" MaxLength="100" />
  722. <Property Name="SalesVenue" Type="int" />
  723. <Property Name="HTMLTemplate1" Type="nvarchar(max)" />
  724. <Property Name="SMSTemplate" Type="nvarchar(max)" />
  725. <Property Name="FullType" Type="nvarchar" MaxLength="100" />
  726. <Property Name="RotationNumber" Type="int" />
  727. <Property Name="RotationLinksTo" Type="int" />
  728. <Property Name="CurrentRotation" Type="int" />
  729. <Property Name="OptimisticLockField" Type="int" />
  730. <Property Name="GCRecord" Type="int" />
  731. </EntityType>
  732. <EntityType Name="TblEVoucherWeekType">
  733. <Key>
  734. <PropertyRef Name="OID" />
  735. </Key>
  736. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  737. <Property Name="DateCreated" Type="datetime" />
  738. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  739. <Property Name="Type" Type="nvarchar" MaxLength="100" />
  740. <Property Name="Prefix" Type="nvarchar" MaxLength="100" />
  741. <Property Name="OptimisticLockField" Type="int" />
  742. <Property Name="GCRecord" Type="int" />
  743. </EntityType>
  744. <EntityType Name="TblExpenseCodes">
  745. <Key>
  746. <PropertyRef Name="OID" />
  747. </Key>
  748. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  749. <Property Name="ExpenseCode" Type="nvarchar" MaxLength="100" />
  750. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  751. <Property Name="CreatedBy" Type="uniqueidentifier" />
  752. <Property Name="DateCreated" Type="datetime" />
  753. <Property Name="OptimisticLockField" Type="int" />
  754. <Property Name="GCRecord" Type="int" />
  755. <Property Name="BankingTransfer" Type="bit" />
  756. <Property Name="PettyCashTransfer" Type="bit" />
  757. </EntityType>
  758. <EntityType Name="TblExpenseCodesCompany">
  759. <Key>
  760. <PropertyRef Name="OID" />
  761. </Key>
  762. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  763. <Property Name="ExpenseCode" Type="int" />
  764. <Property Name="Company" Type="smallint" />
  765. <Property Name="BudgetThisYear" Type="float" />
  766. <Property Name="BudgetLastYear" Type="float" />
  767. <Property Name="BudgetNextYear" Type="float" />
  768. <Property Name="ActualThisYear" Type="float" />
  769. <Property Name="ActualLastYear" Type="float" />
  770. <Property Name="ActualNextYear" Type="float" />
  771. <Property Name="LastUpdated" Type="datetime" />
  772. <Property Name="ManualAuthorisePayment" Type="bit" />
  773. <Property Name="OptimisticLockField" Type="int" />
  774. <Property Name="GCRecord" Type="int" />
  775. <Property Name="InterimActualAmount" Type="float" />
  776. </EntityType>
  777. <EntityType Name="TblExpenseCodeTransactionsDetail">
  778. <Key>
  779. <PropertyRef Name="OID" />
  780. </Key>
  781. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  782. <Property Name="DateEntered" Type="datetime" />
  783. <Property Name="EnteredBy" Type="uniqueidentifier" />
  784. <Property Name="ExpenseCodeTransactionsHeader" Type="int" />
  785. <Property Name="ExpenseCode" Type="int" />
  786. <Property Name="Amount" Type="float" />
  787. <Property Name="DocType" Type="int" />
  788. <Property Name="OptimisticLockField" Type="int" />
  789. <Property Name="GCRecord" Type="int" />
  790. <Property Name="ReferenceKey" Type="nvarchar" MaxLength="100" />
  791. <Property Name="Comments" Type="nvarchar" MaxLength="3000" />
  792. </EntityType>
  793. <EntityType Name="TblExpenseCodeTransactionsHeader">
  794. <Key>
  795. <PropertyRef Name="OID" />
  796. </Key>
  797. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  798. <Property Name="RequestedBy" Type="uniqueidentifier" />
  799. <Property Name="DateCreated" Type="datetime" />
  800. <Property Name="Company" Type="int" />
  801. <Property Name="EffectiveDate" Type="datetime" />
  802. <Property Name="OptimisticLockField" Type="int" />
  803. <Property Name="GCRecord" Type="int" />
  804. </EntityType>
  805. <EntityType Name="TblExternalResortCommission">
  806. <Key>
  807. <PropertyRef Name="OID" />
  808. </Key>
  809. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  810. <Property Name="DateCreated" Type="datetime" />
  811. <Property Name="Contract" Type="int" />
  812. <Property Name="Resort" Type="int" />
  813. <Property Name="Asset" Type="int" />
  814. <Property Name="WeekModule" Type="int" />
  815. <Property Name="TotalCommission" Type="money" />
  816. <Property Name="Week" Type="int" />
  817. <Property Name="GenerationRule" Type="int" />
  818. <Property Name="CapitalDebtor" Type="int" />
  819. <Property Name="OptimisticLockField" Type="int" />
  820. <Property Name="GCRecord" Type="int" />
  821. </EntityType>
  822. <EntityType Name="TblExternalResortCommissionTransactions">
  823. <Key>
  824. <PropertyRef Name="OID" />
  825. </Key>
  826. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  827. <Property Name="Commission" Type="int" />
  828. <Property Name="DateCreated" Type="datetime" />
  829. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  830. <Property Name="SalesPeriod" Type="int" />
  831. <Property Name="PreviousDeveloper" Type="money" />
  832. <Property Name="CurrentDeveloper" Type="money" />
  833. <Property Name="OptimisticLockField" Type="int" />
  834. <Property Name="GCRecord" Type="int" />
  835. </EntityType>
  836. <EntityType Name="TblExternalResortCommissionWeeks">
  837. <Key>
  838. <PropertyRef Name="OID" />
  839. </Key>
  840. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  841. <Property Name="Resort" Type="int" />
  842. <Property Name="WeekModule" Type="int" />
  843. <Property Name="Asset" Type="int" />
  844. <Property Name="TotalCommission" Type="money" />
  845. <Property Name="CommissionsPaid" Type="money" />
  846. <Property Name="OptimisticLockField" Type="int" />
  847. <Property Name="GCRecord" Type="int" />
  848. </EntityType>
  849. <EntityType Name="TblFeedbackType">
  850. <Key>
  851. <PropertyRef Name="OID" />
  852. </Key>
  853. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  854. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  855. <Property Name="DateCreated" Type="datetime" />
  856. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  857. <Property Name="DoNotCall" Type="bit" />
  858. <Property Name="OptimisticLockField" Type="int" />
  859. <Property Name="GCRecord" Type="int" />
  860. </EntityType>
  861. <EntityType Name="TblFriends">
  862. <Key>
  863. <PropertyRef Name="OID" />
  864. </Key>
  865. <Property Name="OID" Type="int" Nullable="false" />
  866. <Property Name="Arrived" Type="bit" />
  867. <Property Name="Profile" Type="int" />
  868. </EntityType>
  869. <EntityType Name="TblGalvanizedDeals">
  870. <Key>
  871. <PropertyRef Name="OID" />
  872. </Key>
  873. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  874. <Property Name="AccountNumber" Type="nvarchar" MaxLength="100" />
  875. <Property Name="MemberName" Type="nvarchar" MaxLength="100" />
  876. <Property Name="WebcollectorKey" Type="int" />
  877. <Property Name="ContractNumber" Type="nvarchar" MaxLength="100" />
  878. <Property Name="Status" Type="nvarchar" MaxLength="100" />
  879. <Property Name="SubStatus" Type="nvarchar" MaxLength="100" />
  880. <Property Name="CCDStatus" Type="nvarchar" MaxLength="100" />
  881. <Property Name="ContractDate" Type="datetime" />
  882. <Property Name="InstalmentStartDate" Type="datetime" />
  883. <Property Name="StrikeDate" Type="int" />
  884. <Property Name="DeferOccupation" Type="bit" />
  885. <Property Name="AdminFee" Type="money" />
  886. <Property Name="SpouseName" Type="nvarchar" MaxLength="100" />
  887. <Property Name="SpouseIDNUmber" Type="nvarchar" MaxLength="100" />
  888. <Property Name="PrincipalName" Type="nvarchar" MaxLength="100" />
  889. <Property Name="GalvanizedPresentValue" Type="money" />
  890. <Property Name="PrescribedCapital" Type="money" />
  891. <Property Name="CapitalOutstanding" Type="money" />
  892. <Property Name="Instalment" Type="money" />
  893. <Property Name="Receipts" Type="money" />
  894. <Property Name="OutstandingBalance" Type="money" />
  895. <Property Name="TotalArrears" Type="money" />
  896. <Property Name="GalvanizedInterestRate" Type="money" />
  897. <Property Name="AddendumUnits" Type="int" />
  898. <Property Name="ClubUnits" Type="int" />
  899. <Property Name="GalvanizedPeriod" Type="nvarchar" MaxLength="100" />
  900. <Property Name="EFTPayment" Type="bit" />
  901. <Property Name="ManFeeEFTPayment" Type="bit" />
  902. <Property Name="CollectorComments" Type="nvarchar(max)" />
  903. <Property Name="ApprovalComments" Type="nvarchar(max)" />
  904. <Property Name="DeclinedDate" Type="datetime" />
  905. <Property Name="CostPerUnit" Type="money" />
  906. <Property Name="DowngradeUnitsBy" Type="int" />
  907. <Property Name="DowngradePeriod" Type="nvarchar" MaxLength="100" />
  908. <Property Name="DowngradeIntRate" Type="money" />
  909. <Property Name="DowngradeGalInstalment" Type="money" />
  910. <Property Name="GalInstalmentYR1" Type="money" />
  911. <Property Name="GalInstalmentYR2" Type="money" />
  912. <Property Name="GalInstalmentYR3" Type="money" />
  913. <Property Name="GalInstalmentYR4" Type="money" />
  914. <Property Name="GalInstalmentYR5" Type="money" />
  915. <Property Name="GalInstalmentYR6" Type="money" />
  916. <Property Name="GalInstalmentYR7" Type="money" />
  917. <Property Name="BubblePerc" Type="money" />
  918. <Property Name="BubblePercentageOverride" Type="bit" />
  919. <Property Name="WithBubblePeriod" Type="nvarchar" MaxLength="100" />
  920. <Property Name="WithBubbleIntRate" Type="money" />
  921. <Property Name="WithBubbleGalInstalment" Type="money" />
  922. <Property Name="WithBubbleGalInstalmentYR1" Type="money" />
  923. <Property Name="WithBubbleGalInstalmentYR2" Type="money" />
  924. <Property Name="WithBubbleGalInstalmentYR3" Type="money" />
  925. <Property Name="WithBubbleGalInstalmentYR4" Type="money" />
  926. <Property Name="WithBubbleGalInstalmentYR5" Type="money" />
  927. <Property Name="WithBubbleGalInstalmentYR6" Type="money" />
  928. <Property Name="WithBubbleGalInstalmentYR7" Type="money" />
  929. <Property Name="SelectedOption" Type="nvarchar" MaxLength="100" />
  930. <Property Name="SelectedDate" Type="datetime" />
  931. <Property Name="DealStatus" Type="int" />
  932. <Property Name="ApprovedDate" Type="datetime" />
  933. <Property Name="DocumentationSentDate" Type="datetime" />
  934. <Property Name="DocumentationReceivedDate" Type="datetime" />
  935. <Property Name="DetailsSentDate" Type="datetime" />
  936. <Property Name="PrevailSelected" Type="bit" />
  937. <Property Name="PrevailPoints" Type="int" />
  938. <Property Name="PrevailAddendumPoints" Type="int" />
  939. <Property Name="PrevailFinitePoints" Type="int" />
  940. <Property Name="PrevailTradePoints" Type="int" />
  941. <Property Name="PrevailCurrentManagementFee" Type="money" />
  942. <Property Name="PrevailNewManagementFeeTotal" Type="money" />
  943. <Property Name="PrevailNewPoints" Type="int" />
  944. <Property Name="Affordability" Type="nvarchar" MaxLength="100" />
  945. <Property Name="PrevailNewFee" Type="money" />
  946. <Property Name="PrevailCurrentYear" Type="int" />
  947. <Property Name="PrevailAffordNewPoints" Type="int" />
  948. <Property Name="AllocatedTo" Type="nvarchar" MaxLength="100" />
  949. <Property Name="OptimisticLockField" Type="int" />
  950. <Property Name="GCRecord" Type="int" />
  951. <Property Name="Debtor" Type="int" />
  952. </EntityType>
  953. <EntityType Name="TblGalvanizedTransactions">
  954. <Key>
  955. <PropertyRef Name="Oid" />
  956. </Key>
  957. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  958. <Property Name="DateCreated" Type="datetime" />
  959. <Property Name="TransactionDate" Type="datetime" />
  960. <Property Name="Reference" Type="nvarchar" MaxLength="100" />
  961. <Property Name="Amount" Type="money" />
  962. <Property Name="AccountNumber" Type="int" />
  963. <Property Name="WebcollectorKey" Type="int" />
  964. <Property Name="OptimisticLockField" Type="int" />
  965. <Property Name="GCRecord" Type="int" />
  966. </EntityType>
  967. <EntityType Name="TblGroupCategory">
  968. <Key>
  969. <PropertyRef Name="OID" />
  970. </Key>
  971. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  972. <Property Name="Year" Type="int" />
  973. <Property Name="GroupCategory" Type="int" />
  974. <Property Name="OptimisticLockField" Type="int" />
  975. <Property Name="GCRecord" Type="int" />
  976. <Property Name="TblDebtorTranTypes" Type="int" />
  977. <Property Name="TransferPaymentsBankAccount" Type="int" />
  978. <Property Name="Club" Type="nvarchar" MaxLength="10" />
  979. <Property Name="UsecategoryToRaiseManFees" Type="bit" />
  980. <Property Name="UseCategoryToBalanceManFees" Type="bit" />
  981. </EntityType>
  982. <EntityType Name="TblGroupCodeCommissionType">
  983. <Key>
  984. <PropertyRef Name="Oid" />
  985. </Key>
  986. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  987. <Property Name="CommissionType" Type="uniqueidentifier" />
  988. <Property Name="Default" Type="bit" />
  989. <Property Name="GroupCode" Type="int" />
  990. <Property Name="OptimisticLockField" Type="int" />
  991. <Property Name="GCRecord" Type="int" />
  992. </EntityType>
  993. <EntityType Name="TblHideDebtorTransaction">
  994. <Key>
  995. <PropertyRef Name="Oid" />
  996. </Key>
  997. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  998. <Property Name="CreatedBy" Type="int" />
  999. <Property Name="DateCreated" Type="datetime" />
  1000. <Property Name="Debtor" Type="int" />
  1001. <Property Name="OptimisticLockField" Type="int" />
  1002. <Property Name="GCRecord" Type="int" />
  1003. </EntityType>
  1004. <EntityType Name="TblHyphenBankResult">
  1005. <Key>
  1006. <PropertyRef Name="OID" />
  1007. </Key>
  1008. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1009. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  1010. <Property Name="FACSCode" Type="nvarchar" MaxLength="100" />
  1011. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1012. <Property Name="OptimisticLockField" Type="int" />
  1013. <Property Name="GCRecord" Type="int" />
  1014. </EntityType>
  1015. <EntityType Name="TblImportSource">
  1016. <Key>
  1017. <PropertyRef Name="OID" />
  1018. </Key>
  1019. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1020. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  1021. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1022. <Property Name="DateCreated" Type="datetime" />
  1023. <Property Name="OptimisticLockField" Type="int" />
  1024. <Property Name="GCRecord" Type="int" />
  1025. <Property Name="VisibleToTelemarketers" Type="bit" />
  1026. <Property Name="MinAllowedCallbackDays" Type="int" />
  1027. <Property Name="OldOid" Type="nvarchar" MaxLength="100" />
  1028. <Property Name="Details" Type="nvarchar" MaxLength="100" />
  1029. </EntityType>
  1030. <EntityType Name="TblIncomeBracket">
  1031. <Key>
  1032. <PropertyRef Name="OID" />
  1033. </Key>
  1034. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1035. <Property Name="IncomeBracket" Type="nvarchar" MaxLength="100" />
  1036. <Property Name="OptimisticLockField" Type="int" />
  1037. <Property Name="GCRecord" Type="int" />
  1038. <Property Name="Randvalue" Type="float" />
  1039. </EntityType>
  1040. <EntityType Name="TblInsuranceReason">
  1041. <Key>
  1042. <PropertyRef Name="OID" />
  1043. </Key>
  1044. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1045. <Property Name="DateCreated" Type="datetime" />
  1046. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1047. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  1048. <Property Name="OptimisticLockField" Type="int" />
  1049. <Property Name="GCRecord" Type="int" />
  1050. </EntityType>
  1051. <EntityType Name="TblInterestAdjustment">
  1052. <Key>
  1053. <PropertyRef Name="OID" />
  1054. </Key>
  1055. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1056. <Property Name="ValueStoredInTable" Type="nvarchar" MaxLength="100" />
  1057. <Property Name="Interest" Type="float" />
  1058. <Property Name="OptimisticLockField" Type="int" />
  1059. <Property Name="GCRecord" Type="int" />
  1060. </EntityType>
  1061. <EntityType Name="TblInterestRates">
  1062. <Key>
  1063. <PropertyRef Name="OID" />
  1064. </Key>
  1065. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1066. <Property Name="EffectiveDate" Type="datetime" />
  1067. <Property Name="EffectiveRate" Type="money" />
  1068. <Property Name="OptimisticLockField" Type="int" />
  1069. <Property Name="GCRecord" Type="int" />
  1070. <Property Name="CompanyActiveDate" Type="datetime" />
  1071. </EntityType>
  1072. <EntityType Name="TblInvoiceLines">
  1073. <Key>
  1074. <PropertyRef Name="OID" />
  1075. </Key>
  1076. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1077. <Property Name="InvoiceNumber" Type="int" />
  1078. <Property Name="StockItem" Type="int" />
  1079. <Property Name="ExpenseCode" Type="int" />
  1080. <Property Name="Description" Type="nvarchar" MaxLength="300" />
  1081. <Property Name="Quantity" Type="float" />
  1082. <Property Name="UnitPrice" Type="float" />
  1083. <Property Name="TaxCode" Type="int" />
  1084. <Property Name="OptimisticLockField" Type="int" />
  1085. <Property Name="GCRecord" Type="int" />
  1086. <Property Name="UseExtendedValue" Type="bit" />
  1087. <Property Name="TaxAmount" Type="money" />
  1088. <Property Name="ExtendedAmount" Type="float" />
  1089. <Property Name="ExtendedAmountExcl" Type="float" />
  1090. </EntityType>
  1091. <EntityType Name="TblInvoices">
  1092. <Key>
  1093. <PropertyRef Name="OID" />
  1094. </Key>
  1095. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1096. <Property Name="DateCreated" Type="datetime" />
  1097. <Property Name="CreatedBy" Type="uniqueidentifier" />
  1098. <Property Name="Customer" Type="int" />
  1099. <Property Name="InvoiceDate" Type="datetime" />
  1100. <Property Name="Company" Type="int" />
  1101. <Property Name="Resort" Type="int" />
  1102. <Property Name="ReferenceNumber" Type="nvarchar" MaxLength="100" />
  1103. <Property Name="Comments" Type="nvarchar" MaxLength="1000" />
  1104. <Property Name="DeliveryDate" Type="datetime" />
  1105. <Property Name="DeliveryAddress" Type="uniqueidentifier" />
  1106. <Property Name="BankingDetails" Type="int" />
  1107. <Property Name="DateInvoicePrinted" Type="datetime" />
  1108. <Property Name="Recurring" Type="bit" />
  1109. <Property Name="DateLastInvoiced" Type="datetime" />
  1110. <Property Name="NumberOfMonths" Type="smallint" />
  1111. <Property Name="RecurringFrom" Type="datetime" />
  1112. <Property Name="OptimisticLockField" Type="int" />
  1113. <Property Name="GCRecord" Type="int" />
  1114. <Property Name="TotalAmount" Type="money" />
  1115. <Property Name="TotalAmountExcl" Type="money" />
  1116. <Property Name="TotalTaxAmount" Type="money" />
  1117. <Property Name="InvoiceNumber" Type="nvarchar" MaxLength="100" />
  1118. <Property Name="DatePaid" Type="datetime" />
  1119. </EntityType>
  1120. <EntityType Name="TblJournalBatch">
  1121. <Key>
  1122. <PropertyRef Name="OID" />
  1123. </Key>
  1124. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1125. <Property Name="DateCaptured" Type="datetime" />
  1126. <Property Name="CapturedBy" Type="uniqueidentifier" />
  1127. <Property Name="PostedToDebtors" Type="datetime" />
  1128. <Property Name="BatchAmount" Type="money" />
  1129. <Property Name="TransactionType" Type="int" />
  1130. <Property Name="AuthoriseBy" Type="uniqueidentifier" />
  1131. <Property Name="FullyAuthorised" Type="bit" />
  1132. <Property Name="CalculatedTotal" Type="money" />
  1133. <Property Name="OptimisticLockField" Type="int" />
  1134. <Property Name="GCRecord" Type="int" />
  1135. <Property Name="BankAccounts" Type="int" />
  1136. <Property Name="Declined" Type="bit" />
  1137. <Property Name="Checked" Type="bit" />
  1138. <Property Name="CreatedNotificationSend" Type="bit" />
  1139. <Property Name="CancellationSettlement" Type="int" />
  1140. <Property Name="Captured" Type="nvarchar" MaxLength="100" />
  1141. </EntityType>
  1142. <EntityType Name="TblJournalLineCatBreakdown">
  1143. <Key>
  1144. <PropertyRef Name="Oid" />
  1145. </Key>
  1146. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  1147. <Property Name="Category" Type="int" />
  1148. <Property Name="AmountRaised" Type="money" />
  1149. <Property Name="AmountAllocated" Type="money" />
  1150. <Property Name="JournalLine" Type="int" />
  1151. <Property Name="OptimisticLockField" Type="int" />
  1152. <Property Name="GCRecord" Type="int" />
  1153. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1154. </EntityType>
  1155. <EntityType Name="TblJournalLines">
  1156. <Key>
  1157. <PropertyRef Name="OID" />
  1158. </Key>
  1159. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1160. <Property Name="JournalBatch" Type="int" />
  1161. <Property Name="Debtor" Type="int" />
  1162. <Property Name="Amount" Type="money" />
  1163. <Property Name="Comments" Type="nvarchar" MaxLength="500" />
  1164. <Property Name="EffectiveDate" Type="datetime" />
  1165. <Property Name="ReferenceNumber" Type="nvarchar" MaxLength="100" />
  1166. <Property Name="OptimisticLockField" Type="int" />
  1167. <Property Name="GCRecord" Type="int" />
  1168. <Property Name="PayType" Type="int" />
  1169. <Property Name="CapitalAllocation" Type="money" />
  1170. <Property Name="FeesAllocation" Type="money" />
  1171. <Property Name="InterestAllocation" Type="money" />
  1172. <Property Name="DebtorCapital" Type="money" />
  1173. <Property Name="DebtorFees" Type="money" />
  1174. <Property Name="DebtorInterest" Type="money" />
  1175. <Property Name="ToAccount" Type="int" />
  1176. <Property Name="LineTransactionType" Type="int" />
  1177. <Property Name="BankAccount" Type="int" />
  1178. <Property Name="IsMultiReversal" Type="bit" />
  1179. <Property Name="Current" Type="money" />
  1180. <Property Name="Days30" Type="money" />
  1181. <Property Name="Days60" Type="money" />
  1182. <Property Name="Days90" Type="money" />
  1183. <Property Name="Days120" Type="money" />
  1184. <Property Name="Days150" Type="money" />
  1185. <Property Name="Days180" Type="money" />
  1186. <Property Name="DeltaCurrent" Type="money" />
  1187. <Property Name="DeltaDays30" Type="money" />
  1188. <Property Name="DeltaDays60" Type="money" />
  1189. <Property Name="DeltaDays90" Type="money" />
  1190. <Property Name="DeltaDays120" Type="money" />
  1191. <Property Name="DeltaDays150" Type="money" />
  1192. <Property Name="DeltaDays180" Type="money" />
  1193. <Property Name="Override" Type="bit" />
  1194. <Property Name="ManagementFeeYear" Type="int" />
  1195. <Property Name="Instalment" Type="money" />
  1196. <Property Name="DeltaInstalment" Type="money" />
  1197. <Property Name="SupportingDocument" Type="int" />
  1198. <Property Name="Posted" Type="bit" />
  1199. <Property Name="ChequeNumber" Type="nvarchar" MaxLength="100" />
  1200. <Property Name="TrfValidate" Type="bit" />
  1201. <Property Name="CancellationJournal" Type="bit" />
  1202. </EntityType>
  1203. <EntityType Name="TblJournalLineTransactions">
  1204. <Key>
  1205. <PropertyRef Name="OID" />
  1206. </Key>
  1207. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1208. <Property Name="JournalLine" Type="int" />
  1209. <Property Name="OriginalTransaction" Type="int" />
  1210. <Property Name="TotalAmountReversedSoFar" Type="money" />
  1211. <Property Name="Reverse" Type="bit" />
  1212. <Property Name="AmountToReverse" Type="money" />
  1213. <Property Name="OptimisticLockField" Type="int" />
  1214. <Property Name="GCRecord" Type="int" />
  1215. <Property Name="IsReversal" Type="bit" />
  1216. <Property Name="JournalTransStatus" Type="int" />
  1217. <Property Name="AmountOfJournalTrans" Type="money" />
  1218. <Property Name="NonReverseTranTypes" Type="int" />
  1219. <Property Name="TranType" Type="int" />
  1220. <Property Name="DeltaInstalment" Type="money" />
  1221. <Property Name="DeltaCurrent" Type="money" />
  1222. <Property Name="DeltaDays30" Type="money" />
  1223. <Property Name="DeltaDays60" Type="money" />
  1224. <Property Name="DeltaDays90" Type="money" />
  1225. <Property Name="DeltaDays120" Type="money" />
  1226. <Property Name="DeltaDays150" Type="money" />
  1227. <Property Name="DeltaDays180" Type="money" />
  1228. <Property Name="CapitalAllocated" Type="money" />
  1229. <Property Name="FeesAllocated" Type="money" />
  1230. <Property Name="InterestAllocated" Type="money" />
  1231. </EntityType>
  1232. <EntityType Name="TblJournalLineTransactionsCatBreakdown">
  1233. <Key>
  1234. <PropertyRef Name="Oid" />
  1235. </Key>
  1236. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  1237. <Property Name="Category" Type="int" />
  1238. <Property Name="AmountRaised" Type="money" />
  1239. <Property Name="JournalLineTransaction" Type="int" />
  1240. <Property Name="AmountAllocated" Type="money" />
  1241. <Property Name="OptimisticLockField" Type="int" />
  1242. <Property Name="GCRecord" Type="int" />
  1243. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1244. </EntityType>
  1245. <EntityType Name="TblLeadCategory">
  1246. <Key>
  1247. <PropertyRef Name="OID" />
  1248. </Key>
  1249. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1250. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  1251. <Property Name="OptimisticLockField" Type="int" />
  1252. <Property Name="GCRecord" Type="int" />
  1253. </EntityType>
  1254. <EntityType Name="TblLeadFeedback">
  1255. <Key>
  1256. <PropertyRef Name="OID" />
  1257. </Key>
  1258. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1259. <Property Name="Date" Type="datetime" />
  1260. <Property Name="Telemarketer" Type="int" />
  1261. <Property Name="Feedback" Type="int" />
  1262. <Property Name="Notes" Type="nvarchar(max)" />
  1263. <Property Name="LeadsKey" Type="int" />
  1264. <Property Name="OptimisticLockField" Type="int" />
  1265. <Property Name="GCRecord" Type="int" />
  1266. <Property Name="TFGLeadsKey" Type="int" />
  1267. </EntityType>
  1268. <EntityType Name="TblLeads">
  1269. <Key>
  1270. <PropertyRef Name="LeadNum" />
  1271. </Key>
  1272. <Property Name="LeadNum" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1273. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  1274. <Property Name="FirstName" Type="nvarchar" MaxLength="100" />
  1275. <Property Name="Initials" Type="nvarchar" MaxLength="10" />
  1276. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  1277. <Property Name="IDNumber" Type="nvarchar" MaxLength="13" />
  1278. <Property Name="DateOfBirth" Type="datetime" />
  1279. <Property Name="MaritalStatus" Type="int" />
  1280. <Property Name="Cellphone" Type="nvarchar" MaxLength="100" />
  1281. <Property Name="WorkPhone" Type="nvarchar" MaxLength="100" />
  1282. <Property Name="HomePhone" Type="nvarchar" MaxLength="100" />
  1283. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  1284. <Property Name="SpouseTitle" Type="nvarchar" MaxLength="20" />
  1285. <Property Name="SpouseFirstName" Type="nvarchar" MaxLength="100" />
  1286. <Property Name="SpouseInitials" Type="nvarchar" MaxLength="10" />
  1287. <Property Name="SpouseSurname" Type="nvarchar" MaxLength="100" />
  1288. <Property Name="SpouseIDNumber" Type="nvarchar" MaxLength="13" />
  1289. <Property Name="SpouseDateOfBirth" Type="datetime" />
  1290. <Property Name="AddressLine1" Type="nvarchar" MaxLength="100" />
  1291. <Property Name="AddressLine2" Type="nvarchar" MaxLength="100" />
  1292. <Property Name="AddressLine3" Type="nvarchar" MaxLength="100" />
  1293. <Property Name="AddressLine4" Type="nvarchar" MaxLength="100" />
  1294. <Property Name="AddressLine5" Type="nvarchar" MaxLength="100" />
  1295. <Property Name="LastCalled" Type="datetime" />
  1296. <Property Name="ConsentToCall" Type="datetime" />
  1297. <Property Name="DoNotContact" Type="bit" />
  1298. <Property Name="OwnedBy" Type="uniqueidentifier" />
  1299. <Property Name="AllocatedTo" Type="uniqueidentifier" />
  1300. <Property Name="AllocatedDateTime" Type="datetime" />
  1301. <Property Name="LeadDate" Type="datetime" />
  1302. <Property Name="OPCRef" Type="nvarchar" MaxLength="100" />
  1303. <Property Name="OPCDate" Type="datetime" />
  1304. <Property Name="OPCCompany" Type="nvarchar" MaxLength="100" />
  1305. <Property Name="ImportSource" Type="int" />
  1306. <Property Name="OptimisticLockField" Type="int" />
  1307. <Property Name="FaxNumber" Type="nvarchar" MaxLength="100" />
  1308. <Property Name="Region" Type="nvarchar" MaxLength="100" />
  1309. <Property Name="LastNumberCalled" Type="nvarchar" MaxLength="100" />
  1310. <Property Name="Language" Type="int" />
  1311. <Property Name="Age" Type="smallint" />
  1312. <Property Name="Occupation" Type="nvarchar" MaxLength="100" />
  1313. <Property Name="SpouseOccupation" Type="nvarchar" MaxLength="100" />
  1314. <Property Name="RegularHolidays" Type="bit" />
  1315. <Property Name="TotalHolidayDuration" Type="int" />
  1316. <Property Name="LocalHolidayDuration" Type="int" />
  1317. <Property Name="IntHolidayDuration" Type="int" />
  1318. <Property Name="DreamDestination" Type="nvarchar" MaxLength="100" />
  1319. <Property Name="LastHolidayDestination" Type="nvarchar" MaxLength="100" />
  1320. <Property Name="LastHolidayYear" Type="int" />
  1321. <Property Name="AgeBand" Type="int" />
  1322. <Property Name="LeadID" Type="nvarchar" MaxLength="100" />
  1323. <Property Name="IncomeGroup" Type="int" />
  1324. <Property Name="Ethnicity" Type="int" />
  1325. <Property Name="BatchNumber" Type="nvarchar" MaxLength="10" />
  1326. <Property Name="NotQualified" Type="bit" />
  1327. <Property Name="VoucherNo" Type="nvarchar" MaxLength="100" />
  1328. <Property Name="ReferredBy" Type="int" />
  1329. <Property Name="Surveyor" Type="nvarchar" MaxLength="100" />
  1330. <Property Name="Comments" Type="nvarchar" MaxLength="255" />
  1331. <Property Name="SurveyedBefore" Type="bit" />
  1332. <Property Name="SurveyedByWhom" Type="nvarchar" MaxLength="64" />
  1333. <Property Name="PriorPresentedBy" Type="nvarchar" MaxLength="100" />
  1334. <Property Name="DateCreated" Type="datetime" />
  1335. <Property Name="CreatedBy" Type="uniqueidentifier" />
  1336. <Property Name="DuplicateLead" Type="bit" />
  1337. <Property Name="LastShow" Type="datetime" />
  1338. <Property Name="CTBatchNumber" Type="nvarchar" MaxLength="10" />
  1339. <Property Name="SpecialTMAllocation" Type="uniqueidentifier" />
  1340. <Property Name="CallReschedule" Type="datetime" />
  1341. <Property Name="CreditCard" Type="bit" />
  1342. <Property Name="ImportSourceText" Type="nvarchar" MaxLength="100" />
  1343. <Property Name="RegionText" Type="nvarchar" MaxLength="100" />
  1344. <Property Name="HardBlock" Type="bit" />
  1345. <Property Name="SurveyorName" Type="nvarchar" MaxLength="100" />
  1346. <Property Name="CallStatus" Type="nvarchar" MaxLength="100" />
  1347. <Property Name="SalesRegion" Type="int" />
  1348. <Property Name="Countryname" Type="uniqueidentifier" />
  1349. <Property Name="MostRecentRanking" Type="int" />
  1350. <Property Name="SoftblockDateTime" Type="datetime" />
  1351. <Property Name="SoftBlock" Type="bit" />
  1352. <Property Name="TimeOffLead" Type="bit" />
  1353. <Property Name="TimeOffVoucherNumber" Type="int" />
  1354. <Property Name="TimeOffNonVoucherNumber" Type="int" />
  1355. <Property Name="OccupationNew" Type="uniqueidentifier" />
  1356. <Property Name="SpouseOccupationNew" Type="uniqueidentifier" />
  1357. <Property Name="HolidayInNigeria" Type="int" />
  1358. <Property Name="HolidayInternational" Type="int" />
  1359. <Property Name="UseCreditCard" Type="bit" />
  1360. <Property Name="UseCheque" Type="bit" />
  1361. <Property Name="UseATM" Type="bit" />
  1362. <Property Name="OPCLocation" Type="int" />
  1363. <Property Name="MarketingCampaign" Type="nvarchar" MaxLength="100" />
  1364. <Property Name="CanMakeBooking" Type="bit" />
  1365. </EntityType>
  1366. <EntityType Name="TblLeadsCallHistory">
  1367. <Key>
  1368. <PropertyRef Name="OID" />
  1369. </Key>
  1370. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1371. <Property Name="CallFromNumber" Type="nvarchar" MaxLength="100" />
  1372. <Property Name="CallToNumber" Type="nvarchar" MaxLength="100" />
  1373. <Property Name="DateTimeCalled" Type="datetime" />
  1374. <Property Name="CallDuration" Type="int" />
  1375. <Property Name="BillSeconds" Type="int" />
  1376. <Property Name="Disposition" Type="nvarchar" MaxLength="100" />
  1377. <Property Name="AsteriskIP" Type="nvarchar" MaxLength="100" />
  1378. <Property Name="AsteriskChannel" Type="nvarchar" MaxLength="100" />
  1379. <Property Name="Telemarketer" Type="int" />
  1380. <Property Name="LeadsKey" Type="int" />
  1381. <Property Name="OptimisticLockField" Type="int" />
  1382. <Property Name="GCRecord" Type="int" />
  1383. <Property Name="Recording" Type="int" />
  1384. <Property Name="Podmanager" Type="int" />
  1385. <Property Name="TelemarketerOffice" Type="int" />
  1386. <Property Name="TelemarketerCompany" Type="smallint" />
  1387. <Property Name="RecordingUpdated" Type="datetime" />
  1388. </EntityType>
  1389. <EntityType Name="TblLeaseFactor">
  1390. <Key>
  1391. <PropertyRef Name="Oid" />
  1392. </Key>
  1393. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  1394. <Property Name="FinancePeriod" Type="int" />
  1395. <Property Name="Factor" Type="money" />
  1396. <Property Name="Escalation" Type="money" />
  1397. <Property Name="ContractType" Type="int" />
  1398. <Property Name="OptimisticLockField" Type="int" />
  1399. <Property Name="GCRecord" Type="int" />
  1400. </EntityType>
  1401. <EntityType Name="TblLevelBasedCommPerc">
  1402. <Key>
  1403. <PropertyRef Name="Oid" />
  1404. </Key>
  1405. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  1406. <Property Name="DepositLevel" Type="uniqueidentifier" />
  1407. <Property Name="Country" Type="uniqueidentifier" />
  1408. <Property Name="PurchaseLevel" Type="int" />
  1409. <Property Name="CommisionPercentage" Type="money" />
  1410. <Property Name="OptimisticLockField" Type="int" />
  1411. <Property Name="GCRecord" Type="int" />
  1412. </EntityType>
  1413. <EntityType Name="TblLevyConsoftReceiptQuery">
  1414. <Key>
  1415. <PropertyRef Name="OID" />
  1416. </Key>
  1417. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1418. <Property Name="MemNO" Type="nvarchar" MaxLength="100" />
  1419. <Property Name="ContNo" Type="nvarchar" MaxLength="100" />
  1420. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1421. <Property Name="TranDate" Type="datetime" />
  1422. <Property Name="TranType" Type="nvarchar" MaxLength="100" />
  1423. <Property Name="RecNO" Type="int" />
  1424. <Property Name="combinedkey" Type="nvarchar" MaxLength="100" />
  1425. <Property Name="AmountRec" Type="money" />
  1426. <Property Name="BalanceAmount" Type="money" />
  1427. <Property Name="BankNumber" Type="int" />
  1428. <Property Name="OptimisticLockField" Type="int" />
  1429. <Property Name="GCRecord" Type="int" />
  1430. </EntityType>
  1431. <EntityType Name="TblLogos">
  1432. <Key>
  1433. <PropertyRef Name="OID" />
  1434. </Key>
  1435. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1436. <Property Name="StartDate" Type="datetime" />
  1437. <Property Name="EndDate" Type="datetime" />
  1438. <Property Name="MenuImage" Type="int" />
  1439. <Property Name="LogonImage" Type="int" />
  1440. <Property Name="ForAllYears" Type="bit" />
  1441. <Property Name="OptimisticLockField" Type="int" />
  1442. <Property Name="GCRecord" Type="int" />
  1443. </EntityType>
  1444. <EntityType Name="TblManagementFeeInstalments">
  1445. <Key>
  1446. <PropertyRef Name="OID" />
  1447. </Key>
  1448. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1449. <Property Name="Debtor" Type="int" />
  1450. <Property Name="StatementPeriodInt" Type="int" />
  1451. <Property Name="InstalmentAmount" Type="money" />
  1452. <Property Name="DateCreated" Type="datetime" />
  1453. <Property Name="InstalmentRaised" Type="bit" />
  1454. <Property Name="ManagementFeeYear" Type="int" />
  1455. <Property Name="OptimisticLockField" Type="int" />
  1456. <Property Name="GCRecord" Type="int" />
  1457. </EntityType>
  1458. <EntityType Name="TblManagementFeeOverride">
  1459. <Key>
  1460. <PropertyRef Name="OID" />
  1461. </Key>
  1462. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1463. <Property Name="Debtor" Type="int" />
  1464. <Property Name="DateCreated" Type="datetime" />
  1465. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1466. <Property Name="PaymentType" Type="int" />
  1467. <Property Name="DateOfPayment" Type="datetime" />
  1468. <Property Name="PaymentAmount" Type="money" />
  1469. <Property Name="ManagementFeeYear" Type="int" />
  1470. <Property Name="NumberOfMonths" Type="int" />
  1471. <Property Name="OptimisticLockField" Type="int" />
  1472. <Property Name="GCRecord" Type="int" />
  1473. <Property Name="FixedArrangement" Type="bit" />
  1474. </EntityType>
  1475. <EntityType Name="TblManagementFeesDocuments">
  1476. <Key>
  1477. <PropertyRef Name="OID" />
  1478. </Key>
  1479. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1480. <Property Name="Debtor" Type="int" />
  1481. <Property Name="Date" Type="datetime" />
  1482. <Property Name="Content" Type="nvarchar(max)" />
  1483. <Property Name="DebtorOtherFeesDocument" Type="int" />
  1484. <Property Name="OptimisticLockField" Type="int" />
  1485. <Property Name="GCRecord" Type="int" />
  1486. </EntityType>
  1487. <EntityType Name="TblManagementFeesToAdjust">
  1488. <Key>
  1489. <PropertyRef Name="OID" />
  1490. </Key>
  1491. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1492. <Property Name="ManagementFeeYear" Type="int" />
  1493. <Property Name="EstimatedAmount" Type="money" />
  1494. <Property Name="ActualAmount" Type="money" />
  1495. <Property Name="Resort" Type="int" />
  1496. <Property Name="Status" Type="int" />
  1497. <Property Name="Error" Type="nvarchar" MaxLength="500" />
  1498. <Property Name="DebtorTransaction" Type="int" />
  1499. <Property Name="ActualAmountAdjusted" Type="money" />
  1500. <Property Name="OptimisticLockField" Type="int" />
  1501. <Property Name="GCRecord" Type="int" />
  1502. </EntityType>
  1503. <EntityType Name="TblMarketingCampaign">
  1504. <Key>
  1505. <PropertyRef Name="OID" />
  1506. </Key>
  1507. <Property Name="OID" Type="int" Nullable="false" />
  1508. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1509. <Property Name="CreatedDate" Type="datetime" />
  1510. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  1511. <Property Name="Brand" Type="int" />
  1512. <Property Name="Partner" Type="int" />
  1513. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1514. <Property Name="LastVoucherNumberUsed" Type="nvarchar" MaxLength="100" />
  1515. <Property Name="Prefix" Type="nvarchar" MaxLength="100" />
  1516. <Property Name="SmsUser" Type="nvarchar" MaxLength="100" />
  1517. <Property Name="SmsPassword" Type="nvarchar" MaxLength="100" />
  1518. <Property Name="TimeSpesificAvailability" Type="bit" />
  1519. <Property Name="AvailabilityStart" Type="datetime" />
  1520. <Property Name="AvailabilityEnd" Type="datetime" />
  1521. <Property Name="ResortBookingConfirmationDocumentPath" Type="int" />
  1522. </EntityType>
  1523. <EntityType Name="TblMarketingCampaignResort">
  1524. <Key>
  1525. <PropertyRef Name="OID" />
  1526. </Key>
  1527. <Property Name="OID" Type="int" Nullable="false" />
  1528. <Property Name="Resort" Type="int" />
  1529. <Property Name="Campaign" Type="int" />
  1530. <Property Name="MidWeek" Type="bit" />
  1531. <Property Name="Weekend" Type="bit" />
  1532. </EntityType>
  1533. <EntityType Name="TblMarketingConsoftComm">
  1534. <Key>
  1535. <PropertyRef Name="OID" />
  1536. </Key>
  1537. <Property Name="OID" Type="int" Nullable="false" />
  1538. <Property Name="DateCreated" Type="datetime" />
  1539. <Property Name="SendTo" Type="nvarchar(max)" />
  1540. <Property Name="ReceivedFrom" Type="nvarchar(max)" />
  1541. <Property Name="VoucherNumber" Type="nvarchar" MaxLength="100" />
  1542. <Property Name="IsTest" Type="bit" />
  1543. <Property Name="Type" Type="int" />
  1544. </EntityType>
  1545. <EntityType Name="TblMessageCode">
  1546. <Key>
  1547. <PropertyRef Name="OID" />
  1548. </Key>
  1549. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1550. <Property Name="MessageCode" Type="nvarchar" MaxLength="100" />
  1551. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1552. <Property Name="DateCreated" Type="datetime" />
  1553. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1554. <Property Name="OptimisticLockField" Type="int" />
  1555. <Property Name="GCRecord" Type="int" />
  1556. <Property Name="MessageType" Type="int" />
  1557. </EntityType>
  1558. <EntityType Name="TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  1559. <Key>
  1560. <PropertyRef Name="OID" />
  1561. </Key>
  1562. <Property Name="Group" Type="int" />
  1563. <Property Name="MessageGroup" Type="int" />
  1564. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1565. <Property Name="OptimisticLockField" Type="int" />
  1566. </EntityType>
  1567. <EntityType Name="TblMonthEndRoles">
  1568. <Key>
  1569. <PropertyRef Name="OID" />
  1570. </Key>
  1571. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1572. <Property Name="Role" Type="uniqueidentifier" />
  1573. <Property Name="OptimisticLockField" Type="int" />
  1574. <Property Name="GCRecord" Type="int" />
  1575. </EntityType>
  1576. <EntityType Name="TblMonthEndRolesObjectExceptions">
  1577. <Key>
  1578. <PropertyRef Name="OID" />
  1579. </Key>
  1580. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1581. <Property Name="TargetType" Type="nvarchar(max)" />
  1582. <Property Name="BlockAccess" Type="bit" />
  1583. <Property Name="OptimisticLockField" Type="int" />
  1584. <Property Name="GCRecord" Type="int" />
  1585. </EntityType>
  1586. <EntityType Name="TblOldImportSource">
  1587. <Key>
  1588. <PropertyRef Name="OID" />
  1589. </Key>
  1590. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1591. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  1592. <Property Name="ImportSource" Type="int" />
  1593. <Property Name="OptimisticLockField" Type="int" />
  1594. <Property Name="GCRecord" Type="int" />
  1595. </EntityType>
  1596. <EntityType Name="TblOverrideAudit">
  1597. <Key>
  1598. <PropertyRef Name="OID" />
  1599. </Key>
  1600. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1601. <Property Name="DateCreated" Type="datetime" />
  1602. <Property Name="TblContractKey" Type="int" />
  1603. <Property Name="TransfigurationsKey" Type="int" />
  1604. <Property Name="OverrideDate" Type="datetime" />
  1605. <Property Name="OverrideUser" Type="int" />
  1606. <Property Name="TblContractUnitPriceOriginalValue" Type="money" />
  1607. <Property Name="TblContractUnitPriceOverrideValue" Type="money" />
  1608. <Property Name="TblContractContractCurrencyOriginalValue" Type="int" />
  1609. <Property Name="TblContractContractCurrencyOverrideValue" Type="int" />
  1610. <Property Name="TblContractConversionRateOriginalValue" Type="float" />
  1611. <Property Name="TblContractConversionRateOverrideValue" Type="float" />
  1612. <Property Name="TblContractOverrideDepositAmountOriginalValue" Type="money" />
  1613. <Property Name="TblContractOverrideDepositAmountOverrideValue" Type="money" />
  1614. <Property Name="TblContractInstalCommenceDateOriginalValue" Type="datetime" />
  1615. <Property Name="TblContractInstalCommenceDateOverrideValue" Type="datetime" />
  1616. <Property Name="TblContractInterestAdjOriginalValue" Type="money" />
  1617. <Property Name="TblContractInterestAdjOverrideValue" Type="money" />
  1618. <Property Name="TblContractInsuranceOriginalValue" Type="bit" />
  1619. <Property Name="TblContractInsuranceOverrideValue" Type="bit" />
  1620. <Property Name="TblContractDiscountAmountOriginalValue" Type="money" />
  1621. <Property Name="TblContractDiscountAmountOverrideValue" Type="money" />
  1622. <Property Name="TblContractZeroInterestDealOriginalValue" Type="bit" />
  1623. <Property Name="TblContractZeroInterestDealOverrideValue" Type="bit" />
  1624. <Property Name="TblContractDSDealOriginalValue" Type="bit" />
  1625. <Property Name="TblContractDSDealOverrideValue" Type="bit" />
  1626. <Property Name="TransfigurationsZeroInterestDealOriginalValue" Type="bit" />
  1627. <Property Name="TransfigurationsZeroInterestDealOverrideValue" Type="bit" />
  1628. <Property Name="TransfigurationsPointSellingPriceOriginalValue" Type="money" />
  1629. <Property Name="TransfigurationsPointSellingPriceOverrideValue" Type="money" />
  1630. <Property Name="TransfigurationsApplySlidingScaleOriginalValue" Type="bit" />
  1631. <Property Name="TransfigurationsApplySlidingScaleOverrideValue" Type="bit" />
  1632. <Property Name="OptimisticLockField" Type="int" />
  1633. <Property Name="GCRecord" Type="int" />
  1634. <Property Name="TransfigurationsContractCurrencyOriginalValue" Type="int" />
  1635. <Property Name="TransfigurationsContractCurrencyOverrideValue" Type="int" />
  1636. <Property Name="TransfigurationsConversionRateOriginalValue" Type="float" />
  1637. <Property Name="TransfigurationsConversionRateOverrideValue" Type="float" />
  1638. <Property Name="Portfolio" Type="int" />
  1639. </EntityType>
  1640. <EntityType Name="TblPaymentPlan">
  1641. <Key>
  1642. <PropertyRef Name="OID" />
  1643. </Key>
  1644. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1645. <Property Name="Debtor" Type="int" />
  1646. <Property Name="StatementPeriod" Type="datetime" />
  1647. <Property Name="InstallmentAmount" Type="money" />
  1648. <Property Name="OptimisticLockField" Type="int" />
  1649. <Property Name="GCRecord" Type="int" />
  1650. <Property Name="AccountPaymentType" Type="int" />
  1651. <Property Name="StatementPeriodInt" Type="int" />
  1652. <Property Name="InstalmentAmount" Type="money" />
  1653. <Property Name="DateCreated" Type="datetime" />
  1654. <Property Name="ServiceFeePortion" Type="money" />
  1655. <Property Name="InsurancePortion" Type="money" />
  1656. <Property Name="InstalmentRaised" Type="bit" />
  1657. <Property Name="ManagementFeeYear" Type="int" />
  1658. <Property Name="ACBRaised" Type="datetime" />
  1659. <Property Name="TransactionType" Type="int" />
  1660. <Property Name="PaymentType" Type="int" />
  1661. <Property Name="TableUsedInCalc" Type="nvarchar" MaxLength="100" />
  1662. <Property Name="TableEntryNumber" Type="int" />
  1663. <Property Name="NumberOfMonthsUsedInCalc" Type="int" />
  1664. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1665. <Property Name="DeletedBy" Type="nvarchar" MaxLength="100" />
  1666. </EntityType>
  1667. <EntityType Name="TblPaymentTypes">
  1668. <Key>
  1669. <PropertyRef Name="OID" />
  1670. </Key>
  1671. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1672. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1673. <Property Name="OptimisticLockField" Type="int" />
  1674. <Property Name="GCRecord" Type="int" />
  1675. <Property Name="Abbreviation" Type="nvarchar" MaxLength="100" />
  1676. <Property Name="WaitingPeriod" Type="int" />
  1677. <Property Name="MethodOfPayment" Type="int" />
  1678. <Property Name="ConsoftAbbreviation" Type="nvarchar" MaxLength="100" />
  1679. </EntityType>
  1680. <EntityType Name="TblPayType">
  1681. <Key>
  1682. <PropertyRef Name="OID" />
  1683. </Key>
  1684. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1685. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  1686. <Property Name="Abreviation" Type="nvarchar" MaxLength="100" />
  1687. <Property Name="OptimisticLockField" Type="int" />
  1688. <Property Name="GCRecord" Type="int" />
  1689. <Property Name="WaitingPeriod" Type="int" />
  1690. </EntityType>
  1691. <EntityType Name="TblPeriodsInMonths">
  1692. <Key>
  1693. <PropertyRef Name="Oid" />
  1694. </Key>
  1695. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  1696. <Property Name="Period" Type="int" />
  1697. <Property Name="IncludeForLease" Type="bit" />
  1698. <Property Name="IncludeForClubs" Type="bit" />
  1699. <Property Name="OptimisticLockField" Type="int" />
  1700. <Property Name="GCRecord" Type="int" />
  1701. <Property Name="ShowInReports" Type="bit" />
  1702. </EntityType>
  1703. <EntityType Name="TblPersonnel">
  1704. <Key>
  1705. <PropertyRef Name="PersonnelCode" />
  1706. </Key>
  1707. <Property Name="PersonnelCode" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1708. <Property Name="Company" Type="smallint" />
  1709. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  1710. <Property Name="FirstName" Type="nvarchar" MaxLength="50" />
  1711. <Property Name="Surname" Type="nvarchar" MaxLength="50" />
  1712. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  1713. <Property Name="Department" Type="nvarchar" MaxLength="20" />
  1714. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  1715. <Property Name="UserCode" Type="uniqueidentifier" />
  1716. <Property Name="DateCreated" Type="datetime" />
  1717. <Property Name="CreatedBy" Type="nvarchar" MaxLength="20" />
  1718. <Property Name="SuspendedDate" Type="datetime" />
  1719. <Property Name="DateJoined" Type="datetime" />
  1720. <Property Name="TelemarketerOffice" Type="int" />
  1721. <Property Name="DateResigned" Type="datetime" />
  1722. <Property Name="IDNumber" Type="nvarchar" MaxLength="20" />
  1723. <Property Name="BankName" Type="int" />
  1724. <Property Name="BankAccountNumber" Type="nvarchar" MaxLength="100" />
  1725. <Property Name="BankAccountHolder" Type="nvarchar" MaxLength="100" />
  1726. <Property Name="BankBranch" Type="int" />
  1727. <Property Name="BankAccountType" Type="int" />
  1728. <Property Name="BranchName" Type="nvarchar" MaxLength="100" />
  1729. <Property Name="SpouseFirstName" Type="nvarchar" MaxLength="50" />
  1730. <Property Name="SpouseSurname" Type="nvarchar" MaxLength="50" />
  1731. <Property Name="SpouseIdNumber" Type="nvarchar" MaxLength="100" />
  1732. <Property Name="NextOfKinFirstName" Type="nvarchar" MaxLength="100" />
  1733. <Property Name="NextOfKinSurname" Type="nvarchar" MaxLength="100" />
  1734. <Property Name="NextofKinRelationship" Type="int" />
  1735. <Property Name="OptimisticLockField" Type="int" />
  1736. <Property Name="AsteriskIP" Type="nvarchar" MaxLength="100" />
  1737. <Property Name="AsteriskUserCode" Type="nvarchar" MaxLength="100" />
  1738. <Property Name="AsteriskPassword" Type="nvarchar" MaxLength="100" />
  1739. <Property Name="AsteriskCallerID" Type="nvarchar" MaxLength="100" />
  1740. <Property Name="BasicSalary" Type="float" />
  1741. <Property Name="SalesManager" Type="int" />
  1742. <Property Name="CommStructure" Type="int" />
  1743. <Property Name="ReportsTo" Type="int" />
  1744. <Property Name="BookingSessionCounter" Type="int" />
  1745. <Property Name="PayrollNumber" Type="nvarchar" MaxLength="100" />
  1746. <Property Name="Franchisee" Type="bit" />
  1747. <Property Name="CommissionLinkedTo" Type="int" />
  1748. <Property Name="PitchedLeadsReportVenue" Type="int" />
  1749. <Property Name="EmailNotificationRecipient" Type="int" />
  1750. <Property Name="Workdays" Type="int" />
  1751. <Property Name="employeeLevel" Type="int" />
  1752. <Property Name="aProTask" Type="int" />
  1753. <Property Name="UnivateTarget" Type="int" />
  1754. <Property Name="CanAssignTasksToAnybody" Type="bit" />
  1755. <Property Name="ConsoftAgentCode" Type="int" />
  1756. <Property Name="aNotifyTask" Type="int" />
  1757. <Property Name="EmployeeNumber" Type="nvarchar" MaxLength="100" />
  1758. <Property Name="IsHRUser" Type="bit" />
  1759. <Property Name="UserName" Type="nvarchar" MaxLength="100" />
  1760. <Property Name="IsPodManager" Type="bit" />
  1761. <Property Name="IsSalesDirector" Type="bit" />
  1762. <Property Name="IsConfirmationManager" Type="bit" />
  1763. <Property Name="IsSalesManager" Type="bit" />
  1764. <Property Name="IsSalesConsultant" Type="bit" />
  1765. <Property Name="IsTelemarketer" Type="bit" />
  1766. <Property Name="IsSurveyor" Type="bit" />
  1767. <Property Name="ISnowahala" Type="bit" />
  1768. <Property Name="IsRegionalSalesManager" Type="bit" />
  1769. <Property Name="RegionalSalesManager" Type="int" />
  1770. <Property Name="ContractFlowRole" Type="int" />
  1771. <Property Name="ContractLastAllocated" Type="datetime" />
  1772. <Property Name="PAUserCode" Type="uniqueidentifier" />
  1773. <Property Name="PAAss" Type="int" />
  1774. <Property Name="GCRecord" Type="int" />
  1775. <Property Name="PayPoint" Type="nvarchar" MaxLength="100" />
  1776. <Property Name="InvoiceForAccess" Type="bit" />
  1777. <Property Name="IsTester" Type="bit" />
  1778. <Property Name="Addsome" Type="money" />
  1779. <Property Name="Transport" Type="money" />
  1780. <Property Name="NameAndSurname" Type="nvarchar" MaxLength="100" />
  1781. <Property Name="IsNotHuman" Type="bit" />
  1782. <Property Name="IsTelemarketingDirector" Type="bit" />
  1783. <Property Name="IsDeveloper" Type="bit" />
  1784. <Property Name="IsTestAdmin" Type="bit" />
  1785. <Property Name="SalesCommissionStructure" Type="uniqueidentifier" />
  1786. <Property Name="SalesCommissionEquityCategory" Type="uniqueidentifier" />
  1787. <Property Name="SalesCommissionRotation" Type="int" />
  1788. <Property Name="PayrollCompany" Type="nvarchar" MaxLength="100" />
  1789. <Property Name="EquityCommissionPercentage" Type="money" />
  1790. <Property Name="SalesCommQueryCategory" Type="int" />
  1791. <Property Name="AllowAllContractFlow" Type="bit" />
  1792. <Property Name="Supervisor" Type="int" />
  1793. <Property Name="IsTrainee" Type="bit" />
  1794. <Property Name="SMI" Type="uniqueidentifier" />
  1795. <Property Name="IsSupervisor" Type="bit" />
  1796. <Property Name="IsTMManager" Type="bit" />
  1797. <Property Name="IsJuniorManager" Type="bit" />
  1798. <Property Name="IsManager" Type="bit" />
  1799. <Property Name="IsPresenter" Type="bit" />
  1800. <Property Name="HRWarningRecipiant" Type="bit" />
  1801. <Property Name="HRWarningRecipient" Type="bit" />
  1802. <Property Name="IsTrainingManager" Type="bit" />
  1803. <Property Name="TrainingManager" Type="int" />
  1804. <Property Name="SCVStructure" Type="uniqueidentifier" />
  1805. <Property Name="NewCommStructure" Type="int" />
  1806. <Property Name="BasicEndDate" Type="datetime" />
  1807. <Property Name="PrimarySalesDeck" Type="int" />
  1808. <Property Name="IsConfirmationClerk" Type="bit" />
  1809. </EntityType>
  1810. <EntityType Name="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  1811. <Key>
  1812. <PropertyRef Name="OID" />
  1813. </Key>
  1814. <Property Name="BCCRecipiantOf" Type="int" />
  1815. <Property Name="BCCRecipiants" Type="int" />
  1816. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1817. <Property Name="OptimisticLockField" Type="int" />
  1818. </EntityType>
  1819. <EntityType Name="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  1820. <Key>
  1821. <PropertyRef Name="OID" />
  1822. </Key>
  1823. <Property Name="CCRecipiantOf" Type="int" />
  1824. <Property Name="CCRecipiants" Type="int" />
  1825. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1826. <Property Name="OptimisticLockField" Type="int" />
  1827. </EntityType>
  1828. <EntityType Name="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  1829. <Key>
  1830. <PropertyRef Name="OID" />
  1831. </Key>
  1832. <Property Name="CheckingType" Type="int" />
  1833. <Property Name="CheckingPersonnel" Type="int" />
  1834. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1835. <Property Name="OptimisticLockField" Type="int" />
  1836. </EntityType>
  1837. <EntityType Name="TblPersonnelDocuments">
  1838. <Key>
  1839. <PropertyRef Name="Oid" />
  1840. </Key>
  1841. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  1842. <Property Name="File" Type="uniqueidentifier" />
  1843. <Property Name="PersonnelCode" Type="int" />
  1844. <Property Name="DocumentType" Type="int" />
  1845. <Property Name="DateCreated" Type="datetime" />
  1846. <Property Name="OptimisticLockField" Type="int" />
  1847. <Property Name="GCRecord" Type="int" />
  1848. </EntityType>
  1849. <EntityType Name="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  1850. <Key>
  1851. <PropertyRef Name="OID" />
  1852. </Key>
  1853. <Property Name="ExpertEmails" Type="int" />
  1854. <Property Name="ExpertEmailRecipiants" Type="int" />
  1855. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1856. <Property Name="OptimisticLockField" Type="int" />
  1857. </EntityType>
  1858. <EntityType Name="TblPersonnelImportSource">
  1859. <Key>
  1860. <PropertyRef Name="OID" />
  1861. </Key>
  1862. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1863. <Property Name="PersonnelCode" Type="int" />
  1864. <Property Name="ImportSource" Type="int" />
  1865. <Property Name="OptimisticLockField" Type="int" />
  1866. <Property Name="GCRecord" Type="int" />
  1867. </EntityType>
  1868. <EntityType Name="TblPersonnelLeave">
  1869. <Key>
  1870. <PropertyRef Name="OID" />
  1871. </Key>
  1872. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1873. <Property Name="PersonnelCode" Type="int" />
  1874. <Property Name="LeaveFrom" Type="datetime" />
  1875. <Property Name="LeaveTo" Type="datetime" />
  1876. <Property Name="OptimisticLockField" Type="int" />
  1877. <Property Name="GCRecord" Type="int" />
  1878. <Property Name="Comments" Type="nvarchar" MaxLength="200" />
  1879. <Property Name="Type" Type="int" />
  1880. </EntityType>
  1881. <EntityType Name="TblPersonnelPersonnel_TblImportSourceImportSource">
  1882. <Key>
  1883. <PropertyRef Name="OID" />
  1884. </Key>
  1885. <Property Name="ImportSource" Type="int" />
  1886. <Property Name="Personnel" Type="int" />
  1887. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1888. <Property Name="OptimisticLockField" Type="int" />
  1889. </EntityType>
  1890. <EntityType Name="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  1891. <Key>
  1892. <PropertyRef Name="OID" />
  1893. </Key>
  1894. <Property Name="FlowCheckStage" Type="int" />
  1895. <Property Name="PersonnelAllowed" Type="int" />
  1896. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1897. <Property Name="OptimisticLockField" Type="int" />
  1898. </EntityType>
  1899. <EntityType Name="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  1900. <Key>
  1901. <PropertyRef Name="OID" />
  1902. </Key>
  1903. <Property Name="NotifyEmails" Type="int" />
  1904. <Property Name="PersonnelToNotify" Type="int" />
  1905. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1906. <Property Name="OptimisticLockField" Type="int" />
  1907. </EntityType>
  1908. <EntityType Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  1909. <Key>
  1910. <PropertyRef Name="OID" />
  1911. </Key>
  1912. <Property Name="EmailRecipiantOf" Type="int" />
  1913. <Property Name="Recipiants" Type="int" />
  1914. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1915. <Property Name="OptimisticLockField" Type="int" />
  1916. </EntityType>
  1917. <EntityType Name="TblPersonnelTelephone">
  1918. <Key>
  1919. <PropertyRef Name="OID" />
  1920. </Key>
  1921. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1922. <Property Name="PersonnelCode" Type="int" />
  1923. <Property Name="TelephoneNumber" Type="nvarchar" MaxLength="30" />
  1924. <Property Name="TelephoneType" Type="int" />
  1925. <Property Name="OptimisticLockField" Type="int" />
  1926. <Property Name="GCRecord" Type="int" />
  1927. </EntityType>
  1928. <EntityType Name="TblPersonnelUnivateTarget">
  1929. <Key>
  1930. <PropertyRef Name="OID" />
  1931. </Key>
  1932. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1933. <Property Name="PersonnelCode" Type="int" />
  1934. <Property Name="SalesVenue" Type="int" />
  1935. <Property Name="Target" Type="int" />
  1936. <Property Name="OptimisticLockField" Type="int" />
  1937. <Property Name="GCRecord" Type="int" />
  1938. </EntityType>
  1939. <EntityType Name="TblPersonnelWeeklyTargetSplit">
  1940. <Key>
  1941. <PropertyRef Name="OID" />
  1942. </Key>
  1943. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1944. <Property Name="Personnel" Type="int" />
  1945. <Property Name="Year" Type="int" />
  1946. <Property Name="WeekNumber" Type="int" />
  1947. <Property Name="DateFrom" Type="datetime" />
  1948. <Property Name="DateTo" Type="datetime" />
  1949. <Property Name="Target" Type="int" />
  1950. <Property Name="OptimisticLockField" Type="int" />
  1951. <Property Name="GCRecord" Type="int" />
  1952. </EntityType>
  1953. <EntityType Name="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  1954. <Key>
  1955. <PropertyRef Name="OID" />
  1956. </Key>
  1957. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1958. <Property Name="Personnel" Type="int" />
  1959. <Property Name="SalesVenue" Type="int" />
  1960. <Property Name="Year" Type="int" />
  1961. <Property Name="WeekNumber" Type="int" />
  1962. <Property Name="DateFrom" Type="datetime" />
  1963. <Property Name="DateTo" Type="datetime" />
  1964. <Property Name="Target" Type="int" />
  1965. <Property Name="OptimisticLockField" Type="int" />
  1966. <Property Name="GCRecord" Type="int" />
  1967. </EntityType>
  1968. <EntityType Name="TblPersTransfig">
  1969. <Key>
  1970. <PropertyRef Name="OID" />
  1971. </Key>
  1972. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1973. <Property Name="TransfigFrom" Type="nvarchar" MaxLength="10" />
  1974. <Property Name="TransfigTo" Type="nvarchar" MaxLength="10" />
  1975. <Property Name="TblPersonnellKey" Type="int" />
  1976. <Property Name="OptimisticLockField" Type="int" />
  1977. <Property Name="GCRecord" Type="int" />
  1978. </EntityType>
  1979. <EntityType Name="TblPodManager">
  1980. <Key>
  1981. <PropertyRef Name="OID" />
  1982. </Key>
  1983. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1984. <Property Name="PersonnelCode" Type="int" />
  1985. <Property Name="PodManagers" Type="int" />
  1986. <Property Name="OptimisticLockField" Type="int" />
  1987. <Property Name="GCRecord" Type="int" />
  1988. </EntityType>
  1989. <EntityType Name="TblPortfolio">
  1990. <Key>
  1991. <PropertyRef Name="OID" />
  1992. </Key>
  1993. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  1994. <Property Name="PortfolioNumber" Type="int" />
  1995. <Property Name="DateCreated" Type="datetime" />
  1996. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  1997. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  1998. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  1999. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  2000. <Property Name="FirstNames" Type="nvarchar" MaxLength="100" />
  2001. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  2002. <Property Name="IDNumber" Type="nvarchar" MaxLength="100" />
  2003. <Property Name="ReceiveInfo" Type="bit" />
  2004. <Property Name="OptOut" Type="bit" />
  2005. <Property Name="PersonalDataShared" Type="bit" />
  2006. <Property Name="Reconsider" Type="bit" />
  2007. <Property Name="DateOfBirth" Type="datetime" />
  2008. <Property Name="SpouseTitle" Type="nvarchar" MaxLength="20" />
  2009. <Property Name="SpouseInitials" Type="nvarchar" MaxLength="100" />
  2010. <Property Name="SpouseFirstName" Type="nvarchar" MaxLength="100" />
  2011. <Property Name="SpouseSurname" Type="nvarchar" MaxLength="100" />
  2012. <Property Name="SpouseIDNumber" Type="nvarchar" MaxLength="100" />
  2013. <Property Name="SpouseWorkPhoneNumber" Type="nvarchar" MaxLength="100" />
  2014. <Property Name="SpouseCellphoneNumber" Type="nvarchar" MaxLength="100" />
  2015. <Property Name="SpouseEmailAddress" Type="nvarchar" MaxLength="100" />
  2016. <Property Name="CompanyName" Type="nvarchar" MaxLength="100" />
  2017. <Property Name="CompanyRegNo" Type="nvarchar" MaxLength="100" />
  2018. <Property Name="BookingRefText" Type="nvarchar" MaxLength="100" />
  2019. <Property Name="OptimisticLockField" Type="int" />
  2020. <Property Name="GCRecord" Type="int" />
  2021. <Property Name="HowMarried" Type="int" />
  2022. <Property Name="JointPurchase" Type="bit" />
  2023. <Property Name="OtherContact" Type="nvarchar" MaxLength="100" />
  2024. <Property Name="ExternalAccountNumber" Type="nvarchar" MaxLength="100" />
  2025. <Property Name="BookingRef" Type="nvarchar" MaxLength="10" />
  2026. <Property Name="FacebookAddress" Type="nvarchar" MaxLength="100" />
  2027. <Property Name="TwitterAddress" Type="nvarchar" MaxLength="100" />
  2028. <Property Name="DateTimeUpdated" Type="datetime" />
  2029. <Property Name="DebtReviewDate" Type="datetime" />
  2030. <Property Name="DateTimeSent" Type="datetime" />
  2031. <Property Name="WebAddress" Type="nvarchar" MaxLength="100" />
  2032. <Property Name="IMAddress" Type="nvarchar" MaxLength="100" />
  2033. <Property Name="SkypeAddress" Type="nvarchar" MaxLength="100" />
  2034. <Property Name="LinkedInAddress" Type="nvarchar" MaxLength="100" />
  2035. <Property Name="TempPwd" Type="nvarchar" MaxLength="100" />
  2036. <Property Name="DefaultTelephone" Type="nvarchar" MaxLength="100" />
  2037. <Property Name="Email" Type="bit" />
  2038. <Property Name="Post" Type="bit" />
  2039. <Property Name="PortfolioString" Type="nvarchar" MaxLength="100" />
  2040. <Property Name="LastUpdated" Type="datetime" />
  2041. <Property Name="Status" Type="int" />
  2042. <Property Name="RCINumber" Type="nvarchar" MaxLength="100" />
  2043. <Property Name="CertificateName" Type="nvarchar" MaxLength="100" />
  2044. <Property Name="Password" Type="nvarchar" MaxLength="100" />
  2045. <Property Name="DefaultComAddress" Type="int" />
  2046. <Property Name="PasswordByte" Type="varbinary(max)" />
  2047. <Property Name="SendToCollectionSystem" Type="bit" />
  2048. <Property Name="DateLastSentToCollectionSystem" Type="datetime" />
  2049. <Property Name="FundInstallment" Type="bit" />
  2050. <Property Name="DoNotDecreaseInstallment" Type="bit" />
  2051. <Property Name="RCIEnrolledDate" Type="datetime" />
  2052. <Property Name="IsCompany" Type="bit" />
  2053. <Property Name="PowerOfAttorney" Type="nvarchar" MaxLength="100" />
  2054. <Property Name="POFAIDNumber" Type="nvarchar" MaxLength="100" />
  2055. <Property Name="ReconsiderTwoYears" Type="bit" />
  2056. <Property Name="ReconsiderTwoYearsSelected" Type="datetime" />
  2057. <Property Name="POAMakeReservation" Type="bit" />
  2058. <Property Name="POAEquireAvailableBenefits" Type="bit" />
  2059. <Property Name="POAEnquireFinancialDetails" Type="bit" />
  2060. <Property Name="POAAmendPersonalInformation" Type="bit" />
  2061. <Property Name="ReceiveLeaseInfo" Type="bit" />
  2062. <Property Name="CustomerVATNr" Type="nvarchar" MaxLength="50" />
  2063. <Property Name="IsForeigner" Type="bit" />
  2064. <Property Name="PassportNumber" Type="nvarchar" MaxLength="100" />
  2065. <Property Name="SpouseDOB" Type="datetime" />
  2066. <Property Name="IsSpouseForeigner" Type="bit" />
  2067. <Property Name="SpousePassportNumber" Type="nvarchar" MaxLength="100" />
  2068. <Property Name="SoleProprietor" Type="bit" />
  2069. <Property Name="IsEstateLate" Type="bit" />
  2070. <Property Name="IsSpouseEstateLate" Type="bit" />
  2071. <Property Name="DateEstateLate" Type="datetime" />
  2072. <Property Name="DateSpouseEstateLate" Type="datetime" />
  2073. <Property Name="EstateLateSent" Type="int" />
  2074. <Property Name="EstateLateSpouseSent" Type="int" />
  2075. <Property Name="CapacityOfRepresentative" Type="nvarchar" MaxLength="100" />
  2076. <Property Name="NameChange" Type="bit" />
  2077. <Property Name="PurchasedToOccupy" Type="bit" />
  2078. <Property Name="PurchasedToExchange" Type="bit" />
  2079. </EntityType>
  2080. <EntityType Name="TblPortfolioDocuments">
  2081. <Key>
  2082. <PropertyRef Name="OID" />
  2083. </Key>
  2084. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2085. <Property Name="PortFolio" Type="int" />
  2086. <Property Name="DateCreated" Type="datetime" />
  2087. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2088. <Property Name="DocumentType" Type="int" />
  2089. <Property Name="Document" Type="int" />
  2090. <Property Name="OptimisticLockField" Type="int" />
  2091. <Property Name="GCRecord" Type="int" />
  2092. <Property Name="Period" Type="nvarchar" MaxLength="100" />
  2093. <Property Name="IsStatement" Type="bit" />
  2094. </EntityType>
  2095. <EntityType Name="TblPortfolioFeeInsurance">
  2096. <Key>
  2097. <PropertyRef Name="Oid" />
  2098. </Key>
  2099. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2100. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  2101. <Property Name="Percentage" Type="money" />
  2102. <Property Name="OptimisticLockField" Type="int" />
  2103. <Property Name="GCRecord" Type="int" />
  2104. </EntityType>
  2105. <EntityType Name="TblPortfolioNotes">
  2106. <Key>
  2107. <PropertyRef Name="OID" />
  2108. </Key>
  2109. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2110. <Property Name="TblPortfolio" Type="int" />
  2111. <Property Name="MessageCode" Type="int" />
  2112. <Property Name="Comments" Type="nvarchar(max)" />
  2113. <Property Name="DateCreated" Type="datetime" />
  2114. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2115. <Property Name="OptimisticLockField" Type="int" />
  2116. <Property Name="GCRecord" Type="int" />
  2117. <Property Name="TblDebtor" Type="int" />
  2118. <Property Name="ActionDate" Type="datetime" />
  2119. <Property Name="Portfolio" Type="int" />
  2120. <Property Name="Debtor" Type="int" />
  2121. <Property Name="Contract" Type="int" />
  2122. <Property Name="SentToCollectionSystem" Type="datetime" />
  2123. <Property Name="MessageType" Type="int" />
  2124. <Property Name="Reference" Type="nvarchar" MaxLength="100" />
  2125. <Property Name="DebtorBanking" Type="int" />
  2126. </EntityType>
  2127. <EntityType Name="TblPortfolioResetEstateLate">
  2128. <Key>
  2129. <PropertyRef Name="OID" />
  2130. </Key>
  2131. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2132. <Property Name="Portfolio" Type="int" />
  2133. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2134. <Property Name="DateCreated" Type="datetime" />
  2135. <Property Name="UnFlagMain" Type="bit" />
  2136. <Property Name="UnFlagSpouse" Type="bit" />
  2137. <Property Name="Reason" Type="nvarchar(max)" />
  2138. <Property Name="OptimisticLockField" Type="int" />
  2139. <Property Name="GCRecord" Type="int" />
  2140. </EntityType>
  2141. <EntityType Name="TblPostCodes">
  2142. <Key>
  2143. <PropertyRef Name="OID" />
  2144. </Key>
  2145. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2146. <Property Name="PlaceName" Type="nvarchar" MaxLength="100" />
  2147. <Property Name="PostBoxCode" Type="nvarchar" MaxLength="100" />
  2148. <Property Name="StreetCode" Type="nvarchar" MaxLength="100" />
  2149. <Property Name="Region" Type="nvarchar" MaxLength="100" />
  2150. <Property Name="Area" Type="nvarchar" MaxLength="100" />
  2151. <Property Name="OptimisticLockField" Type="int" />
  2152. <Property Name="GCRecord" Type="int" />
  2153. </EntityType>
  2154. <EntityType Name="TblPreviousAgeing">
  2155. <Key>
  2156. <PropertyRef Name="OID" />
  2157. </Key>
  2158. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2159. <Property Name="Debtor" Type="int" />
  2160. <Property Name="Date" Type="datetime" />
  2161. <Property Name="StatementPeriod" Type="int" />
  2162. <Property Name="Balance" Type="money" />
  2163. <Property Name="Current" Type="money" />
  2164. <Property Name="Days30" Type="money" />
  2165. <Property Name="Days60" Type="money" />
  2166. <Property Name="Days90" Type="money" />
  2167. <Property Name="Days120" Type="money" />
  2168. <Property Name="Days150" Type="money" />
  2169. <Property Name="Days180" Type="money" />
  2170. <Property Name="Installment" Type="money" />
  2171. <Property Name="Age" Type="tinyint" />
  2172. <Property Name="NowDue" Type="money" />
  2173. <Property Name="OptimisticLockField" Type="int" />
  2174. <Property Name="GCRecord" Type="int" />
  2175. <Property Name="Capital" Type="money" />
  2176. <Property Name="Fees" Type="money" />
  2177. <Property Name="Interest" Type="money" />
  2178. <Property Name="Instalment" Type="money" />
  2179. <Property Name="CurrentAge" Type="tinyint" />
  2180. <Property Name="AmountDue" Type="money" />
  2181. </EntityType>
  2182. <EntityType Name="TblPreviousAging">
  2183. <Key>
  2184. <PropertyRef Name="OID" />
  2185. </Key>
  2186. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2187. <Property Name="Debtor" Type="int" />
  2188. <Property Name="StatementPeriod" Type="int" />
  2189. <Property Name="Balance" Type="money" />
  2190. <Property Name="Sundries" Type="float" />
  2191. <Property Name="Days30" Type="money" />
  2192. <Property Name="Days60" Type="money" />
  2193. <Property Name="Days90" Type="money" />
  2194. <Property Name="Days120" Type="money" />
  2195. <Property Name="Days150" Type="money" />
  2196. <Property Name="Days180" Type="money" />
  2197. <Property Name="Installment" Type="money" />
  2198. <Property Name="Age" Type="tinyint" />
  2199. <Property Name="NowDue" Type="money" />
  2200. <Property Name="OptimisticLockField" Type="int" />
  2201. <Property Name="GCRecord" Type="int" />
  2202. <Property Name="Current" Type="money" />
  2203. </EntityType>
  2204. <EntityType Name="TblPromoCategory">
  2205. <Key>
  2206. <PropertyRef Name="OID" />
  2207. </Key>
  2208. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2209. <Property Name="DateCreated" Type="datetime" />
  2210. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2211. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  2212. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  2213. <Property Name="OptimisticLockField" Type="int" />
  2214. <Property Name="GCRecord" Type="int" />
  2215. </EntityType>
  2216. <EntityType Name="TblPromoConfig">
  2217. <Key>
  2218. <PropertyRef Name="OID" />
  2219. </Key>
  2220. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2221. <Property Name="DateCreated" Type="datetime" />
  2222. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2223. <Property Name="CampaignName" Type="nvarchar" MaxLength="100" />
  2224. <Property Name="StartDate" Type="datetime" />
  2225. <Property Name="EndDate" Type="datetime" />
  2226. <Property Name="ArrivalDate" Type="datetime" />
  2227. <Property Name="DepartureDate" Type="datetime" />
  2228. <Property Name="PromoArrivalDate" Type="datetime" />
  2229. <Property Name="PromoDepartureDate" Type="datetime" />
  2230. <Property Name="Category" Type="int" />
  2231. <Property Name="Resort" Type="int" />
  2232. <Property Name="PromoResort" Type="int" />
  2233. <Property Name="Value" Type="money" />
  2234. <Property Name="ValueType" Type="int" />
  2235. <Property Name="PromoCode" Type="nvarchar" MaxLength="100" />
  2236. <Property Name="HTMLTemplate" Type="nvarchar(max)" />
  2237. <Property Name="ImportTemplate" Type="uniqueidentifier" />
  2238. <Property Name="OptimisticLockField" Type="int" />
  2239. <Property Name="GCRecord" Type="int" />
  2240. </EntityType>
  2241. <EntityType Name="TblPromoDocuments">
  2242. <Key>
  2243. <PropertyRef Name="OID" />
  2244. </Key>
  2245. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2246. <Property Name="DateCreated" Type="datetime" />
  2247. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2248. <Property Name="DocumentType" Type="int" />
  2249. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  2250. <Property Name="PromoConfig" Type="int" />
  2251. <Property Name="Document" Type="int" />
  2252. <Property Name="OptimisticLockField" Type="int" />
  2253. <Property Name="GCRecord" Type="int" />
  2254. </EntityType>
  2255. <EntityType Name="TblPromoMembers">
  2256. <Key>
  2257. <PropertyRef Name="OID" />
  2258. </Key>
  2259. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2260. <Property Name="DateCreated" Type="datetime" />
  2261. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2262. <Property Name="MembershipNo" Type="nvarchar" MaxLength="100" />
  2263. <Property Name="Campaign" Type="int" />
  2264. <Property Name="Redeemed" Type="bit" />
  2265. <Property Name="OptimisticLockField" Type="int" />
  2266. <Property Name="GCRecord" Type="int" />
  2267. <Property Name="SentToUni" Type="datetime" />
  2268. <Property Name="RedeemedDate" Type="datetime" />
  2269. </EntityType>
  2270. <EntityType Name="TblPromotion">
  2271. <Key>
  2272. <PropertyRef Name="Oid" />
  2273. </Key>
  2274. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2275. <Property Name="Resort" Type="int" />
  2276. <Property Name="Season" Type="int" />
  2277. <Property Name="SleeperSize" Type="int" />
  2278. <Property Name="UnitNumber" Type="int" />
  2279. <Property Name="WeekType" Type="int" />
  2280. <Property Name="FromDate" Type="datetime" />
  2281. <Property Name="ToDate" Type="datetime" />
  2282. <Property Name="Price1" Type="money" />
  2283. <Property Name="Price2" Type="money" />
  2284. <Property Name="DiscountPercentage" Type="money" />
  2285. <Property Name="OptimisticLockField" Type="int" />
  2286. <Property Name="GCRecord" Type="int" />
  2287. <Property Name="RebatePercentage" Type="money" />
  2288. <Property Name="UsePrice1" Type="bit" />
  2289. <Property Name="UsePrice2" Type="bit" />
  2290. <Property Name="UseRebate" Type="bit" />
  2291. <Property Name="WeekModule" Type="int" />
  2292. <Property Name="PromotionType" Type="int" />
  2293. </EntityType>
  2294. <EntityType Name="TblPromotionCommission">
  2295. <Key>
  2296. <PropertyRef Name="Oid" />
  2297. </Key>
  2298. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2299. <Property Name="SalesCommissionInfo" Type="uniqueidentifier" />
  2300. <Property Name="PromotionPercentage" Type="money" />
  2301. <Property Name="PromotionAmount" Type="money" />
  2302. <Property Name="UseAmount" Type="bit" />
  2303. <Property Name="UpfrontAmount" Type="money" />
  2304. <Property Name="UpfrontAmountPaid" Type="money" />
  2305. <Property Name="DripAmount" Type="money" />
  2306. <Property Name="DripAmountPaid" Type="money" />
  2307. <Property Name="UpfrontPercentage" Type="money" />
  2308. <Property Name="DripPercentage" Type="money" />
  2309. <Property Name="NumberOfDrips" Type="int" />
  2310. <Property Name="DripStartOnInstallment" Type="int" />
  2311. <Property Name="PromotionCommissionStructure" Type="uniqueidentifier" />
  2312. <Property Name="OptimisticLockField" Type="int" />
  2313. <Property Name="GCRecord" Type="int" />
  2314. </EntityType>
  2315. <EntityType Name="TblPromotionCommissionStructure">
  2316. <Key>
  2317. <PropertyRef Name="Oid" />
  2318. </Key>
  2319. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2320. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  2321. <Property Name="FromDate" Type="datetime" />
  2322. <Property Name="ToDate" Type="datetime" />
  2323. <Property Name="UsePercentage" Type="bit" />
  2324. <Property Name="PromotionPercentage" Type="money" />
  2325. <Property Name="UseAmount" Type="bit" />
  2326. <Property Name="PromotionAmount" Type="money" />
  2327. <Property Name="UpfrontPercentage" Type="money" />
  2328. <Property Name="DripPercentage" Type="money" />
  2329. <Property Name="NumberOfDrips" Type="int" />
  2330. <Property Name="DripStartOnInstallment" Type="int" />
  2331. <Property Name="OptimisticLockField" Type="int" />
  2332. <Property Name="GCRecord" Type="int" />
  2333. </EntityType>
  2334. <EntityType Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  2335. <Key>
  2336. <PropertyRef Name="OID" />
  2337. </Key>
  2338. <Property Name="ContractTypes" Type="int" />
  2339. <Property Name="PromotionCommissionStructures" Type="uniqueidentifier" />
  2340. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2341. <Property Name="OptimisticLockField" Type="int" />
  2342. </EntityType>
  2343. <EntityType Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  2344. <Key>
  2345. <PropertyRef Name="OID" />
  2346. </Key>
  2347. <Property Name="Personnel" Type="int" />
  2348. <Property Name="PromotionCommissionStructures" Type="uniqueidentifier" />
  2349. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2350. <Property Name="OptimisticLockField" Type="int" />
  2351. </EntityType>
  2352. <EntityType Name="TblPromotionType">
  2353. <Key>
  2354. <PropertyRef Name="OID" />
  2355. </Key>
  2356. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2357. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  2358. <Property Name="ContractDuration" Type="int" />
  2359. <Property Name="PaymentDuration" Type="int" />
  2360. <Property Name="DefaultContractType" Type="int" />
  2361. <Property Name="OptimisticLockField" Type="int" />
  2362. <Property Name="GCRecord" Type="int" />
  2363. <Property Name="SCV2PaymentDuration" Type="int" />
  2364. </EntityType>
  2365. <EntityType Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  2366. <Key>
  2367. <PropertyRef Name="OID" />
  2368. </Key>
  2369. <Property Name="PromotionCommissionStructures" Type="uniqueidentifier" />
  2370. <Property Name="PromotionTypes" Type="int" />
  2371. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2372. <Property Name="OptimisticLockField" Type="int" />
  2373. </EntityType>
  2374. <EntityType Name="TblPublicHoliday">
  2375. <Key>
  2376. <PropertyRef Name="Date" />
  2377. </Key>
  2378. <Property Name="Date" Type="datetime" Nullable="false" />
  2379. <Property Name="OptimisticLockField" Type="int" />
  2380. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  2381. <Property Name="ThisYearOnly" Type="bit" />
  2382. </EntityType>
  2383. <EntityType Name="TblQNQReasons">
  2384. <Key>
  2385. <PropertyRef Name="OID" />
  2386. </Key>
  2387. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2388. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  2389. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2390. <Property Name="DateCreated" Type="datetime" />
  2391. <Property Name="Qualified" Type="bit" />
  2392. <Property Name="OptimisticLockField" Type="int" />
  2393. <Property Name="GCRecord" Type="int" />
  2394. </EntityType>
  2395. <EntityType Name="TblQueryCategories">
  2396. <Key>
  2397. <PropertyRef Name="OID" />
  2398. </Key>
  2399. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2400. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  2401. <Property Name="OptimisticLockField" Type="int" />
  2402. <Property Name="GCRecord" Type="int" />
  2403. </EntityType>
  2404. <EntityType Name="TblQueryCategory">
  2405. <Key>
  2406. <PropertyRef Name="OID" />
  2407. </Key>
  2408. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2409. <Property Name="QueryCategory" Type="int" />
  2410. <Property Name="FeeType" Type="int" />
  2411. <Property Name="FixedRate" Type="money" />
  2412. <Property Name="HourlyRate" Type="money" />
  2413. <Property Name="System" Type="int" />
  2414. <Property Name="OptimisticLockField" Type="int" />
  2415. <Property Name="GCRecord" Type="int" />
  2416. </EntityType>
  2417. <EntityType Name="TblQueryRecipient">
  2418. <Key>
  2419. <PropertyRef Name="OID" />
  2420. </Key>
  2421. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2422. <Property Name="System" Type="int" />
  2423. <Property Name="MainRecipient" Type="int" />
  2424. <Property Name="CCRecipient" Type="int" />
  2425. <Property Name="BCCRecipient" Type="int" />
  2426. <Property Name="OptimisticLockField" Type="int" />
  2427. <Property Name="GCRecord" Type="int" />
  2428. </EntityType>
  2429. <EntityType Name="TblRankingPoints">
  2430. <Key>
  2431. <PropertyRef Name="OID" />
  2432. </Key>
  2433. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2434. <Property Name="DateCreated" Type="datetime" />
  2435. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2436. <Property Name="Rank" Type="int" />
  2437. <Property Name="PerRank" Type="int" />
  2438. <Property Name="SalesPrice" Type="money" />
  2439. <Property Name="Rankings" Type="int" />
  2440. <Property Name="OptimisticLockField" Type="int" />
  2441. <Property Name="GCRecord" Type="int" />
  2442. <Property Name="FoundationFeePercentage" Type="money" />
  2443. <Property Name="MennoxPercentage" Type="money" />
  2444. <Property Name="NominalFee" Type="money" />
  2445. <Property Name="MidWeekPrice" Type="money" />
  2446. <Property Name="WeekendPrice" Type="money" />
  2447. <Property Name="NominalFeeEsclation" Type="money" />
  2448. </EntityType>
  2449. <EntityType Name="TblRankings">
  2450. <Key>
  2451. <PropertyRef Name="OID" />
  2452. </Key>
  2453. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2454. <Property Name="DateCreated" Type="datetime" />
  2455. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2456. <Property Name="Years" Type="int" />
  2457. <Property Name="OptimisticLockField" Type="int" />
  2458. <Property Name="GCRecord" Type="int" />
  2459. </EntityType>
  2460. <EntityType Name="TblRawSalesCommData">
  2461. <Key>
  2462. <PropertyRef Name="OID" />
  2463. </Key>
  2464. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2465. <Property Name="Company" Type="nvarchar" MaxLength="100" />
  2466. <Property Name="SalesConsultant" Type="int" />
  2467. <Property Name="GroupCode" Type="nvarchar" MaxLength="100" />
  2468. <Property Name="AccountNumber" Type="nvarchar" MaxLength="100" />
  2469. <Property Name="CustomerSurname" Type="nvarchar" MaxLength="100" />
  2470. <Property Name="Units" Type="smallint" />
  2471. <Property Name="Price" Type="float" />
  2472. <Property Name="DateCaptured" Type="datetime" />
  2473. <Property Name="DateWritten" Type="datetime" />
  2474. <Property Name="ContractStatus" Type="nvarchar" MaxLength="100" />
  2475. <Property Name="St1" Type="nvarchar" MaxLength="100" />
  2476. <Property Name="St2" Type="nvarchar" MaxLength="100" />
  2477. <Property Name="ContractNumber" Type="nvarchar" MaxLength="100" />
  2478. <Property Name="StdAddendum" Type="nvarchar" MaxLength="100" />
  2479. <Property Name="CFlag" Type="nvarchar" MaxLength="100" />
  2480. <Property Name="InstalmentDate" Type="datetime" />
  2481. <Property Name="InterestPayable" Type="datetime" />
  2482. <Property Name="Developer" Type="nvarchar" MaxLength="100" />
  2483. <Property Name="Deposit" Type="float" />
  2484. <Property Name="Add1" Type="float" />
  2485. <Property Name="Add2" Type="float" />
  2486. <Property Name="Add3" Type="float" />
  2487. <Property Name="UniqueNo" Type="nvarchar" MaxLength="100" />
  2488. <Property Name="SalesPeriod" Type="int" />
  2489. <Property Name="FourPercentComm" Type="bit" />
  2490. <Property Name="SalesManager" Type="int" />
  2491. <Property Name="AgentName" Type="nvarchar" MaxLength="100" />
  2492. <Property Name="ContractPeriod" Type="smallint" />
  2493. <Property Name="OptimisticLockField" Type="int" />
  2494. <Property Name="GCRecord" Type="int" />
  2495. </EntityType>
  2496. <EntityType Name="TblRCIDates">
  2497. <Key>
  2498. <PropertyRef Name="OID" />
  2499. </Key>
  2500. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2501. <Property Name="Year" Type="int" />
  2502. <Property Name="StartingWeek" Type="datetime" />
  2503. <Property Name="Resort" Type="int" />
  2504. <Property Name="WeekendShares" Type="smallint" />
  2505. <Property Name="MidweekShares" Type="smallint" />
  2506. <Property Name="FullWeekShares" Type="smallint" />
  2507. <Property Name="OptimisticLockField" Type="int" />
  2508. <Property Name="GCRecord" Type="int" />
  2509. </EntityType>
  2510. <EntityType Name="TblRebatePaymentCategoryCode">
  2511. <Key>
  2512. <PropertyRef Name="OID" />
  2513. </Key>
  2514. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2515. <Property Name="CategoryCode" Type="int" />
  2516. <Property Name="IsLease" Type="bit" />
  2517. <Property Name="IsCreditAgreement" Type="bit" />
  2518. <Property Name="OptimisticLockField" Type="int" />
  2519. <Property Name="GCRecord" Type="int" />
  2520. </EntityType>
  2521. <EntityType Name="TblReferalProfile">
  2522. <Key>
  2523. <PropertyRef Name="OID" />
  2524. </Key>
  2525. <Property Name="OID" Type="int" Nullable="false" />
  2526. <Property Name="TotalShows" Type="int" />
  2527. <Property Name="MemberNo" Type="int" />
  2528. <Property Name="Qualify" Type="bit" />
  2529. <Property Name="Voucher" Type="nvarchar" MaxLength="100" />
  2530. </EntityType>
  2531. <EntityType Name="TblReleaseClientBookings">
  2532. <Key>
  2533. <PropertyRef Name="OID" />
  2534. </Key>
  2535. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2536. <Property Name="BookingRef" Type="nvarchar" MaxLength="100" />
  2537. <Property Name="PresentationDate" Type="datetime" />
  2538. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  2539. <Property Name="Attended" Type="bit" />
  2540. <Property Name="ShowStart" Type="nvarchar" MaxLength="100" />
  2541. <Property Name="SessionNo" Type="int" />
  2542. <Property Name="ReleaseClient" Type="int" />
  2543. <Property Name="OptimisticLockField" Type="int" />
  2544. <Property Name="GCRecord" Type="int" />
  2545. </EntityType>
  2546. <EntityType Name="TblRescheduleCalls">
  2547. <Key>
  2548. <PropertyRef Name="OID" />
  2549. </Key>
  2550. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2551. <Property Name="PersonnelCode" Type="int" />
  2552. <Property Name="DateCreated" Type="datetime" />
  2553. <Property Name="dateTimeToCall" Type="datetime" />
  2554. <Property Name="LeadNum" Type="int" />
  2555. <Property Name="DateProcessed" Type="datetime" />
  2556. <Property Name="Telemarketer" Type="uniqueidentifier" />
  2557. <Property Name="OptimisticLockField" Type="int" />
  2558. <Property Name="GCRecord" Type="int" />
  2559. </EntityType>
  2560. <EntityType Name="TblResort">
  2561. <Key>
  2562. <PropertyRef Name="OID" />
  2563. </Key>
  2564. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2565. <Property Name="ResortName" Type="nvarchar" MaxLength="100" />
  2566. <Property Name="DateCreated" Type="datetime" />
  2567. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2568. <Property Name="OptimisticLockField" Type="int" />
  2569. <Property Name="GCRecord" Type="int" />
  2570. <Property Name="DeliveryAddress" Type="uniqueidentifier" />
  2571. <Property Name="StockLocation" Type="int" />
  2572. <Property Name="ResortCode" Type="nvarchar" MaxLength="100" />
  2573. <Property Name="Area" Type="nvarchar" MaxLength="100" />
  2574. <Property Name="OldResortCode" Type="nvarchar" MaxLength="100" />
  2575. <Property Name="_ResortManager" Type="int" />
  2576. <Property Name="Region" Type="int" />
  2577. <Property Name="CheckInTime" Type="float" />
  2578. <Property Name="CheckOutTime" Type="float" />
  2579. <Property Name="CheckInDay" Type="int" />
  2580. <Property Name="ManagingAgent" Type="int" />
  2581. <Property Name="ResortManager" Type="int" />
  2582. <Property Name="RCIAffiliated" Type="bit" />
  2583. <Property Name="PurchaseFactor" Type="float" />
  2584. <Property Name="DefaultDeveloper" Type="int" />
  2585. <Property Name="ResortRanking" Type="int" />
  2586. <Property Name="MayNotView" Type="bit" />
  2587. <Property Name="NoRebate" Type="bit" />
  2588. <Property Name="ConsoftWeeksStock" Type="int" />
  2589. <Property Name="TimeOffMaxPercentageOfStock" Type="int" />
  2590. <Property Name="ExternalResortCommission" Type="bit" />
  2591. <Property Name="CommissionPercentage" Type="money" />
  2592. <Property Name="DripPeriod" Type="int" />
  2593. <Property Name="PayableToResort" Type="money" />
  2594. <Property Name="ExcludeForPromotions" Type="bit" />
  2595. <Property Name="ExternalResortCommYear" Type="int" />
  2596. <Property Name="TimeshareResort" Type="bit" />
  2597. <Property Name="TimeoffResort" Type="bit" />
  2598. <Property Name="Available" Type="int" />
  2599. <Property Name="InnKeeperMap" Type="nvarchar" MaxLength="100" />
  2600. <Property Name="TradeInFullWeek" Type="bit" />
  2601. <Property Name="TradeInMidWeek" Type="bit" />
  2602. <Property Name="TradeInWeekend" Type="bit" />
  2603. <Property Name="Website" Type="nvarchar" MaxLength="100" />
  2604. </EntityType>
  2605. <EntityType Name="TblResortExternalSalesPeriod">
  2606. <Key>
  2607. <PropertyRef Name="OID" />
  2608. </Key>
  2609. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2610. <Property Name="Resort" Type="int" />
  2611. <Property Name="StartDate" Type="datetime" />
  2612. <Property Name="EndDate" Type="datetime" />
  2613. <Property Name="AlienationPeriod" Type="int" />
  2614. <Property Name="OptimisticLockField" Type="int" />
  2615. <Property Name="GCRecord" Type="int" />
  2616. </EntityType>
  2617. <EntityType Name="TblResortExternalSalesPeriodRules">
  2618. <Key>
  2619. <PropertyRef Name="OID" />
  2620. </Key>
  2621. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2622. <Property Name="SalesPeriod" Type="int" />
  2623. <Property Name="Year" Type="int" />
  2624. <Property Name="TermLeft" Type="int" />
  2625. <Property Name="InstalmentPeriod" Type="int" />
  2626. <Property Name="RebateProrata" Type="money" />
  2627. <Property Name="LeasePriceProrata" Type="money" />
  2628. <Property Name="OptimisticLockField" Type="int" />
  2629. <Property Name="GCRecord" Type="int" />
  2630. </EntityType>
  2631. <EntityType Name="TblResortManagingAgent">
  2632. <Key>
  2633. <PropertyRef Name="OID" />
  2634. </Key>
  2635. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2636. <Property Name="ManagingAgentName" Type="nvarchar" MaxLength="100" />
  2637. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  2638. <Property Name="TelephoneNumber" Type="int" />
  2639. <Property Name="OptimisticLockField" Type="int" />
  2640. <Property Name="GCRecord" Type="int" />
  2641. </EntityType>
  2642. <EntityType Name="TblResortNotes">
  2643. <Key>
  2644. <PropertyRef Name="OID" />
  2645. </Key>
  2646. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2647. <Property Name="DateCreated" Type="datetime" />
  2648. <Property Name="CreatedBy" Type="nvarchar" MaxLength="20" />
  2649. <Property Name="ExpiryDate" Type="datetime" />
  2650. <Property Name="ResortKey" Type="int" />
  2651. <Property Name="Notes" Type="nvarchar" MaxLength="400" />
  2652. <Property Name="OptimisticLockField" Type="int" />
  2653. <Property Name="GCRecord" Type="int" />
  2654. </EntityType>
  2655. <EntityType Name="TblResortRebateBlock">
  2656. <Key>
  2657. <PropertyRef Name="Oid" />
  2658. </Key>
  2659. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2660. <Property Name="Resort" Type="int" />
  2661. <Property Name="Club" Type="nvarchar" MaxLength="10" />
  2662. <Property Name="SalesType" Type="int" />
  2663. <Property Name="BlockRebate" Type="bit" />
  2664. <Property Name="BlockRebateForOutBal" Type="bit" />
  2665. <Property Name="OptimisticLockField" Type="int" />
  2666. <Property Name="GCRecord" Type="int" />
  2667. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2668. <Property Name="DateCreated" Type="datetime" />
  2669. <Property Name="Season" Type="int" />
  2670. <Property Name="AssetType" Type="int" />
  2671. <Property Name="Asset" Type="int" />
  2672. <Property Name="WeekModule" Type="int" />
  2673. <Property Name="AllowedPercentage" Type="money" />
  2674. <Property Name="MaxRebate" Type="money" />
  2675. </EntityType>
  2676. <EntityType Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  2677. <Key>
  2678. <PropertyRef Name="OID" />
  2679. </Key>
  2680. <Property Name="PromotionCommissionStructures" Type="uniqueidentifier" />
  2681. <Property Name="Resorts" Type="int" />
  2682. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2683. <Property Name="OptimisticLockField" Type="int" />
  2684. </EntityType>
  2685. <EntityType Name="TblResortSalesPeriod">
  2686. <Key>
  2687. <PropertyRef Name="OID" />
  2688. </Key>
  2689. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2690. <Property Name="Resort" Type="int" />
  2691. <Property Name="StartDate" Type="datetime" />
  2692. <Property Name="EndDate" Type="datetime" />
  2693. <Property Name="OptimisticLockField" Type="int" />
  2694. <Property Name="GCRecord" Type="int" />
  2695. </EntityType>
  2696. <EntityType Name="TblResortSalesPeriodRules">
  2697. <Key>
  2698. <PropertyRef Name="OID" />
  2699. </Key>
  2700. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2701. <Property Name="SalesPeriod" Type="int" />
  2702. <Property Name="Year" Type="money" />
  2703. <Property Name="TermLeft" Type="money" />
  2704. <Property Name="InstalmentPeriod" Type="int" />
  2705. <Property Name="RebateProrata" Type="money" />
  2706. <Property Name="LeasePriceProrata" Type="money" />
  2707. <Property Name="Variance" Type="money" />
  2708. <Property Name="OptimisticLockField" Type="int" />
  2709. <Property Name="GCRecord" Type="int" />
  2710. </EntityType>
  2711. <EntityType Name="TblSACRRABatch">
  2712. <Key>
  2713. <PropertyRef Name="OID" />
  2714. </Key>
  2715. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2716. <Property Name="BatchNumber" Type="int" />
  2717. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2718. <Property Name="DateCreated" Type="datetime" />
  2719. <Property Name="TestRun" Type="bit" />
  2720. <Property Name="Settings" Type="int" />
  2721. <Property Name="Type" Type="int" />
  2722. <Property Name="MonthEndDate" Type="datetime" />
  2723. <Property Name="Header" Type="nvarchar" MaxLength="1000" />
  2724. <Property Name="Trailer" Type="nvarchar" MaxLength="1000" />
  2725. <Property Name="Step1" Type="nvarchar" MaxLength="100" />
  2726. <Property Name="Step2" Type="nvarchar" MaxLength="100" />
  2727. <Property Name="Step3" Type="nvarchar" MaxLength="100" />
  2728. <Property Name="Step4" Type="nvarchar" MaxLength="100" />
  2729. <Property Name="DeleteReason" Type="nvarchar" MaxLength="100" />
  2730. <Property Name="IsProcessRunning" Type="bit" />
  2731. <Property Name="OptimisticLockField" Type="int" />
  2732. <Property Name="GCRecord" Type="int" />
  2733. </EntityType>
  2734. <EntityType Name="TblSACRRAConsoftDataChecks">
  2735. <Key>
  2736. <PropertyRef Name="OID" />
  2737. </Key>
  2738. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2739. <Property Name="Value" Type="nvarchar" MaxLength="100" />
  2740. <Property Name="OptimisticLockField" Type="int" />
  2741. <Property Name="GCRecord" Type="int" />
  2742. </EntityType>
  2743. <EntityType Name="TblSACRRAConsoftGlobalData">
  2744. <Key>
  2745. <PropertyRef Name="Oid" />
  2746. </Key>
  2747. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2748. <Property Name="Error" Type="nvarchar(max)" />
  2749. <Property Name="Dev" Type="nvarchar" MaxLength="100" />
  2750. <Property Name="ID" Type="nvarchar" MaxLength="100" />
  2751. <Property Name="IsForeigner" Type="bit" />
  2752. <Property Name="Passport" Type="nvarchar" MaxLength="100" />
  2753. <Property Name="DateOfBirth" Type="datetime" />
  2754. <Property Name="AccountNo" Type="nvarchar" MaxLength="100" />
  2755. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  2756. <Property Name="Forename" Type="nvarchar" MaxLength="100" />
  2757. <Property Name="OwnershipType" Type="nvarchar" MaxLength="100" />
  2758. <Property Name="DateAccountOpened" Type="datetime" />
  2759. <Property Name="DeferredPaymentDate" Type="datetime" />
  2760. <Property Name="DateOfLastPayment" Type="datetime" />
  2761. <Property Name="OpeningBalance" Type="money" />
  2762. <Property Name="CurrentBalance" Type="money" />
  2763. <Property Name="AmountOverdue" Type="money" />
  2764. <Property Name="InstalmentAmount" Type="money" />
  2765. <Property Name="MonthsInArrears" Type="int" />
  2766. <Property Name="StatusCode" Type="nvarchar" MaxLength="100" />
  2767. <Property Name="Terms" Type="int" />
  2768. <Property Name="StatusDate" Type="datetime" />
  2769. <Property Name="NoOfParticipantsInJointLoan" Type="nvarchar" MaxLength="100" />
  2770. <Property Name="MemberNumber" Type="int" />
  2771. <Property Name="IsCompany" Type="bit" />
  2772. <Property Name="IsSoleProprietor" Type="bit" />
  2773. <Property Name="IsEstateLate" Type="bit" />
  2774. <Property Name="EstateLateDate" Type="datetime" />
  2775. <Property Name="SendOnceOff" Type="bit" />
  2776. <Property Name="SACRRAData" Type="int" />
  2777. <Property Name="LockDemographics" Type="bit" />
  2778. <Property Name="DoNotSend" Type="bit" />
  2779. <Property Name="CompanyName" Type="nvarchar" MaxLength="100" />
  2780. <Property Name="OptimisticLockField" Type="int" />
  2781. <Property Name="GCRecord" Type="int" />
  2782. <Property Name="SendName" Type="nvarchar" MaxLength="100" />
  2783. <Property Name="DaysOpen" Type="int" />
  2784. <Property Name="UID" Type="nvarchar" MaxLength="100" />
  2785. </EntityType>
  2786. <EntityType Name="TblSACRRAConsoftStatuses">
  2787. <Key>
  2788. <PropertyRef Name="OID" />
  2789. </Key>
  2790. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2791. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  2792. <Property Name="OptimisticLockField" Type="int" />
  2793. <Property Name="GCRecord" Type="int" />
  2794. <Property Name="Type" Type="int" />
  2795. </EntityType>
  2796. <EntityType Name="TblSACRRAData">
  2797. <Key>
  2798. <PropertyRef Name="OID" />
  2799. </Key>
  2800. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2801. <Property Name="Batch" Type="int" />
  2802. <Property Name="Debtor" Type="int" />
  2803. <Property Name="Error" Type="nvarchar(max)" />
  2804. <Property Name="Data" Type="nvarchar" MaxLength="100" />
  2805. <Property Name="SAID" Type="nvarchar" MaxLength="100" />
  2806. <Property Name="NonSAID" Type="nvarchar" MaxLength="100" />
  2807. <Property Name="Gender" Type="nvarchar" MaxLength="100" />
  2808. <Property Name="DateOfBirth" Type="datetime" />
  2809. <Property Name="BranchCode" Type="nvarchar" MaxLength="100" />
  2810. <Property Name="AccountNo" Type="nvarchar" MaxLength="100" />
  2811. <Property Name="SubAccoutNo" Type="nvarchar" MaxLength="100" />
  2812. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  2813. <Property Name="Title" Type="nvarchar" MaxLength="100" />
  2814. <Property Name="Forename1" Type="nvarchar" MaxLength="100" />
  2815. <Property Name="Forename2" Type="nvarchar" MaxLength="100" />
  2816. <Property Name="Forename3" Type="nvarchar" MaxLength="100" />
  2817. <Property Name="ResAddress1" Type="nvarchar" MaxLength="100" />
  2818. <Property Name="ResAddress2" Type="nvarchar" MaxLength="100" />
  2819. <Property Name="ResAddress3" Type="nvarchar" MaxLength="100" />
  2820. <Property Name="ResAddress4" Type="nvarchar" MaxLength="100" />
  2821. <Property Name="ResPostalCode" Type="nvarchar" MaxLength="100" />
  2822. <Property Name="OwnerTenant" Type="nvarchar" MaxLength="100" />
  2823. <Property Name="PostAddress1" Type="nvarchar" MaxLength="100" />
  2824. <Property Name="PostAddress2" Type="nvarchar" MaxLength="100" />
  2825. <Property Name="PostAddress3" Type="nvarchar" MaxLength="100" />
  2826. <Property Name="PostAddress4" Type="nvarchar" MaxLength="100" />
  2827. <Property Name="PostPostalCode" Type="nvarchar" MaxLength="100" />
  2828. <Property Name="OwnershipType" Type="nvarchar" MaxLength="100" />
  2829. <Property Name="LoanReasonCode" Type="nvarchar" MaxLength="100" />
  2830. <Property Name="PaymentType" Type="nvarchar" MaxLength="100" />
  2831. <Property Name="TypeOfAccount" Type="nvarchar" MaxLength="100" />
  2832. <Property Name="DateAccountOpened" Type="datetime" />
  2833. <Property Name="DeferredPaymentDate" Type="datetime" />
  2834. <Property Name="DateOfLastPayment" Type="datetime" />
  2835. <Property Name="OpeningBalance" Type="int" />
  2836. <Property Name="CurrentBalance" Type="int" />
  2837. <Property Name="CurrentBalanceIndicator" Type="nvarchar" MaxLength="100" />
  2838. <Property Name="AmountOverdue" Type="int" />
  2839. <Property Name="InstalmentAmount" Type="int" />
  2840. <Property Name="MonthsInArrears" Type="int" />
  2841. <Property Name="StatusCode" Type="nvarchar" MaxLength="100" />
  2842. <Property Name="RepaymentFrequency" Type="nvarchar" MaxLength="100" />
  2843. <Property Name="Terms" Type="nvarchar" MaxLength="100" />
  2844. <Property Name="StatusDate" Type="datetime" />
  2845. <Property Name="OldSupplierBranchCode" Type="nvarchar" MaxLength="100" />
  2846. <Property Name="OldAccountNumber" Type="nvarchar" MaxLength="100" />
  2847. <Property Name="OldSubAccountNumber" Type="nvarchar" MaxLength="100" />
  2848. <Property Name="OldSupplierReferenceNumber" Type="nvarchar" MaxLength="100" />
  2849. <Property Name="HomeTelephone" Type="nvarchar" MaxLength="100" />
  2850. <Property Name="Cellular" Type="nvarchar" MaxLength="100" />
  2851. <Property Name="WorkTelephone" Type="nvarchar" MaxLength="100" />
  2852. <Property Name="EmployerDetail" Type="nvarchar" MaxLength="100" />
  2853. <Property Name="Income" Type="nvarchar" MaxLength="100" />
  2854. <Property Name="IncomeFrequency" Type="nvarchar" MaxLength="100" />
  2855. <Property Name="Occupation" Type="nvarchar" MaxLength="100" />
  2856. <Property Name="ThirdPartyName" Type="nvarchar" MaxLength="100" />
  2857. <Property Name="AccountSoldToThirdParty" Type="nvarchar" MaxLength="100" />
  2858. <Property Name="NoOfParticipantsInJointLoan" Type="nvarchar" MaxLength="100" />
  2859. <Property Name="SupplierReferenceNumber" Type="nvarchar" MaxLength="100" />
  2860. <Property Name="TransactionDate" Type="datetime" />
  2861. <Property Name="IsConsoftOnceOff" Type="bit" />
  2862. <Property Name="OptimisticLockField" Type="int" />
  2863. <Property Name="GCRecord" Type="int" />
  2864. <Property Name="MemberNumber" Type="int" />
  2865. </EntityType>
  2866. <EntityType Name="TblSACRRADebtorGAPGAL">
  2867. <Key>
  2868. <PropertyRef Name="OID" />
  2869. </Key>
  2870. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2871. <Property Name="Debtor" Type="int" />
  2872. <Property Name="DateCreated" Type="datetime" />
  2873. <Property Name="SentToSACRRA" Type="bit" />
  2874. <Property Name="OptimisticLockField" Type="int" />
  2875. <Property Name="GCRecord" Type="int" />
  2876. </EntityType>
  2877. <EntityType Name="TblSACRRADebtorStatus">
  2878. <Key>
  2879. <PropertyRef Name="OID" />
  2880. </Key>
  2881. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2882. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  2883. <Property Name="Debtor" Type="int" />
  2884. <Property Name="Date" Type="datetime" />
  2885. <Property Name="SentToSACRRA" Type="int" />
  2886. <Property Name="Status" Type="int" />
  2887. <Property Name="DateSent" Type="datetime" />
  2888. <Property Name="OptimisticLockField" Type="int" />
  2889. <Property Name="GCRecord" Type="int" />
  2890. </EntityType>
  2891. <EntityType Name="TblSACRRAFiles">
  2892. <Key>
  2893. <PropertyRef Name="OID" />
  2894. </Key>
  2895. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2896. <Property Name="Batch" Type="int" />
  2897. <Property Name="File" Type="int" />
  2898. <Property Name="ToSendToSACRRA" Type="bit" />
  2899. <Property Name="OptimisticLockField" Type="int" />
  2900. <Property Name="GCRecord" Type="int" />
  2901. </EntityType>
  2902. <EntityType Name="TblSACRRAFileSettings">
  2903. <Key>
  2904. <PropertyRef Name="OID" />
  2905. </Key>
  2906. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2907. <Property Name="Type" Type="int" />
  2908. <Property Name="TestRun" Type="bit" />
  2909. <Property Name="FileType" Type="nvarchar" MaxLength="100" />
  2910. <Property Name="OptimisticLockField" Type="int" />
  2911. <Property Name="GCRecord" Type="int" />
  2912. </EntityType>
  2913. <EntityType Name="TblSACRRAFilesToEncrypt">
  2914. <Key>
  2915. <PropertyRef Name="OID" />
  2916. </Key>
  2917. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2918. <Property Name="Batch" Type="int" />
  2919. <Property Name="FileName" Type="nvarchar" MaxLength="100" />
  2920. <Property Name="NewFileName" Type="nvarchar" MaxLength="100" />
  2921. <Property Name="DateEncrypted" Type="datetime" />
  2922. <Property Name="OptimisticLockField" Type="int" />
  2923. <Property Name="GCRecord" Type="int" />
  2924. </EntityType>
  2925. <EntityType Name="TblSACRRAOnceOffStatusSettings">
  2926. <Key>
  2927. <PropertyRef Name="OID" />
  2928. </Key>
  2929. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2930. <Property Name="Status" Type="int" />
  2931. <Property Name="SACRRAStatusCode" Type="nvarchar" MaxLength="100" />
  2932. <Property Name="OptimisticLockField" Type="int" />
  2933. <Property Name="GCRecord" Type="int" />
  2934. </EntityType>
  2935. <EntityType Name="TblSACRRASettings">
  2936. <Key>
  2937. <PropertyRef Name="OID" />
  2938. </Key>
  2939. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2940. <Property Name="Developer" Type="int" />
  2941. <Property Name="SupplierReference" Type="nvarchar" MaxLength="100" />
  2942. <Property Name="BranchCode" Type="nvarchar" MaxLength="100" />
  2943. <Property Name="SenderID" Type="nvarchar" MaxLength="100" />
  2944. <Property Name="OptimisticLockField" Type="int" />
  2945. <Property Name="GCRecord" Type="int" />
  2946. </EntityType>
  2947. <EntityType Name="TblSACRRAStatusExceptions">
  2948. <Key>
  2949. <PropertyRef Name="OID" />
  2950. </Key>
  2951. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2952. <Property Name="Type" Type="int" />
  2953. <Property Name="Status" Type="int" />
  2954. <Property Name="OptimisticLockField" Type="int" />
  2955. <Property Name="GCRecord" Type="int" />
  2956. </EntityType>
  2957. <EntityType Name="TblSACRRAStatusSettings">
  2958. <Key>
  2959. <PropertyRef Name="OID" />
  2960. </Key>
  2961. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2962. <Property Name="Type" Type="int" />
  2963. <Property Name="Status" Type="int" />
  2964. <Property Name="SACRRACode" Type="nvarchar" MaxLength="100" />
  2965. <Property Name="OptimisticLockField" Type="int" />
  2966. <Property Name="GCRecord" Type="int" />
  2967. </EntityType>
  2968. <EntityType Name="TblSACRRAValidStatuses">
  2969. <Key>
  2970. <PropertyRef Name="OID" />
  2971. </Key>
  2972. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  2973. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  2974. <Property Name="OptimisticLockField" Type="int" />
  2975. <Property Name="GCRecord" Type="int" />
  2976. </EntityType>
  2977. <EntityType Name="TblSalesCommAmountScale">
  2978. <Key>
  2979. <PropertyRef Name="Oid" />
  2980. </Key>
  2981. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2982. <Property Name="From" Type="money" />
  2983. <Property Name="To" Type="money" />
  2984. <Property Name="Percentage" Type="money" />
  2985. <Property Name="Week" Type="uniqueidentifier" />
  2986. <Property Name="EarnerType" Type="uniqueidentifier" />
  2987. <Property Name="OptimisticLockField" Type="int" />
  2988. <Property Name="GCRecord" Type="int" />
  2989. </EntityType>
  2990. <EntityType Name="TblSalesCommCountScale">
  2991. <Key>
  2992. <PropertyRef Name="Oid" />
  2993. </Key>
  2994. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  2995. <Property Name="From" Type="int" />
  2996. <Property Name="To" Type="int" />
  2997. <Property Name="ConvertedAmount" Type="money" />
  2998. <Property Name="ConvertedRTAmount" Type="money" />
  2999. <Property Name="Week" Type="uniqueidentifier" />
  3000. <Property Name="EarnerType" Type="uniqueidentifier" />
  3001. <Property Name="OptimisticLockField" Type="int" />
  3002. <Property Name="GCRecord" Type="int" />
  3003. <Property Name="DailyLimit" Type="int" />
  3004. </EntityType>
  3005. <EntityType Name="TblSalesCommDataStore">
  3006. <Key>
  3007. <PropertyRef Name="Oid" />
  3008. </Key>
  3009. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3010. <Property Name="IsFinalizedQShow" Type="bit" />
  3011. <Property Name="IsFinalizedDeal" Type="bit" />
  3012. <Property Name="Lead" Type="int" />
  3013. <Property Name="Booking" Type="nvarchar" MaxLength="10" />
  3014. <Property Name="OptimisticLockField" Type="int" />
  3015. <Property Name="GCRecord" Type="int" />
  3016. </EntityType>
  3017. <EntityType Name="TblSalesCommEarnerType">
  3018. <Key>
  3019. <PropertyRef Name="Oid" />
  3020. </Key>
  3021. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3022. <Property Name="Type" Type="int" />
  3023. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  3024. <Property Name="SalesRegion" Type="int" />
  3025. <Property Name="SpecificPersonnel" Type="int" />
  3026. <Property Name="OptimisticLockField" Type="int" />
  3027. <Property Name="GCRecord" Type="int" />
  3028. </EntityType>
  3029. <EntityType Name="TblSalesCommFixedAmount">
  3030. <Key>
  3031. <PropertyRef Name="Oid" />
  3032. </Key>
  3033. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3034. <Property Name="Level" Type="int" />
  3035. <Property Name="From" Type="int" />
  3036. <Property Name="To" Type="int" />
  3037. <Property Name="ConvertedAmount" Type="money" />
  3038. <Property Name="NowahalaConvertedAmount" Type="money" />
  3039. <Property Name="RTConvertedAmount" Type="money" />
  3040. <Property Name="Week" Type="uniqueidentifier" />
  3041. <Property Name="IsSolid" Type="bit" />
  3042. <Property Name="IsWeeklyAmount" Type="bit" />
  3043. <Property Name="IsMonthlyAmount" Type="bit" />
  3044. <Property Name="EarnerType" Type="uniqueidentifier" />
  3045. <Property Name="OptimisticLockField" Type="int" />
  3046. <Property Name="GCRecord" Type="int" />
  3047. </EntityType>
  3048. <EntityType Name="TblSalesCommissionAdditional">
  3049. <Key>
  3050. <PropertyRef Name="Oid" />
  3051. </Key>
  3052. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3053. <Property Name="SalesCommissionInfo" Type="uniqueidentifier" />
  3054. <Property Name="AdditionalAmount" Type="money" />
  3055. <Property Name="AdditionalAmountPaid" Type="money" />
  3056. <Property Name="NoOfInstalments" Type="int" />
  3057. <Property Name="SkipInstalments" Type="int" />
  3058. <Property Name="OptimisticLockField" Type="int" />
  3059. <Property Name="GCRecord" Type="int" />
  3060. </EntityType>
  3061. <EntityType Name="TblSalesCommissionClawback">
  3062. <Key>
  3063. <PropertyRef Name="Oid" />
  3064. </Key>
  3065. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3066. <Property Name="SalesCommissionInfo" Type="uniqueidentifier" />
  3067. <Property Name="ClawbackAmount" Type="money" />
  3068. <Property Name="ClawbackPaid" Type="money" />
  3069. <Property Name="NoOfInstalments" Type="int" />
  3070. <Property Name="SkipInstalments" Type="int" />
  3071. <Property Name="OptimisticLockField" Type="int" />
  3072. <Property Name="GCRecord" Type="int" />
  3073. </EntityType>
  3074. <EntityType Name="TblSalesCommissionEquity">
  3075. <Key>
  3076. <PropertyRef Name="Oid" />
  3077. </Key>
  3078. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3079. <Property Name="Category" Type="nvarchar" MaxLength="100" />
  3080. <Property Name="Rotation" Type="int" />
  3081. <Property Name="NewSalePercentage" Type="money" />
  3082. <Property Name="MemberPercentage" Type="money" />
  3083. <Property Name="InstalmentPercentage" Type="money" />
  3084. <Property Name="StartOnInstalment" Type="int" />
  3085. <Property Name="OptimisticLockField" Type="int" />
  3086. <Property Name="GCRecord" Type="int" />
  3087. </EntityType>
  3088. <EntityType Name="TblSalesCommissionInfo">
  3089. <Key>
  3090. <PropertyRef Name="Oid" />
  3091. </Key>
  3092. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3093. <Property Name="Contract" Type="int" />
  3094. <Property Name="CommissionPercentage" Type="money" />
  3095. <Property Name="UpfrontCommission" Type="money" />
  3096. <Property Name="UpfrontCommissionPaid" Type="money" />
  3097. <Property Name="DripCommission" Type="money" />
  3098. <Property Name="DripCommissionPaid" Type="money" />
  3099. <Property Name="NoOfDrips" Type="int" />
  3100. <Property Name="DripsStartOnInstalment" Type="int" />
  3101. <Property Name="NewLeadCommission" Type="money" />
  3102. <Property Name="NewLeadCommissionPaid" Type="money" />
  3103. <Property Name="HousesitCommission" Type="money" />
  3104. <Property Name="HousesitCommissionPaid" Type="money" />
  3105. <Property Name="EquityCommission" Type="money" />
  3106. <Property Name="EquityCommissionPaid" Type="money" />
  3107. <Property Name="EquityCommissionPercentage" Type="money" />
  3108. <Property Name="NoOfEquiyDrips" Type="int" />
  3109. <Property Name="EquityStartOnInstalment" Type="int" />
  3110. <Property Name="EquityPayoutPercentage" Type="money" />
  3111. <Property Name="CommissionOwner" Type="int" />
  3112. <Property Name="CommissionPersonType" Type="int" />
  3113. <Property Name="CommissionPeriod" Type="int" />
  3114. <Property Name="RotationCounter" Type="int" />
  3115. <Property Name="OptimisticLockField" Type="int" />
  3116. <Property Name="GCRecord" Type="int" />
  3117. <Property Name="Frozen" Type="bit" />
  3118. <Property Name="EquityCommissionTargetPercentage" Type="money" />
  3119. <Property Name="Season" Type="int" />
  3120. <Property Name="ResaleContract" Type="int" />
  3121. <Property Name="NewBusinessBonusPercentage" Type="money" />
  3122. </EntityType>
  3123. <EntityType Name="TblSalesCommissionPercentages">
  3124. <Key>
  3125. <PropertyRef Name="Oid" />
  3126. </Key>
  3127. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3128. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  3129. <Property Name="CommissionType" Type="int" />
  3130. <Property Name="DSDealPercentage" Type="money" />
  3131. <Property Name="NoOfDSDealCommissionInstalments" Type="int" />
  3132. <Property Name="FlatRatePercentage" Type="money" />
  3133. <Property Name="NewLeadAmount" Type="money" />
  3134. <Property Name="HousesitAmount" Type="money" />
  3135. <Property Name="UpfrontPercentage" Type="money" />
  3136. <Property Name="DripPercentage" Type="money" />
  3137. <Property Name="DripStartOnInstalment" Type="int" />
  3138. <Property Name="BonusForNewSalePercentage" Type="money" />
  3139. <Property Name="NoOfDripInstalments" Type="int" />
  3140. <Property Name="OptimisticLockField" Type="int" />
  3141. <Property Name="GCRecord" Type="int" />
  3142. </EntityType>
  3143. <EntityType Name="TblSalesCommissionPeriod">
  3144. <Key>
  3145. <PropertyRef Name="Oid" />
  3146. </Key>
  3147. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3148. <Property Name="StartDate" Type="datetime" />
  3149. <Property Name="EndDate" Type="datetime" />
  3150. <Property Name="CutOffDate" Type="datetime" />
  3151. <Property Name="SalesPeriod" Type="int" />
  3152. <Property Name="ReadyForSignOff" Type="bit" />
  3153. <Property Name="OptimisticLockField" Type="int" />
  3154. <Property Name="GCRecord" Type="int" />
  3155. </EntityType>
  3156. <EntityType Name="TblSalesCommissionSeasons">
  3157. <Key>
  3158. <PropertyRef Name="Oid" />
  3159. </Key>
  3160. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3161. <Property Name="Season" Type="int" />
  3162. <Property Name="CommissionPercentage" Type="money" />
  3163. <Property Name="SalesCommissionPercentages" Type="uniqueidentifier" />
  3164. <Property Name="OptimisticLockField" Type="int" />
  3165. <Property Name="GCRecord" Type="int" />
  3166. </EntityType>
  3167. <EntityType Name="TblSalesCommissionTransaction">
  3168. <Key>
  3169. <PropertyRef Name="Oid" />
  3170. </Key>
  3171. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3172. <Property Name="Contract" Type="int" />
  3173. <Property Name="TransactionDate" Type="datetime" />
  3174. <Property Name="TransactionType" Type="int" />
  3175. <Property Name="SalesPersonnel" Type="int" />
  3176. <Property Name="SalesPeriod" Type="int" />
  3177. <Property Name="UpfrontCommissionDue" Type="money" />
  3178. <Property Name="DripCommissionDue" Type="money" />
  3179. <Property Name="EquityCommissionDue" Type="money" />
  3180. <Property Name="HousesitCommissionDue" Type="money" />
  3181. <Property Name="NewLeadCommissionDue" Type="money" />
  3182. <Property Name="SignOffDate" Type="datetime" />
  3183. <Property Name="SignedOffBy" Type="int" />
  3184. <Property Name="Paid" Type="bit" />
  3185. <Property Name="CommissionPersonType" Type="int" />
  3186. <Property Name="SalesCommissionInfo" Type="uniqueidentifier" />
  3187. <Property Name="SalesCommissionClawback" Type="uniqueidentifier" />
  3188. <Property Name="SalesCommissionAdditional" Type="uniqueidentifier" />
  3189. <Property Name="OptimisticLockField" Type="int" />
  3190. <Property Name="GCRecord" Type="int" />
  3191. <Property Name="ResaleContract" Type="int" />
  3192. <Property Name="UpfrontPromotionCommissionDue" Type="money" />
  3193. <Property Name="DripPromotionCommissionDue" Type="money" />
  3194. <Property Name="AdditionalAmountDue" Type="money" />
  3195. <Property Name="ClawbackAmountDue" Type="money" />
  3196. </EntityType>
  3197. <EntityType Name="TblSalesCommMonth">
  3198. <Key>
  3199. <PropertyRef Name="Oid" />
  3200. </Key>
  3201. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3202. <Property Name="StartDate" Type="datetime" />
  3203. <Property Name="EndDate" Type="datetime" />
  3204. <Property Name="MonthName" Type="nvarchar" MaxLength="100" />
  3205. <Property Name="OptimisticLockField" Type="int" />
  3206. <Property Name="GCRecord" Type="int" />
  3207. </EntityType>
  3208. <EntityType Name="TblSalesCommRegionBasedMonth">
  3209. <Key>
  3210. <PropertyRef Name="Oid" />
  3211. </Key>
  3212. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3213. <Property Name="Month" Type="uniqueidentifier" />
  3214. <Property Name="Region" Type="int" />
  3215. <Property Name="IsStatementsGenerated" Type="bit" />
  3216. <Property Name="IsFinalized" Type="bit" />
  3217. <Property Name="OptimisticLockField" Type="int" />
  3218. <Property Name="GCRecord" Type="int" />
  3219. <Property Name="IsStatementsSent" Type="bit" />
  3220. </EntityType>
  3221. <EntityType Name="TblSalesCommSkippedCommissions">
  3222. <Key>
  3223. <PropertyRef Name="Oid" />
  3224. </Key>
  3225. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3226. <Property Name="PersonnelCode" Type="int" />
  3227. <Property Name="DataStore" Type="uniqueidentifier" />
  3228. <Property Name="Week" Type="uniqueidentifier" />
  3229. <Property Name="EarnerType" Type="uniqueidentifier" />
  3230. <Property Name="DateCreated" Type="datetime" />
  3231. <Property Name="Reason" Type="nvarchar" MaxLength="100" />
  3232. <Property Name="OptimisticLockField" Type="int" />
  3233. <Property Name="GCRecord" Type="int" />
  3234. </EntityType>
  3235. <EntityType Name="TblSalesCommStatement">
  3236. <Key>
  3237. <PropertyRef Name="Oid" />
  3238. </Key>
  3239. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3240. <Property Name="Percentage" Type="nvarchar" MaxLength="100" />
  3241. <Property Name="PersonnelCode" Type="int" />
  3242. <Property Name="DataStore" Type="uniqueidentifier" />
  3243. <Property Name="EarnerType" Type="uniqueidentifier" />
  3244. <Property Name="Week" Type="uniqueidentifier" />
  3245. <Property Name="Amount" Type="money" />
  3246. <Property Name="DateCreated" Type="datetime" />
  3247. <Property Name="DateSignedOff" Type="datetime" />
  3248. <Property Name="Reason" Type="int" />
  3249. <Property Name="OptimisticLockField" Type="int" />
  3250. <Property Name="GCRecord" Type="int" />
  3251. </EntityType>
  3252. <EntityType Name="TblSalesCommWeek">
  3253. <Key>
  3254. <PropertyRef Name="Oid" />
  3255. </Key>
  3256. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3257. <Property Name="StartDate" Type="datetime" />
  3258. <Property Name="EndDate" Type="datetime" />
  3259. <Property Name="DollarToNaira" Type="money" />
  3260. <Property Name="DollarToKwacha" Type="money" />
  3261. <Property Name="DollarToShilling" Type="money" />
  3262. <Property Name="Month" Type="uniqueidentifier" />
  3263. <Property Name="OptimisticLockField" Type="int" />
  3264. <Property Name="GCRecord" Type="int" />
  3265. </EntityType>
  3266. <EntityType Name="TblSalesPeriod">
  3267. <Key>
  3268. <PropertyRef Name="OID" />
  3269. </Key>
  3270. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3271. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  3272. <Property Name="DateCreated" Type="datetime" />
  3273. <Property Name="CutOffDate" Type="datetime" />
  3274. <Property Name="SalesPeriod" Type="nvarchar" MaxLength="100" />
  3275. <Property Name="OptimisticLockField" Type="int" />
  3276. <Property Name="GCRecord" Type="int" />
  3277. <Property Name="CommRunDate" Type="datetime" />
  3278. <Property Name="FranchisePeriodStart" Type="datetime" />
  3279. <Property Name="FranchisePeriodEnd" Type="datetime" />
  3280. </EntityType>
  3281. <EntityType Name="TblSalesPeriodWeekEnding">
  3282. <Key>
  3283. <PropertyRef Name="OID" />
  3284. </Key>
  3285. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3286. <Property Name="SalesPeriod" Type="int" />
  3287. <Property Name="WeekEndingDate" Type="datetime" />
  3288. <Property Name="OptimisticLockField" Type="int" />
  3289. <Property Name="GCRecord" Type="int" />
  3290. <Property Name="TargetFactor" Type="int" />
  3291. </EntityType>
  3292. <EntityType Name="TblSalesRegister">
  3293. <Key>
  3294. <PropertyRef Name="OID" />
  3295. </Key>
  3296. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3297. <Property Name="SalesPeople" Type="int" />
  3298. <Property Name="Personnel" Type="int" />
  3299. <Property Name="OptimisticLockField" Type="int" />
  3300. <Property Name="GCRecord" Type="int" />
  3301. </EntityType>
  3302. <EntityType Name="TblSalesRegisterHdr">
  3303. <Key>
  3304. <PropertyRef Name="OID" />
  3305. </Key>
  3306. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3307. <Property Name="WorkDate" Type="datetime" />
  3308. <Property Name="SalesVenue" Type="int" />
  3309. <Property Name="OptimisticLockField" Type="int" />
  3310. <Property Name="GCRecord" Type="int" />
  3311. </EntityType>
  3312. <EntityType Name="TblSalesVenue">
  3313. <Key>
  3314. <PropertyRef Name="OID" />
  3315. </Key>
  3316. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3317. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  3318. <Property Name="DateCreated" Type="datetime" />
  3319. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  3320. <Property Name="DirectionsText" Type="nvarchar" MaxLength="1000" />
  3321. <Property Name="ImageUrl" Type="nvarchar" MaxLength="100" />
  3322. <Property Name="MondaySessions" Type="int" />
  3323. <Property Name="TuesdaySessions" Type="int" />
  3324. <Property Name="WednesdaySessions" Type="int" />
  3325. <Property Name="ThursdaySessions" Type="int" />
  3326. <Property Name="FridaySessions" Type="int" />
  3327. <Property Name="SaturdaySessions" Type="int" />
  3328. <Property Name="OptimisticLockField" Type="int" />
  3329. <Property Name="GCRecord" Type="int" />
  3330. <Property Name="Campaign" Type="int" />
  3331. <Property Name="LeadSheetDocumentPath" Type="int" />
  3332. <Property Name="PrizeDrawActive" Type="bit" />
  3333. <Property Name="MealVoucherDocumentPath" Type="int" />
  3334. <Property Name="PrizeDrawDocumentPath" Type="int" />
  3335. <Property Name="MonSession1" Type="nvarchar" MaxLength="10" />
  3336. <Property Name="MonSession2" Type="nvarchar" MaxLength="10" />
  3337. <Property Name="MonSession3" Type="nvarchar" MaxLength="10" />
  3338. <Property Name="MonSession4" Type="nvarchar" MaxLength="10" />
  3339. <Property Name="TueSession1" Type="nvarchar" MaxLength="10" />
  3340. <Property Name="TueSession2" Type="nvarchar" MaxLength="10" />
  3341. <Property Name="TueSession3" Type="nvarchar" MaxLength="10" />
  3342. <Property Name="TueSession4" Type="nvarchar" MaxLength="10" />
  3343. <Property Name="WedSession1" Type="nvarchar" MaxLength="10" />
  3344. <Property Name="WedSession2" Type="nvarchar" MaxLength="10" />
  3345. <Property Name="WedSession3" Type="nvarchar" MaxLength="10" />
  3346. <Property Name="WedSession4" Type="nvarchar" MaxLength="10" />
  3347. <Property Name="ThuSession1" Type="nvarchar" MaxLength="10" />
  3348. <Property Name="ThuSession2" Type="nvarchar" MaxLength="10" />
  3349. <Property Name="ThuSession3" Type="nvarchar" MaxLength="10" />
  3350. <Property Name="ThuSession4" Type="nvarchar" MaxLength="10" />
  3351. <Property Name="FriSession1" Type="nvarchar" MaxLength="10" />
  3352. <Property Name="FriSession2" Type="nvarchar" MaxLength="10" />
  3353. <Property Name="FriSession3" Type="nvarchar" MaxLength="10" />
  3354. <Property Name="FriSession4" Type="nvarchar" MaxLength="10" />
  3355. <Property Name="SatSession1" Type="nvarchar" MaxLength="10" />
  3356. <Property Name="SatSession2" Type="nvarchar" MaxLength="10" />
  3357. <Property Name="SatSession3" Type="nvarchar" MaxLength="10" />
  3358. <Property Name="SatSession4" Type="nvarchar" MaxLength="10" />
  3359. <Property Name="DefaultSalesClub" Type="nvarchar" MaxLength="10" />
  3360. <Property Name="ContractPrefix" Type="nvarchar" MaxLength="8" />
  3361. <Property Name="NoOfPeopleSession1" Type="smallint" />
  3362. <Property Name="NoOfPeopleSession2" Type="smallint" />
  3363. <Property Name="NoOfPeopleSession3" Type="smallint" />
  3364. <Property Name="NoOfPeopleSession4" Type="smallint" />
  3365. <Property Name="ConfirmationEmailDocument" Type="int" />
  3366. <Property Name="TelephoneNumber" Type="nvarchar" MaxLength="100" />
  3367. <Property Name="FaxNumber" Type="nvarchar" MaxLength="100" />
  3368. <Property Name="GpsCoOrdinates" Type="nvarchar" MaxLength="100" />
  3369. <Property Name="StockLocation" Type="int" />
  3370. <Property Name="DefaultDeveloper" Type="int" />
  3371. <Property Name="Address" Type="uniqueidentifier" />
  3372. <Property Name="VisibleByFranchisee" Type="bit" />
  3373. <Property Name="DefaultCurrency" Type="int" />
  3374. <Property Name="UnivateTarget" Type="int" />
  3375. <Property Name="Workdays" Type="int" />
  3376. <Property Name="SalesManager" Type="int" />
  3377. <Property Name="SpecifyClub" Type="bit" />
  3378. <Property Name="ManuallyAllocateConfirmationClerk" Type="bit" />
  3379. <Property Name="CannotSellInsurance" Type="bit" />
  3380. <Property Name="SalesRegion" Type="int" />
  3381. <Property Name="Country" Type="uniqueidentifier" />
  3382. <Property Name="SundaySessions" Type="int" />
  3383. <Property Name="SunSession1" Type="nvarchar" MaxLength="100" />
  3384. <Property Name="RegionalSalesManager" Type="int" />
  3385. <Property Name="CommonName" Type="nvarchar" MaxLength="100" />
  3386. <Property Name="Company" Type="smallint" />
  3387. <Property Name="SendConfirmationLetter" Type="bit" />
  3388. <Property Name="SalesVenuePrefix" Type="nvarchar" MaxLength="100" />
  3389. <Property Name="IsAgency" Type="bit" />
  3390. <Property Name="TimeOffBookingConfirmationDocumentPath" Type="int" />
  3391. <Property Name="TimeOffDescription" Type="nvarchar" MaxLength="100" />
  3392. <Property Name="CommissionSplitGroup" Type="int" />
  3393. <Property Name="Inactive" Type="bit" />
  3394. <Property Name="GroupCode" Type="int" />
  3395. <Property Name="SalesVenueGroup" Type="uniqueidentifier" />
  3396. <Property Name="Session1Target" Type="int" />
  3397. <Property Name="Session2Target" Type="int" />
  3398. <Property Name="Session3Target" Type="int" />
  3399. <Property Name="Session4Target" Type="int" />
  3400. <Property Name="Session5Target" Type="int" />
  3401. <Property Name="RegionalSalesManager2" Type="int" />
  3402. <Property Name="SalesVenueCommissionGroup" Type="uniqueidentifier" />
  3403. <Property Name="ClientArrivalManager" Type="int" />
  3404. <Property Name="CanIssueOYG" Type="bit" />
  3405. <Property Name="Resort" Type="int" />
  3406. <Property Name="DontSendBKConfSMS" Type="bit" />
  3407. </EntityType>
  3408. <EntityType Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  3409. <Key>
  3410. <PropertyRef Name="OID" />
  3411. </Key>
  3412. <Property Name="CAOverride" Type="int" />
  3413. <Property Name="CAOverrideUsers" Type="int" />
  3414. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3415. <Property Name="OptimisticLockField" Type="int" />
  3416. </EntityType>
  3417. <EntityType Name="TblSalesVenueClubAdjustments">
  3418. <Key>
  3419. <PropertyRef Name="OID" />
  3420. </Key>
  3421. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3422. <Property Name="SalesVenue" Type="int" />
  3423. <Property Name="SalesClub" Type="nvarchar" MaxLength="10" />
  3424. <Property Name="IntrestAdjustment" Type="money" />
  3425. <Property Name="OptimisticLockField" Type="int" />
  3426. <Property Name="GCRecord" Type="int" />
  3427. </EntityType>
  3428. <EntityType Name="TblSalesVenueClubDevelopers">
  3429. <Key>
  3430. <PropertyRef Name="OID" />
  3431. </Key>
  3432. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3433. <Property Name="Club" Type="nvarchar" MaxLength="10" />
  3434. <Property Name="Developer" Type="int" />
  3435. <Property Name="TblSalesVenue" Type="int" />
  3436. <Property Name="OptimisticLockField" Type="int" />
  3437. <Property Name="GCRecord" Type="int" />
  3438. </EntityType>
  3439. <EntityType Name="TblSalesVenueCommissionGroup">
  3440. <Key>
  3441. <PropertyRef Name="Oid" />
  3442. </Key>
  3443. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3444. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  3445. <Property Name="OptimisticLockField" Type="int" />
  3446. <Property Name="GCRecord" Type="int" />
  3447. </EntityType>
  3448. <EntityType Name="TblSalesVenueCommissionsSplit">
  3449. <Key>
  3450. <PropertyRef Name="OID" />
  3451. </Key>
  3452. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3453. <Property Name="SalesAgency" Type="int" />
  3454. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  3455. <Property Name="PointBuyPrice" Type="money" />
  3456. <Property Name="PointSellPrice" Type="money" />
  3457. <Property Name="CommissionPerc" Type="float" />
  3458. <Property Name="DepositPerc" Type="float" />
  3459. <Property Name="IncludeInterest" Type="bit" />
  3460. <Property Name="DepositOnContract" Type="bit" />
  3461. <Property Name="OptimisticLockField" Type="int" />
  3462. <Property Name="GCRecord" Type="int" />
  3463. <Property Name="InstallmentPerc" Type="float" />
  3464. </EntityType>
  3465. <EntityType Name="TblSalesVenueCommissionsSplitCommissionType">
  3466. <Key>
  3467. <PropertyRef Name="OID" />
  3468. </Key>
  3469. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3470. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  3471. <Property Name="OptimisticLockField" Type="int" />
  3472. <Property Name="GCRecord" Type="int" />
  3473. </EntityType>
  3474. <EntityType Name="TblSalesVenueComSplitLines">
  3475. <Key>
  3476. <PropertyRef Name="OID" />
  3477. </Key>
  3478. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3479. <Property Name="CommissionSplit" Type="int" />
  3480. <Property Name="Category" Type="int" />
  3481. <Property Name="SubType" Type="int" />
  3482. <Property Name="SubTypePercentage" Type="float" />
  3483. <Property Name="OptimisticLockField" Type="int" />
  3484. <Property Name="GCRecord" Type="int" />
  3485. </EntityType>
  3486. <EntityType Name="TblSalesVenueGroup">
  3487. <Key>
  3488. <PropertyRef Name="Oid" />
  3489. </Key>
  3490. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3491. <Property Name="GroupName" Type="nvarchar" MaxLength="100" />
  3492. <Property Name="OptimisticLockField" Type="int" />
  3493. <Property Name="GCRecord" Type="int" />
  3494. </EntityType>
  3495. <EntityType Name="TblSalesVenueImportSource">
  3496. <Key>
  3497. <PropertyRef Name="OID" />
  3498. </Key>
  3499. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3500. <Property Name="TblSalesVenue" Type="int" />
  3501. <Property Name="ImportSource" Type="int" />
  3502. <Property Name="ExcludeThis" Type="bit" />
  3503. <Property Name="OptimisticLockField" Type="int" />
  3504. <Property Name="GCRecord" Type="int" />
  3505. </EntityType>
  3506. <EntityType Name="TblSalesVenuePersonnel">
  3507. <Key>
  3508. <PropertyRef Name="OID" />
  3509. </Key>
  3510. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3511. <Property Name="TblSalesVenue" Type="int" />
  3512. <Property Name="PersonnelCode" Type="int" />
  3513. <Property Name="OptimisticLockField" Type="int" />
  3514. <Property Name="GCRecord" Type="int" />
  3515. <Property Name="PodManager" Type="int" />
  3516. <Property Name="CallsPerHourTarget" Type="int" />
  3517. <Property Name="CallsMinSeconds" Type="int" />
  3518. <Property Name="BookingTarget" Type="int" />
  3519. <Property Name="ShowsTarget" Type="int" />
  3520. </EntityType>
  3521. <EntityType Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  3522. <Key>
  3523. <PropertyRef Name="OID" />
  3524. </Key>
  3525. <Property Name="PitchedLeadsReportRecipients" Type="int" />
  3526. <Property Name="PitchedLeadsReportVenue" Type="int" />
  3527. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3528. <Property Name="OptimisticLockField" Type="int" />
  3529. </EntityType>
  3530. <EntityType Name="TblSalesVenueRegFee">
  3531. <Key>
  3532. <PropertyRef Name="OID" />
  3533. </Key>
  3534. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3535. <Property Name="Club" Type="nvarchar" MaxLength="10" />
  3536. <Property Name="ContractType" Type="int" />
  3537. <Property Name="TblSalesVenue" Type="int" />
  3538. <Property Name="Registrationfee" Type="money" />
  3539. <Property Name="OptimisticLockField" Type="int" />
  3540. <Property Name="GCRecord" Type="int" />
  3541. </EntityType>
  3542. <EntityType Name="TblSalesVenueRegion">
  3543. <Key>
  3544. <PropertyRef Name="OID" />
  3545. </Key>
  3546. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3547. <Property Name="Region" Type="nvarchar" MaxLength="100" />
  3548. <Property Name="TblSalesVenue" Type="int" />
  3549. <Property Name="OptimisticLockField" Type="int" />
  3550. <Property Name="GCRecord" Type="int" />
  3551. </EntityType>
  3552. <EntityType Name="TblSalesVenueRegister">
  3553. <Key>
  3554. <PropertyRef Name="OID" />
  3555. </Key>
  3556. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3557. <Property Name="Personnel" Type="int" />
  3558. <Property Name="SalesConsultants" Type="int" />
  3559. <Property Name="OptimisticLockField" Type="int" />
  3560. <Property Name="GCRecord" Type="int" />
  3561. <Property Name="AtWork" Type="int" />
  3562. <Property Name="Time" Type="nvarchar" MaxLength="100" />
  3563. <Property Name="Remarks" Type="nvarchar" MaxLength="100" />
  3564. </EntityType>
  3565. <EntityType Name="TblSalesVenueRegisterHdr">
  3566. <Key>
  3567. <PropertyRef Name="OID" />
  3568. </Key>
  3569. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3570. <Property Name="WorkDate" Type="datetime" />
  3571. <Property Name="SalesVenue" Type="int" />
  3572. <Property Name="OptimisticLockField" Type="int" />
  3573. <Property Name="GCRecord" Type="int" />
  3574. <Property Name="SalesTeamManager" Type="nvarchar" MaxLength="100" />
  3575. <Property Name="RegionalManager" Type="nvarchar" MaxLength="100" />
  3576. <Property Name="AtWork" Type="int" />
  3577. <Property Name="NotAtWork" Type="int" />
  3578. <Property Name="TimeChecked" Type="nvarchar" MaxLength="100" />
  3579. <Property Name="EmailSent" Type="datetime" />
  3580. </EntityType>
  3581. <EntityType Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  3582. <Key>
  3583. <PropertyRef Name="OID" />
  3584. </Key>
  3585. <Property Name="PromotionCommissionStructures" Type="uniqueidentifier" />
  3586. <Property Name="SalesVenues" Type="int" />
  3587. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3588. <Property Name="OptimisticLockField" Type="int" />
  3589. </EntityType>
  3590. <EntityType Name="TblSalesVenueTelemarketerOffice">
  3591. <Key>
  3592. <PropertyRef Name="OID" />
  3593. </Key>
  3594. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3595. <Property Name="SalesVenue" Type="int" />
  3596. <Property Name="TelemarketerOffice" Type="int" />
  3597. <Property Name="ConfirmationEmailDocument" Type="int" />
  3598. <Property Name="OptimisticLockField" Type="int" />
  3599. <Property Name="GCRecord" Type="int" />
  3600. </EntityType>
  3601. <EntityType Name="TblSalesVenueTelemarketerOffice-bak">
  3602. <Key>
  3603. <PropertyRef Name="OID" />
  3604. </Key>
  3605. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3606. <Property Name="SalesVenue" Type="int" />
  3607. <Property Name="TelemarketerOffice" Type="int" />
  3608. <Property Name="ConfirmationEmailDocument" Type="int" />
  3609. <Property Name="OptimisticLockField" Type="int" />
  3610. <Property Name="GCRecord" Type="int" />
  3611. </EntityType>
  3612. <EntityType Name="TblSalesVenueWeeklyTargetSplit">
  3613. <Key>
  3614. <PropertyRef Name="OID" />
  3615. </Key>
  3616. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3617. <Property Name="SalesVenue" Type="int" />
  3618. <Property Name="Year" Type="int" />
  3619. <Property Name="WeekNumber" Type="int" />
  3620. <Property Name="FromDate" Type="datetime" />
  3621. <Property Name="ToDate" Type="datetime" />
  3622. <Property Name="UnivateTarget" Type="int" />
  3623. <Property Name="OptimisticLockField" Type="int" />
  3624. <Property Name="GCRecord" Type="int" />
  3625. </EntityType>
  3626. <EntityType Name="TblSCV2CommissionContract">
  3627. <Key>
  3628. <PropertyRef Name="Oid" />
  3629. </Key>
  3630. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3631. <Property Name="Contract" Type="int" />
  3632. <Property Name="CommissionPercentage" Type="money" />
  3633. <Property Name="HousesitCommission" Type="money" />
  3634. <Property Name="HousesitCommissionPaid" Type="money" />
  3635. <Property Name="NewLeadCommission" Type="money" />
  3636. <Property Name="NewLeadCommissionPaid" Type="money" />
  3637. <Property Name="UpfrontCommission" Type="money" />
  3638. <Property Name="DripCommission" Type="money" />
  3639. <Property Name="UpfrontPaid" Type="money" />
  3640. <Property Name="DripPaid" Type="money" />
  3641. <Property Name="SalesPerson" Type="int" />
  3642. <Property Name="SalesPersonType" Type="int" />
  3643. <Property Name="CommissionWeek" Type="uniqueidentifier" />
  3644. <Property Name="StopPayout" Type="bit" />
  3645. <Property Name="IsEquityDeal" Type="bit" />
  3646. <Property Name="BCInstalment" Type="money" />
  3647. <Property Name="Factor" Type="float" />
  3648. <Property Name="UpfrontPercentage" Type="money" />
  3649. <Property Name="DripPercentage" Type="money" />
  3650. <Property Name="DripStartsOnInstalment" Type="int" />
  3651. <Property Name="NoOfDrips" Type="int" />
  3652. <Property Name="DSDealPayoutPercentage" Type="money" />
  3653. <Property Name="EquityPayoutPercentage" Type="money" />
  3654. <Property Name="EquityTargetPercentage" Type="money" />
  3655. <Property Name="BusinessFutureValue" Type="money" />
  3656. <Property Name="QualifyForBonus" Type="bit" />
  3657. <Property Name="OptimisticLockField" Type="int" />
  3658. <Property Name="GCRecord" Type="int" />
  3659. <Property Name="ResaleContract" Type="int" />
  3660. <Property Name="Rotation" Type="int" />
  3661. <Property Name="ReducedAmount" Type="money" />
  3662. </EntityType>
  3663. <EntityType Name="TblSCV2CommissionPeriod">
  3664. <Key>
  3665. <PropertyRef Name="Oid" />
  3666. </Key>
  3667. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3668. <Property Name="FromDate" Type="datetime" />
  3669. <Property Name="ToDate" Type="datetime" />
  3670. <Property Name="DotCutOff" Type="datetime" />
  3671. <Property Name="PayDate" Type="datetime" />
  3672. <Property Name="CommissionPeriod" Type="int" />
  3673. <Property Name="ReadyForSignOff" Type="bit" />
  3674. <Property Name="OptimisticLockField" Type="int" />
  3675. <Property Name="GCRecord" Type="int" />
  3676. </EntityType>
  3677. <EntityType Name="TblSCV2CommissionStructure">
  3678. <Key>
  3679. <PropertyRef Name="Oid" />
  3680. </Key>
  3681. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3682. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  3683. <Property Name="BonusPercentage" Type="money" />
  3684. <Property Name="NoOfDealsForBonus" Type="int" />
  3685. <Property Name="OptimisticLockField" Type="int" />
  3686. <Property Name="GCRecord" Type="int" />
  3687. <Property Name="UpfrontPercentage" Type="money" />
  3688. <Property Name="DripPercentage" Type="money" />
  3689. <Property Name="NoOfDrips" Type="int" />
  3690. <Property Name="DripStartsOnInstalment" Type="int" />
  3691. <Property Name="DSDealPayoutPercentage" Type="money" />
  3692. <Property Name="DSDealDripStartOnInstalment" Type="int" />
  3693. <Property Name="NoOfDSDrips" Type="int" />
  3694. <Property Name="IsRegional" Type="bit" />
  3695. <Property Name="DSDealPercentage" Type="money" />
  3696. <Property Name="NonLPAPercentage" Type="money" />
  3697. <Property Name="RegionalSalesManagerType" Type="int" />
  3698. </EntityType>
  3699. <EntityType Name="TblSCV2CommissionWeek">
  3700. <Key>
  3701. <PropertyRef Name="Oid" />
  3702. </Key>
  3703. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3704. <Property Name="FromDate" Type="datetime" />
  3705. <Property Name="ToDate" Type="datetime" />
  3706. <Property Name="CommissionPeriod" Type="uniqueidentifier" />
  3707. <Property Name="OptimisticLockField" Type="int" />
  3708. <Property Name="GCRecord" Type="int" />
  3709. <Property Name="WeekNumber" Type="int" />
  3710. </EntityType>
  3711. <EntityType Name="TblSCV2ErrorLog">
  3712. <Key>
  3713. <PropertyRef Name="Oid" />
  3714. </Key>
  3715. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3716. <Property Name="Contract" Type="nvarchar" MaxLength="100" />
  3717. <Property Name="SalesPersonType" Type="int" />
  3718. <Property Name="Date" Type="datetime" />
  3719. <Property Name="Description" Type="nvarchar" MaxLength="500" />
  3720. <Property Name="OptimisticLockField" Type="int" />
  3721. <Property Name="GCRecord" Type="int" />
  3722. </EntityType>
  3723. <EntityType Name="TblSCV2RegionalManagerContractTypeOverride">
  3724. <Key>
  3725. <PropertyRef Name="Oid" />
  3726. </Key>
  3727. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3728. <Property Name="ContractType" Type="int" />
  3729. <Property Name="UpfrontPercentage" Type="money" />
  3730. <Property Name="DripPercentage" Type="money" />
  3731. <Property Name="CommissionStructure" Type="uniqueidentifier" />
  3732. <Property Name="OptimisticLockField" Type="int" />
  3733. <Property Name="GCRecord" Type="int" />
  3734. <Property Name="SpecialStructure" Type="uniqueidentifier" />
  3735. </EntityType>
  3736. <EntityType Name="TblSCV2SalesVenueScale">
  3737. <Key>
  3738. <PropertyRef Name="Oid" />
  3739. </Key>
  3740. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3741. <Property Name="SalesVenue" Type="int" />
  3742. <Property Name="From" Type="money" />
  3743. <Property Name="To" Type="money" />
  3744. <Property Name="Percentage" Type="money" />
  3745. <Property Name="RegionalSalesManagerType" Type="int" />
  3746. <Property Name="OptimisticLockField" Type="int" />
  3747. <Property Name="GCRecord" Type="int" />
  3748. </EntityType>
  3749. <EntityType Name="TblSCV2Scales">
  3750. <Key>
  3751. <PropertyRef Name="Oid" />
  3752. </Key>
  3753. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3754. <Property Name="From" Type="money" />
  3755. <Property Name="To" Type="money" />
  3756. <Property Name="Percentage" Type="money" />
  3757. <Property Name="PaidUpPercentage" Type="money" />
  3758. <Property Name="Factor" Type="float" />
  3759. <Property Name="ContractType" Type="int" />
  3760. <Property Name="IsDSDeal" Type="bit" />
  3761. <Property Name="DSDealPercentagePayout" Type="money" />
  3762. <Property Name="NewLeadAmount" Type="money" />
  3763. <Property Name="HousesitAmount" Type="money" />
  3764. <Property Name="UpfrontPercentage" Type="money" />
  3765. <Property Name="DripPercentage" Type="money" />
  3766. <Property Name="DripsStartsOnInstalment" Type="int" />
  3767. <Property Name="NoOfDrips" Type="int" />
  3768. <Property Name="CommissionStructure" Type="uniqueidentifier" />
  3769. <Property Name="OptimisticLockField" Type="int" />
  3770. <Property Name="GCRecord" Type="int" />
  3771. </EntityType>
  3772. <EntityType Name="TblSCV2SpecialScales">
  3773. <Key>
  3774. <PropertyRef Name="Oid" />
  3775. </Key>
  3776. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3777. <Property Name="Structure" Type="uniqueidentifier" />
  3778. <Property Name="MonthlyBusinessCredit" Type="money" />
  3779. <Property Name="CommissionPercentage" Type="money" />
  3780. <Property Name="OptimisticLockField" Type="int" />
  3781. <Property Name="GCRecord" Type="int" />
  3782. </EntityType>
  3783. <EntityType Name="TblSCV2SpecialStructure">
  3784. <Key>
  3785. <PropertyRef Name="Oid" />
  3786. </Key>
  3787. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3788. <Property Name="Personnel" Type="int" />
  3789. <Property Name="SalesCommissionGroup" Type="uniqueidentifier" />
  3790. <Property Name="DLDealCommissionPercentage" Type="money" />
  3791. <Property Name="DLDealPayoutPercentage" Type="money" />
  3792. <Property Name="UpfrontPercentage" Type="money" />
  3793. <Property Name="DripPercentage" Type="money" />
  3794. <Property Name="DripStartOnInstalment" Type="int" />
  3795. <Property Name="NumberOfDrips" Type="int" />
  3796. <Property Name="DSDealDripStartsOnInstalment" Type="int" />
  3797. <Property Name="OptimisticLockField" Type="int" />
  3798. <Property Name="GCRecord" Type="int" />
  3799. </EntityType>
  3800. <EntityType Name="TblSCV2Transaction">
  3801. <Key>
  3802. <PropertyRef Name="Oid" />
  3803. </Key>
  3804. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3805. <Property Name="CommissionContract" Type="uniqueidentifier" />
  3806. <Property Name="UpfrontCommission" Type="money" />
  3807. <Property Name="DripCommission" Type="money" />
  3808. <Property Name="NewLeadCommission" Type="money" />
  3809. <Property Name="HousesitCommission" Type="money" />
  3810. <Property Name="SignOffDate" Type="datetime" />
  3811. <Property Name="SignOffBy" Type="int" />
  3812. <Property Name="TransactionDate" Type="datetime" />
  3813. <Property Name="CommissionPeriod" Type="int" />
  3814. <Property Name="Paid" Type="bit" />
  3815. <Property Name="OptimisticLockField" Type="int" />
  3816. <Property Name="GCRecord" Type="int" />
  3817. </EntityType>
  3818. <EntityType Name="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  3819. <Key>
  3820. <PropertyRef Name="OID" />
  3821. </Key>
  3822. <Property Name="PromotionCommissionStructure" Type="uniqueidentifier" />
  3823. <Property Name="Seasons" Type="int" />
  3824. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3825. <Property Name="OptimisticLockField" Type="int" />
  3826. </EntityType>
  3827. <EntityType Name="TblSeasonsRankings">
  3828. <Key>
  3829. <PropertyRef Name="OID" />
  3830. </Key>
  3831. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3832. <Property Name="Rankings" Type="int" />
  3833. <Property Name="DateCreated" Type="datetime" />
  3834. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  3835. <Property Name="Season" Type="int" />
  3836. <Property Name="Ranking" Type="money" />
  3837. <Property Name="OptimisticLockField" Type="int" />
  3838. <Property Name="GCRecord" Type="int" />
  3839. </EntityType>
  3840. <EntityType Name="TblSessionOverride">
  3841. <Key>
  3842. <PropertyRef Name="OID" />
  3843. </Key>
  3844. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3845. <Property Name="ShowDate" Type="datetime" />
  3846. <Property Name="SalesVenue" Type="int" />
  3847. <Property Name="Reason" Type="nvarchar" MaxLength="100" />
  3848. <Property Name="DateCreated" Type="datetime" />
  3849. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  3850. <Property Name="NumberOfSessions" Type="int" />
  3851. <Property Name="Session1" Type="nvarchar" MaxLength="100" />
  3852. <Property Name="Session2" Type="nvarchar" MaxLength="100" />
  3853. <Property Name="Session3" Type="nvarchar" MaxLength="100" />
  3854. <Property Name="Session4" Type="nvarchar" MaxLength="100" />
  3855. <Property Name="OptimisticLockField" Type="int" />
  3856. <Property Name="GCRecord" Type="int" />
  3857. <Property Name="ShowDateTo" Type="datetime" />
  3858. </EntityType>
  3859. <EntityType Name="TblSleeperRankings">
  3860. <Key>
  3861. <PropertyRef Name="OID" />
  3862. </Key>
  3863. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3864. <Property Name="Rankings" Type="int" />
  3865. <Property Name="DateCreated" Type="datetime" />
  3866. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  3867. <Property Name="Sleeper" Type="int" />
  3868. <Property Name="Ranking" Type="money" />
  3869. <Property Name="OptimisticLockField" Type="int" />
  3870. <Property Name="GCRecord" Type="int" />
  3871. </EntityType>
  3872. <EntityType Name="TblSMICommissionContract">
  3873. <Key>
  3874. <PropertyRef Name="Oid" />
  3875. </Key>
  3876. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3877. <Property Name="Contract" Type="int" />
  3878. <Property Name="CommissionPercentage" Type="money" />
  3879. <Property Name="UpfrontCommission" Type="money" />
  3880. <Property Name="DripCommission" Type="money" />
  3881. <Property Name="UpfrontPaid" Type="money" />
  3882. <Property Name="DripPaid" Type="money" />
  3883. <Property Name="SalesWeek" Type="uniqueidentifier" />
  3884. <Property Name="NoOfDrips" Type="int" />
  3885. <Property Name="DripStartsOnInstallment" Type="int" />
  3886. <Property Name="OptimisticLockField" Type="int" />
  3887. <Property Name="GCRecord" Type="int" />
  3888. <Property Name="StopPayout" Type="bit" />
  3889. </EntityType>
  3890. <EntityType Name="TblSMICommissionInfo">
  3891. <Key>
  3892. <PropertyRef Name="Oid" />
  3893. </Key>
  3894. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3895. <Property Name="CommissionPeriod" Type="uniqueidentifier" />
  3896. <Property Name="SalesPerson" Type="int" />
  3897. <Property Name="OptimisticLockField" Type="int" />
  3898. <Property Name="GCRecord" Type="int" />
  3899. </EntityType>
  3900. <EntityType Name="TblSMICommissionPeriod">
  3901. <Key>
  3902. <PropertyRef Name="Oid" />
  3903. </Key>
  3904. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3905. <Property Name="FromDate" Type="datetime" />
  3906. <Property Name="ToDate" Type="datetime" />
  3907. <Property Name="DotCutOff" Type="datetime" />
  3908. <Property Name="PayDate" Type="datetime" />
  3909. <Property Name="CommissionPeriod" Type="int" />
  3910. <Property Name="ReadyForSignOff" Type="bit" />
  3911. <Property Name="OptimisticLockField" Type="int" />
  3912. <Property Name="GCRecord" Type="int" />
  3913. </EntityType>
  3914. <EntityType Name="TblSMICommissionWeek">
  3915. <Key>
  3916. <PropertyRef Name="Oid" />
  3917. </Key>
  3918. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3919. <Property Name="FromDate" Type="datetime" />
  3920. <Property Name="ToDate" Type="datetime" />
  3921. <Property Name="CommissionPeriod" Type="uniqueidentifier" />
  3922. <Property Name="OptimisticLockField" Type="int" />
  3923. <Property Name="GCRecord" Type="int" />
  3924. </EntityType>
  3925. <EntityType Name="TblSMIIncentive">
  3926. <Key>
  3927. <PropertyRef Name="Oid" />
  3928. </Key>
  3929. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3930. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  3931. <Property Name="NewBusinessPercentage" Type="money" />
  3932. <Property Name="IncludePromotions" Type="bit" />
  3933. <Property Name="SalesPersonType" Type="int" />
  3934. <Property Name="UpfrontPayout" Type="money" />
  3935. <Property Name="DripPayout" Type="money" />
  3936. <Property Name="NumberOfDrips" Type="int" />
  3937. <Property Name="DripStartsOnInstallment" Type="int" />
  3938. <Property Name="OptimisticLockField" Type="int" />
  3939. <Property Name="GCRecord" Type="int" />
  3940. </EntityType>
  3941. <EntityType Name="TblSMIIncentiveLevel">
  3942. <Key>
  3943. <PropertyRef Name="Oid" />
  3944. </Key>
  3945. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3946. <Property Name="Level" Type="int" />
  3947. <Property Name="WeeklyBusinessCreditTarget" Type="money" />
  3948. <Property Name="CommissionPercentage" Type="money" />
  3949. <Property Name="Incentive" Type="uniqueidentifier" />
  3950. <Property Name="OptimisticLockField" Type="int" />
  3951. <Property Name="GCRecord" Type="int" />
  3952. </EntityType>
  3953. <EntityType Name="TblSMISalesPersonWeek">
  3954. <Key>
  3955. <PropertyRef Name="Oid" />
  3956. </Key>
  3957. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3958. <Property Name="CommissionWeek" Type="uniqueidentifier" />
  3959. <Property Name="CommissionInfo" Type="uniqueidentifier" />
  3960. <Property Name="TargetMade" Type="bit" />
  3961. <Property Name="NewBusinessPercentage" Type="money" />
  3962. <Property Name="Turnover" Type="money" />
  3963. <Property Name="CommissionPercentage" Type="money" />
  3964. <Property Name="Comments" Type="int" />
  3965. <Property Name="OptimisticLockField" Type="int" />
  3966. <Property Name="GCRecord" Type="int" />
  3967. </EntityType>
  3968. <EntityType Name="TblSMITransaction">
  3969. <Key>
  3970. <PropertyRef Name="Oid" />
  3971. </Key>
  3972. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  3973. <Property Name="CommissionContract" Type="uniqueidentifier" />
  3974. <Property Name="TransactionDate" Type="datetime" />
  3975. <Property Name="CommissionPeriod" Type="uniqueidentifier" />
  3976. <Property Name="UpfrontCommissionDue" Type="money" />
  3977. <Property Name="DripCommissionDue" Type="money" />
  3978. <Property Name="Paid" Type="bit" />
  3979. <Property Name="SignOffDate" Type="datetime" />
  3980. <Property Name="SignOffBy" Type="int" />
  3981. <Property Name="OptimisticLockField" Type="int" />
  3982. <Property Name="GCRecord" Type="int" />
  3983. </EntityType>
  3984. <EntityType Name="TblSMSCampaignMessages">
  3985. <Key>
  3986. <PropertyRef Name="OID" />
  3987. </Key>
  3988. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  3989. <Property Name="DateSent" Type="datetime" />
  3990. <Property Name="Message" Type="nvarchar" MaxLength="250" />
  3991. <Property Name="Portfolio" Type="int" />
  3992. <Property Name="Contract" Type="int" />
  3993. <Property Name="SMSType" Type="int" />
  3994. <Property Name="CellPhoneNumber" Type="nvarchar" MaxLength="100" />
  3995. <Property Name="SMSResult" Type="nvarchar" MaxLength="100" />
  3996. <Property Name="MemberNumber" Type="nvarchar" MaxLength="100" />
  3997. <Property Name="ActionDate" Type="datetime" />
  3998. <Property Name="Sent" Type="bit" />
  3999. <Property Name="Guest" Type="int" />
  4000. <Property Name="IsSpouse" Type="bit" />
  4001. <Property Name="OptimisticLockField" Type="int" />
  4002. <Property Name="GCRecord" Type="int" />
  4003. </EntityType>
  4004. <EntityType Name="TblSMSCampaignTemplate">
  4005. <Key>
  4006. <PropertyRef Name="OID" />
  4007. </Key>
  4008. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4009. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4010. <Property Name="DateCreated" Type="datetime" />
  4011. <Property Name="Type" Type="int" />
  4012. <Property Name="Message" Type="nvarchar" MaxLength="250" />
  4013. <Property Name="OptimisticLockField" Type="int" />
  4014. <Property Name="GCRecord" Type="int" />
  4015. <Property Name="DoNotSendSMS" Type="bit" />
  4016. </EntityType>
  4017. <EntityType Name="TblStreamline">
  4018. <Key>
  4019. <PropertyRef Name="OID" />
  4020. </Key>
  4021. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4022. <Property Name="ContractNo" Type="nvarchar" MaxLength="100" />
  4023. <Property Name="PreviousContractNo" Type="nvarchar" MaxLength="100" />
  4024. <Property Name="Flow" Type="int" />
  4025. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  4026. <Property Name="SpouseEmailAddress" Type="nvarchar" MaxLength="100" />
  4027. <Property Name="Portfolio" Type="int" />
  4028. <Property Name="PhysicalAddress" Type="uniqueidentifier" />
  4029. <Property Name="PostalAddress" Type="uniqueidentifier" />
  4030. <Property Name="PaymentMethod" Type="int" />
  4031. <Property Name="BalCla" Type="nvarchar" MaxLength="100" />
  4032. <Property Name="MthInCl" Type="nvarchar" MaxLength="100" />
  4033. <Property Name="NoMthCl" Type="nvarchar" MaxLength="100" />
  4034. <Property Name="DepCl" Type="nvarchar" MaxLength="100" />
  4035. <Property Name="CommDCl" Type="nvarchar" MaxLength="100" />
  4036. <Property Name="CurMFCl" Type="nvarchar" MaxLength="100" />
  4037. <Property Name="MFInCl" Type="nvarchar" MaxLength="100" />
  4038. <Property Name="OccYrCl" Type="nvarchar" MaxLength="100" />
  4039. <Property Name="OFMthCl" Type="nvarchar" MaxLength="100" />
  4040. <Property Name="MFCommDCl" Type="nvarchar" MaxLength="100" />
  4041. <Property Name="RegFYN" Type="bit" />
  4042. <Property Name="AmendedBalanceDue" Type="money" />
  4043. <Property Name="AmendedMonthlyInstalment" Type="money" />
  4044. <Property Name="DepositPayable" Type="money" />
  4045. <Property Name="CurrentAnnualMangement" Type="money" />
  4046. <Property Name="CurrentMonthlyManagement" Type="money" />
  4047. <Property Name="MonthlyACB" Type="nvarchar" MaxLength="100" />
  4048. <Property Name="RegistrationFeePayable" Type="money" />
  4049. <Property Name="NoMonthsFromComm" Type="int" />
  4050. <Property Name="OccupationYear" Type="int" />
  4051. <Property Name="MonthlyInstalmentCommDate" Type="datetime" />
  4052. <Property Name="MonthlyManFeeInstalmentCommDate" Type="datetime" />
  4053. <Property Name="HomePhone" Type="nvarchar" MaxLength="100" />
  4054. <Property Name="WorkPhone" Type="nvarchar" MaxLength="100" />
  4055. <Property Name="CellPhone" Type="nvarchar" MaxLength="100" />
  4056. <Property Name="CellPhoneAlt" Type="nvarchar" MaxLength="100" />
  4057. <Property Name="SignedAt" Type="nvarchar" MaxLength="100" />
  4058. <Property Name="SignedDate" Type="datetime" />
  4059. <Property Name="Club" Type="nvarchar" MaxLength="10" />
  4060. <Property Name="Developer" Type="int" />
  4061. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  4062. <Property Name="FirstName" Type="nvarchar" MaxLength="100" />
  4063. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  4064. <Property Name="IdNumber" Type="nvarchar" MaxLength="100" />
  4065. <Property Name="JointPurchase" Type="bit" />
  4066. <Property Name="MarriedType" Type="int" />
  4067. <Property Name="SpouseTitle" Type="nvarchar" MaxLength="20" />
  4068. <Property Name="SpouseFirstName" Type="nvarchar" MaxLength="100" />
  4069. <Property Name="SpouseSurname" Type="nvarchar" MaxLength="100" />
  4070. <Property Name="SpouseIdNumber" Type="nvarchar" MaxLength="100" />
  4071. <Property Name="PrevContract" Type="int" />
  4072. <Property Name="InstalmentFee" Type="money" />
  4073. <Property Name="Deposit" Type="money" />
  4074. <Property Name="CommencementDate" Type="datetime" />
  4075. <Property Name="NoMonths" Type="int" />
  4076. <Property Name="ManagementFee" Type="money" />
  4077. <Property Name="GeneratedFile" Type="int" />
  4078. <Property Name="OptimisticLockField" Type="int" />
  4079. <Property Name="GCRecord" Type="int" />
  4080. <Property Name="AmendedBalanceDueDate" Type="datetime" />
  4081. <Property Name="PointsPurchased" Type="int" />
  4082. <Property Name="PreviousDateOfSale" Type="datetime" />
  4083. <Property Name="PrevOutstandingDebtor" Type="money" />
  4084. <Property Name="SalesAgent" Type="int" />
  4085. <Property Name="DateOfSale" Type="datetime" />
  4086. </EntityType>
  4087. <EntityType Name="TblSubStatus">
  4088. <Key>
  4089. <PropertyRef Name="OID" />
  4090. </Key>
  4091. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4092. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  4093. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  4094. <Property Name="LookupDisplay" Type="nvarchar" MaxLength="100" />
  4095. <Property Name="OptimisticLockField" Type="int" />
  4096. <Property Name="GCRecord" Type="int" />
  4097. </EntityType>
  4098. <EntityType Name="TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  4099. <Key>
  4100. <PropertyRef Name="OID" />
  4101. </Key>
  4102. <Property Name="CCDStatus" Type="int" />
  4103. <Property Name="SubStatus" Type="int" />
  4104. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4105. <Property Name="OptimisticLockField" Type="int" />
  4106. </EntityType>
  4107. <EntityType Name="TblSubStatusSubStatuses_StatusStatus">
  4108. <Key>
  4109. <PropertyRef Name="OID" />
  4110. </Key>
  4111. <Property Name="Status" Type="int" />
  4112. <Property Name="SubStatuses" Type="int" />
  4113. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4114. <Property Name="OptimisticLockField" Type="int" />
  4115. </EntityType>
  4116. <EntityType Name="TblSuspenseTransaction">
  4117. <Key>
  4118. <PropertyRef Name="OID" />
  4119. </Key>
  4120. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4121. <Property Name="Comments" Type="nvarchar(max)" />
  4122. <Property Name="TransactionDate" Type="datetime" />
  4123. <Property Name="DateCreated" Type="datetime" />
  4124. <Property Name="BankAccount" Type="nvarchar" MaxLength="100" />
  4125. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  4126. <Property Name="Amount" Type="money" />
  4127. <Property Name="DollarAmount" Type="money" />
  4128. <Property Name="BankSMTNumber" Type="nvarchar" MaxLength="100" />
  4129. <Property Name="AllowcatedDate" Type="datetime" />
  4130. <Property Name="TransferBankReference" Type="nvarchar" MaxLength="100" />
  4131. <Property Name="AllowcatedAccount" Type="int" />
  4132. <Property Name="StatementLine" Type="int" />
  4133. <Property Name="OptimisticLockField" Type="int" />
  4134. <Property Name="GCRecord" Type="int" />
  4135. <Property Name="SupportingDocument" Type="int" />
  4136. <Property Name="AllocatedBankAccount" Type="int" />
  4137. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4138. <Property Name="OtherEntity" Type="bit" />
  4139. <Property Name="JournalLine" Type="int" />
  4140. </EntityType>
  4141. <EntityType Name="TblSuspenseTransactionSplit">
  4142. <Key>
  4143. <PropertyRef Name="OID" />
  4144. </Key>
  4145. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4146. <Property Name="Amount" Type="money" />
  4147. <Property Name="DollarAmount" Type="money" />
  4148. <Property Name="Account" Type="int" />
  4149. <Property Name="SuspenseLine" Type="int" />
  4150. <Property Name="OptimisticLockField" Type="int" />
  4151. <Property Name="GCRecord" Type="int" />
  4152. <Property Name="Suspense" Type="bit" />
  4153. <Property Name="AllocatedBankAccount" Type="int" />
  4154. <Property Name="Comments" Type="nvarchar" MaxLength="1000" />
  4155. <Property Name="OtherEntity" Type="bit" />
  4156. </EntityType>
  4157. <EntityType Name="TblSystem">
  4158. <Key>
  4159. <PropertyRef Name="OID" />
  4160. </Key>
  4161. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4162. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  4163. <Property Name="OptimisticLockField" Type="int" />
  4164. <Property Name="GCRecord" Type="int" />
  4165. </EntityType>
  4166. <EntityType Name="TblTelemarketerOffice">
  4167. <Key>
  4168. <PropertyRef Name="OID" />
  4169. </Key>
  4170. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4171. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  4172. <Property Name="province" Type="uniqueidentifier" />
  4173. <Property Name="Company" Type="int" />
  4174. <Property Name="StartTime" Type="nvarchar" MaxLength="10" />
  4175. <Property Name="EndTime" Type="nvarchar" MaxLength="10" />
  4176. <Property Name="OptimisticLockField" Type="int" />
  4177. <Property Name="GCRecord" Type="int" />
  4178. <Property Name="SMSUserCode" Type="nvarchar" MaxLength="100" />
  4179. <Property Name="SMSPassword" Type="nvarchar" MaxLength="100" />
  4180. <Property Name="SendingEmailAddress" Type="nvarchar" MaxLength="100" />
  4181. <Property Name="Franchisee" Type="uniqueidentifier" />
  4182. <Property Name="SmsBookingMessage" Type="nvarchar" MaxLength="200" />
  4183. <Property Name="SmsConfirmationMessage" Type="nvarchar" MaxLength="200" />
  4184. <Property Name="TelephoneNumber" Type="nvarchar" MaxLength="100" />
  4185. <Property Name="FaxNumber" Type="nvarchar" MaxLength="100" />
  4186. <Property Name="isInactive" Type="bit" />
  4187. <Property Name="WeeklyTarget" Type="int" />
  4188. <Property Name="ShowInDailyReport" Type="bit" />
  4189. <Property Name="ShowInWeeklyReport" Type="bit" />
  4190. <Property Name="ShowInMonthlyReport" Type="bit" />
  4191. <Property Name="External" Type="bit" />
  4192. <Property Name="SMSSettings" Type="uniqueidentifier" />
  4193. <Property Name="SalesRegion" Type="int" />
  4194. <Property Name="Commissionable" Type="bit" />
  4195. <Property Name="HighlightInReport" Type="bit" />
  4196. </EntityType>
  4197. <EntityType Name="TblTelemarketerRegister">
  4198. <Key>
  4199. <PropertyRef Name="OID" />
  4200. </Key>
  4201. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4202. <Property Name="Telemarketers" Type="int" />
  4203. <Property Name="PersonnelCode" Type="int" />
  4204. <Property Name="StartTime" Type="nvarchar" MaxLength="100" />
  4205. <Property Name="EndTime" Type="nvarchar" MaxLength="100" />
  4206. <Property Name="SeatPosition" Type="smallint" />
  4207. <Property Name="OptimisticLockField" Type="int" />
  4208. <Property Name="GCRecord" Type="int" />
  4209. <Property Name="Type" Type="int" />
  4210. </EntityType>
  4211. <EntityType Name="TblTelemarketerRegisterHdr">
  4212. <Key>
  4213. <PropertyRef Name="OID" />
  4214. </Key>
  4215. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4216. <Property Name="WorkDate" Type="datetime" />
  4217. <Property Name="TelemarketerOffice" Type="int" />
  4218. <Property Name="OptimisticLockField" Type="int" />
  4219. <Property Name="GCRecord" Type="int" />
  4220. <Property Name="NoOfPeopleSession1" Type="smallint" />
  4221. <Property Name="NoOfPeopleSession2" Type="smallint" />
  4222. <Property Name="NoOfPeopleSession3" Type="smallint" />
  4223. <Property Name="NoOfPeopleSession4" Type="smallint" />
  4224. <Property Name="Type" Type="int" />
  4225. <Property Name="SalesVenue" Type="int" />
  4226. </EntityType>
  4227. <EntityType Name="TblTelemarketerSlidingScale">
  4228. <Key>
  4229. <PropertyRef Name="Oid" />
  4230. </Key>
  4231. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  4232. <Property Name="CommisionMonth" Type="uniqueidentifier" />
  4233. <Property Name="FromQShowCount" Type="int" />
  4234. <Property Name="ToQShowCount" Type="int" />
  4235. <Property Name="AmountPerQShow" Type="money" />
  4236. <Property Name="MaxQShowPerWeek" Type="int" />
  4237. <Property Name="CommisonPerSolidClearedDeal" Type="money" />
  4238. <Property Name="OptimisticLockField" Type="int" />
  4239. <Property Name="GCRecord" Type="int" />
  4240. </EntityType>
  4241. <EntityType Name="TblTelemarketingCompany">
  4242. <Key>
  4243. <PropertyRef Name="OID" />
  4244. </Key>
  4245. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4246. <Property Name="Name" Type="nvarchar" MaxLength="50" />
  4247. <Property Name="OptimisticLockField" Type="int" />
  4248. <Property Name="GCRecord" Type="int" />
  4249. </EntityType>
  4250. <EntityType Name="TblTelephoneCodes">
  4251. <Key>
  4252. <PropertyRef Name="OID" />
  4253. </Key>
  4254. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4255. <Property Name="Code" Type="nvarchar" MaxLength="100" />
  4256. <Property Name="IsLandline" Type="bit" />
  4257. <Property Name="IsCellphone" Type="bit" />
  4258. <Property Name="OptimisticLockField" Type="int" />
  4259. <Property Name="GCRecord" Type="int" />
  4260. </EntityType>
  4261. <EntityType Name="TblTelephones">
  4262. <Key>
  4263. <PropertyRef Name="OID" />
  4264. </Key>
  4265. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4266. <Property Name="PortfolioNumber" Type="int" />
  4267. <Property Name="TelephoneType" Type="int" />
  4268. <Property Name="TelephoneNumber" Type="nvarchar" MaxLength="100" />
  4269. <Property Name="DefaultNumber" Type="bit" />
  4270. <Property Name="Invalid" Type="bit" />
  4271. <Property Name="InvalidDate" Type="datetime" />
  4272. <Property Name="InvalidUser" Type="nvarchar" MaxLength="100" />
  4273. <Property Name="InvalidInfo" Type="nvarchar" MaxLength="100" />
  4274. <Property Name="OptimisticLockField" Type="int" />
  4275. <Property Name="GCRecord" Type="int" />
  4276. <Property Name="TelephoneNum" Type="nvarchar" MaxLength="100" />
  4277. </EntityType>
  4278. <EntityType Name="TblTelephoneTypes">
  4279. <Key>
  4280. <PropertyRef Name="OID" />
  4281. </Key>
  4282. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4283. <Property Name="Descrip" Type="nvarchar" MaxLength="100" />
  4284. <Property Name="OptimisticLockField" Type="int" />
  4285. <Property Name="GCRecord" Type="int" />
  4286. </EntityType>
  4287. <EntityType Name="TblTFGLeads">
  4288. <Key>
  4289. <PropertyRef Name="OID" />
  4290. </Key>
  4291. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4292. <Property Name="Club" Type="nvarchar" MaxLength="100" />
  4293. <Property Name="Code" Type="int" />
  4294. <Property Name="ContractNumber" Type="nvarchar" MaxLength="100" />
  4295. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  4296. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  4297. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  4298. <Property Name="HomePhoneNumber" Type="nvarchar" MaxLength="100" />
  4299. <Property Name="WorkPhoneNumber" Type="nvarchar" MaxLength="100" />
  4300. <Property Name="CellphoneNumber" Type="nvarchar" MaxLength="100" />
  4301. <Property Name="IDNumber" Type="nvarchar" MaxLength="100" />
  4302. <Property Name="InitialSellingDate" Type="datetime" />
  4303. <Property Name="Points" Type="int" />
  4304. <Property Name="AddendumCount" Type="int" />
  4305. <Property Name="AddendumPoints" Type="int" />
  4306. <Property Name="FinitePoints" Type="int" />
  4307. <Property Name="LatestSellingDate" Type="datetime" />
  4308. <Property Name="InitialSaleAgent" Type="nvarchar" MaxLength="100" />
  4309. <Property Name="LatestSaleAgent" Type="nvarchar" MaxLength="100" />
  4310. <Property Name="Developer" Type="nvarchar" MaxLength="100" />
  4311. <Property Name="CancelledDate" Type="datetime" />
  4312. <Property Name="OutstandingBalance" Type="money" />
  4313. <Property Name="CapitalArrears" Type="money" />
  4314. <Property Name="DataDated" Type="datetime" />
  4315. <Property Name="OwnedBy" Type="int" />
  4316. <Property Name="DateAllocated" Type="datetime" />
  4317. <Property Name="LastCalled" Type="datetime" />
  4318. <Property Name="LastNumberCalled" Type="nvarchar" MaxLength="100" />
  4319. <Property Name="DoNotContact" Type="bit" />
  4320. <Property Name="AllocatedTo" Type="uniqueidentifier" />
  4321. <Property Name="AllocatedDateTime" Type="datetime" />
  4322. <Property Name="OptimisticLockField" Type="int" />
  4323. <Property Name="GCRecord" Type="int" />
  4324. <Property Name="Adr1" Type="nvarchar" MaxLength="100" />
  4325. <Property Name="Adr2" Type="nvarchar" MaxLength="100" />
  4326. <Property Name="Adr3" Type="nvarchar" MaxLength="100" />
  4327. <Property Name="Adr4" Type="nvarchar" MaxLength="100" />
  4328. <Property Name="PostalCode" Type="nvarchar" MaxLength="100" />
  4329. <Property Name="ContractStatus" Type="nvarchar" MaxLength="5" />
  4330. <Property Name="BondArrearsPeriod" Type="nvarchar" MaxLength="100" />
  4331. <Property Name="CertName" Type="nvarchar" MaxLength="100" />
  4332. <Property Name="AccType" Type="int" />
  4333. <Property Name="AccHolder" Type="nvarchar" MaxLength="100" />
  4334. <Property Name="BankName" Type="nvarchar" MaxLength="100" />
  4335. <Property Name="BranchName" Type="nvarchar" MaxLength="100" />
  4336. <Property Name="BranchCode" Type="nvarchar" MaxLength="100" />
  4337. <Property Name="AccNumber" Type="nvarchar" MaxLength="100" />
  4338. <Property Name="Typeoftransfig" Type="nvarchar" MaxLength="100" />
  4339. <Property Name="ManagementFeesBalance" Type="money" />
  4340. <Property Name="DepartureDate" Type="datetime" />
  4341. <Property Name="ArrivalDate" Type="datetime" />
  4342. <Property Name="AssotiationFee" Type="money" />
  4343. <Property Name="Adr5" Type="nvarchar" MaxLength="100" />
  4344. <Property Name="Weekmodule" Type="nvarchar" MaxLength="100" />
  4345. <Property Name="Configuration" Type="nvarchar" MaxLength="100" />
  4346. <Property Name="MaxSLP" Type="nvarchar" MaxLength="100" />
  4347. <Property Name="Season" Type="nvarchar" MaxLength="100" />
  4348. <Property Name="PurchasePrice" Type="money" />
  4349. <Property Name="Email" Type="nvarchar" MaxLength="100" />
  4350. <Property Name="AccountNumber" Type="nvarchar" MaxLength="100" />
  4351. <Property Name="Weektype" Type="nvarchar" MaxLength="100" />
  4352. <Property Name="IsCrystal" Type="bit" />
  4353. <Property Name="Unit" Type="nvarchar" MaxLength="100" />
  4354. <Property Name="Levy2014" Type="money" />
  4355. <Property Name="Levy2015" Type="money" />
  4356. <Property Name="Levy2016" Type="money" />
  4357. <Property Name="Levy2017" Type="money" />
  4358. <Property Name="PriorArrears2013" Type="money" />
  4359. <Property Name="Arrears2014" Type="money" />
  4360. <Property Name="Rebate" Type="money" />
  4361. <Property Name="CallBack" Type="bit" />
  4362. <Property Name="CallBackTime" Type="datetime" />
  4363. <Property Name="ReleasedDate" Type="datetime" />
  4364. <Property Name="Blocked" Type="bit" />
  4365. <Property Name="OldContractStatus" Type="nvarchar" MaxLength="100" />
  4366. <Property Name="DateTimeUpdated" Type="datetime" />
  4367. <Property Name="IsLease" Type="bit" />
  4368. </EntityType>
  4369. <EntityType Name="TblTimeOffCampaign">
  4370. <Key>
  4371. <PropertyRef Name="OID" />
  4372. </Key>
  4373. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4374. <Property Name="DateCreated" Type="datetime" />
  4375. <Property Name="CampaignName" Type="nvarchar" MaxLength="100" />
  4376. <Property Name="OptimisticLockField" Type="int" />
  4377. <Property Name="GCRecord" Type="int" />
  4378. </EntityType>
  4379. <EntityType Name="TblTimeOffCompetition">
  4380. <Key>
  4381. <PropertyRef Name="OID" />
  4382. </Key>
  4383. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4384. <Property Name="DateCreated" Type="datetime" />
  4385. <Property Name="Campaign" Type="int" />
  4386. <Property Name="CompetitionName" Type="nvarchar" MaxLength="100" />
  4387. <Property Name="DateStart" Type="datetime" />
  4388. <Property Name="DateEnd" Type="datetime" />
  4389. <Property Name="Winner" Type="int" />
  4390. <Property Name="OptimisticLockField" Type="int" />
  4391. <Property Name="GCRecord" Type="int" />
  4392. </EntityType>
  4393. <EntityType Name="TblTimeOffCompetitionCampaign">
  4394. <Key>
  4395. <PropertyRef Name="OID" />
  4396. </Key>
  4397. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4398. <Property Name="DateCreated" Type="datetime" />
  4399. <Property Name="CampaignName" Type="nvarchar" MaxLength="100" />
  4400. <Property Name="DateStart" Type="datetime" />
  4401. <Property Name="DateEnd" Type="datetime" />
  4402. <Property Name="Winner" Type="int" />
  4403. <Property Name="OptimisticLockField" Type="int" />
  4404. <Property Name="GCRecord" Type="int" />
  4405. </EntityType>
  4406. <EntityType Name="TblTimeOffCompetitionEntry">
  4407. <Key>
  4408. <PropertyRef Name="OID" />
  4409. </Key>
  4410. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4411. <Property Name="Lead" Type="int" />
  4412. <Property Name="School" Type="nvarchar" MaxLength="100" />
  4413. <Property Name="NameAndSurname" Type="nvarchar" MaxLength="100" />
  4414. <Property Name="CellphoneNumber" Type="nvarchar" MaxLength="100" />
  4415. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  4416. <Property Name="DateCreated" Type="datetime" />
  4417. <Property Name="OptimisticLockField" Type="int" />
  4418. <Property Name="GCRecord" Type="int" />
  4419. <Property Name="Suburb" Type="nvarchar" MaxLength="100" />
  4420. <Property Name="Campaign" Type="int" />
  4421. <Property Name="Competition" Type="int" />
  4422. </EntityType>
  4423. <EntityType Name="TblTimeOffConsoftComm">
  4424. <Key>
  4425. <PropertyRef Name="OID" />
  4426. </Key>
  4427. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4428. <Property Name="DateCreated" Type="datetime" />
  4429. <Property Name="SendTo" Type="nvarchar(max)" />
  4430. <Property Name="ReceivedFrom" Type="nvarchar(max)" />
  4431. <Property Name="VoucherNr" Type="nvarchar" MaxLength="100" />
  4432. <Property Name="OptimisticLockField" Type="int" />
  4433. <Property Name="GCRecord" Type="int" />
  4434. </EntityType>
  4435. <EntityType Name="TblTimeOffFriends">
  4436. <Key>
  4437. <PropertyRef Name="Oid" />
  4438. </Key>
  4439. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  4440. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  4441. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  4442. <Property Name="Lead" Type="int" />
  4443. <Property Name="Arrived" Type="bit" />
  4444. <Property Name="Profile" Type="uniqueidentifier" />
  4445. <Property Name="OptimisticLockField" Type="int" />
  4446. <Property Name="GCRecord" Type="int" />
  4447. </EntityType>
  4448. <EntityType Name="TblTimeOffNoVouchers">
  4449. <Key>
  4450. <PropertyRef Name="OID" />
  4451. </Key>
  4452. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4453. <Property Name="DateCreated" Type="datetime" />
  4454. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  4455. <Property Name="FirstNames" Type="nvarchar" MaxLength="100" />
  4456. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  4457. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  4458. <Property Name="IDNumber" Type="nvarchar" MaxLength="100" />
  4459. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  4460. <Property Name="Occupation" Type="nvarchar" MaxLength="100" />
  4461. <Property Name="MaritalStatus" Type="int" />
  4462. <Property Name="SpouseOccupation" Type="nvarchar" MaxLength="100" />
  4463. <Property Name="IncomeBracket" Type="int" />
  4464. <Property Name="HolidayHome" Type="bit" />
  4465. <Property Name="TimeShare" Type="bit" />
  4466. <Property Name="OtherOwnedHolidayAccomodation" Type="bit" />
  4467. <Property Name="OtherOwnedHolidayAccomodationDescription" Type="nvarchar" MaxLength="100" />
  4468. <Property Name="CellPhoneNumber" Type="nvarchar" MaxLength="100" />
  4469. <Property Name="OneTimePassword" Type="nvarchar" MaxLength="100" />
  4470. <Property Name="Password" Type="nvarchar" MaxLength="100" />
  4471. <Property Name="PasswordByte" Type="varbinary(max)" />
  4472. <Property Name="Lead" Type="int" />
  4473. <Property Name="BookingReference" Type="nvarchar" MaxLength="10" />
  4474. <Property Name="OptimisticLockField" Type="int" />
  4475. <Property Name="GCRecord" Type="int" />
  4476. <Property Name="WelcomeMessageSent" Type="bit" />
  4477. <Property Name="Contacted" Type="bit" />
  4478. <Property Name="HowDidYouHearAboutUs" Type="nvarchar" MaxLength="100" />
  4479. <Property Name="WantingToAttend" Type="bit" />
  4480. <Property Name="Comments" Type="nvarchar(max)" />
  4481. <Property Name="CallbackOption" Type="int" />
  4482. <Property Name="CallbackTime" Type="datetime" />
  4483. <Property Name="Age" Type="int" />
  4484. <Property Name="DateOfBirth" Type="datetime" />
  4485. </EntityType>
  4486. <EntityType Name="TblTimeOffReferalProfile">
  4487. <Key>
  4488. <PropertyRef Name="Oid" />
  4489. </Key>
  4490. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  4491. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  4492. <Property Name="TotalShows" Type="int" />
  4493. <Property Name="MemberNo" Type="int" />
  4494. <Property Name="Qualify" Type="bit" />
  4495. <Property Name="OptimisticLockField" Type="int" />
  4496. <Property Name="GCRecord" Type="int" />
  4497. </EntityType>
  4498. <EntityType Name="TblTimeOffVouchers">
  4499. <Key>
  4500. <PropertyRef Name="OID" />
  4501. </Key>
  4502. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4503. <Property Name="DateCreated" Type="datetime" />
  4504. <Property Name="Retailer" Type="int" />
  4505. <Property Name="VoucherType" Type="int" />
  4506. <Property Name="VoucherNumber" Type="nvarchar" MaxLength="100" />
  4507. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  4508. <Property Name="FirstNames" Type="nvarchar" MaxLength="100" />
  4509. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  4510. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  4511. <Property Name="IDNumber" Type="nvarchar" MaxLength="100" />
  4512. <Property Name="EmailAddress" Type="nvarchar" MaxLength="100" />
  4513. <Property Name="Occupation" Type="nvarchar" MaxLength="100" />
  4514. <Property Name="MaritalStatus" Type="int" />
  4515. <Property Name="SpouseOccupation" Type="nvarchar" MaxLength="100" />
  4516. <Property Name="IncomeBracket" Type="int" />
  4517. <Property Name="HolidayHome" Type="bit" />
  4518. <Property Name="TimeShare" Type="bit" />
  4519. <Property Name="OtherOwnedHolidayAccomodation" Type="bit" />
  4520. <Property Name="OtherOwnedHolidayAccomodationDescription" Type="nvarchar" MaxLength="100" />
  4521. <Property Name="CellPhoneNumber" Type="nvarchar" MaxLength="100" />
  4522. <Property Name="OneTimePassword" Type="nvarchar" MaxLength="100" />
  4523. <Property Name="Password" Type="nvarchar" MaxLength="100" />
  4524. <Property Name="PasswordByte" Type="varbinary(max)" />
  4525. <Property Name="Lead" Type="int" />
  4526. <Property Name="Resort" Type="int" />
  4527. <Property Name="BookingReference" Type="nvarchar" MaxLength="10" />
  4528. <Property Name="Contract" Type="int" />
  4529. <Property Name="ArrivalDate" Type="datetime" />
  4530. <Property Name="DepartureDate" Type="datetime" />
  4531. <Property Name="Rating" Type="int" />
  4532. <Property Name="UnitNumber" Type="nvarchar" MaxLength="100" />
  4533. <Property Name="Arrived" Type="bit" />
  4534. <Property Name="Contacted" Type="bit" />
  4535. <Property Name="OptimisticLockField" Type="int" />
  4536. <Property Name="GCRecord" Type="int" />
  4537. <Property Name="Guest1Name" Type="nvarchar" MaxLength="100" />
  4538. <Property Name="Guest1Surname" Type="nvarchar" MaxLength="100" />
  4539. <Property Name="Guest1IdNumber" Type="nvarchar" MaxLength="100" />
  4540. <Property Name="Guest2Name" Type="nvarchar" MaxLength="100" />
  4541. <Property Name="Guest2Surname" Type="nvarchar" MaxLength="100" />
  4542. <Property Name="Guest2IdNumber" Type="nvarchar" MaxLength="100" />
  4543. <Property Name="Child1Name" Type="nvarchar" MaxLength="100" />
  4544. <Property Name="Child2Name" Type="nvarchar" MaxLength="100" />
  4545. <Property Name="Child3Name" Type="nvarchar" MaxLength="100" />
  4546. <Property Name="Disabilities" Type="nvarchar" MaxLength="100" />
  4547. <Property Name="SpecialDietaryRequirements" Type="nvarchar" MaxLength="100" />
  4548. <Property Name="VehicleRegNo" Type="nvarchar" MaxLength="100" />
  4549. <Property Name="WelcomeMessageSent" Type="bit" />
  4550. <Property Name="DayOfArrivalMessageSent" Type="bit" />
  4551. <Property Name="WeekReminderEmailSent" Type="bit" />
  4552. <Property Name="ConfigurationCode" Type="nvarchar" MaxLength="100" />
  4553. <Property Name="DayOfDepartureMessageSent" Type="bit" />
  4554. <Property Name="SurveyEmailSent" Type="bit" />
  4555. <Property Name="DateOfBirth" Type="datetime" />
  4556. <Property Name="ResortBookingDate" Type="datetime" />
  4557. <Property Name="VoucherRegDate" Type="datetime" />
  4558. <Property Name="AdditionalCellPhoneNumber" Type="nvarchar" MaxLength="100" />
  4559. </EntityType>
  4560. <EntityType Name="TblTMCommBasicTransactions">
  4561. <Key>
  4562. <PropertyRef Name="OID" />
  4563. </Key>
  4564. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4565. <Property Name="CommMonth" Type="int" />
  4566. <Property Name="DaysInPeriod" Type="int" />
  4567. <Property Name="DaysPaidFor" Type="int" />
  4568. <Property Name="Amount" Type="money" />
  4569. <Property Name="ProRata" Type="bit" />
  4570. <Property Name="Personnel" Type="int" />
  4571. <Property Name="OptimisticLockField" Type="int" />
  4572. <Property Name="GCRecord" Type="int" />
  4573. </EntityType>
  4574. <EntityType Name="TblTMCommDeals">
  4575. <Key>
  4576. <PropertyRef Name="OID" />
  4577. </Key>
  4578. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4579. <Property Name="DateCreated" Type="datetime" />
  4580. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4581. <Property Name="Type" Type="nvarchar" MaxLength="100" />
  4582. <Property Name="Person" Type="int" />
  4583. <Property Name="Contract" Type="int" />
  4584. <Property Name="DatePaid" Type="datetime" />
  4585. <Property Name="SalesPeriod" Type="int" />
  4586. <Property Name="PeriodPaidIn" Type="int" />
  4587. <Property Name="Week" Type="int" />
  4588. <Property Name="OptimisticLockField" Type="int" />
  4589. <Property Name="GCRecord" Type="int" />
  4590. <Property Name="StatusActiveDate" Type="datetime" />
  4591. </EntityType>
  4592. <EntityType Name="TblTMCommDealTargets">
  4593. <Key>
  4594. <PropertyRef Name="OID" />
  4595. </Key>
  4596. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4597. <Property Name="DateCreated" Type="datetime" />
  4598. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4599. <Property Name="TMTable" Type="int" />
  4600. <Property Name="Target" Type="int" />
  4601. <Property Name="TargetBonus" Type="int" />
  4602. <Property Name="OptimisticLockField" Type="int" />
  4603. <Property Name="GCRecord" Type="int" />
  4604. </EntityType>
  4605. <EntityType Name="TblTMCommGroups">
  4606. <Key>
  4607. <PropertyRef Name="OID" />
  4608. </Key>
  4609. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4610. <Property Name="DateCreated" Type="datetime" />
  4611. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4612. <Property Name="GroupName" Type="nvarchar" MaxLength="100" />
  4613. <Property Name="Structure" Type="int" />
  4614. <Property Name="OptimisticLockField" Type="int" />
  4615. <Property Name="GCRecord" Type="int" />
  4616. </EntityType>
  4617. <EntityType Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  4618. <Key>
  4619. <PropertyRef Name="OID" />
  4620. </Key>
  4621. <Property Name="PersonnelList" Type="int" />
  4622. <Property Name="TMCommGroups" Type="int" />
  4623. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4624. <Property Name="OptimisticLockField" Type="int" />
  4625. </EntityType>
  4626. <EntityType Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  4627. <Key>
  4628. <PropertyRef Name="OID" />
  4629. </Key>
  4630. <Property Name="SalesVenues" Type="int" />
  4631. <Property Name="TMCommGroups" Type="int" />
  4632. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4633. <Property Name="OptimisticLockField" Type="int" />
  4634. </EntityType>
  4635. <EntityType Name="TblTMCommsAudit">
  4636. <Key>
  4637. <PropertyRef Name="OID" />
  4638. </Key>
  4639. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4640. <Property Name="DateCreated" Type="datetime" />
  4641. <Property Name="SalesPeriod" Type="int" />
  4642. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4643. <Property Name="Type" Type="nvarchar" MaxLength="100" />
  4644. <Property Name="OptimisticLockField" Type="int" />
  4645. <Property Name="GCRecord" Type="int" />
  4646. </EntityType>
  4647. <EntityType Name="TblTMCommsMonth">
  4648. <Key>
  4649. <PropertyRef Name="OID" />
  4650. </Key>
  4651. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4652. <Property Name="DateCreated" Type="datetime" />
  4653. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4654. <Property Name="StartDate" Type="datetime" />
  4655. <Property Name="EndDate" Type="datetime" />
  4656. <Property Name="SalesPeriod" Type="int" />
  4657. <Property Name="IsCurrent" Type="bit" />
  4658. <Property Name="CommClosed" Type="bit" />
  4659. <Property Name="OptimisticLockField" Type="int" />
  4660. <Property Name="GCRecord" Type="int" />
  4661. <Property Name="TMCutOff" Type="datetime" />
  4662. </EntityType>
  4663. <EntityType Name="TblTMCommStructure">
  4664. <Key>
  4665. <PropertyRef Name="OID" />
  4666. </Key>
  4667. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4668. <Property Name="DateCreated" Type="datetime" />
  4669. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4670. <Property Name="StructureName" Type="nvarchar" MaxLength="100" />
  4671. <Property Name="BonusTarget" Type="int" />
  4672. <Property Name="BonusPercentage" Type="int" />
  4673. <Property Name="SalesVenue" Type="int" />
  4674. <Property Name="OptimisticLockField" Type="int" />
  4675. <Property Name="GCRecord" Type="int" />
  4676. <Property Name="DealTargetOne" Type="int" />
  4677. <Property Name="DealTargetTwo" Type="int" />
  4678. <Property Name="DealTargetThree" Type="int" />
  4679. <Property Name="AddSomeAmount" Type="money" />
  4680. <Property Name="PublicHolidayAmount" Type="money" />
  4681. <Property Name="DealTargetFour" Type="int" />
  4682. <Property Name="AddsomeDaysMissedForLevel2" Type="int" />
  4683. <Property Name="AddsomeLevel2Amount" Type="money" />
  4684. <Property Name="DoNotPayOnThisStructure" Type="bit" />
  4685. </EntityType>
  4686. <EntityType Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  4687. <Key>
  4688. <PropertyRef Name="OID" />
  4689. </Key>
  4690. <Property Name="PersonnelList" Type="int" />
  4691. <Property Name="TMCommStructures" Type="int" />
  4692. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4693. <Property Name="OptimisticLockField" Type="int" />
  4694. </EntityType>
  4695. <EntityType Name="TblTMCommsWeek">
  4696. <Key>
  4697. <PropertyRef Name="OID" />
  4698. </Key>
  4699. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4700. <Property Name="DateCreated" Type="datetime" />
  4701. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4702. <Property Name="WeekStart" Type="datetime" />
  4703. <Property Name="WeekEnd" Type="datetime" />
  4704. <Property Name="TargetFactor" Type="int" />
  4705. <Property Name="WeekNumber" Type="int" />
  4706. <Property Name="TMMonth" Type="int" />
  4707. <Property Name="OptimisticLockField" Type="int" />
  4708. <Property Name="GCRecord" Type="int" />
  4709. </EntityType>
  4710. <EntityType Name="TblTMCommTable">
  4711. <Key>
  4712. <PropertyRef Name="OID" />
  4713. </Key>
  4714. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4715. <Property Name="DateCreated" Type="datetime" />
  4716. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4717. <Property Name="Day" Type="int" />
  4718. <Property Name="SessionNo" Type="int" />
  4719. <Property Name="QShowRate" Type="money" />
  4720. <Property Name="Structure" Type="int" />
  4721. <Property Name="OptimisticLockField" Type="int" />
  4722. <Property Name="GCRecord" Type="int" />
  4723. <Property Name="OneDealRate" Type="money" />
  4724. <Property Name="TwoDealRate" Type="money" />
  4725. <Property Name="ThreeDealRate" Type="money" />
  4726. <Property Name="FourDealRate" Type="money" />
  4727. </EntityType>
  4728. <EntityType Name="TblTMCommTransactions">
  4729. <Key>
  4730. <PropertyRef Name="OID" />
  4731. </Key>
  4732. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4733. <Property Name="DateCreated" Type="datetime" />
  4734. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4735. <Property Name="SalesPeriod" Type="int" />
  4736. <Property Name="WeekNo" Type="int" />
  4737. <Property Name="PresentationDate" Type="datetime" />
  4738. <Property Name="Personnel" Type="int" />
  4739. <Property Name="Booking" Type="nvarchar" MaxLength="10" />
  4740. <Property Name="ContractNo" Type="int" />
  4741. <Property Name="CommAmount" Type="money" />
  4742. <Property Name="Type" Type="nvarchar" MaxLength="100" />
  4743. <Property Name="SalesVenue" Type="nvarchar" MaxLength="100" />
  4744. <Property Name="Day" Type="int" />
  4745. <Property Name="SessionNo" Type="int" />
  4746. <Property Name="ContractStatus" Type="nvarchar" MaxLength="100" />
  4747. <Property Name="OptimisticLockField" Type="int" />
  4748. <Property Name="GCRecord" Type="int" />
  4749. <Property Name="Username" Type="nvarchar" MaxLength="100" />
  4750. <Property Name="CommissionType" Type="nvarchar" MaxLength="100" />
  4751. <Property Name="StatusLastChange" Type="datetime" />
  4752. </EntityType>
  4753. <EntityType Name="TblTMCommType">
  4754. <Key>
  4755. <PropertyRef Name="OID" />
  4756. </Key>
  4757. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4758. <Property Name="DateCreated" Type="datetime" />
  4759. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4760. <Property Name="Type" Type="nvarchar" MaxLength="100" />
  4761. <Property Name="OptimisticLockField" Type="int" />
  4762. <Property Name="GCRecord" Type="int" />
  4763. </EntityType>
  4764. <EntityType Name="TblTrainingManagerCommissionSeasonPercentage">
  4765. <Key>
  4766. <PropertyRef Name="Oid" />
  4767. </Key>
  4768. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  4769. <Property Name="Season" Type="int" />
  4770. <Property Name="EmploymentDuration" Type="int" />
  4771. <Property Name="CommissionPercentage" Type="money" />
  4772. <Property Name="SalesCommissionPercentages" Type="uniqueidentifier" />
  4773. <Property Name="OptimisticLockField" Type="int" />
  4774. <Property Name="GCRecord" Type="int" />
  4775. </EntityType>
  4776. <EntityType Name="TblTrainingManuals">
  4777. <Key>
  4778. <PropertyRef Name="Oid" />
  4779. </Key>
  4780. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  4781. <Property Name="CategoryName" Type="nvarchar" MaxLength="100" />
  4782. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  4783. <Property Name="TrainingDocuments" Type="int" />
  4784. <Property Name="OptimisticLockField" Type="int" />
  4785. <Property Name="GCRecord" Type="int" />
  4786. </EntityType>
  4787. <EntityType Name="TblTrainngManagerCommissionPercentage">
  4788. <Key>
  4789. <PropertyRef Name="Oid" />
  4790. </Key>
  4791. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  4792. <Property Name="PercentageType" Type="int" />
  4793. <Property Name="EmploymentDuration" Type="int" />
  4794. <Property Name="CommissionPercentage" Type="money" />
  4795. <Property Name="SalesCommissionPercentages" Type="uniqueidentifier" />
  4796. <Property Name="OptimisticLockField" Type="int" />
  4797. <Property Name="GCRecord" Type="int" />
  4798. </EntityType>
  4799. <EntityType Name="TblTransferFunds">
  4800. <Key>
  4801. <PropertyRef Name="OID" />
  4802. </Key>
  4803. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4804. <Property Name="CreatedBy" Type="uniqueidentifier" />
  4805. <Property Name="RequestDate" Type="datetime" />
  4806. <Property Name="RequestNo" Type="int" />
  4807. <Property Name="Company" Type="int" />
  4808. <Property Name="FromExpenseCode" Type="int" />
  4809. <Property Name="ToExpenseCode" Type="int" />
  4810. <Property Name="AmountToTransfer" Type="money" />
  4811. <Property Name="Reason" Type="nvarchar" MaxLength="300" />
  4812. <Property Name="AllocatedToNorm" Type="int" />
  4813. <Property Name="Status" Type="int" />
  4814. <Property Name="ActionedByNormDate" Type="datetime" />
  4815. <Property Name="ActionedByManagementDate" Type="datetime" />
  4816. <Property Name="ProcessedDate" Type="datetime" />
  4817. <Property Name="OptimisticLockField" Type="int" />
  4818. <Property Name="GCRecord" Type="int" />
  4819. </EntityType>
  4820. <EntityType Name="TblUnipointBookings">
  4821. <Key>
  4822. <PropertyRef Name="OID" />
  4823. </Key>
  4824. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4825. <Property Name="DateCreated" Type="datetime" />
  4826. <Property Name="Portfolio" Type="int" />
  4827. <Property Name="Action" Type="nvarchar" MaxLength="100" />
  4828. <Property Name="Reference" Type="nvarchar" MaxLength="100" />
  4829. <Property Name="MemberNumber" Type="nvarchar" MaxLength="100" />
  4830. <Property Name="BookingDate" Type="datetime" />
  4831. <Property Name="Points" Type="int" />
  4832. <Property Name="PointsRemaining" Type="int" />
  4833. <Property Name="ResortCode" Type="nvarchar" MaxLength="100" />
  4834. <Property Name="UnitSize" Type="nvarchar" MaxLength="100" />
  4835. <Property Name="ArrivalDate" Type="datetime" />
  4836. <Property Name="DepartureDate" Type="datetime" />
  4837. <Property Name="UnitNumber" Type="nvarchar" MaxLength="100" />
  4838. <Property Name="CancelAction" Type="bit" />
  4839. <Property Name="IDX" Type="nvarchar" MaxLength="100" />
  4840. <Property Name="ConsultantUsername" Type="nvarchar" MaxLength="100" />
  4841. <Property Name="RCIPoints" Type="int" />
  4842. <Property Name="OptimisticLockField" Type="int" />
  4843. <Property Name="GCRecord" Type="int" />
  4844. <Property Name="BankedEntity" Type="int" />
  4845. </EntityType>
  4846. <EntityType Name="TblUnipointBookingWeeks">
  4847. <Key>
  4848. <PropertyRef Name="OID" />
  4849. </Key>
  4850. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4851. <Property Name="DateCreated" Type="datetime" />
  4852. <Property Name="Portfolio" Type="int" />
  4853. <Property Name="Action" Type="nvarchar" MaxLength="100" />
  4854. <Property Name="Reference" Type="nvarchar" MaxLength="100" />
  4855. <Property Name="MemberNumber" Type="nvarchar" MaxLength="100" />
  4856. <Property Name="BookingDate" Type="datetime" />
  4857. <Property Name="Points" Type="money" />
  4858. <Property Name="PointsRemaining" Type="money" />
  4859. <Property Name="ResortCode" Type="nvarchar" MaxLength="100" />
  4860. <Property Name="UnitSize" Type="nvarchar" MaxLength="100" />
  4861. <Property Name="ArrivalDate" Type="datetime" />
  4862. <Property Name="DepartureDate" Type="datetime" />
  4863. <Property Name="UnitNumber" Type="nvarchar" MaxLength="100" />
  4864. <Property Name="CancelAction" Type="bit" />
  4865. <Property Name="IDX" Type="nvarchar" MaxLength="100" />
  4866. <Property Name="ConsultantUsername" Type="nvarchar" MaxLength="100" />
  4867. <Property Name="RCIPoints" Type="int" />
  4868. <Property Name="BankedEntity" Type="int" />
  4869. <Property Name="OptimisticLockField" Type="int" />
  4870. <Property Name="GCRecord" Type="int" />
  4871. </EntityType>
  4872. <EntityType Name="TblUpdateBankingDetailContractDetails">
  4873. <Key>
  4874. <PropertyRef Name="OID" />
  4875. </Key>
  4876. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4877. <Property Name="UpdateDetails" Type="int" />
  4878. <Property Name="ContractNo" Type="nvarchar" MaxLength="100" />
  4879. <Property Name="MainMember" Type="nvarchar" MaxLength="100" />
  4880. <Property Name="AccountHolder" Type="nvarchar" MaxLength="100" />
  4881. <Property Name="BankName" Type="int" />
  4882. <Property Name="EncBranchName" Type="nvarchar" MaxLength="200" />
  4883. <Property Name="EncBranchCode" Type="nvarchar" MaxLength="200" />
  4884. <Property Name="AccountType" Type="int" />
  4885. <Property Name="EncAccountNumber" Type="nvarchar" MaxLength="200" />
  4886. <Property Name="DebtorType" Type="nvarchar" MaxLength="100" />
  4887. <Property Name="ValidationResult" Type="nvarchar" MaxLength="100" />
  4888. <Property Name="OptimisticLockField" Type="int" />
  4889. <Property Name="GCRecord" Type="int" />
  4890. </EntityType>
  4891. <EntityType Name="TblUpdateBankingDetailDebtorBanking">
  4892. <Key>
  4893. <PropertyRef Name="OID" />
  4894. </Key>
  4895. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4896. <Property Name="UpdateDetails" Type="int" />
  4897. <Property Name="ContractNo" Type="nvarchar" MaxLength="100" />
  4898. <Property Name="MainMember" Type="nvarchar" MaxLength="100" />
  4899. <Property Name="AccountHolder" Type="nvarchar" MaxLength="100" />
  4900. <Property Name="BankName" Type="int" />
  4901. <Property Name="EncBranchName" Type="nvarchar" MaxLength="200" />
  4902. <Property Name="EncBranchCode" Type="nvarchar" MaxLength="200" />
  4903. <Property Name="AccountType" Type="int" />
  4904. <Property Name="EncAccountNumber" Type="nvarchar" MaxLength="200" />
  4905. <Property Name="DebtorType" Type="nvarchar" MaxLength="100" />
  4906. <Property Name="OptimisticLockField" Type="int" />
  4907. <Property Name="GCRecord" Type="int" />
  4908. </EntityType>
  4909. <EntityType Name="TblUpdateBankingDetails">
  4910. <Key>
  4911. <PropertyRef Name="OID" />
  4912. </Key>
  4913. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4914. <Property Name="Portfolio" Type="int" />
  4915. <Property Name="MemberNumber" Type="nvarchar" MaxLength="100" />
  4916. <Property Name="ClientNameSurname" Type="nvarchar" MaxLength="100" />
  4917. <Property Name="User" Type="nvarchar" MaxLength="100" />
  4918. <Property Name="DateCreated" Type="datetime" />
  4919. <Property Name="SpouseAccount" Type="bit" />
  4920. <Property Name="AccountValidation" Type="nvarchar" MaxLength="100" />
  4921. <Property Name="EncAccountHolder" Type="nvarchar" MaxLength="100" />
  4922. <Property Name="EncAccountHolderID" Type="nvarchar" MaxLength="200" />
  4923. <Property Name="BankName" Type="int" />
  4924. <Property Name="EncBranchName" Type="nvarchar" MaxLength="200" />
  4925. <Property Name="EncBranchCode" Type="nvarchar" MaxLength="200" />
  4926. <Property Name="AccountType" Type="int" />
  4927. <Property Name="EncAccountNumber" Type="nvarchar" MaxLength="200" />
  4928. <Property Name="Reference" Type="nvarchar" MaxLength="100" />
  4929. <Property Name="Developer" Type="int" />
  4930. <Property Name="Validated" Type="bit" />
  4931. <Property Name="ValidatedReturn" Type="bit" />
  4932. <Property Name="Valid" Type="bit" />
  4933. <Property Name="AccountExists" Type="nvarchar" MaxLength="100" />
  4934. <Property Name="IdNumberMatch" Type="nvarchar" MaxLength="100" />
  4935. <Property Name="InitialsMatch" Type="nvarchar" MaxLength="100" />
  4936. <Property Name="LastNameMatch" Type="nvarchar" MaxLength="100" />
  4937. <Property Name="AccountOpen" Type="nvarchar" MaxLength="100" />
  4938. <Property Name="HyphenID" Type="nvarchar" MaxLength="100" />
  4939. <Property Name="ResponseCode" Type="nvarchar" MaxLength="100" />
  4940. <Property Name="ResponseMessage" Type="nvarchar" MaxLength="100" />
  4941. <Property Name="DateProcessed" Type="datetime" />
  4942. <Property Name="Personnel" Type="int" />
  4943. <Property Name="SentToContract" Type="bit" />
  4944. <Property Name="OptimisticLockField" Type="int" />
  4945. <Property Name="GCRecord" Type="int" />
  4946. <Property Name="DateContractUpdated" Type="datetime" />
  4947. <Property Name="AccountsUpdated" Type="nvarchar" MaxLength="100" />
  4948. <Property Name="Contract" Type="nvarchar" MaxLength="200" />
  4949. <Property Name="AccountValidationListCheck" Type="nvarchar" MaxLength="100" />
  4950. </EntityType>
  4951. <EntityType Name="TblUpdateBankingDetailsOverride">
  4952. <Key>
  4953. <PropertyRef Name="OID" />
  4954. </Key>
  4955. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4956. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  4957. <Property Name="DateCreated" Type="datetime" />
  4958. <Property Name="Reference" Type="int" />
  4959. <Property Name="Comments" Type="nvarchar(max)" />
  4960. <Property Name="Processed" Type="bit" />
  4961. <Property Name="DateProcessed" Type="datetime" />
  4962. <Property Name="OptimisticLockField" Type="int" />
  4963. <Property Name="GCRecord" Type="int" />
  4964. </EntityType>
  4965. <EntityType Name="TblUpdateBankingDetailsOverrideDocuments">
  4966. <Key>
  4967. <PropertyRef Name="OID" />
  4968. </Key>
  4969. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4970. <Property Name="Override" Type="int" />
  4971. <Property Name="File" Type="int" />
  4972. <Property Name="OptimisticLockField" Type="int" />
  4973. <Property Name="GCRecord" Type="int" />
  4974. </EntityType>
  4975. <EntityType Name="TblUpdateContractBankingDetailsLog">
  4976. <Key>
  4977. <PropertyRef Name="OID" />
  4978. </Key>
  4979. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  4980. <Property Name="UpdateDetails" Type="int" />
  4981. <Property Name="DateCreated" Type="datetime" />
  4982. <Property Name="ProcessedBy" Type="nvarchar" MaxLength="100" />
  4983. <Property Name="DebtorType" Type="nvarchar" MaxLength="100" />
  4984. <Property Name="MainMember" Type="nvarchar" MaxLength="100" />
  4985. <Property Name="EncOriginalAccountHolder" Type="nvarchar" MaxLength="200" />
  4986. <Property Name="OriginalBankName" Type="int" />
  4987. <Property Name="EncOriginalBranchName" Type="nvarchar" MaxLength="200" />
  4988. <Property Name="EncOriginalBranchCode" Type="nvarchar" MaxLength="200" />
  4989. <Property Name="OriginalAccountType" Type="int" />
  4990. <Property Name="EncOriginalAccountNumber" Type="nvarchar" MaxLength="200" />
  4991. <Property Name="EncNewAccountHolder" Type="nvarchar" MaxLength="200" />
  4992. <Property Name="NewBankName" Type="int" />
  4993. <Property Name="EncNewBranchName" Type="nvarchar" MaxLength="200" />
  4994. <Property Name="EncNewBranchCode" Type="nvarchar" MaxLength="200" />
  4995. <Property Name="NewAccountType" Type="int" />
  4996. <Property Name="EncNewAccountNumber" Type="nvarchar" MaxLength="200" />
  4997. <Property Name="OptimisticLockField" Type="int" />
  4998. <Property Name="GCRecord" Type="int" />
  4999. </EntityType>
  5000. <EntityType Name="TblVoucher">
  5001. <Key>
  5002. <PropertyRef Name="OID" />
  5003. </Key>
  5004. <Property Name="OID" Type="int" Nullable="false" />
  5005. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  5006. <Property Name="CreatedDate" Type="datetime" />
  5007. <Property Name="DetailedInfo" Type="int" />
  5008. <Property Name="Campaign" Type="int" />
  5009. <Property Name="ConfigurationCode" Type="nvarchar" MaxLength="100" />
  5010. <Property Name="Resort" Type="int" />
  5011. <Property Name="UnitNumber" Type="nvarchar" MaxLength="100" />
  5012. <Property Name="VoucherSeries" Type="int" />
  5013. <Property Name="AssetAvail" Type="uniqueidentifier" />
  5014. <Property Name="VoucherNumber" Type="nvarchar" MaxLength="100" />
  5015. <Property Name="AdditionalCellPhoneNumber" Type="nvarchar" MaxLength="100" />
  5016. <Property Name="WeekReminderEmailSent" Type="bit" />
  5017. <Property Name="WelcomeMessageSent" Type="bit" />
  5018. <Property Name="DayOfArrivalMessageSent" Type="bit" />
  5019. <Property Name="DayOfDepartureMessageSent" Type="bit" />
  5020. <Property Name="SurveyEmailSent" Type="bit" />
  5021. <Property Name="BookingConfirmationFailed" Type="bit" />
  5022. <Property Name="Contacted" Type="bit" />
  5023. <Property Name="Arrived" Type="bit" />
  5024. <Property Name="ArrivalDate" Type="datetime" />
  5025. <Property Name="DepartureDate" Type="datetime" />
  5026. <Property Name="ResortBookingDate" Type="datetime" />
  5027. <Property Name="VoucherRegDate" Type="datetime" />
  5028. <Property Name="Guest1Name" Type="nvarchar" MaxLength="100" />
  5029. <Property Name="Guest1Surname" Type="nvarchar" MaxLength="100" />
  5030. <Property Name="Guest1IdNumber" Type="nvarchar" MaxLength="100" />
  5031. <Property Name="Guest2Name" Type="nvarchar" MaxLength="100" />
  5032. <Property Name="Guest2Surname" Type="nvarchar" MaxLength="100" />
  5033. <Property Name="Guest2IdNumber" Type="nvarchar" MaxLength="100" />
  5034. <Property Name="Child1Name" Type="nvarchar" MaxLength="100" />
  5035. <Property Name="Child2Name" Type="nvarchar" MaxLength="100" />
  5036. <Property Name="Child3Name" Type="nvarchar" MaxLength="100" />
  5037. <Property Name="Disabilities" Type="nvarchar" MaxLength="100" />
  5038. <Property Name="VehicleRegNo" Type="nvarchar" MaxLength="100" />
  5039. <Property Name="ReasonSentFailed" Type="nvarchar" MaxLength="100" />
  5040. </EntityType>
  5041. <EntityType Name="TblVoucherSeries">
  5042. <Key>
  5043. <PropertyRef Name="OID" />
  5044. </Key>
  5045. <Property Name="OID" Type="int" Nullable="false" />
  5046. <Property Name="Name" Type="nvarchar" MaxLength="100" />
  5047. <Property Name="Number" Type="int" />
  5048. <Property Name="LastNumberGenerated" Type="int" />
  5049. <Property Name="Campaign" Type="int" />
  5050. </EntityType>
  5051. <EntityType Name="TblVoucherTypes">
  5052. <Key>
  5053. <PropertyRef Name="OID" />
  5054. </Key>
  5055. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5056. <Property Name="Description" Type="nvarchar" MaxLength="100" />
  5057. <Property Name="LastVoucherNumberUsed" Type="nvarchar" MaxLength="100" />
  5058. <Property Name="Prefix" Type="nvarchar" MaxLength="100" />
  5059. <Property Name="SmsUser" Type="nvarchar" MaxLength="100" />
  5060. <Property Name="SmsPassword" Type="nvarchar" MaxLength="100" />
  5061. <Property Name="ResortBookingConfirmationDocumentPath" Type="int" />
  5062. <Property Name="OptimisticLockField" Type="int" />
  5063. <Property Name="GCRecord" Type="int" />
  5064. <Property Name="TimeSpesificAvailability" Type="bit" />
  5065. <Property Name="AvailabilityStart" Type="datetime" />
  5066. <Property Name="AvailabilityEnd" Type="datetime" />
  5067. </EntityType>
  5068. <EntityType Name="TblWeekBanking">
  5069. <Key>
  5070. <PropertyRef Name="OID" />
  5071. </Key>
  5072. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5073. <Property Name="MemberNumber" Type="nvarchar" MaxLength="100" />
  5074. <Property Name="Resort" Type="int" />
  5075. <Property Name="Contract" Type="int" />
  5076. <Property Name="WeekModule" Type="int" />
  5077. <Property Name="Asset" Type="int" />
  5078. <Property Name="BankEntity" Type="int" />
  5079. <Property Name="Year" Type="int" />
  5080. <Property Name="DateBanked" Type="datetime" />
  5081. <Property Name="DateUnbanked" Type="datetime" />
  5082. <Property Name="OptimisticLockField" Type="int" />
  5083. <Property Name="GCRecord" Type="int" />
  5084. <Property Name="Portfolio" Type="int" />
  5085. <Property Name="Points" Type="int" />
  5086. </EntityType>
  5087. <EntityType Name="TblWeekModule">
  5088. <Key>
  5089. <PropertyRef Name="OID" />
  5090. </Key>
  5091. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5092. <Property Name="WeekNumber" Type="smallint" />
  5093. <Property Name="WeekModule" Type="nvarchar" MaxLength="100" />
  5094. <Property Name="WeekType" Type="int" />
  5095. <Property Name="WeekModuleType" Type="int" />
  5096. <Property Name="Resort" Type="int" />
  5097. <Property Name="OptimisticLockField" Type="int" />
  5098. <Property Name="GCRecord" Type="int" />
  5099. <Property Name="Season" Type="int" />
  5100. <Property Name="Year" Type="int" />
  5101. <Property Name="ArrivalDate" Type="datetime" />
  5102. <Property Name="DepartureDate" Type="datetime" />
  5103. <Property Name="CalendarCode" Type="nvarchar" MaxLength="100" />
  5104. <Property Name="DateCreated" Type="datetime" />
  5105. <Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
  5106. </EntityType>
  5107. <EntityType Name="TelemarketingSMSSettings">
  5108. <Key>
  5109. <PropertyRef Name="Oid" />
  5110. </Key>
  5111. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  5112. <Property Name="TelemarketerOffice" Type="int" />
  5113. <Property Name="SMSUserCode" Type="nvarchar" MaxLength="100" />
  5114. <Property Name="SMSPassword" Type="nvarchar" MaxLength="100" />
  5115. <Property Name="SmsBookingMessage" Type="nvarchar" MaxLength="200" />
  5116. <Property Name="SmsConfirmationMessage" Type="nvarchar" MaxLength="200" />
  5117. <Property Name="OptimisticLockField" Type="int" />
  5118. <Property Name="GCRecord" Type="int" />
  5119. </EntityType>
  5120. <EntityType Name="Titles">
  5121. <Key>
  5122. <PropertyRef Name="Title" />
  5123. </Key>
  5124. <Property Name="Title" Type="nvarchar" MaxLength="20" Nullable="false" />
  5125. <Property Name="OptimisticLockField" Type="int" />
  5126. <Property Name="IsMale" Type="int" />
  5127. <Property Name="Hidden" Type="bit" />
  5128. </EntityType>
  5129. <EntityType Name="TransfigContractInfo">
  5130. <Key>
  5131. <PropertyRef Name="OID" />
  5132. </Key>
  5133. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5134. <Property Name="ContractType" Type="nvarchar" MaxLength="100" />
  5135. <Property Name="SellingDate" Type="datetime" />
  5136. <Property Name="ClubUnits" Type="int" />
  5137. <Property Name="CostPerUnit" Type="money" />
  5138. <Property Name="PurchasePrice" Type="money" />
  5139. <Property Name="DepositAmount" Type="money" />
  5140. <Property Name="Period" Type="int" />
  5141. <Property Name="InterestRate" Type="money" />
  5142. <Property Name="TransfigKey" Type="int" />
  5143. <Property Name="OptimisticLockField" Type="int" />
  5144. <Property Name="GCRecord" Type="int" />
  5145. <Property Name="DottedStatus" Type="nvarchar" MaxLength="100" />
  5146. <Property Name="DottedDate" Type="datetime" />
  5147. </EntityType>
  5148. <EntityType Name="TransfigSearchResults">
  5149. <Key>
  5150. <PropertyRef Name="OID" />
  5151. </Key>
  5152. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5153. <Property Name="ClientInitials" Type="nvarchar" MaxLength="100" />
  5154. <Property Name="ClientSurname" Type="nvarchar" MaxLength="100" />
  5155. <Property Name="ClientTitle" Type="nvarchar" MaxLength="100" />
  5156. <Property Name="ClientEmail" Type="nvarchar" MaxLength="100" />
  5157. <Property Name="ClientClub" Type="nvarchar" MaxLength="100" />
  5158. <Property Name="ClientMemNum" Type="nvarchar" MaxLength="100" />
  5159. <Property Name="ClientIDNo" Type="nvarchar" MaxLength="100" />
  5160. <Property Name="ClientTel" Type="nvarchar" MaxLength="100" />
  5161. <Property Name="SearchResKey" Type="int" />
  5162. <Property Name="OptimisticLockField" Type="int" />
  5163. <Property Name="GCRecord" Type="int" />
  5164. <Property Name="Developer" Type="nvarchar" MaxLength="100" />
  5165. <Property Name="ContractStatus" Type="nvarchar" MaxLength="5" />
  5166. <Property Name="TypeOfContract" Type="int" />
  5167. <Property Name="RCIMemberNo" Type="nvarchar" MaxLength="15" />
  5168. <Property Name="CertificateName" Type="nvarchar" MaxLength="60" />
  5169. </EntityType>
  5170. <EntityType Name="Transfigurations">
  5171. <Key>
  5172. <PropertyRef Name="OID" />
  5173. </Key>
  5174. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5175. <Property Name="OverideActive" Type="bit" />
  5176. <Property Name="SalesManager" Type="int" />
  5177. <Property Name="PrimeRate" Type="money" />
  5178. <Property Name="TransfigStatus" Type="int" />
  5179. <Property Name="SalesAgent" Type="int" />
  5180. <Property Name="Surname" Type="nvarchar" MaxLength="100" />
  5181. <Property Name="FirstNames" Type="nvarchar" MaxLength="100" />
  5182. <Property Name="Initials" Type="nvarchar" MaxLength="100" />
  5183. <Property Name="Title" Type="nvarchar" MaxLength="20" />
  5184. <Property Name="SPSurname" Type="nvarchar" MaxLength="100" />
  5185. <Property Name="SPFirstNames" Type="nvarchar" MaxLength="100" />
  5186. <Property Name="SPInitials" Type="nvarchar" MaxLength="100" />
  5187. <Property Name="SPTitle" Type="nvarchar" MaxLength="20" />
  5188. <Property Name="JointPurchase" Type="bit" />
  5189. <Property Name="HowMarried" Type="int" />
  5190. <Property Name="AddrLine1" Type="nvarchar" MaxLength="100" />
  5191. <Property Name="AddrLine2" Type="nvarchar" MaxLength="100" />
  5192. <Property Name="AddrLine3" Type="nvarchar" MaxLength="100" />
  5193. <Property Name="AddrLine4" Type="nvarchar" MaxLength="100" />
  5194. <Property Name="PostalCode" Type="nvarchar" MaxLength="100" />
  5195. <Property Name="PostAddr1" Type="nvarchar" MaxLength="100" />
  5196. <Property Name="PostAddr2" Type="nvarchar" MaxLength="100" />
  5197. <Property Name="PostAddr3" Type="nvarchar" MaxLength="100" />
  5198. <Property Name="PostAddr4" Type="nvarchar" MaxLength="100" />
  5199. <Property Name="PostPostCode" Type="nvarchar" MaxLength="100" />
  5200. <Property Name="MembershipNo" Type="nvarchar" MaxLength="100" />
  5201. <Property Name="TelephoneNo" Type="nvarchar" MaxLength="100" />
  5202. <Property Name="BusinessPhoneNo" Type="nvarchar" MaxLength="100" />
  5203. <Property Name="Cellphone" Type="nvarchar" MaxLength="100" />
  5204. <Property Name="Email" Type="nvarchar" MaxLength="100" />
  5205. <Property Name="SPEmail" Type="nvarchar" MaxLength="100" />
  5206. <Property Name="IDNumber" Type="nvarchar" MaxLength="100" />
  5207. <Property Name="SPIDNumber" Type="nvarchar" MaxLength="100" />
  5208. <Property Name="MFCommencementDate" Type="datetime" />
  5209. <Property Name="CapitalCommencementDate" Type="datetime" />
  5210. <Property Name="InsuranceCommencementDate" Type="datetime" />
  5211. <Property Name="ActivationYear" Type="int" />
  5212. <Property Name="DeferUsage" Type="bit" />
  5213. <Property Name="Notes" Type="nvarchar(max)" />
  5214. <Property Name="TransfigDate" Type="datetime" />
  5215. <Property Name="NewCompany" Type="nvarchar" MaxLength="10" />
  5216. <Property Name="ContractNo" Type="nvarchar" MaxLength="100" />
  5217. <Property Name="TFContractNumber" Type="nvarchar" MaxLength="100" />
  5218. <Property Name="Developer" Type="int" />
  5219. <Property Name="OldCompany" Type="nvarchar" MaxLength="10" />
  5220. <Property Name="ClubUnits" Type="int" />
  5221. <Property Name="CapitalOutstanding" Type="money" />
  5222. <Property Name="CapitalBF" Type="money" />
  5223. <Property Name="CapitalACB" Type="money" />
  5224. <Property Name="CapitalREC" Type="money" />
  5225. <Property Name="CapitalDJC" Type="money" />
  5226. <Property Name="CapitalDJD" Type="money" />
  5227. <Property Name="CapitalSF" Type="money" />
  5228. <Property Name="CapitalINT" Type="money" />
  5229. <Property Name="CapitalOther" Type="money" />
  5230. <Property Name="CapitalInstallment" Type="money" />
  5231. <Property Name="CapitalServiceFee" Type="money" />
  5232. <Property Name="CapitalInterest" Type="money" />
  5233. <Property Name="CapitalArrears" Type="money" />
  5234. <Property Name="MFOutstanding" Type="money" />
  5235. <Property Name="MFBF" Type="money" />
  5236. <Property Name="MFACB" Type="money" />
  5237. <Property Name="MFREC" Type="money" />
  5238. <Property Name="MFDJC" Type="money" />
  5239. <Property Name="MFDJD" Type="money" />
  5240. <Property Name="MFSF" Type="money" />
  5241. <Property Name="MFINT" Type="money" />
  5242. <Property Name="MFOther" Type="money" />
  5243. <Property Name="MFInstallment" Type="money" />
  5244. <Property Name="MFServiceFee" Type="money" />
  5245. <Property Name="MFArrears" Type="money" />
  5246. <Property Name="LifeOutstanding" Type="money" />
  5247. <Property Name="LifeBF" Type="money" />
  5248. <Property Name="LifeACB" Type="money" />
  5249. <Property Name="LifeREC" Type="money" />
  5250. <Property Name="LifeDJC" Type="money" />
  5251. <Property Name="LifeDJD" Type="money" />
  5252. <Property Name="LifeSF" Type="money" />
  5253. <Property Name="LifeINT" Type="money" />
  5254. <Property Name="LifeOther" Type="money" />
  5255. <Property Name="LifeInstallment" Type="money" />
  5256. <Property Name="LifeServiceFee" Type="money" />
  5257. <Property Name="LifeArrears" Type="money" />
  5258. <Property Name="sumOriginalUnits" Type="int" />
  5259. <Property Name="sumAddendumUnits" Type="int" />
  5260. <Property Name="sumTradeInUnits" Type="int" />
  5261. <Property Name="sumFiniteUnits" Type="int" />
  5262. <Property Name="sumCarryUnits" Type="int" />
  5263. <Property Name="sumManFeeCarry" Type="money" />
  5264. <Property Name="cccFiniteUnits" Type="int" />
  5265. <Property Name="cmfCurrentManFee" Type="money" />
  5266. <Property Name="cmfClubUnitsAvail" Type="int" />
  5267. <Property Name="PointSellingPrice" Type="money" />
  5268. <Property Name="NewPoints" Type="int" />
  5269. <Property Name="PaymentType" Type="int" />
  5270. <Property Name="PayPeriod" Type="int" />
  5271. <Property Name="CashPayPeriod" Type="int" />
  5272. <Property Name="Insurance" Type="int" />
  5273. <Property Name="DepositPercent" Type="int" />
  5274. <Property Name="FinitePoints" Type="int" />
  5275. <Property Name="InterestCharged" Type="nvarchar" MaxLength="100" />
  5276. <Property Name="InterestAdjustment" Type="int" />
  5277. <Property Name="ManagementFeeDue" Type="money" />
  5278. <Property Name="ManagementFeeYear" Type="int" />
  5279. <Property Name="BaseInstallment" Type="money" />
  5280. <Property Name="BankName" Type="int" />
  5281. <Property Name="BranchName" Type="nvarchar" MaxLength="100" />
  5282. <Property Name="BranchNumber" Type="nvarchar" MaxLength="100" />
  5283. <Property Name="AccountNumber" Type="nvarchar" MaxLength="100" />
  5284. <Property Name="AccountType" Type="int" />
  5285. <Property Name="TotalAmount" Type="money" />
  5286. <Property Name="RepayPeriod" Type="int" />
  5287. <Property Name="DOCommenceDate" Type="datetime" />
  5288. <Property Name="ReceiveInfo" Type="bit" />
  5289. <Property Name="OptOut" Type="bit" />
  5290. <Property Name="Reconsider" Type="bit" />
  5291. <Property Name="OptimisticLockField" Type="int" />
  5292. <Property Name="GCRecord" Type="int" />
  5293. <Property Name="TypeOfContract" Type="int" />
  5294. <Property Name="AdditionalDeposit" Type="money" />
  5295. <Property Name="ManagementFeeOnceOff" Type="bit" />
  5296. <Property Name="WindowPeriod" Type="int" />
  5297. <Property Name="Window1Year" Type="int" />
  5298. <Property Name="Window1Points" Type="int" />
  5299. <Property Name="Window2Year" Type="int" />
  5300. <Property Name="Window2Points" Type="int" />
  5301. <Property Name="Window3Year" Type="int" />
  5302. <Property Name="Window3Points" Type="int" />
  5303. <Property Name="FeeType" Type="nvarchar" MaxLength="100" />
  5304. <Property Name="ApplySlidingScale" Type="bit" />
  5305. <Property Name="UnpostedAddAmt" Type="money" />
  5306. <Property Name="sumUnpostedAddUnits" Type="int" />
  5307. <Property Name="ZeroInterestDeal" Type="bit" />
  5308. <Property Name="SentToContracts" Type="bit" />
  5309. <Property Name="SentToContractsDate" Type="datetime" />
  5310. <Property Name="DontShow" Type="bit" />
  5311. <Property Name="PaymentOccurrence" Type="nvarchar" MaxLength="100" />
  5312. <Property Name="DODate" Type="datetime" />
  5313. <Property Name="CompanyTrustName" Type="nvarchar" MaxLength="100" />
  5314. <Property Name="CompRegNo" Type="nvarchar" MaxLength="100" />
  5315. <Property Name="MembershipNumNoClub" Type="nvarchar" MaxLength="100" />
  5316. <Property Name="MovedToContracts" Type="bit" />
  5317. <Property Name="BookingRefText" Type="nvarchar" MaxLength="100" />
  5318. <Property Name="BookingRef" Type="nvarchar" MaxLength="10" />
  5319. <Property Name="RegFeeDate" Type="datetime" />
  5320. <Property Name="RegistrationFees" Type="money" />
  5321. <Property Name="CreditCardNumber" Type="nvarchar" MaxLength="100" />
  5322. <Property Name="CVCNumber" Type="nvarchar" MaxLength="100" />
  5323. <Property Name="CardType" Type="int" />
  5324. <Property Name="CardExpiryDate" Type="datetime" />
  5325. <Property Name="SearchByOption" Type="int" />
  5326. <Property Name="SearchString" Type="nvarchar" MaxLength="64" />
  5327. <Property Name="Portfolio" Type="int" />
  5328. <Property Name="ContractCurrency" Type="int" />
  5329. <Property Name="ConversionRate" Type="float" />
  5330. <Property Name="PeriodInMonths" Type="int" />
  5331. <Property Name="PersonalDataShared" Type="bit" />
  5332. <Property Name="UseDefaultInterestAdjustmentValue" Type="bit" />
  5333. <Property Name="CommissionCode" Type="int" />
  5334. <Property Name="AccountTypeTEMP" Type="int" />
  5335. <Property Name="InsuranceReason" Type="int" />
  5336. <Property Name="FinitePointsExpired" Type="bit" />
  5337. <Property Name="IsCompany" Type="bit" />
  5338. <Property Name="ReceiveCorrespondence" Type="bit" />
  5339. <Property Name="ReconsiderReceivingInfo" Type="bit" />
  5340. <Property Name="CapacityOfRepresentative" Type="nvarchar" MaxLength="100" />
  5341. <Property Name="SpouseCellphone" Type="nvarchar" MaxLength="100" />
  5342. <Property Name="SpouseWorkphone" Type="nvarchar" MaxLength="100" />
  5343. <Property Name="DefaultCommunication" Type="int" />
  5344. </EntityType>
  5345. <EntityType Name="UserAccessLog">
  5346. <Key>
  5347. <PropertyRef Name="OID" />
  5348. </Key>
  5349. <Property Name="OID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
  5350. <Property Name="User" Type="uniqueidentifier" />
  5351. <Property Name="IPAddress" Type="nvarchar" MaxLength="100" />
  5352. <Property Name="Date" Type="datetime" />
  5353. <Property Name="OptimisticLockField" Type="int" />
  5354. <Property Name="GCRecord" Type="int" />
  5355. <Property Name="Origin" Type="nvarchar" MaxLength="100" />
  5356. </EntityType>
  5357. <EntityType Name="Users">
  5358. <Key>
  5359. <PropertyRef Name="Oid" />
  5360. </Key>
  5361. <Property Name="Oid" Type="uniqueidentifier" Nullable="false" />
  5362. <Property Name="StoredPassword" Type="nvarchar" MaxLength="100" />
  5363. <Property Name="UserName" Type="nvarchar" MaxLength="100" />
  5364. <Property Name="ChangePasswordOnFirstLogon" Type="bit" />
  5365. <Property Name="IsActive" Type="bit" />
  5366. <Property Name="OptimisticLockField" Type="int" />
  5367. <Property Name="GCRecord" Type="int" />
  5368. <Property Name="Franchisee" Type="bit" />
  5369. </EntityType>
  5370. <Association Name="FK__TblSalesV__Perso__1A3FCC1E">
  5371. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5372. <End Role="TblSalesVenuePersonnel" Type="Self.TblSalesVenuePersonnel" Multiplicity="*" />
  5373. <ReferentialConstraint>
  5374. <Principal Role="TblPersonnel">
  5375. <PropertyRef Name="PersonnelCode" />
  5376. </Principal>
  5377. <Dependent Role="TblSalesVenuePersonnel">
  5378. <PropertyRef Name="PersonnelCode" />
  5379. </Dependent>
  5380. </ReferentialConstraint>
  5381. </Association>
  5382. <Association Name="FK__TblSalesV__PodMa__1B33F057">
  5383. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5384. <End Role="TblSalesVenuePersonnel" Type="Self.TblSalesVenuePersonnel" Multiplicity="*" />
  5385. <ReferentialConstraint>
  5386. <Principal Role="TblPersonnel">
  5387. <PropertyRef Name="PersonnelCode" />
  5388. </Principal>
  5389. <Dependent Role="TblSalesVenuePersonnel">
  5390. <PropertyRef Name="PodManager" />
  5391. </Dependent>
  5392. </ReferentialConstraint>
  5393. </Association>
  5394. <Association Name="FK__TblSalesV__Sales__2799C73C">
  5395. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  5396. <End Role="TblSalesVenueTelemarketerOffice" Type="Self.TblSalesVenueTelemarketerOffice" Multiplicity="*" />
  5397. <ReferentialConstraint>
  5398. <Principal Role="TblSalesVenue">
  5399. <PropertyRef Name="OID" />
  5400. </Principal>
  5401. <Dependent Role="TblSalesVenueTelemarketerOffice">
  5402. <PropertyRef Name="SalesVenue" />
  5403. </Dependent>
  5404. </ReferentialConstraint>
  5405. </Association>
  5406. <Association Name="FK__TblSalesV__TblSa__1C281490">
  5407. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  5408. <End Role="TblSalesVenuePersonnel" Type="Self.TblSalesVenuePersonnel" Multiplicity="*" />
  5409. <ReferentialConstraint>
  5410. <Principal Role="TblSalesVenue">
  5411. <PropertyRef Name="OID" />
  5412. </Principal>
  5413. <Dependent Role="TblSalesVenuePersonnel">
  5414. <PropertyRef Name="TblSalesVenue" />
  5415. </Dependent>
  5416. </ReferentialConstraint>
  5417. </Association>
  5418. <Association Name="FK__TblSalesV__TblSa__21E0EDE6">
  5419. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  5420. <End Role="TblSalesVenueRegion" Type="Self.TblSalesVenueRegion" Multiplicity="*" />
  5421. <ReferentialConstraint>
  5422. <Principal Role="TblSalesVenue">
  5423. <PropertyRef Name="OID" />
  5424. </Principal>
  5425. <Dependent Role="TblSalesVenueRegion">
  5426. <PropertyRef Name="TblSalesVenue" />
  5427. </Dependent>
  5428. </ReferentialConstraint>
  5429. </Association>
  5430. <Association Name="FK__TblSalesV__Telem__288DEB75">
  5431. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="0..1" />
  5432. <End Role="TblSalesVenueTelemarketerOffice" Type="Self.TblSalesVenueTelemarketerOffice" Multiplicity="*" />
  5433. <ReferentialConstraint>
  5434. <Principal Role="TblTelemarketerOffice">
  5435. <PropertyRef Name="OID" />
  5436. </Principal>
  5437. <Dependent Role="TblSalesVenueTelemarketerOffice">
  5438. <PropertyRef Name="TelemarketerOffice" />
  5439. </Dependent>
  5440. </ReferentialConstraint>
  5441. </Association>
  5442. <Association Name="FK_TblDebtor_AllocatedTo">
  5443. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5444. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="*" />
  5445. <ReferentialConstraint>
  5446. <Principal Role="TblPersonnel">
  5447. <PropertyRef Name="PersonnelCode" />
  5448. </Principal>
  5449. <Dependent Role="TblDebtor">
  5450. <PropertyRef Name="AllocatedTo" />
  5451. </Dependent>
  5452. </ReferentialConstraint>
  5453. </Association>
  5454. <Association Name="FK_TblDebtor_Developer">
  5455. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  5456. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="*" />
  5457. <ReferentialConstraint>
  5458. <Principal Role="TblDeveloper">
  5459. <PropertyRef Name="OID" />
  5460. </Principal>
  5461. <Dependent Role="TblDebtor">
  5462. <PropertyRef Name="Developer" />
  5463. </Dependent>
  5464. </ReferentialConstraint>
  5465. </Association>
  5466. <Association Name="FK_TblDebtor_ReportsTo">
  5467. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5468. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="*" />
  5469. <ReferentialConstraint>
  5470. <Principal Role="TblPersonnel">
  5471. <PropertyRef Name="PersonnelCode" />
  5472. </Principal>
  5473. <Dependent Role="TblDebtor">
  5474. <PropertyRef Name="ReportsTo" />
  5475. </Dependent>
  5476. </ReferentialConstraint>
  5477. </Association>
  5478. <Association Name="FK_TblDebtor_Resort">
  5479. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  5480. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="*" />
  5481. <ReferentialConstraint>
  5482. <Principal Role="TblResort">
  5483. <PropertyRef Name="OID" />
  5484. </Principal>
  5485. <Dependent Role="TblDebtor">
  5486. <PropertyRef Name="Resort" />
  5487. </Dependent>
  5488. </ReferentialConstraint>
  5489. </Association>
  5490. <Association Name="FK_TblDebtor_UndertakingConsultant">
  5491. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5492. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="*" />
  5493. <ReferentialConstraint>
  5494. <Principal Role="TblPersonnel">
  5495. <PropertyRef Name="PersonnelCode" />
  5496. </Principal>
  5497. <Dependent Role="TblDebtor">
  5498. <PropertyRef Name="UndertakingConsultant" />
  5499. </Dependent>
  5500. </ReferentialConstraint>
  5501. </Association>
  5502. <Association Name="FK_TblDebtorBanking_DebtorNo">
  5503. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5504. <End Role="TblDebtorBanking" Type="Self.TblDebtorBanking" Multiplicity="*" />
  5505. <ReferentialConstraint>
  5506. <Principal Role="TblDebtor">
  5507. <PropertyRef Name="OID" />
  5508. </Principal>
  5509. <Dependent Role="TblDebtorBanking">
  5510. <PropertyRef Name="DebtorNo" />
  5511. </Dependent>
  5512. </ReferentialConstraint>
  5513. </Association>
  5514. <Association Name="FK_TblDebtorBankingAmendment_DebtorBanking">
  5515. <End Role="TblDebtorBanking" Type="Self.TblDebtorBanking" Multiplicity="0..1" />
  5516. <End Role="TblDebtorBankingAmendment" Type="Self.TblDebtorBankingAmendment" Multiplicity="*" />
  5517. <ReferentialConstraint>
  5518. <Principal Role="TblDebtorBanking">
  5519. <PropertyRef Name="OID" />
  5520. </Principal>
  5521. <Dependent Role="TblDebtorBankingAmendment">
  5522. <PropertyRef Name="DebtorBanking" />
  5523. </Dependent>
  5524. </ReferentialConstraint>
  5525. </Association>
  5526. <Association Name="FK_TblDebtorCategoryBreakdown_Debtor">
  5527. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5528. <End Role="TblDebtorCategoryBreakdown" Type="Self.TblDebtorCategoryBreakdown" Multiplicity="*" />
  5529. <ReferentialConstraint>
  5530. <Principal Role="TblDebtor">
  5531. <PropertyRef Name="OID" />
  5532. </Principal>
  5533. <Dependent Role="TblDebtorCategoryBreakdown">
  5534. <PropertyRef Name="Debtor" />
  5535. </Dependent>
  5536. </ReferentialConstraint>
  5537. </Association>
  5538. <Association Name="FK_TblDebtorDocuments_Debtor">
  5539. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5540. <End Role="TblDebtorDocuments" Type="Self.TblDebtorDocuments" Multiplicity="*" />
  5541. <ReferentialConstraint>
  5542. <Principal Role="TblDebtor">
  5543. <PropertyRef Name="OID" />
  5544. </Principal>
  5545. <Dependent Role="TblDebtorDocuments">
  5546. <PropertyRef Name="Debtor" />
  5547. </Dependent>
  5548. </ReferentialConstraint>
  5549. </Association>
  5550. <Association Name="FK_TblDebtorDocuments_DocumentType">
  5551. <End Role="TblDocumentType" Type="Self.TblDocumentType" Multiplicity="0..1" />
  5552. <End Role="TblDebtorDocuments" Type="Self.TblDebtorDocuments" Multiplicity="*" />
  5553. <ReferentialConstraint>
  5554. <Principal Role="TblDocumentType">
  5555. <PropertyRef Name="OID" />
  5556. </Principal>
  5557. <Dependent Role="TblDebtorDocuments">
  5558. <PropertyRef Name="DocumentType" />
  5559. </Dependent>
  5560. </ReferentialConstraint>
  5561. </Association>
  5562. <Association Name="FK_TblDebtorFeedback_DebtorNo">
  5563. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5564. <End Role="TblDebtorFeedback" Type="Self.TblDebtorFeedback" Multiplicity="*" />
  5565. <ReferentialConstraint>
  5566. <Principal Role="TblDebtor">
  5567. <PropertyRef Name="OID" />
  5568. </Principal>
  5569. <Dependent Role="TblDebtorFeedback">
  5570. <PropertyRef Name="DebtorNo" />
  5571. </Dependent>
  5572. </ReferentialConstraint>
  5573. </Association>
  5574. <Association Name="FK_TblDebtorFeedback_Feedback">
  5575. <End Role="TblFeedbackType" Type="Self.TblFeedbackType" Multiplicity="0..1" />
  5576. <End Role="TblDebtorFeedback" Type="Self.TblDebtorFeedback" Multiplicity="*" />
  5577. <ReferentialConstraint>
  5578. <Principal Role="TblFeedbackType">
  5579. <PropertyRef Name="OID" />
  5580. </Principal>
  5581. <Dependent Role="TblDebtorFeedback">
  5582. <PropertyRef Name="Feedback" />
  5583. </Dependent>
  5584. </ReferentialConstraint>
  5585. </Association>
  5586. <Association Name="FK_TblDebtorFeedback_Name">
  5587. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5588. <End Role="TblDebtorFeedback" Type="Self.TblDebtorFeedback" Multiplicity="*" />
  5589. <ReferentialConstraint>
  5590. <Principal Role="TblPersonnel">
  5591. <PropertyRef Name="PersonnelCode" />
  5592. </Principal>
  5593. <Dependent Role="TblDebtorFeedback">
  5594. <PropertyRef Name="Name" />
  5595. </Dependent>
  5596. </ReferentialConstraint>
  5597. </Association>
  5598. <Association Name="FK_TblDebtorInterestRates_DebtorNo">
  5599. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5600. <End Role="TblDebtorInterestRates" Type="Self.TblDebtorInterestRates" Multiplicity="*" />
  5601. <ReferentialConstraint>
  5602. <Principal Role="TblDebtor">
  5603. <PropertyRef Name="OID" />
  5604. </Principal>
  5605. <Dependent Role="TblDebtorInterestRates">
  5606. <PropertyRef Name="DebtorNo" />
  5607. </Dependent>
  5608. </ReferentialConstraint>
  5609. </Association>
  5610. <Association Name="FK_TblDebtorManagementFeeValues_Debtor">
  5611. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5612. <End Role="TblDebtorManagementFeeValues" Type="Self.TblDebtorManagementFeeValues" Multiplicity="*" />
  5613. <ReferentialConstraint>
  5614. <Principal Role="TblDebtor">
  5615. <PropertyRef Name="OID" />
  5616. </Principal>
  5617. <Dependent Role="TblDebtorManagementFeeValues">
  5618. <PropertyRef Name="Debtor" />
  5619. </Dependent>
  5620. </ReferentialConstraint>
  5621. </Association>
  5622. <Association Name="FK_TblDebtorManagementFeeValues_WeekModule">
  5623. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  5624. <End Role="TblDebtorManagementFeeValues" Type="Self.TblDebtorManagementFeeValues" Multiplicity="*" />
  5625. <ReferentialConstraint>
  5626. <Principal Role="TblWeekModule">
  5627. <PropertyRef Name="OID" />
  5628. </Principal>
  5629. <Dependent Role="TblDebtorManagementFeeValues">
  5630. <PropertyRef Name="WeekModule" />
  5631. </Dependent>
  5632. </ReferentialConstraint>
  5633. </Association>
  5634. <Association Name="FK_TblDebtorNotes_MessageCode">
  5635. <End Role="TblMessageCode" Type="Self.TblMessageCode" Multiplicity="0..1" />
  5636. <End Role="TblDebtorNotes" Type="Self.TblDebtorNotes" Multiplicity="*" />
  5637. <ReferentialConstraint>
  5638. <Principal Role="TblMessageCode">
  5639. <PropertyRef Name="OID" />
  5640. </Principal>
  5641. <Dependent Role="TblDebtorNotes">
  5642. <PropertyRef Name="MessageCode" />
  5643. </Dependent>
  5644. </ReferentialConstraint>
  5645. </Association>
  5646. <Association Name="FK_TblDebtorNotes_TblDebtor">
  5647. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5648. <End Role="TblDebtorNotes" Type="Self.TblDebtorNotes" Multiplicity="*" />
  5649. <ReferentialConstraint>
  5650. <Principal Role="TblDebtor">
  5651. <PropertyRef Name="OID" />
  5652. </Principal>
  5653. <Dependent Role="TblDebtorNotes">
  5654. <PropertyRef Name="TblDebtor" />
  5655. </Dependent>
  5656. </ReferentialConstraint>
  5657. </Association>
  5658. <Association Name="FK_TblDebtorResaleTransfers_DebtorNumber">
  5659. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5660. <End Role="TblDebtorResaleTransfers" Type="Self.TblDebtorResaleTransfers" Multiplicity="*" />
  5661. <ReferentialConstraint>
  5662. <Principal Role="TblDebtor">
  5663. <PropertyRef Name="OID" />
  5664. </Principal>
  5665. <Dependent Role="TblDebtorResaleTransfers">
  5666. <PropertyRef Name="DebtorNumber" />
  5667. </Dependent>
  5668. </ReferentialConstraint>
  5669. </Association>
  5670. <Association Name="FK_TblDebtorResaleTransfers_TransferTransaction">
  5671. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="0..1" />
  5672. <End Role="TblDebtorResaleTransfers" Type="Self.TblDebtorResaleTransfers" Multiplicity="*" />
  5673. <ReferentialConstraint>
  5674. <Principal Role="TblDebtorTransactions">
  5675. <PropertyRef Name="OID" />
  5676. </Principal>
  5677. <Dependent Role="TblDebtorResaleTransfers">
  5678. <PropertyRef Name="TransferTransaction" />
  5679. </Dependent>
  5680. </ReferentialConstraint>
  5681. </Association>
  5682. <Association Name="FK_TblDebtorTransactions_AllJournalLines">
  5683. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="0..1" />
  5684. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5685. <ReferentialConstraint>
  5686. <Principal Role="TblJournalLines">
  5687. <PropertyRef Name="OID" />
  5688. </Principal>
  5689. <Dependent Role="TblDebtorTransactions">
  5690. <PropertyRef Name="AllJournalLines" />
  5691. </Dependent>
  5692. </ReferentialConstraint>
  5693. </Association>
  5694. <Association Name="FK_TblDebtorTransactions_CollectionTran">
  5695. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="0..1" />
  5696. <End Role="TblDebtorTransactions1" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5697. <ReferentialConstraint>
  5698. <Principal Role="TblDebtorTransactions">
  5699. <PropertyRef Name="OID" />
  5700. </Principal>
  5701. <Dependent Role="TblDebtorTransactions1">
  5702. <PropertyRef Name="CollectionTran" />
  5703. </Dependent>
  5704. </ReferentialConstraint>
  5705. </Association>
  5706. <Association Name="FK_TblDebtorTransactions_Debtor">
  5707. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5708. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5709. <ReferentialConstraint>
  5710. <Principal Role="TblDebtor">
  5711. <PropertyRef Name="OID" />
  5712. </Principal>
  5713. <Dependent Role="TblDebtorTransactions">
  5714. <PropertyRef Name="Debtor" />
  5715. </Dependent>
  5716. </ReferentialConstraint>
  5717. </Association>
  5718. <Association Name="FK_TblDebtorTransactions_DebtorCode">
  5719. <End Role="TblDebtorCoding" Type="Self.TblDebtorCoding" Multiplicity="0..1" />
  5720. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5721. <ReferentialConstraint>
  5722. <Principal Role="TblDebtorCoding">
  5723. <PropertyRef Name="Oid" />
  5724. </Principal>
  5725. <Dependent Role="TblDebtorTransactions">
  5726. <PropertyRef Name="DebtorCode" />
  5727. </Dependent>
  5728. </ReferentialConstraint>
  5729. </Association>
  5730. <Association Name="FK_TblDebtorTransactions_HideDebtorTransaction">
  5731. <End Role="TblHideDebtorTransaction" Type="Self.TblHideDebtorTransaction" Multiplicity="0..1" />
  5732. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5733. <ReferentialConstraint>
  5734. <Principal Role="TblHideDebtorTransaction">
  5735. <PropertyRef Name="Oid" />
  5736. </Principal>
  5737. <Dependent Role="TblDebtorTransactions">
  5738. <PropertyRef Name="HideDebtorTransaction" />
  5739. </Dependent>
  5740. </ReferentialConstraint>
  5741. </Association>
  5742. <Association Name="FK_TblDebtorTransactions_PayType">
  5743. <End Role="TblPaymentTypes" Type="Self.TblPaymentTypes" Multiplicity="0..1" />
  5744. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5745. <ReferentialConstraint>
  5746. <Principal Role="TblPaymentTypes">
  5747. <PropertyRef Name="OID" />
  5748. </Principal>
  5749. <Dependent Role="TblDebtorTransactions">
  5750. <PropertyRef Name="PayType" />
  5751. </Dependent>
  5752. </ReferentialConstraint>
  5753. </Association>
  5754. <Association Name="FK_TblDebtorTransactions_TblJournalLines">
  5755. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="0..1" />
  5756. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5757. <ReferentialConstraint>
  5758. <Principal Role="TblJournalLines">
  5759. <PropertyRef Name="OID" />
  5760. </Principal>
  5761. <Dependent Role="TblDebtorTransactions">
  5762. <PropertyRef Name="TblJournalLines" />
  5763. </Dependent>
  5764. </ReferentialConstraint>
  5765. </Association>
  5766. <Association Name="FK_TblDebtorTransactions_TransactionType">
  5767. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  5768. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="*" />
  5769. <ReferentialConstraint>
  5770. <Principal Role="TblDebtorTranTypes">
  5771. <PropertyRef Name="OID" />
  5772. </Principal>
  5773. <Dependent Role="TblDebtorTransactions">
  5774. <PropertyRef Name="TransactionType" />
  5775. </Dependent>
  5776. </ReferentialConstraint>
  5777. </Association>
  5778. <Association Name="FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction">
  5779. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="0..1" />
  5780. <End Role="TblDebtorTransactionsCatBreakdown" Type="Self.TblDebtorTransactionsCatBreakdown" Multiplicity="*" />
  5781. <ReferentialConstraint>
  5782. <Principal Role="TblDebtorTransactions">
  5783. <PropertyRef Name="OID" />
  5784. </Principal>
  5785. <Dependent Role="TblDebtorTransactionsCatBreakdown">
  5786. <PropertyRef Name="DebtorTransaction" />
  5787. </Dependent>
  5788. </ReferentialConstraint>
  5789. </Association>
  5790. <Association Name="FK_TblDebtorTransactionsCatBreakdown_TransactionType">
  5791. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  5792. <End Role="TblDebtorTransactionsCatBreakdown" Type="Self.TblDebtorTransactionsCatBreakdown" Multiplicity="*" />
  5793. <ReferentialConstraint>
  5794. <Principal Role="TblDebtorTranTypes">
  5795. <PropertyRef Name="OID" />
  5796. </Principal>
  5797. <Dependent Role="TblDebtorTransactionsCatBreakdown">
  5798. <PropertyRef Name="TransactionType" />
  5799. </Dependent>
  5800. </ReferentialConstraint>
  5801. </Association>
  5802. <Association Name="FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup">
  5803. <End Role="TblDebtorTransactionTypeReportGroup" Type="Self.TblDebtorTransactionTypeReportGroup" Multiplicity="0..1" />
  5804. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="*" />
  5805. <ReferentialConstraint>
  5806. <Principal Role="TblDebtorTransactionTypeReportGroup">
  5807. <PropertyRef Name="Oid" />
  5808. </Principal>
  5809. <Dependent Role="TblDebtorTranTypes">
  5810. <PropertyRef Name="DebtorTransactionTypeReportGroup" />
  5811. </Dependent>
  5812. </ReferentialConstraint>
  5813. </Association>
  5814. <Association Name="FK_TblDebtorTranTypes_PaymentType">
  5815. <End Role="TblPaymentTypes" Type="Self.TblPaymentTypes" Multiplicity="0..1" />
  5816. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="*" />
  5817. <ReferentialConstraint>
  5818. <Principal Role="TblPaymentTypes">
  5819. <PropertyRef Name="OID" />
  5820. </Principal>
  5821. <Dependent Role="TblDebtorTranTypes">
  5822. <PropertyRef Name="PaymentType" />
  5823. </Dependent>
  5824. </ReferentialConstraint>
  5825. </Association>
  5826. <Association Name="FK_TblDebtorTranTypes_Reversal">
  5827. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  5828. <End Role="TblDebtorTranTypes1" Type="Self.TblDebtorTranTypes" Multiplicity="*" />
  5829. <ReferentialConstraint>
  5830. <Principal Role="TblDebtorTranTypes">
  5831. <PropertyRef Name="OID" />
  5832. </Principal>
  5833. <Dependent Role="TblDebtorTranTypes1">
  5834. <PropertyRef Name="Reversal" />
  5835. </Dependent>
  5836. </ReferentialConstraint>
  5837. </Association>
  5838. <Association Name="FK_TblDebtorTranTypes_ReversalTranType">
  5839. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  5840. <End Role="TblDebtorTranTypes1" Type="Self.TblDebtorTranTypes" Multiplicity="*" />
  5841. <ReferentialConstraint>
  5842. <Principal Role="TblDebtorTranTypes">
  5843. <PropertyRef Name="OID" />
  5844. </Principal>
  5845. <Dependent Role="TblDebtorTranTypes1">
  5846. <PropertyRef Name="ReversalTranType" />
  5847. </Dependent>
  5848. </ReferentialConstraint>
  5849. </Association>
  5850. <Association Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals">
  5851. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  5852. <End Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Type="Self.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Multiplicity="*" />
  5853. <ReferentialConstraint>
  5854. <Principal Role="TblDebtorTranTypes">
  5855. <PropertyRef Name="OID" />
  5856. </Principal>
  5857. <Dependent Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  5858. <PropertyRef Name="Reversals" />
  5859. </Dependent>
  5860. </ReferentialConstraint>
  5861. </Association>
  5862. <Association Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp">
  5863. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  5864. <End Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Type="Self.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Multiplicity="*" />
  5865. <ReferentialConstraint>
  5866. <Principal Role="TblDebtorTranTypes">
  5867. <PropertyRef Name="OID" />
  5868. </Principal>
  5869. <Dependent Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  5870. <PropertyRef Name="ReversalsTemp" />
  5871. </Dependent>
  5872. </ReferentialConstraint>
  5873. </Association>
  5874. <Association Name="FK_TblDebtorWeekModuleException_Debtor">
  5875. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  5876. <End Role="TblDebtorWeekModuleException" Type="Self.TblDebtorWeekModuleException" Multiplicity="*" />
  5877. <ReferentialConstraint>
  5878. <Principal Role="TblDebtor">
  5879. <PropertyRef Name="OID" />
  5880. </Principal>
  5881. <Dependent Role="TblDebtorWeekModuleException">
  5882. <PropertyRef Name="Debtor" />
  5883. </Dependent>
  5884. </ReferentialConstraint>
  5885. </Association>
  5886. <Association Name="FK_TblDetailedInfo_Ethnicity">
  5887. <End Role="TblEthnicity" Type="Self.TblEthnicity" Multiplicity="0..1" />
  5888. <End Role="TblDetailedInfo" Type="Self.TblDetailedInfo" Multiplicity="*" />
  5889. <ReferentialConstraint>
  5890. <Principal Role="TblEthnicity">
  5891. <PropertyRef Name="OID" />
  5892. </Principal>
  5893. <Dependent Role="TblDetailedInfo">
  5894. <PropertyRef Name="Ethnicity" />
  5895. </Dependent>
  5896. </ReferentialConstraint>
  5897. </Association>
  5898. <Association Name="FK_TblDetailedInfo_Title">
  5899. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  5900. <End Role="TblDetailedInfo" Type="Self.TblDetailedInfo" Multiplicity="*" />
  5901. <ReferentialConstraint>
  5902. <Principal Role="Titles">
  5903. <PropertyRef Name="Title" />
  5904. </Principal>
  5905. <Dependent Role="TblDetailedInfo">
  5906. <PropertyRef Name="Title" />
  5907. </Dependent>
  5908. </ReferentialConstraint>
  5909. </Association>
  5910. <Association Name="FK_TblEquityCommissionTarget_Personnel">
  5911. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  5912. <End Role="TblEquityCommissionTarget" Type="Self.TblEquityCommissionTarget" Multiplicity="*" />
  5913. <ReferentialConstraint>
  5914. <Principal Role="TblPersonnel">
  5915. <PropertyRef Name="PersonnelCode" />
  5916. </Principal>
  5917. <Dependent Role="TblEquityCommissionTarget">
  5918. <PropertyRef Name="Personnel" />
  5919. </Dependent>
  5920. </ReferentialConstraint>
  5921. </Association>
  5922. <Association Name="FK_TblEVoucher_SalesVenue">
  5923. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  5924. <End Role="TblEVoucher" Type="Self.TblEVoucher" Multiplicity="*" />
  5925. <ReferentialConstraint>
  5926. <Principal Role="TblSalesVenue">
  5927. <PropertyRef Name="OID" />
  5928. </Principal>
  5929. <Dependent Role="TblEVoucher">
  5930. <PropertyRef Name="SalesVenue" />
  5931. </Dependent>
  5932. </ReferentialConstraint>
  5933. </Association>
  5934. <Association Name="FK_TblEVoucher_VoucherCategory">
  5935. <End Role="TblEVoucherCategory" Type="Self.TblEVoucherCategory" Multiplicity="0..1" />
  5936. <End Role="TblEVoucher" Type="Self.TblEVoucher" Multiplicity="*" />
  5937. <ReferentialConstraint>
  5938. <Principal Role="TblEVoucherCategory">
  5939. <PropertyRef Name="OID" />
  5940. </Principal>
  5941. <Dependent Role="TblEVoucher">
  5942. <PropertyRef Name="VoucherCategory" />
  5943. </Dependent>
  5944. </ReferentialConstraint>
  5945. </Association>
  5946. <Association Name="FK_TblEVoucher_VoucherSeries">
  5947. <End Role="TblEVoucherSeries" Type="Self.TblEVoucherSeries" Multiplicity="0..1" />
  5948. <End Role="TblEVoucher" Type="Self.TblEVoucher" Multiplicity="*" />
  5949. <ReferentialConstraint>
  5950. <Principal Role="TblEVoucherSeries">
  5951. <PropertyRef Name="OID" />
  5952. </Principal>
  5953. <Dependent Role="TblEVoucher">
  5954. <PropertyRef Name="VoucherSeries" />
  5955. </Dependent>
  5956. </ReferentialConstraint>
  5957. </Association>
  5958. <Association Name="FK_TblEVoucher_VoucherType">
  5959. <End Role="TblEVoucherType" Type="Self.TblEVoucherType" Multiplicity="0..1" />
  5960. <End Role="TblEVoucher" Type="Self.TblEVoucher" Multiplicity="*" />
  5961. <ReferentialConstraint>
  5962. <Principal Role="TblEVoucherType">
  5963. <PropertyRef Name="OID" />
  5964. </Principal>
  5965. <Dependent Role="TblEVoucher">
  5966. <PropertyRef Name="VoucherType" />
  5967. </Dependent>
  5968. </ReferentialConstraint>
  5969. </Association>
  5970. <Association Name="FK_TblEVoucherCategory_SalesVenue">
  5971. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  5972. <End Role="TblEVoucherCategory" Type="Self.TblEVoucherCategory" Multiplicity="*" />
  5973. <ReferentialConstraint>
  5974. <Principal Role="TblSalesVenue">
  5975. <PropertyRef Name="OID" />
  5976. </Principal>
  5977. <Dependent Role="TblEVoucherCategory">
  5978. <PropertyRef Name="SalesVenue" />
  5979. </Dependent>
  5980. </ReferentialConstraint>
  5981. </Association>
  5982. <Association Name="FK_TblEVoucherNotes_TblEVoucher">
  5983. <End Role="TblEVoucher" Type="Self.TblEVoucher" Multiplicity="0..1" />
  5984. <End Role="TblEVoucherNotes" Type="Self.TblEVoucherNotes" Multiplicity="*" />
  5985. <ReferentialConstraint>
  5986. <Principal Role="TblEVoucher">
  5987. <PropertyRef Name="OID" />
  5988. </Principal>
  5989. <Dependent Role="TblEVoucherNotes">
  5990. <PropertyRef Name="TblEVoucher" />
  5991. </Dependent>
  5992. </ReferentialConstraint>
  5993. </Association>
  5994. <Association Name="FK_TblEVoucherType_RotationLinksTo">
  5995. <End Role="TblEVoucherType" Type="Self.TblEVoucherType" Multiplicity="0..1" />
  5996. <End Role="TblEVoucherType1" Type="Self.TblEVoucherType" Multiplicity="*" />
  5997. <ReferentialConstraint>
  5998. <Principal Role="TblEVoucherType">
  5999. <PropertyRef Name="OID" />
  6000. </Principal>
  6001. <Dependent Role="TblEVoucherType1">
  6002. <PropertyRef Name="RotationLinksTo" />
  6003. </Dependent>
  6004. </ReferentialConstraint>
  6005. </Association>
  6006. <Association Name="FK_TblEVoucherType_SalesVenue">
  6007. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  6008. <End Role="TblEVoucherType" Type="Self.TblEVoucherType" Multiplicity="*" />
  6009. <ReferentialConstraint>
  6010. <Principal Role="TblSalesVenue">
  6011. <PropertyRef Name="OID" />
  6012. </Principal>
  6013. <Dependent Role="TblEVoucherType">
  6014. <PropertyRef Name="SalesVenue" />
  6015. </Dependent>
  6016. </ReferentialConstraint>
  6017. </Association>
  6018. <Association Name="FK_TblExpenseCodesCompany_ExpenseCode">
  6019. <End Role="TblExpenseCodes" Type="Self.TblExpenseCodes" Multiplicity="0..1" />
  6020. <End Role="TblExpenseCodesCompany" Type="Self.TblExpenseCodesCompany" Multiplicity="*" />
  6021. <ReferentialConstraint>
  6022. <Principal Role="TblExpenseCodes">
  6023. <PropertyRef Name="OID" />
  6024. </Principal>
  6025. <Dependent Role="TblExpenseCodesCompany">
  6026. <PropertyRef Name="ExpenseCode" />
  6027. </Dependent>
  6028. </ReferentialConstraint>
  6029. </Association>
  6030. <Association Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCode">
  6031. <End Role="TblExpenseCodes" Type="Self.TblExpenseCodes" Multiplicity="0..1" />
  6032. <End Role="TblExpenseCodeTransactionsDetail" Type="Self.TblExpenseCodeTransactionsDetail" Multiplicity="*" />
  6033. <ReferentialConstraint>
  6034. <Principal Role="TblExpenseCodes">
  6035. <PropertyRef Name="OID" />
  6036. </Principal>
  6037. <Dependent Role="TblExpenseCodeTransactionsDetail">
  6038. <PropertyRef Name="ExpenseCode" />
  6039. </Dependent>
  6040. </ReferentialConstraint>
  6041. </Association>
  6042. <Association Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader">
  6043. <End Role="TblExpenseCodeTransactionsHeader" Type="Self.TblExpenseCodeTransactionsHeader" Multiplicity="0..1" />
  6044. <End Role="TblExpenseCodeTransactionsDetail" Type="Self.TblExpenseCodeTransactionsDetail" Multiplicity="*" />
  6045. <ReferentialConstraint>
  6046. <Principal Role="TblExpenseCodeTransactionsHeader">
  6047. <PropertyRef Name="OID" />
  6048. </Principal>
  6049. <Dependent Role="TblExpenseCodeTransactionsDetail">
  6050. <PropertyRef Name="ExpenseCodeTransactionsHeader" />
  6051. </Dependent>
  6052. </ReferentialConstraint>
  6053. </Association>
  6054. <Association Name="FK_TblExternalResortCommission_CapitalDebtor">
  6055. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6056. <End Role="TblExternalResortCommission" Type="Self.TblExternalResortCommission" Multiplicity="*" />
  6057. <ReferentialConstraint>
  6058. <Principal Role="TblDebtor">
  6059. <PropertyRef Name="OID" />
  6060. </Principal>
  6061. <Dependent Role="TblExternalResortCommission">
  6062. <PropertyRef Name="CapitalDebtor" />
  6063. </Dependent>
  6064. </ReferentialConstraint>
  6065. </Association>
  6066. <Association Name="FK_TblExternalResortCommission_Resort">
  6067. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  6068. <End Role="TblExternalResortCommission" Type="Self.TblExternalResortCommission" Multiplicity="*" />
  6069. <ReferentialConstraint>
  6070. <Principal Role="TblResort">
  6071. <PropertyRef Name="OID" />
  6072. </Principal>
  6073. <Dependent Role="TblExternalResortCommission">
  6074. <PropertyRef Name="Resort" />
  6075. </Dependent>
  6076. </ReferentialConstraint>
  6077. </Association>
  6078. <Association Name="FK_TblExternalResortCommission_Week">
  6079. <End Role="TblExternalResortCommissionWeeks" Type="Self.TblExternalResortCommissionWeeks" Multiplicity="0..1" />
  6080. <End Role="TblExternalResortCommission" Type="Self.TblExternalResortCommission" Multiplicity="*" />
  6081. <ReferentialConstraint>
  6082. <Principal Role="TblExternalResortCommissionWeeks">
  6083. <PropertyRef Name="OID" />
  6084. </Principal>
  6085. <Dependent Role="TblExternalResortCommission">
  6086. <PropertyRef Name="Week" />
  6087. </Dependent>
  6088. </ReferentialConstraint>
  6089. </Association>
  6090. <Association Name="FK_TblExternalResortCommission_WeekModule">
  6091. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  6092. <End Role="TblExternalResortCommission" Type="Self.TblExternalResortCommission" Multiplicity="*" />
  6093. <ReferentialConstraint>
  6094. <Principal Role="TblWeekModule">
  6095. <PropertyRef Name="OID" />
  6096. </Principal>
  6097. <Dependent Role="TblExternalResortCommission">
  6098. <PropertyRef Name="WeekModule" />
  6099. </Dependent>
  6100. </ReferentialConstraint>
  6101. </Association>
  6102. <Association Name="FK_TblExternalResortCommissionTransactions_Commission">
  6103. <End Role="TblExternalResortCommission" Type="Self.TblExternalResortCommission" Multiplicity="0..1" />
  6104. <End Role="TblExternalResortCommissionTransactions" Type="Self.TblExternalResortCommissionTransactions" Multiplicity="*" />
  6105. <ReferentialConstraint>
  6106. <Principal Role="TblExternalResortCommission">
  6107. <PropertyRef Name="OID" />
  6108. </Principal>
  6109. <Dependent Role="TblExternalResortCommissionTransactions">
  6110. <PropertyRef Name="Commission" />
  6111. </Dependent>
  6112. </ReferentialConstraint>
  6113. </Association>
  6114. <Association Name="FK_TblExternalResortCommissionWeeks_Resort">
  6115. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  6116. <End Role="TblExternalResortCommissionWeeks" Type="Self.TblExternalResortCommissionWeeks" Multiplicity="*" />
  6117. <ReferentialConstraint>
  6118. <Principal Role="TblResort">
  6119. <PropertyRef Name="OID" />
  6120. </Principal>
  6121. <Dependent Role="TblExternalResortCommissionWeeks">
  6122. <PropertyRef Name="Resort" />
  6123. </Dependent>
  6124. </ReferentialConstraint>
  6125. </Association>
  6126. <Association Name="FK_TblExternalResortCommissionWeeks_WeekModule">
  6127. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  6128. <End Role="TblExternalResortCommissionWeeks" Type="Self.TblExternalResortCommissionWeeks" Multiplicity="*" />
  6129. <ReferentialConstraint>
  6130. <Principal Role="TblWeekModule">
  6131. <PropertyRef Name="OID" />
  6132. </Principal>
  6133. <Dependent Role="TblExternalResortCommissionWeeks">
  6134. <PropertyRef Name="WeekModule" />
  6135. </Dependent>
  6136. </ReferentialConstraint>
  6137. </Association>
  6138. <Association Name="FK_TblFriends_Profile">
  6139. <End Role="TblReferalProfile" Type="Self.TblReferalProfile" Multiplicity="0..1" />
  6140. <End Role="TblFriends" Type="Self.TblFriends" Multiplicity="*" />
  6141. <ReferentialConstraint>
  6142. <Principal Role="TblReferalProfile">
  6143. <PropertyRef Name="OID" />
  6144. </Principal>
  6145. <Dependent Role="TblFriends">
  6146. <PropertyRef Name="Profile" />
  6147. </Dependent>
  6148. </ReferentialConstraint>
  6149. </Association>
  6150. <Association Name="FK_TblGalvanizedDeals_Debtor">
  6151. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6152. <End Role="TblGalvanizedDeals" Type="Self.TblGalvanizedDeals" Multiplicity="*" />
  6153. <ReferentialConstraint>
  6154. <Principal Role="TblDebtor">
  6155. <PropertyRef Name="OID" />
  6156. </Principal>
  6157. <Dependent Role="TblGalvanizedDeals">
  6158. <PropertyRef Name="Debtor" />
  6159. </Dependent>
  6160. </ReferentialConstraint>
  6161. </Association>
  6162. <Association Name="FK_TblGalvanizedTransactions_AccountNumber">
  6163. <End Role="TblGalvanizedDeals" Type="Self.TblGalvanizedDeals" Multiplicity="0..1" />
  6164. <End Role="TblGalvanizedTransactions" Type="Self.TblGalvanizedTransactions" Multiplicity="*" />
  6165. <ReferentialConstraint>
  6166. <Principal Role="TblGalvanizedDeals">
  6167. <PropertyRef Name="OID" />
  6168. </Principal>
  6169. <Dependent Role="TblGalvanizedTransactions">
  6170. <PropertyRef Name="AccountNumber" />
  6171. </Dependent>
  6172. </ReferentialConstraint>
  6173. </Association>
  6174. <Association Name="FK_TblGroupCategory_TblDebtorTranTypes">
  6175. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  6176. <End Role="TblGroupCategory" Type="Self.TblGroupCategory" Multiplicity="*" />
  6177. <ReferentialConstraint>
  6178. <Principal Role="TblDebtorTranTypes">
  6179. <PropertyRef Name="OID" />
  6180. </Principal>
  6181. <Dependent Role="TblGroupCategory">
  6182. <PropertyRef Name="TblDebtorTranTypes" />
  6183. </Dependent>
  6184. </ReferentialConstraint>
  6185. </Association>
  6186. <Association Name="FK_TblHideDebtorTransaction_CreatedBy">
  6187. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6188. <End Role="TblHideDebtorTransaction" Type="Self.TblHideDebtorTransaction" Multiplicity="*" />
  6189. <ReferentialConstraint>
  6190. <Principal Role="TblPersonnel">
  6191. <PropertyRef Name="PersonnelCode" />
  6192. </Principal>
  6193. <Dependent Role="TblHideDebtorTransaction">
  6194. <PropertyRef Name="CreatedBy" />
  6195. </Dependent>
  6196. </ReferentialConstraint>
  6197. </Association>
  6198. <Association Name="FK_TblHideDebtorTransaction_Debtor">
  6199. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6200. <End Role="TblHideDebtorTransaction" Type="Self.TblHideDebtorTransaction" Multiplicity="*" />
  6201. <ReferentialConstraint>
  6202. <Principal Role="TblDebtor">
  6203. <PropertyRef Name="OID" />
  6204. </Principal>
  6205. <Dependent Role="TblHideDebtorTransaction">
  6206. <PropertyRef Name="Debtor" />
  6207. </Dependent>
  6208. </ReferentialConstraint>
  6209. </Association>
  6210. <Association Name="FK_TblInvoiceLines_ExpenseCode">
  6211. <End Role="TblExpenseCodes" Type="Self.TblExpenseCodes" Multiplicity="0..1" />
  6212. <End Role="TblInvoiceLines" Type="Self.TblInvoiceLines" Multiplicity="*" />
  6213. <ReferentialConstraint>
  6214. <Principal Role="TblExpenseCodes">
  6215. <PropertyRef Name="OID" />
  6216. </Principal>
  6217. <Dependent Role="TblInvoiceLines">
  6218. <PropertyRef Name="ExpenseCode" />
  6219. </Dependent>
  6220. </ReferentialConstraint>
  6221. </Association>
  6222. <Association Name="FK_TblInvoiceLines_InvoiceNumber">
  6223. <End Role="TblInvoices" Type="Self.TblInvoices" Multiplicity="0..1" />
  6224. <End Role="TblInvoiceLines" Type="Self.TblInvoiceLines" Multiplicity="*" />
  6225. <ReferentialConstraint>
  6226. <Principal Role="TblInvoices">
  6227. <PropertyRef Name="OID" />
  6228. </Principal>
  6229. <Dependent Role="TblInvoiceLines">
  6230. <PropertyRef Name="InvoiceNumber" />
  6231. </Dependent>
  6232. </ReferentialConstraint>
  6233. </Association>
  6234. <Association Name="FK_TblInvoices_Resort">
  6235. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  6236. <End Role="TblInvoices" Type="Self.TblInvoices" Multiplicity="*" />
  6237. <ReferentialConstraint>
  6238. <Principal Role="TblResort">
  6239. <PropertyRef Name="OID" />
  6240. </Principal>
  6241. <Dependent Role="TblInvoices">
  6242. <PropertyRef Name="Resort" />
  6243. </Dependent>
  6244. </ReferentialConstraint>
  6245. </Association>
  6246. <Association Name="FK_TblJournalBatch_TransactionType">
  6247. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  6248. <End Role="TblJournalBatch" Type="Self.TblJournalBatch" Multiplicity="*" />
  6249. <ReferentialConstraint>
  6250. <Principal Role="TblDebtorTranTypes">
  6251. <PropertyRef Name="OID" />
  6252. </Principal>
  6253. <Dependent Role="TblJournalBatch">
  6254. <PropertyRef Name="TransactionType" />
  6255. </Dependent>
  6256. </ReferentialConstraint>
  6257. </Association>
  6258. <Association Name="FK_TblJournalLineCatBreakdown_JournalLine">
  6259. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="0..1" />
  6260. <End Role="TblJournalLineCatBreakdown" Type="Self.TblJournalLineCatBreakdown" Multiplicity="*" />
  6261. <ReferentialConstraint>
  6262. <Principal Role="TblJournalLines">
  6263. <PropertyRef Name="OID" />
  6264. </Principal>
  6265. <Dependent Role="TblJournalLineCatBreakdown">
  6266. <PropertyRef Name="JournalLine" />
  6267. </Dependent>
  6268. </ReferentialConstraint>
  6269. </Association>
  6270. <Association Name="FK_TblJournalLines_Debtor">
  6271. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6272. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="*" />
  6273. <ReferentialConstraint>
  6274. <Principal Role="TblDebtor">
  6275. <PropertyRef Name="OID" />
  6276. </Principal>
  6277. <Dependent Role="TblJournalLines">
  6278. <PropertyRef Name="Debtor" />
  6279. </Dependent>
  6280. </ReferentialConstraint>
  6281. </Association>
  6282. <Association Name="FK_TblJournalLines_JournalBatch">
  6283. <End Role="TblJournalBatch" Type="Self.TblJournalBatch" Multiplicity="0..1" />
  6284. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="*" />
  6285. <ReferentialConstraint>
  6286. <Principal Role="TblJournalBatch">
  6287. <PropertyRef Name="OID" />
  6288. </Principal>
  6289. <Dependent Role="TblJournalLines">
  6290. <PropertyRef Name="JournalBatch" />
  6291. </Dependent>
  6292. </ReferentialConstraint>
  6293. </Association>
  6294. <Association Name="FK_TblJournalLines_LineTransactionType">
  6295. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  6296. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="*" />
  6297. <ReferentialConstraint>
  6298. <Principal Role="TblDebtorTranTypes">
  6299. <PropertyRef Name="OID" />
  6300. </Principal>
  6301. <Dependent Role="TblJournalLines">
  6302. <PropertyRef Name="LineTransactionType" />
  6303. </Dependent>
  6304. </ReferentialConstraint>
  6305. </Association>
  6306. <Association Name="FK_TblJournalLines_PayType">
  6307. <End Role="TblPaymentTypes" Type="Self.TblPaymentTypes" Multiplicity="0..1" />
  6308. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="*" />
  6309. <ReferentialConstraint>
  6310. <Principal Role="TblPaymentTypes">
  6311. <PropertyRef Name="OID" />
  6312. </Principal>
  6313. <Dependent Role="TblJournalLines">
  6314. <PropertyRef Name="PayType" />
  6315. </Dependent>
  6316. </ReferentialConstraint>
  6317. </Association>
  6318. <Association Name="FK_TblJournalLineTransactions_JournalLine">
  6319. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="0..1" />
  6320. <End Role="TblJournalLineTransactions" Type="Self.TblJournalLineTransactions" Multiplicity="*" />
  6321. <ReferentialConstraint>
  6322. <Principal Role="TblJournalLines">
  6323. <PropertyRef Name="OID" />
  6324. </Principal>
  6325. <Dependent Role="TblJournalLineTransactions">
  6326. <PropertyRef Name="JournalLine" />
  6327. </Dependent>
  6328. </ReferentialConstraint>
  6329. </Association>
  6330. <Association Name="FK_TblJournalLineTransactions_NonReverseTranTypes">
  6331. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  6332. <End Role="TblJournalLineTransactions" Type="Self.TblJournalLineTransactions" Multiplicity="*" />
  6333. <ReferentialConstraint>
  6334. <Principal Role="TblDebtorTranTypes">
  6335. <PropertyRef Name="OID" />
  6336. </Principal>
  6337. <Dependent Role="TblJournalLineTransactions">
  6338. <PropertyRef Name="NonReverseTranTypes" />
  6339. </Dependent>
  6340. </ReferentialConstraint>
  6341. </Association>
  6342. <Association Name="FK_TblJournalLineTransactions_OriginalTransaction">
  6343. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="0..1" />
  6344. <End Role="TblJournalLineTransactions" Type="Self.TblJournalLineTransactions" Multiplicity="*" />
  6345. <ReferentialConstraint>
  6346. <Principal Role="TblDebtorTransactions">
  6347. <PropertyRef Name="OID" />
  6348. </Principal>
  6349. <Dependent Role="TblJournalLineTransactions">
  6350. <PropertyRef Name="OriginalTransaction" />
  6351. </Dependent>
  6352. </ReferentialConstraint>
  6353. </Association>
  6354. <Association Name="FK_TblJournalLineTransactions_TranType">
  6355. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  6356. <End Role="TblJournalLineTransactions" Type="Self.TblJournalLineTransactions" Multiplicity="*" />
  6357. <ReferentialConstraint>
  6358. <Principal Role="TblDebtorTranTypes">
  6359. <PropertyRef Name="OID" />
  6360. </Principal>
  6361. <Dependent Role="TblJournalLineTransactions">
  6362. <PropertyRef Name="TranType" />
  6363. </Dependent>
  6364. </ReferentialConstraint>
  6365. </Association>
  6366. <Association Name="FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction">
  6367. <End Role="TblJournalLineTransactions" Type="Self.TblJournalLineTransactions" Multiplicity="0..1" />
  6368. <End Role="TblJournalLineTransactionsCatBreakdown" Type="Self.TblJournalLineTransactionsCatBreakdown" Multiplicity="*" />
  6369. <ReferentialConstraint>
  6370. <Principal Role="TblJournalLineTransactions">
  6371. <PropertyRef Name="OID" />
  6372. </Principal>
  6373. <Dependent Role="TblJournalLineTransactionsCatBreakdown">
  6374. <PropertyRef Name="JournalLineTransaction" />
  6375. </Dependent>
  6376. </ReferentialConstraint>
  6377. </Association>
  6378. <Association Name="FK_TblLeadFeedback_Feedback">
  6379. <End Role="TblFeedbackType" Type="Self.TblFeedbackType" Multiplicity="0..1" />
  6380. <End Role="TblLeadFeedback" Type="Self.TblLeadFeedback" Multiplicity="*" />
  6381. <ReferentialConstraint>
  6382. <Principal Role="TblFeedbackType">
  6383. <PropertyRef Name="OID" />
  6384. </Principal>
  6385. <Dependent Role="TblLeadFeedback">
  6386. <PropertyRef Name="Feedback" />
  6387. </Dependent>
  6388. </ReferentialConstraint>
  6389. </Association>
  6390. <Association Name="FK_TblLeadFeedback_Telemarketer">
  6391. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6392. <End Role="TblLeadFeedback" Type="Self.TblLeadFeedback" Multiplicity="*" />
  6393. <ReferentialConstraint>
  6394. <Principal Role="TblPersonnel">
  6395. <PropertyRef Name="PersonnelCode" />
  6396. </Principal>
  6397. <Dependent Role="TblLeadFeedback">
  6398. <PropertyRef Name="Telemarketer" />
  6399. </Dependent>
  6400. </ReferentialConstraint>
  6401. </Association>
  6402. <Association Name="FK_TblLeadFeedback_TFGLeadsKey">
  6403. <End Role="TblTFGLeads" Type="Self.TblTFGLeads" Multiplicity="0..1" />
  6404. <End Role="TblLeadFeedback" Type="Self.TblLeadFeedback" Multiplicity="*" />
  6405. <ReferentialConstraint>
  6406. <Principal Role="TblTFGLeads">
  6407. <PropertyRef Name="OID" />
  6408. </Principal>
  6409. <Dependent Role="TblLeadFeedback">
  6410. <PropertyRef Name="TFGLeadsKey" />
  6411. </Dependent>
  6412. </ReferentialConstraint>
  6413. </Association>
  6414. <Association Name="FK_TblLeads_Ethnicity">
  6415. <End Role="TblEthnicity" Type="Self.TblEthnicity" Multiplicity="0..1" />
  6416. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6417. <ReferentialConstraint>
  6418. <Principal Role="TblEthnicity">
  6419. <PropertyRef Name="OID" />
  6420. </Principal>
  6421. <Dependent Role="TblLeads">
  6422. <PropertyRef Name="Ethnicity" />
  6423. </Dependent>
  6424. </ReferentialConstraint>
  6425. </Association>
  6426. <Association Name="FK_TblLeads_ImportSource">
  6427. <End Role="TblImportSource" Type="Self.TblImportSource" Multiplicity="0..1" />
  6428. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6429. <ReferentialConstraint>
  6430. <Principal Role="TblImportSource">
  6431. <PropertyRef Name="OID" />
  6432. </Principal>
  6433. <Dependent Role="TblLeads">
  6434. <PropertyRef Name="ImportSource" />
  6435. </Dependent>
  6436. </ReferentialConstraint>
  6437. </Association>
  6438. <Association Name="FK_TblLeads_IncomeGroup">
  6439. <End Role="TblIncomeBracket" Type="Self.TblIncomeBracket" Multiplicity="0..1" />
  6440. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6441. <ReferentialConstraint>
  6442. <Principal Role="TblIncomeBracket">
  6443. <PropertyRef Name="OID" />
  6444. </Principal>
  6445. <Dependent Role="TblLeads">
  6446. <PropertyRef Name="IncomeGroup" />
  6447. </Dependent>
  6448. </ReferentialConstraint>
  6449. </Association>
  6450. <Association Name="FK_TblLeads_SpouseTitle">
  6451. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  6452. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6453. <ReferentialConstraint>
  6454. <Principal Role="Titles">
  6455. <PropertyRef Name="Title" />
  6456. </Principal>
  6457. <Dependent Role="TblLeads">
  6458. <PropertyRef Name="SpouseTitle" />
  6459. </Dependent>
  6460. </ReferentialConstraint>
  6461. </Association>
  6462. <Association Name="FK_TblLeads_TimeOffNonVoucherNumber">
  6463. <End Role="TblTimeOffNoVouchers" Type="Self.TblTimeOffNoVouchers" Multiplicity="0..1" />
  6464. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6465. <ReferentialConstraint>
  6466. <Principal Role="TblTimeOffNoVouchers">
  6467. <PropertyRef Name="OID" />
  6468. </Principal>
  6469. <Dependent Role="TblLeads">
  6470. <PropertyRef Name="TimeOffNonVoucherNumber" />
  6471. </Dependent>
  6472. </ReferentialConstraint>
  6473. </Association>
  6474. <Association Name="FK_TblLeads_TimeOffVoucherNumber">
  6475. <End Role="TblTimeOffVouchers" Type="Self.TblTimeOffVouchers" Multiplicity="0..1" />
  6476. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6477. <ReferentialConstraint>
  6478. <Principal Role="TblTimeOffVouchers">
  6479. <PropertyRef Name="OID" />
  6480. </Principal>
  6481. <Dependent Role="TblLeads">
  6482. <PropertyRef Name="TimeOffVoucherNumber" />
  6483. </Dependent>
  6484. </ReferentialConstraint>
  6485. </Association>
  6486. <Association Name="FK_TblLeads_Title">
  6487. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  6488. <End Role="TblLeads" Type="Self.TblLeads" Multiplicity="*" />
  6489. <ReferentialConstraint>
  6490. <Principal Role="Titles">
  6491. <PropertyRef Name="Title" />
  6492. </Principal>
  6493. <Dependent Role="TblLeads">
  6494. <PropertyRef Name="Title" />
  6495. </Dependent>
  6496. </ReferentialConstraint>
  6497. </Association>
  6498. <Association Name="FK_TblLeadsCallHistory_Podmanager">
  6499. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6500. <End Role="TblLeadsCallHistory" Type="Self.TblLeadsCallHistory" Multiplicity="*" />
  6501. <ReferentialConstraint>
  6502. <Principal Role="TblPersonnel">
  6503. <PropertyRef Name="PersonnelCode" />
  6504. </Principal>
  6505. <Dependent Role="TblLeadsCallHistory">
  6506. <PropertyRef Name="Podmanager" />
  6507. </Dependent>
  6508. </ReferentialConstraint>
  6509. </Association>
  6510. <Association Name="FK_TblLeadsCallHistory_Telemarketer">
  6511. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6512. <End Role="TblLeadsCallHistory" Type="Self.TblLeadsCallHistory" Multiplicity="*" />
  6513. <ReferentialConstraint>
  6514. <Principal Role="TblPersonnel">
  6515. <PropertyRef Name="PersonnelCode" />
  6516. </Principal>
  6517. <Dependent Role="TblLeadsCallHistory">
  6518. <PropertyRef Name="Telemarketer" />
  6519. </Dependent>
  6520. </ReferentialConstraint>
  6521. </Association>
  6522. <Association Name="FK_TblLeadsCallHistory_TelemarketerOffice">
  6523. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="0..1" />
  6524. <End Role="TblLeadsCallHistory" Type="Self.TblLeadsCallHistory" Multiplicity="*" />
  6525. <ReferentialConstraint>
  6526. <Principal Role="TblTelemarketerOffice">
  6527. <PropertyRef Name="OID" />
  6528. </Principal>
  6529. <Dependent Role="TblLeadsCallHistory">
  6530. <PropertyRef Name="TelemarketerOffice" />
  6531. </Dependent>
  6532. </ReferentialConstraint>
  6533. </Association>
  6534. <Association Name="FK_TblManagementFeeInstalments_Debtor">
  6535. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6536. <End Role="TblManagementFeeInstalments" Type="Self.TblManagementFeeInstalments" Multiplicity="*" />
  6537. <ReferentialConstraint>
  6538. <Principal Role="TblDebtor">
  6539. <PropertyRef Name="OID" />
  6540. </Principal>
  6541. <Dependent Role="TblManagementFeeInstalments">
  6542. <PropertyRef Name="Debtor" />
  6543. </Dependent>
  6544. </ReferentialConstraint>
  6545. </Association>
  6546. <Association Name="FK_TblManagementFeeOverride_Debtor">
  6547. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6548. <End Role="TblManagementFeeOverride" Type="Self.TblManagementFeeOverride" Multiplicity="*" />
  6549. <ReferentialConstraint>
  6550. <Principal Role="TblDebtor">
  6551. <PropertyRef Name="OID" />
  6552. </Principal>
  6553. <Dependent Role="TblManagementFeeOverride">
  6554. <PropertyRef Name="Debtor" />
  6555. </Dependent>
  6556. </ReferentialConstraint>
  6557. </Association>
  6558. <Association Name="FK_TblManagementFeeOverride_PaymentType">
  6559. <End Role="TblPaymentTypes" Type="Self.TblPaymentTypes" Multiplicity="0..1" />
  6560. <End Role="TblManagementFeeOverride" Type="Self.TblManagementFeeOverride" Multiplicity="*" />
  6561. <ReferentialConstraint>
  6562. <Principal Role="TblPaymentTypes">
  6563. <PropertyRef Name="OID" />
  6564. </Principal>
  6565. <Dependent Role="TblManagementFeeOverride">
  6566. <PropertyRef Name="PaymentType" />
  6567. </Dependent>
  6568. </ReferentialConstraint>
  6569. </Association>
  6570. <Association Name="FK_TblManagementFeesDocuments_Debtor">
  6571. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6572. <End Role="TblManagementFeesDocuments" Type="Self.TblManagementFeesDocuments" Multiplicity="*" />
  6573. <ReferentialConstraint>
  6574. <Principal Role="TblDebtor">
  6575. <PropertyRef Name="OID" />
  6576. </Principal>
  6577. <Dependent Role="TblManagementFeesDocuments">
  6578. <PropertyRef Name="Debtor" />
  6579. </Dependent>
  6580. </ReferentialConstraint>
  6581. </Association>
  6582. <Association Name="FK_TblManagementFeesDocuments_DebtorOtherFeesDocument">
  6583. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6584. <End Role="TblManagementFeesDocuments" Type="Self.TblManagementFeesDocuments" Multiplicity="*" />
  6585. <ReferentialConstraint>
  6586. <Principal Role="TblDebtor">
  6587. <PropertyRef Name="OID" />
  6588. </Principal>
  6589. <Dependent Role="TblManagementFeesDocuments">
  6590. <PropertyRef Name="DebtorOtherFeesDocument" />
  6591. </Dependent>
  6592. </ReferentialConstraint>
  6593. </Association>
  6594. <Association Name="FK_TblManagementFeesToAdjust_DebtorTransaction">
  6595. <End Role="TblDebtorTransactions" Type="Self.TblDebtorTransactions" Multiplicity="0..1" />
  6596. <End Role="TblManagementFeesToAdjust" Type="Self.TblManagementFeesToAdjust" Multiplicity="*" />
  6597. <ReferentialConstraint>
  6598. <Principal Role="TblDebtorTransactions">
  6599. <PropertyRef Name="OID" />
  6600. </Principal>
  6601. <Dependent Role="TblManagementFeesToAdjust">
  6602. <PropertyRef Name="DebtorTransaction" />
  6603. </Dependent>
  6604. </ReferentialConstraint>
  6605. </Association>
  6606. <Association Name="FK_TblManagementFeesToAdjust_Resort">
  6607. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  6608. <End Role="TblManagementFeesToAdjust" Type="Self.TblManagementFeesToAdjust" Multiplicity="*" />
  6609. <ReferentialConstraint>
  6610. <Principal Role="TblResort">
  6611. <PropertyRef Name="OID" />
  6612. </Principal>
  6613. <Dependent Role="TblManagementFeesToAdjust">
  6614. <PropertyRef Name="Resort" />
  6615. </Dependent>
  6616. </ReferentialConstraint>
  6617. </Association>
  6618. <Association Name="FK_TblMarketingCampaignResort_Campaign">
  6619. <End Role="TblMarketingCampaign" Type="Self.TblMarketingCampaign" Multiplicity="0..1" />
  6620. <End Role="TblMarketingCampaignResort" Type="Self.TblMarketingCampaignResort" Multiplicity="*" />
  6621. <ReferentialConstraint>
  6622. <Principal Role="TblMarketingCampaign">
  6623. <PropertyRef Name="OID" />
  6624. </Principal>
  6625. <Dependent Role="TblMarketingCampaignResort">
  6626. <PropertyRef Name="Campaign" />
  6627. </Dependent>
  6628. </ReferentialConstraint>
  6629. </Association>
  6630. <Association Name="FK_TblMarketingCampaignResort_Resort">
  6631. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  6632. <End Role="TblMarketingCampaignResort" Type="Self.TblMarketingCampaignResort" Multiplicity="*" />
  6633. <ReferentialConstraint>
  6634. <Principal Role="TblResort">
  6635. <PropertyRef Name="OID" />
  6636. </Principal>
  6637. <Dependent Role="TblMarketingCampaignResort">
  6638. <PropertyRef Name="Resort" />
  6639. </Dependent>
  6640. </ReferentialConstraint>
  6641. </Association>
  6642. <Association Name="FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup">
  6643. <End Role="TblMessageCode" Type="Self.TblMessageCode" Multiplicity="0..1" />
  6644. <End Role="TblMessageCodeMessageGroup_MessageCodeGroupGroup" Type="Self.TblMessageCodeMessageGroup_MessageCodeGroupGroup" Multiplicity="*" />
  6645. <ReferentialConstraint>
  6646. <Principal Role="TblMessageCode">
  6647. <PropertyRef Name="OID" />
  6648. </Principal>
  6649. <Dependent Role="TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  6650. <PropertyRef Name="MessageGroup" />
  6651. </Dependent>
  6652. </ReferentialConstraint>
  6653. </Association>
  6654. <Association Name="FK_TblOldImportSource_ImportSource">
  6655. <End Role="TblImportSource" Type="Self.TblImportSource" Multiplicity="0..1" />
  6656. <End Role="TblOldImportSource" Type="Self.TblOldImportSource" Multiplicity="*" />
  6657. <ReferentialConstraint>
  6658. <Principal Role="TblImportSource">
  6659. <PropertyRef Name="OID" />
  6660. </Principal>
  6661. <Dependent Role="TblOldImportSource">
  6662. <PropertyRef Name="ImportSource" />
  6663. </Dependent>
  6664. </ReferentialConstraint>
  6665. </Association>
  6666. <Association Name="FK_TblOverrideAudit_OverrideUser">
  6667. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6668. <End Role="TblOverrideAudit" Type="Self.TblOverrideAudit" Multiplicity="*" />
  6669. <ReferentialConstraint>
  6670. <Principal Role="TblPersonnel">
  6671. <PropertyRef Name="PersonnelCode" />
  6672. </Principal>
  6673. <Dependent Role="TblOverrideAudit">
  6674. <PropertyRef Name="OverrideUser" />
  6675. </Dependent>
  6676. </ReferentialConstraint>
  6677. </Association>
  6678. <Association Name="FK_TblOverrideAudit_Portfolio">
  6679. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  6680. <End Role="TblOverrideAudit" Type="Self.TblOverrideAudit" Multiplicity="*" />
  6681. <ReferentialConstraint>
  6682. <Principal Role="TblPortfolio">
  6683. <PropertyRef Name="OID" />
  6684. </Principal>
  6685. <Dependent Role="TblOverrideAudit">
  6686. <PropertyRef Name="Portfolio" />
  6687. </Dependent>
  6688. </ReferentialConstraint>
  6689. </Association>
  6690. <Association Name="FK_TblOverrideAudit_TransfigurationsKey">
  6691. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="0..1" />
  6692. <End Role="TblOverrideAudit" Type="Self.TblOverrideAudit" Multiplicity="*" />
  6693. <ReferentialConstraint>
  6694. <Principal Role="Transfigurations">
  6695. <PropertyRef Name="OID" />
  6696. </Principal>
  6697. <Dependent Role="TblOverrideAudit">
  6698. <PropertyRef Name="TransfigurationsKey" />
  6699. </Dependent>
  6700. </ReferentialConstraint>
  6701. </Association>
  6702. <Association Name="FK_TblPaymentPlan_Debtor">
  6703. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  6704. <End Role="TblPaymentPlan" Type="Self.TblPaymentPlan" Multiplicity="*" />
  6705. <ReferentialConstraint>
  6706. <Principal Role="TblDebtor">
  6707. <PropertyRef Name="OID" />
  6708. </Principal>
  6709. <Dependent Role="TblPaymentPlan">
  6710. <PropertyRef Name="Debtor" />
  6711. </Dependent>
  6712. </ReferentialConstraint>
  6713. </Association>
  6714. <Association Name="FK_TblPaymentPlan_PaymentType">
  6715. <End Role="TblPaymentTypes" Type="Self.TblPaymentTypes" Multiplicity="0..1" />
  6716. <End Role="TblPaymentPlan" Type="Self.TblPaymentPlan" Multiplicity="*" />
  6717. <ReferentialConstraint>
  6718. <Principal Role="TblPaymentTypes">
  6719. <PropertyRef Name="OID" />
  6720. </Principal>
  6721. <Dependent Role="TblPaymentPlan">
  6722. <PropertyRef Name="PaymentType" />
  6723. </Dependent>
  6724. </ReferentialConstraint>
  6725. </Association>
  6726. <Association Name="FK_TblPaymentPlan_TransactionType">
  6727. <End Role="TblDebtorTranTypes" Type="Self.TblDebtorTranTypes" Multiplicity="0..1" />
  6728. <End Role="TblPaymentPlan" Type="Self.TblPaymentPlan" Multiplicity="*" />
  6729. <ReferentialConstraint>
  6730. <Principal Role="TblDebtorTranTypes">
  6731. <PropertyRef Name="OID" />
  6732. </Principal>
  6733. <Dependent Role="TblPaymentPlan">
  6734. <PropertyRef Name="TransactionType" />
  6735. </Dependent>
  6736. </ReferentialConstraint>
  6737. </Association>
  6738. <Association Name="FK_TblPersonnel_CommissionLinkedTo">
  6739. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6740. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6741. <ReferentialConstraint>
  6742. <Principal Role="TblPersonnel">
  6743. <PropertyRef Name="PersonnelCode" />
  6744. </Principal>
  6745. <Dependent Role="TblPersonnel1">
  6746. <PropertyRef Name="CommissionLinkedTo" />
  6747. </Dependent>
  6748. </ReferentialConstraint>
  6749. </Association>
  6750. <Association Name="FK_TblPersonnel_Department">
  6751. <End Role="TblDepartment" Type="Self.TblDepartment" Multiplicity="0..1" />
  6752. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6753. <ReferentialConstraint>
  6754. <Principal Role="TblDepartment">
  6755. <PropertyRef Name="DepartmentCode" />
  6756. </Principal>
  6757. <Dependent Role="TblPersonnel">
  6758. <PropertyRef Name="Department" />
  6759. </Dependent>
  6760. </ReferentialConstraint>
  6761. </Association>
  6762. <Association Name="FK_TblPersonnel_Manager">
  6763. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6764. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6765. <ReferentialConstraint>
  6766. <Principal Role="TblPersonnel">
  6767. <PropertyRef Name="PersonnelCode" />
  6768. </Principal>
  6769. <Dependent Role="TblPersonnel1">
  6770. <PropertyRef Name="ReportsTo" />
  6771. </Dependent>
  6772. </ReferentialConstraint>
  6773. </Association>
  6774. <Association Name="FK_TblPersonnel_NewCommStructure">
  6775. <End Role="TblTMCommStructure" Type="Self.TblTMCommStructure" Multiplicity="0..1" />
  6776. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6777. <ReferentialConstraint>
  6778. <Principal Role="TblTMCommStructure">
  6779. <PropertyRef Name="OID" />
  6780. </Principal>
  6781. <Dependent Role="TblPersonnel">
  6782. <PropertyRef Name="NewCommStructure" />
  6783. </Dependent>
  6784. </ReferentialConstraint>
  6785. </Association>
  6786. <Association Name="FK_TblPersonnel_PAAss">
  6787. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6788. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6789. <ReferentialConstraint>
  6790. <Principal Role="TblPersonnel">
  6791. <PropertyRef Name="PersonnelCode" />
  6792. </Principal>
  6793. <Dependent Role="TblPersonnel1">
  6794. <PropertyRef Name="PAAss" />
  6795. </Dependent>
  6796. </ReferentialConstraint>
  6797. </Association>
  6798. <Association Name="FK_TblPersonnel_PitchedLeadsReportVenue">
  6799. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  6800. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6801. <ReferentialConstraint>
  6802. <Principal Role="TblSalesVenue">
  6803. <PropertyRef Name="OID" />
  6804. </Principal>
  6805. <Dependent Role="TblPersonnel">
  6806. <PropertyRef Name="PitchedLeadsReportVenue" />
  6807. </Dependent>
  6808. </ReferentialConstraint>
  6809. </Association>
  6810. <Association Name="FK_TblPersonnel_PrimarySalesDeck">
  6811. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  6812. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6813. <ReferentialConstraint>
  6814. <Principal Role="TblSalesVenue">
  6815. <PropertyRef Name="OID" />
  6816. </Principal>
  6817. <Dependent Role="TblPersonnel">
  6818. <PropertyRef Name="PrimarySalesDeck" />
  6819. </Dependent>
  6820. </ReferentialConstraint>
  6821. </Association>
  6822. <Association Name="FK_TblPersonnel_RegionalSalesManager">
  6823. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6824. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6825. <ReferentialConstraint>
  6826. <Principal Role="TblPersonnel">
  6827. <PropertyRef Name="PersonnelCode" />
  6828. </Principal>
  6829. <Dependent Role="TblPersonnel1">
  6830. <PropertyRef Name="RegionalSalesManager" />
  6831. </Dependent>
  6832. </ReferentialConstraint>
  6833. </Association>
  6834. <Association Name="FK_TblPersonnel_SalesCommissionEquityCategory">
  6835. <End Role="TblSalesCommissionEquity" Type="Self.TblSalesCommissionEquity" Multiplicity="0..1" />
  6836. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6837. <ReferentialConstraint>
  6838. <Principal Role="TblSalesCommissionEquity">
  6839. <PropertyRef Name="Oid" />
  6840. </Principal>
  6841. <Dependent Role="TblPersonnel">
  6842. <PropertyRef Name="SalesCommissionEquityCategory" />
  6843. </Dependent>
  6844. </ReferentialConstraint>
  6845. </Association>
  6846. <Association Name="FK_TblPersonnel_SalesCommissionStructure">
  6847. <End Role="TblSalesCommissionPercentages" Type="Self.TblSalesCommissionPercentages" Multiplicity="0..1" />
  6848. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6849. <ReferentialConstraint>
  6850. <Principal Role="TblSalesCommissionPercentages">
  6851. <PropertyRef Name="Oid" />
  6852. </Principal>
  6853. <Dependent Role="TblPersonnel">
  6854. <PropertyRef Name="SalesCommissionStructure" />
  6855. </Dependent>
  6856. </ReferentialConstraint>
  6857. </Association>
  6858. <Association Name="FK_TblPersonnel_SalesManager">
  6859. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6860. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6861. <ReferentialConstraint>
  6862. <Principal Role="TblPersonnel">
  6863. <PropertyRef Name="PersonnelCode" />
  6864. </Principal>
  6865. <Dependent Role="TblPersonnel1">
  6866. <PropertyRef Name="SalesManager" />
  6867. </Dependent>
  6868. </ReferentialConstraint>
  6869. </Association>
  6870. <Association Name="FK_TblPersonnel_SCVStructure">
  6871. <End Role="TblSCV2CommissionStructure" Type="Self.TblSCV2CommissionStructure" Multiplicity="0..1" />
  6872. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6873. <ReferentialConstraint>
  6874. <Principal Role="TblSCV2CommissionStructure">
  6875. <PropertyRef Name="Oid" />
  6876. </Principal>
  6877. <Dependent Role="TblPersonnel">
  6878. <PropertyRef Name="SCVStructure" />
  6879. </Dependent>
  6880. </ReferentialConstraint>
  6881. </Association>
  6882. <Association Name="FK_TblPersonnel_SMI">
  6883. <End Role="TblSMIIncentive" Type="Self.TblSMIIncentive" Multiplicity="0..1" />
  6884. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6885. <ReferentialConstraint>
  6886. <Principal Role="TblSMIIncentive">
  6887. <PropertyRef Name="Oid" />
  6888. </Principal>
  6889. <Dependent Role="TblPersonnel">
  6890. <PropertyRef Name="SMI" />
  6891. </Dependent>
  6892. </ReferentialConstraint>
  6893. </Association>
  6894. <Association Name="FK_TblPersonnel_Supervisor">
  6895. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6896. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6897. <ReferentialConstraint>
  6898. <Principal Role="TblPersonnel">
  6899. <PropertyRef Name="PersonnelCode" />
  6900. </Principal>
  6901. <Dependent Role="TblPersonnel1">
  6902. <PropertyRef Name="Supervisor" />
  6903. </Dependent>
  6904. </ReferentialConstraint>
  6905. </Association>
  6906. <Association Name="FK_TblPersonnel_TelemarketerOffice">
  6907. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="0..1" />
  6908. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6909. <ReferentialConstraint>
  6910. <Principal Role="TblTelemarketerOffice">
  6911. <PropertyRef Name="OID" />
  6912. </Principal>
  6913. <Dependent Role="TblPersonnel">
  6914. <PropertyRef Name="TelemarketerOffice" />
  6915. </Dependent>
  6916. </ReferentialConstraint>
  6917. </Association>
  6918. <Association Name="FK_TblPersonnel_Title">
  6919. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  6920. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="*" />
  6921. <ReferentialConstraint>
  6922. <Principal Role="Titles">
  6923. <PropertyRef Name="Title" />
  6924. </Principal>
  6925. <Dependent Role="TblPersonnel">
  6926. <PropertyRef Name="Title" />
  6927. </Dependent>
  6928. </ReferentialConstraint>
  6929. </Association>
  6930. <Association Name="FK_TblPersonnel_TrainingManager">
  6931. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6932. <End Role="TblPersonnel1" Type="Self.TblPersonnel" Multiplicity="*" />
  6933. <ReferentialConstraint>
  6934. <Principal Role="TblPersonnel">
  6935. <PropertyRef Name="PersonnelCode" />
  6936. </Principal>
  6937. <Dependent Role="TblPersonnel1">
  6938. <PropertyRef Name="TrainingManager" />
  6939. </Dependent>
  6940. </ReferentialConstraint>
  6941. </Association>
  6942. <Association Name="FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants">
  6943. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6944. <End Role="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" Type="Self.TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" Multiplicity="*" />
  6945. <ReferentialConstraint>
  6946. <Principal Role="TblPersonnel">
  6947. <PropertyRef Name="PersonnelCode" />
  6948. </Principal>
  6949. <Dependent Role="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  6950. <PropertyRef Name="BCCRecipiants" />
  6951. </Dependent>
  6952. </ReferentialConstraint>
  6953. </Association>
  6954. <Association Name="FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants">
  6955. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6956. <End Role="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" Type="Self.TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" Multiplicity="*" />
  6957. <ReferentialConstraint>
  6958. <Principal Role="TblPersonnel">
  6959. <PropertyRef Name="PersonnelCode" />
  6960. </Principal>
  6961. <Dependent Role="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  6962. <PropertyRef Name="CCRecipiants" />
  6963. </Dependent>
  6964. </ReferentialConstraint>
  6965. </Association>
  6966. <Association Name="FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel">
  6967. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6968. <End Role="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" Type="Self.TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" Multiplicity="*" />
  6969. <ReferentialConstraint>
  6970. <Principal Role="TblPersonnel">
  6971. <PropertyRef Name="PersonnelCode" />
  6972. </Principal>
  6973. <Dependent Role="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  6974. <PropertyRef Name="CheckingPersonnel" />
  6975. </Dependent>
  6976. </ReferentialConstraint>
  6977. </Association>
  6978. <Association Name="FK_TblPersonnelDocuments_PersonnelCode">
  6979. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6980. <End Role="TblPersonnelDocuments" Type="Self.TblPersonnelDocuments" Multiplicity="*" />
  6981. <ReferentialConstraint>
  6982. <Principal Role="TblPersonnel">
  6983. <PropertyRef Name="PersonnelCode" />
  6984. </Principal>
  6985. <Dependent Role="TblPersonnelDocuments">
  6986. <PropertyRef Name="PersonnelCode" />
  6987. </Dependent>
  6988. </ReferentialConstraint>
  6989. </Association>
  6990. <Association Name="FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants">
  6991. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  6992. <End Role="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" Type="Self.TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" Multiplicity="*" />
  6993. <ReferentialConstraint>
  6994. <Principal Role="TblPersonnel">
  6995. <PropertyRef Name="PersonnelCode" />
  6996. </Principal>
  6997. <Dependent Role="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  6998. <PropertyRef Name="ExpertEmailRecipiants" />
  6999. </Dependent>
  7000. </ReferentialConstraint>
  7001. </Association>
  7002. <Association Name="FK_TblPersonnelImportSource_ImportSource">
  7003. <End Role="TblImportSource" Type="Self.TblImportSource" Multiplicity="0..1" />
  7004. <End Role="TblPersonnelImportSource" Type="Self.TblPersonnelImportSource" Multiplicity="*" />
  7005. <ReferentialConstraint>
  7006. <Principal Role="TblImportSource">
  7007. <PropertyRef Name="OID" />
  7008. </Principal>
  7009. <Dependent Role="TblPersonnelImportSource">
  7010. <PropertyRef Name="ImportSource" />
  7011. </Dependent>
  7012. </ReferentialConstraint>
  7013. </Association>
  7014. <Association Name="FK_TblPersonnelImportSource_PersonnelCode">
  7015. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7016. <End Role="TblPersonnelImportSource" Type="Self.TblPersonnelImportSource" Multiplicity="*" />
  7017. <ReferentialConstraint>
  7018. <Principal Role="TblPersonnel">
  7019. <PropertyRef Name="PersonnelCode" />
  7020. </Principal>
  7021. <Dependent Role="TblPersonnelImportSource">
  7022. <PropertyRef Name="PersonnelCode" />
  7023. </Dependent>
  7024. </ReferentialConstraint>
  7025. </Association>
  7026. <Association Name="FK_TblPersonnelLeave_PersonnelCode">
  7027. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7028. <End Role="TblPersonnelLeave" Type="Self.TblPersonnelLeave" Multiplicity="*" />
  7029. <ReferentialConstraint>
  7030. <Principal Role="TblPersonnel">
  7031. <PropertyRef Name="PersonnelCode" />
  7032. </Principal>
  7033. <Dependent Role="TblPersonnelLeave">
  7034. <PropertyRef Name="PersonnelCode" />
  7035. </Dependent>
  7036. </ReferentialConstraint>
  7037. </Association>
  7038. <Association Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource">
  7039. <End Role="TblImportSource" Type="Self.TblImportSource" Multiplicity="0..1" />
  7040. <End Role="TblPersonnelPersonnel_TblImportSourceImportSource" Type="Self.TblPersonnelPersonnel_TblImportSourceImportSource" Multiplicity="*" />
  7041. <ReferentialConstraint>
  7042. <Principal Role="TblImportSource">
  7043. <PropertyRef Name="OID" />
  7044. </Principal>
  7045. <Dependent Role="TblPersonnelPersonnel_TblImportSourceImportSource">
  7046. <PropertyRef Name="ImportSource" />
  7047. </Dependent>
  7048. </ReferentialConstraint>
  7049. </Association>
  7050. <Association Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel">
  7051. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7052. <End Role="TblPersonnelPersonnel_TblImportSourceImportSource" Type="Self.TblPersonnelPersonnel_TblImportSourceImportSource" Multiplicity="*" />
  7053. <ReferentialConstraint>
  7054. <Principal Role="TblPersonnel">
  7055. <PropertyRef Name="PersonnelCode" />
  7056. </Principal>
  7057. <Dependent Role="TblPersonnelPersonnel_TblImportSourceImportSource">
  7058. <PropertyRef Name="Personnel" />
  7059. </Dependent>
  7060. </ReferentialConstraint>
  7061. </Association>
  7062. <Association Name="FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed">
  7063. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7064. <End Role="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" Type="Self.TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" Multiplicity="*" />
  7065. <ReferentialConstraint>
  7066. <Principal Role="TblPersonnel">
  7067. <PropertyRef Name="PersonnelCode" />
  7068. </Principal>
  7069. <Dependent Role="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  7070. <PropertyRef Name="PersonnelAllowed" />
  7071. </Dependent>
  7072. </ReferentialConstraint>
  7073. </Association>
  7074. <Association Name="FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify">
  7075. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7076. <End Role="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" Type="Self.TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" Multiplicity="*" />
  7077. <ReferentialConstraint>
  7078. <Principal Role="TblPersonnel">
  7079. <PropertyRef Name="PersonnelCode" />
  7080. </Principal>
  7081. <Dependent Role="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  7082. <PropertyRef Name="PersonnelToNotify" />
  7083. </Dependent>
  7084. </ReferentialConstraint>
  7085. </Association>
  7086. <Association Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf">
  7087. <End Role="TblEmailRecipiants" Type="Self.TblEmailRecipiants" Multiplicity="0..1" />
  7088. <End Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Type="Self.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Multiplicity="*" />
  7089. <ReferentialConstraint>
  7090. <Principal Role="TblEmailRecipiants">
  7091. <PropertyRef Name="OID" />
  7092. </Principal>
  7093. <Dependent Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  7094. <PropertyRef Name="EmailRecipiantOf" />
  7095. </Dependent>
  7096. </ReferentialConstraint>
  7097. </Association>
  7098. <Association Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants">
  7099. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7100. <End Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Type="Self.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Multiplicity="*" />
  7101. <ReferentialConstraint>
  7102. <Principal Role="TblPersonnel">
  7103. <PropertyRef Name="PersonnelCode" />
  7104. </Principal>
  7105. <Dependent Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  7106. <PropertyRef Name="Recipiants" />
  7107. </Dependent>
  7108. </ReferentialConstraint>
  7109. </Association>
  7110. <Association Name="FK_TblPersonnelTelephone_PersonnelCode">
  7111. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7112. <End Role="TblPersonnelTelephone" Type="Self.TblPersonnelTelephone" Multiplicity="*" />
  7113. <ReferentialConstraint>
  7114. <Principal Role="TblPersonnel">
  7115. <PropertyRef Name="PersonnelCode" />
  7116. </Principal>
  7117. <Dependent Role="TblPersonnelTelephone">
  7118. <PropertyRef Name="PersonnelCode" />
  7119. </Dependent>
  7120. </ReferentialConstraint>
  7121. </Association>
  7122. <Association Name="FK_TblPersonnelTelephone_TelephoneType">
  7123. <End Role="TblTelephoneTypes" Type="Self.TblTelephoneTypes" Multiplicity="0..1" />
  7124. <End Role="TblPersonnelTelephone" Type="Self.TblPersonnelTelephone" Multiplicity="*" />
  7125. <ReferentialConstraint>
  7126. <Principal Role="TblTelephoneTypes">
  7127. <PropertyRef Name="OID" />
  7128. </Principal>
  7129. <Dependent Role="TblPersonnelTelephone">
  7130. <PropertyRef Name="TelephoneType" />
  7131. </Dependent>
  7132. </ReferentialConstraint>
  7133. </Association>
  7134. <Association Name="FK_TblPersonnelUnivateTarget_PersonnelCode">
  7135. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7136. <End Role="TblPersonnelUnivateTarget" Type="Self.TblPersonnelUnivateTarget" Multiplicity="*" />
  7137. <ReferentialConstraint>
  7138. <Principal Role="TblPersonnel">
  7139. <PropertyRef Name="PersonnelCode" />
  7140. </Principal>
  7141. <Dependent Role="TblPersonnelUnivateTarget">
  7142. <PropertyRef Name="PersonnelCode" />
  7143. </Dependent>
  7144. </ReferentialConstraint>
  7145. </Association>
  7146. <Association Name="FK_TblPersonnelUnivateTarget_SalesVenue">
  7147. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  7148. <End Role="TblPersonnelUnivateTarget" Type="Self.TblPersonnelUnivateTarget" Multiplicity="*" />
  7149. <ReferentialConstraint>
  7150. <Principal Role="TblSalesVenue">
  7151. <PropertyRef Name="OID" />
  7152. </Principal>
  7153. <Dependent Role="TblPersonnelUnivateTarget">
  7154. <PropertyRef Name="SalesVenue" />
  7155. </Dependent>
  7156. </ReferentialConstraint>
  7157. </Association>
  7158. <Association Name="FK_TblPersonnelWeeklyTargetSplit_Personnel">
  7159. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7160. <End Role="TblPersonnelWeeklyTargetSplit" Type="Self.TblPersonnelWeeklyTargetSplit" Multiplicity="*" />
  7161. <ReferentialConstraint>
  7162. <Principal Role="TblPersonnel">
  7163. <PropertyRef Name="PersonnelCode" />
  7164. </Principal>
  7165. <Dependent Role="TblPersonnelWeeklyTargetSplit">
  7166. <PropertyRef Name="Personnel" />
  7167. </Dependent>
  7168. </ReferentialConstraint>
  7169. </Association>
  7170. <Association Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel">
  7171. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7172. <End Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" Type="Self.TblPersonnelWeeklyTargetSplitPerSalesVenue" Multiplicity="*" />
  7173. <ReferentialConstraint>
  7174. <Principal Role="TblPersonnel">
  7175. <PropertyRef Name="PersonnelCode" />
  7176. </Principal>
  7177. <Dependent Role="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  7178. <PropertyRef Name="Personnel" />
  7179. </Dependent>
  7180. </ReferentialConstraint>
  7181. </Association>
  7182. <Association Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue">
  7183. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  7184. <End Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" Type="Self.TblPersonnelWeeklyTargetSplitPerSalesVenue" Multiplicity="*" />
  7185. <ReferentialConstraint>
  7186. <Principal Role="TblSalesVenue">
  7187. <PropertyRef Name="OID" />
  7188. </Principal>
  7189. <Dependent Role="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  7190. <PropertyRef Name="SalesVenue" />
  7191. </Dependent>
  7192. </ReferentialConstraint>
  7193. </Association>
  7194. <Association Name="FK_TblPersTransfig_TblPersonnellKey">
  7195. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7196. <End Role="TblPersTransfig" Type="Self.TblPersTransfig" Multiplicity="*" />
  7197. <ReferentialConstraint>
  7198. <Principal Role="TblPersonnel">
  7199. <PropertyRef Name="PersonnelCode" />
  7200. </Principal>
  7201. <Dependent Role="TblPersTransfig">
  7202. <PropertyRef Name="TblPersonnellKey" />
  7203. </Dependent>
  7204. </ReferentialConstraint>
  7205. </Association>
  7206. <Association Name="FK_TblPodManager_PersonnelCode">
  7207. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7208. <End Role="TblPodManager" Type="Self.TblPodManager" Multiplicity="*" />
  7209. <ReferentialConstraint>
  7210. <Principal Role="TblPersonnel">
  7211. <PropertyRef Name="PersonnelCode" />
  7212. </Principal>
  7213. <Dependent Role="TblPodManager">
  7214. <PropertyRef Name="PersonnelCode" />
  7215. </Dependent>
  7216. </ReferentialConstraint>
  7217. </Association>
  7218. <Association Name="FK_TblPortfolio_EstateLateSent">
  7219. <End Role="TblSACRRAData" Type="Self.TblSACRRAData" Multiplicity="0..1" />
  7220. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="*" />
  7221. <ReferentialConstraint>
  7222. <Principal Role="TblSACRRAData">
  7223. <PropertyRef Name="OID" />
  7224. </Principal>
  7225. <Dependent Role="TblPortfolio">
  7226. <PropertyRef Name="EstateLateSent" />
  7227. </Dependent>
  7228. </ReferentialConstraint>
  7229. </Association>
  7230. <Association Name="FK_TblPortfolio_EstateLateSpouseSent">
  7231. <End Role="TblSACRRAData" Type="Self.TblSACRRAData" Multiplicity="0..1" />
  7232. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="*" />
  7233. <ReferentialConstraint>
  7234. <Principal Role="TblSACRRAData">
  7235. <PropertyRef Name="OID" />
  7236. </Principal>
  7237. <Dependent Role="TblPortfolio">
  7238. <PropertyRef Name="EstateLateSpouseSent" />
  7239. </Dependent>
  7240. </ReferentialConstraint>
  7241. </Association>
  7242. <Association Name="FK_TblPortfolio_SpouseTitle">
  7243. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  7244. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="*" />
  7245. <ReferentialConstraint>
  7246. <Principal Role="Titles">
  7247. <PropertyRef Name="Title" />
  7248. </Principal>
  7249. <Dependent Role="TblPortfolio">
  7250. <PropertyRef Name="SpouseTitle" />
  7251. </Dependent>
  7252. </ReferentialConstraint>
  7253. </Association>
  7254. <Association Name="FK_TblPortfolio_Title">
  7255. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  7256. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="*" />
  7257. <ReferentialConstraint>
  7258. <Principal Role="Titles">
  7259. <PropertyRef Name="Title" />
  7260. </Principal>
  7261. <Dependent Role="TblPortfolio">
  7262. <PropertyRef Name="Title" />
  7263. </Dependent>
  7264. </ReferentialConstraint>
  7265. </Association>
  7266. <Association Name="FK_TblPortfolioDocuments_DocumentType">
  7267. <End Role="TblDocumentType" Type="Self.TblDocumentType" Multiplicity="0..1" />
  7268. <End Role="TblPortfolioDocuments" Type="Self.TblPortfolioDocuments" Multiplicity="*" />
  7269. <ReferentialConstraint>
  7270. <Principal Role="TblDocumentType">
  7271. <PropertyRef Name="OID" />
  7272. </Principal>
  7273. <Dependent Role="TblPortfolioDocuments">
  7274. <PropertyRef Name="DocumentType" />
  7275. </Dependent>
  7276. </ReferentialConstraint>
  7277. </Association>
  7278. <Association Name="FK_TblPortfolioDocuments_PortFolio">
  7279. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  7280. <End Role="TblPortfolioDocuments" Type="Self.TblPortfolioDocuments" Multiplicity="*" />
  7281. <ReferentialConstraint>
  7282. <Principal Role="TblPortfolio">
  7283. <PropertyRef Name="OID" />
  7284. </Principal>
  7285. <Dependent Role="TblPortfolioDocuments">
  7286. <PropertyRef Name="PortFolio" />
  7287. </Dependent>
  7288. </ReferentialConstraint>
  7289. </Association>
  7290. <Association Name="FK_TblPortfolioNotes_Debtor">
  7291. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7292. <End Role="TblPortfolioNotes" Type="Self.TblPortfolioNotes" Multiplicity="*" />
  7293. <ReferentialConstraint>
  7294. <Principal Role="TblDebtor">
  7295. <PropertyRef Name="OID" />
  7296. </Principal>
  7297. <Dependent Role="TblPortfolioNotes">
  7298. <PropertyRef Name="Debtor" />
  7299. </Dependent>
  7300. </ReferentialConstraint>
  7301. </Association>
  7302. <Association Name="FK_TblPortfolioNotes_DebtorBanking">
  7303. <End Role="TblDebtorBanking" Type="Self.TblDebtorBanking" Multiplicity="0..1" />
  7304. <End Role="TblPortfolioNotes" Type="Self.TblPortfolioNotes" Multiplicity="*" />
  7305. <ReferentialConstraint>
  7306. <Principal Role="TblDebtorBanking">
  7307. <PropertyRef Name="OID" />
  7308. </Principal>
  7309. <Dependent Role="TblPortfolioNotes">
  7310. <PropertyRef Name="DebtorBanking" />
  7311. </Dependent>
  7312. </ReferentialConstraint>
  7313. </Association>
  7314. <Association Name="FK_TblPortfolioNotes_MessageCode">
  7315. <End Role="TblMessageCode" Type="Self.TblMessageCode" Multiplicity="0..1" />
  7316. <End Role="TblPortfolioNotes" Type="Self.TblPortfolioNotes" Multiplicity="*" />
  7317. <ReferentialConstraint>
  7318. <Principal Role="TblMessageCode">
  7319. <PropertyRef Name="OID" />
  7320. </Principal>
  7321. <Dependent Role="TblPortfolioNotes">
  7322. <PropertyRef Name="MessageCode" />
  7323. </Dependent>
  7324. </ReferentialConstraint>
  7325. </Association>
  7326. <Association Name="FK_TblPortfolioNotes_Portfolio">
  7327. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  7328. <End Role="TblPortfolioNotes" Type="Self.TblPortfolioNotes" Multiplicity="*" />
  7329. <ReferentialConstraint>
  7330. <Principal Role="TblPortfolio">
  7331. <PropertyRef Name="OID" />
  7332. </Principal>
  7333. <Dependent Role="TblPortfolioNotes">
  7334. <PropertyRef Name="Portfolio" />
  7335. </Dependent>
  7336. </ReferentialConstraint>
  7337. </Association>
  7338. <Association Name="FK_TblPortfolioNotes_TblDebtor">
  7339. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7340. <End Role="TblPortfolioNotes" Type="Self.TblPortfolioNotes" Multiplicity="*" />
  7341. <ReferentialConstraint>
  7342. <Principal Role="TblDebtor">
  7343. <PropertyRef Name="OID" />
  7344. </Principal>
  7345. <Dependent Role="TblPortfolioNotes">
  7346. <PropertyRef Name="TblDebtor" />
  7347. </Dependent>
  7348. </ReferentialConstraint>
  7349. </Association>
  7350. <Association Name="FK_TblPortfolioNotes_TblPortfolio">
  7351. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  7352. <End Role="TblPortfolioNotes" Type="Self.TblPortfolioNotes" Multiplicity="*" />
  7353. <ReferentialConstraint>
  7354. <Principal Role="TblPortfolio">
  7355. <PropertyRef Name="OID" />
  7356. </Principal>
  7357. <Dependent Role="TblPortfolioNotes">
  7358. <PropertyRef Name="TblPortfolio" />
  7359. </Dependent>
  7360. </ReferentialConstraint>
  7361. </Association>
  7362. <Association Name="FK_TblPortfolioResetEstateLate_Portfolio">
  7363. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  7364. <End Role="TblPortfolioResetEstateLate" Type="Self.TblPortfolioResetEstateLate" Multiplicity="*" />
  7365. <ReferentialConstraint>
  7366. <Principal Role="TblPortfolio">
  7367. <PropertyRef Name="OID" />
  7368. </Principal>
  7369. <Dependent Role="TblPortfolioResetEstateLate">
  7370. <PropertyRef Name="Portfolio" />
  7371. </Dependent>
  7372. </ReferentialConstraint>
  7373. </Association>
  7374. <Association Name="FK_TblPreviousAgeing_Debtor">
  7375. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7376. <End Role="TblPreviousAgeing" Type="Self.TblPreviousAgeing" Multiplicity="*" />
  7377. <ReferentialConstraint>
  7378. <Principal Role="TblDebtor">
  7379. <PropertyRef Name="OID" />
  7380. </Principal>
  7381. <Dependent Role="TblPreviousAgeing">
  7382. <PropertyRef Name="Debtor" />
  7383. </Dependent>
  7384. </ReferentialConstraint>
  7385. </Association>
  7386. <Association Name="FK_TblPreviousAging_Debtor">
  7387. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7388. <End Role="TblPreviousAging" Type="Self.TblPreviousAging" Multiplicity="*" />
  7389. <ReferentialConstraint>
  7390. <Principal Role="TblDebtor">
  7391. <PropertyRef Name="OID" />
  7392. </Principal>
  7393. <Dependent Role="TblPreviousAging">
  7394. <PropertyRef Name="Debtor" />
  7395. </Dependent>
  7396. </ReferentialConstraint>
  7397. </Association>
  7398. <Association Name="FK_TblPromoConfig_Category">
  7399. <End Role="TblPromoCategory" Type="Self.TblPromoCategory" Multiplicity="0..1" />
  7400. <End Role="TblPromoConfig" Type="Self.TblPromoConfig" Multiplicity="*" />
  7401. <ReferentialConstraint>
  7402. <Principal Role="TblPromoCategory">
  7403. <PropertyRef Name="OID" />
  7404. </Principal>
  7405. <Dependent Role="TblPromoConfig">
  7406. <PropertyRef Name="Category" />
  7407. </Dependent>
  7408. </ReferentialConstraint>
  7409. </Association>
  7410. <Association Name="FK_TblPromoConfig_PromoResort">
  7411. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7412. <End Role="TblPromoConfig" Type="Self.TblPromoConfig" Multiplicity="*" />
  7413. <ReferentialConstraint>
  7414. <Principal Role="TblResort">
  7415. <PropertyRef Name="OID" />
  7416. </Principal>
  7417. <Dependent Role="TblPromoConfig">
  7418. <PropertyRef Name="PromoResort" />
  7419. </Dependent>
  7420. </ReferentialConstraint>
  7421. </Association>
  7422. <Association Name="FK_TblPromoConfig_Resort">
  7423. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7424. <End Role="TblPromoConfig" Type="Self.TblPromoConfig" Multiplicity="*" />
  7425. <ReferentialConstraint>
  7426. <Principal Role="TblResort">
  7427. <PropertyRef Name="OID" />
  7428. </Principal>
  7429. <Dependent Role="TblPromoConfig">
  7430. <PropertyRef Name="Resort" />
  7431. </Dependent>
  7432. </ReferentialConstraint>
  7433. </Association>
  7434. <Association Name="FK_TblPromoDocuments_DocumentType">
  7435. <End Role="TblDocumentType" Type="Self.TblDocumentType" Multiplicity="0..1" />
  7436. <End Role="TblPromoDocuments" Type="Self.TblPromoDocuments" Multiplicity="*" />
  7437. <ReferentialConstraint>
  7438. <Principal Role="TblDocumentType">
  7439. <PropertyRef Name="OID" />
  7440. </Principal>
  7441. <Dependent Role="TblPromoDocuments">
  7442. <PropertyRef Name="DocumentType" />
  7443. </Dependent>
  7444. </ReferentialConstraint>
  7445. </Association>
  7446. <Association Name="FK_TblPromoDocuments_PromoConfig">
  7447. <End Role="TblPromoConfig" Type="Self.TblPromoConfig" Multiplicity="0..1" />
  7448. <End Role="TblPromoDocuments" Type="Self.TblPromoDocuments" Multiplicity="*" />
  7449. <ReferentialConstraint>
  7450. <Principal Role="TblPromoConfig">
  7451. <PropertyRef Name="OID" />
  7452. </Principal>
  7453. <Dependent Role="TblPromoDocuments">
  7454. <PropertyRef Name="PromoConfig" />
  7455. </Dependent>
  7456. </ReferentialConstraint>
  7457. </Association>
  7458. <Association Name="FK_TblPromoMembers_Campaign">
  7459. <End Role="TblPromoConfig" Type="Self.TblPromoConfig" Multiplicity="0..1" />
  7460. <End Role="TblPromoMembers" Type="Self.TblPromoMembers" Multiplicity="*" />
  7461. <ReferentialConstraint>
  7462. <Principal Role="TblPromoConfig">
  7463. <PropertyRef Name="OID" />
  7464. </Principal>
  7465. <Dependent Role="TblPromoMembers">
  7466. <PropertyRef Name="Campaign" />
  7467. </Dependent>
  7468. </ReferentialConstraint>
  7469. </Association>
  7470. <Association Name="FK_TblPromotion_PromotionType">
  7471. <End Role="TblPromotionType" Type="Self.TblPromotionType" Multiplicity="0..1" />
  7472. <End Role="TblPromotion" Type="Self.TblPromotion" Multiplicity="*" />
  7473. <ReferentialConstraint>
  7474. <Principal Role="TblPromotionType">
  7475. <PropertyRef Name="OID" />
  7476. </Principal>
  7477. <Dependent Role="TblPromotion">
  7478. <PropertyRef Name="PromotionType" />
  7479. </Dependent>
  7480. </ReferentialConstraint>
  7481. </Association>
  7482. <Association Name="FK_TblPromotion_Resort">
  7483. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7484. <End Role="TblPromotion" Type="Self.TblPromotion" Multiplicity="*" />
  7485. <ReferentialConstraint>
  7486. <Principal Role="TblResort">
  7487. <PropertyRef Name="OID" />
  7488. </Principal>
  7489. <Dependent Role="TblPromotion">
  7490. <PropertyRef Name="Resort" />
  7491. </Dependent>
  7492. </ReferentialConstraint>
  7493. </Association>
  7494. <Association Name="FK_TblPromotion_WeekModule">
  7495. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  7496. <End Role="TblPromotion" Type="Self.TblPromotion" Multiplicity="*" />
  7497. <ReferentialConstraint>
  7498. <Principal Role="TblWeekModule">
  7499. <PropertyRef Name="OID" />
  7500. </Principal>
  7501. <Dependent Role="TblPromotion">
  7502. <PropertyRef Name="WeekModule" />
  7503. </Dependent>
  7504. </ReferentialConstraint>
  7505. </Association>
  7506. <Association Name="FK_TblPromotionCommission_PromotionCommissionStructure">
  7507. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  7508. <End Role="TblPromotionCommission" Type="Self.TblPromotionCommission" Multiplicity="*" />
  7509. <ReferentialConstraint>
  7510. <Principal Role="TblPromotionCommissionStructure">
  7511. <PropertyRef Name="Oid" />
  7512. </Principal>
  7513. <Dependent Role="TblPromotionCommission">
  7514. <PropertyRef Name="PromotionCommissionStructure" />
  7515. </Dependent>
  7516. </ReferentialConstraint>
  7517. </Association>
  7518. <Association Name="FK_TblPromotionCommission_SalesCommissionInfo">
  7519. <End Role="TblSalesCommissionInfo" Type="Self.TblSalesCommissionInfo" Multiplicity="0..1" />
  7520. <End Role="TblPromotionCommission" Type="Self.TblPromotionCommission" Multiplicity="*" />
  7521. <ReferentialConstraint>
  7522. <Principal Role="TblSalesCommissionInfo">
  7523. <PropertyRef Name="Oid" />
  7524. </Principal>
  7525. <Dependent Role="TblPromotionCommission">
  7526. <PropertyRef Name="SalesCommissionInfo" />
  7527. </Dependent>
  7528. </ReferentialConstraint>
  7529. </Association>
  7530. <Association Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures">
  7531. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  7532. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" Type="Self.TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" Multiplicity="*" />
  7533. <ReferentialConstraint>
  7534. <Principal Role="TblPromotionCommissionStructure">
  7535. <PropertyRef Name="Oid" />
  7536. </Principal>
  7537. <Dependent Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  7538. <PropertyRef Name="PromotionCommissionStructures" />
  7539. </Dependent>
  7540. </ReferentialConstraint>
  7541. </Association>
  7542. <Association Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel">
  7543. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7544. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Type="Self.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Multiplicity="*" />
  7545. <ReferentialConstraint>
  7546. <Principal Role="TblPersonnel">
  7547. <PropertyRef Name="PersonnelCode" />
  7548. </Principal>
  7549. <Dependent Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  7550. <PropertyRef Name="Personnel" />
  7551. </Dependent>
  7552. </ReferentialConstraint>
  7553. </Association>
  7554. <Association Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures">
  7555. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  7556. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Type="Self.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Multiplicity="*" />
  7557. <ReferentialConstraint>
  7558. <Principal Role="TblPromotionCommissionStructure">
  7559. <PropertyRef Name="Oid" />
  7560. </Principal>
  7561. <Dependent Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  7562. <PropertyRef Name="PromotionCommissionStructures" />
  7563. </Dependent>
  7564. </ReferentialConstraint>
  7565. </Association>
  7566. <Association Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  7567. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  7568. <End Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Type="Self.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  7569. <ReferentialConstraint>
  7570. <Principal Role="TblPromotionCommissionStructure">
  7571. <PropertyRef Name="Oid" />
  7572. </Principal>
  7573. <Dependent Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  7574. <PropertyRef Name="PromotionCommissionStructures" />
  7575. </Dependent>
  7576. </ReferentialConstraint>
  7577. </Association>
  7578. <Association Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes">
  7579. <End Role="TblPromotionType" Type="Self.TblPromotionType" Multiplicity="0..1" />
  7580. <End Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Type="Self.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  7581. <ReferentialConstraint>
  7582. <Principal Role="TblPromotionType">
  7583. <PropertyRef Name="OID" />
  7584. </Principal>
  7585. <Dependent Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  7586. <PropertyRef Name="PromotionTypes" />
  7587. </Dependent>
  7588. </ReferentialConstraint>
  7589. </Association>
  7590. <Association Name="FK_TblQueryCategory_QueryCategory">
  7591. <End Role="TblQueryCategories" Type="Self.TblQueryCategories" Multiplicity="0..1" />
  7592. <End Role="TblQueryCategory" Type="Self.TblQueryCategory" Multiplicity="*" />
  7593. <ReferentialConstraint>
  7594. <Principal Role="TblQueryCategories">
  7595. <PropertyRef Name="OID" />
  7596. </Principal>
  7597. <Dependent Role="TblQueryCategory">
  7598. <PropertyRef Name="QueryCategory" />
  7599. </Dependent>
  7600. </ReferentialConstraint>
  7601. </Association>
  7602. <Association Name="FK_TblQueryCategory_System">
  7603. <End Role="TblSystem" Type="Self.TblSystem" Multiplicity="0..1" />
  7604. <End Role="TblQueryCategory" Type="Self.TblQueryCategory" Multiplicity="*" />
  7605. <ReferentialConstraint>
  7606. <Principal Role="TblSystem">
  7607. <PropertyRef Name="OID" />
  7608. </Principal>
  7609. <Dependent Role="TblQueryCategory">
  7610. <PropertyRef Name="System" />
  7611. </Dependent>
  7612. </ReferentialConstraint>
  7613. </Association>
  7614. <Association Name="FK_TblQueryRecipient_BCCRecipient">
  7615. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7616. <End Role="TblQueryRecipient" Type="Self.TblQueryRecipient" Multiplicity="*" />
  7617. <ReferentialConstraint>
  7618. <Principal Role="TblPersonnel">
  7619. <PropertyRef Name="PersonnelCode" />
  7620. </Principal>
  7621. <Dependent Role="TblQueryRecipient">
  7622. <PropertyRef Name="BCCRecipient" />
  7623. </Dependent>
  7624. </ReferentialConstraint>
  7625. </Association>
  7626. <Association Name="FK_TblQueryRecipient_CCRecipient">
  7627. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7628. <End Role="TblQueryRecipient" Type="Self.TblQueryRecipient" Multiplicity="*" />
  7629. <ReferentialConstraint>
  7630. <Principal Role="TblPersonnel">
  7631. <PropertyRef Name="PersonnelCode" />
  7632. </Principal>
  7633. <Dependent Role="TblQueryRecipient">
  7634. <PropertyRef Name="CCRecipient" />
  7635. </Dependent>
  7636. </ReferentialConstraint>
  7637. </Association>
  7638. <Association Name="FK_TblQueryRecipient_MainRecipient">
  7639. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7640. <End Role="TblQueryRecipient" Type="Self.TblQueryRecipient" Multiplicity="*" />
  7641. <ReferentialConstraint>
  7642. <Principal Role="TblPersonnel">
  7643. <PropertyRef Name="PersonnelCode" />
  7644. </Principal>
  7645. <Dependent Role="TblQueryRecipient">
  7646. <PropertyRef Name="MainRecipient" />
  7647. </Dependent>
  7648. </ReferentialConstraint>
  7649. </Association>
  7650. <Association Name="FK_TblQueryRecipient_System">
  7651. <End Role="TblSystem" Type="Self.TblSystem" Multiplicity="0..1" />
  7652. <End Role="TblQueryRecipient" Type="Self.TblQueryRecipient" Multiplicity="*" />
  7653. <ReferentialConstraint>
  7654. <Principal Role="TblSystem">
  7655. <PropertyRef Name="OID" />
  7656. </Principal>
  7657. <Dependent Role="TblQueryRecipient">
  7658. <PropertyRef Name="System" />
  7659. </Dependent>
  7660. </ReferentialConstraint>
  7661. </Association>
  7662. <Association Name="FK_TblRankingPoints_Rankings">
  7663. <End Role="TblRankings" Type="Self.TblRankings" Multiplicity="0..1" />
  7664. <End Role="TblRankingPoints" Type="Self.TblRankingPoints" Multiplicity="*" />
  7665. <ReferentialConstraint>
  7666. <Principal Role="TblRankings">
  7667. <PropertyRef Name="OID" />
  7668. </Principal>
  7669. <Dependent Role="TblRankingPoints">
  7670. <PropertyRef Name="Rankings" />
  7671. </Dependent>
  7672. </ReferentialConstraint>
  7673. </Association>
  7674. <Association Name="FK_TblRawSalesCommData_SalesConsultant">
  7675. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7676. <End Role="TblRawSalesCommData" Type="Self.TblRawSalesCommData" Multiplicity="*" />
  7677. <ReferentialConstraint>
  7678. <Principal Role="TblPersonnel">
  7679. <PropertyRef Name="PersonnelCode" />
  7680. </Principal>
  7681. <Dependent Role="TblRawSalesCommData">
  7682. <PropertyRef Name="SalesConsultant" />
  7683. </Dependent>
  7684. </ReferentialConstraint>
  7685. </Association>
  7686. <Association Name="FK_TblRawSalesCommData_SalesManager">
  7687. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7688. <End Role="TblRawSalesCommData" Type="Self.TblRawSalesCommData" Multiplicity="*" />
  7689. <ReferentialConstraint>
  7690. <Principal Role="TblPersonnel">
  7691. <PropertyRef Name="PersonnelCode" />
  7692. </Principal>
  7693. <Dependent Role="TblRawSalesCommData">
  7694. <PropertyRef Name="SalesManager" />
  7695. </Dependent>
  7696. </ReferentialConstraint>
  7697. </Association>
  7698. <Association Name="FK_TblRCIDates_Resort">
  7699. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7700. <End Role="TblRCIDates" Type="Self.TblRCIDates" Multiplicity="*" />
  7701. <ReferentialConstraint>
  7702. <Principal Role="TblResort">
  7703. <PropertyRef Name="OID" />
  7704. </Principal>
  7705. <Dependent Role="TblRCIDates">
  7706. <PropertyRef Name="Resort" />
  7707. </Dependent>
  7708. </ReferentialConstraint>
  7709. </Association>
  7710. <Association Name="FK_TblRebatePaymentCategoryCode_CategoryCode">
  7711. <End Role="TblDebtorCategoryCode" Type="Self.TblDebtorCategoryCode" Multiplicity="0..1" />
  7712. <End Role="TblRebatePaymentCategoryCode" Type="Self.TblRebatePaymentCategoryCode" Multiplicity="*" />
  7713. <ReferentialConstraint>
  7714. <Principal Role="TblDebtorCategoryCode">
  7715. <PropertyRef Name="OID" />
  7716. </Principal>
  7717. <Dependent Role="TblRebatePaymentCategoryCode">
  7718. <PropertyRef Name="CategoryCode" />
  7719. </Dependent>
  7720. </ReferentialConstraint>
  7721. </Association>
  7722. <Association Name="FK_TblRescheduleCalls_PersonnelCode">
  7723. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7724. <End Role="TblRescheduleCalls" Type="Self.TblRescheduleCalls" Multiplicity="*" />
  7725. <ReferentialConstraint>
  7726. <Principal Role="TblPersonnel">
  7727. <PropertyRef Name="PersonnelCode" />
  7728. </Principal>
  7729. <Dependent Role="TblRescheduleCalls">
  7730. <PropertyRef Name="PersonnelCode" />
  7731. </Dependent>
  7732. </ReferentialConstraint>
  7733. </Association>
  7734. <Association Name="FK_TblResort__ResortManager">
  7735. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7736. <End Role="TblResort" Type="Self.TblResort" Multiplicity="*" />
  7737. <ReferentialConstraint>
  7738. <Principal Role="TblPersonnel">
  7739. <PropertyRef Name="PersonnelCode" />
  7740. </Principal>
  7741. <Dependent Role="TblResort">
  7742. <PropertyRef Name="_ResortManager" />
  7743. </Dependent>
  7744. </ReferentialConstraint>
  7745. </Association>
  7746. <Association Name="FK_TblResort_DefaultDeveloper">
  7747. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  7748. <End Role="TblResort" Type="Self.TblResort" Multiplicity="*" />
  7749. <ReferentialConstraint>
  7750. <Principal Role="TblDeveloper">
  7751. <PropertyRef Name="OID" />
  7752. </Principal>
  7753. <Dependent Role="TblResort">
  7754. <PropertyRef Name="DefaultDeveloper" />
  7755. </Dependent>
  7756. </ReferentialConstraint>
  7757. </Association>
  7758. <Association Name="FK_TblResort_ManagingAgent">
  7759. <End Role="TblResortManagingAgent" Type="Self.TblResortManagingAgent" Multiplicity="0..1" />
  7760. <End Role="TblResort" Type="Self.TblResort" Multiplicity="*" />
  7761. <ReferentialConstraint>
  7762. <Principal Role="TblResortManagingAgent">
  7763. <PropertyRef Name="OID" />
  7764. </Principal>
  7765. <Dependent Role="TblResort">
  7766. <PropertyRef Name="ManagingAgent" />
  7767. </Dependent>
  7768. </ReferentialConstraint>
  7769. </Association>
  7770. <Association Name="FK_TblResort_ResortManager">
  7771. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  7772. <End Role="TblResort" Type="Self.TblResort" Multiplicity="*" />
  7773. <ReferentialConstraint>
  7774. <Principal Role="TblPersonnel">
  7775. <PropertyRef Name="PersonnelCode" />
  7776. </Principal>
  7777. <Dependent Role="TblResort">
  7778. <PropertyRef Name="ResortManager" />
  7779. </Dependent>
  7780. </ReferentialConstraint>
  7781. </Association>
  7782. <Association Name="FK_TblResortExternalSalesPeriod_Resort">
  7783. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7784. <End Role="TblResortExternalSalesPeriod" Type="Self.TblResortExternalSalesPeriod" Multiplicity="*" />
  7785. <ReferentialConstraint>
  7786. <Principal Role="TblResort">
  7787. <PropertyRef Name="OID" />
  7788. </Principal>
  7789. <Dependent Role="TblResortExternalSalesPeriod">
  7790. <PropertyRef Name="Resort" />
  7791. </Dependent>
  7792. </ReferentialConstraint>
  7793. </Association>
  7794. <Association Name="FK_TblResortExternalSalesPeriodRules_SalesPeriod">
  7795. <End Role="TblResortExternalSalesPeriod" Type="Self.TblResortExternalSalesPeriod" Multiplicity="0..1" />
  7796. <End Role="TblResortExternalSalesPeriodRules" Type="Self.TblResortExternalSalesPeriodRules" Multiplicity="*" />
  7797. <ReferentialConstraint>
  7798. <Principal Role="TblResortExternalSalesPeriod">
  7799. <PropertyRef Name="OID" />
  7800. </Principal>
  7801. <Dependent Role="TblResortExternalSalesPeriodRules">
  7802. <PropertyRef Name="SalesPeriod" />
  7803. </Dependent>
  7804. </ReferentialConstraint>
  7805. </Association>
  7806. <Association Name="FK_TblResortNotes_ResortKey">
  7807. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7808. <End Role="TblResortNotes" Type="Self.TblResortNotes" Multiplicity="*" />
  7809. <ReferentialConstraint>
  7810. <Principal Role="TblResort">
  7811. <PropertyRef Name="OID" />
  7812. </Principal>
  7813. <Dependent Role="TblResortNotes">
  7814. <PropertyRef Name="ResortKey" />
  7815. </Dependent>
  7816. </ReferentialConstraint>
  7817. </Association>
  7818. <Association Name="FK_TblResortRebateBlock_Resort">
  7819. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7820. <End Role="TblResortRebateBlock" Type="Self.TblResortRebateBlock" Multiplicity="*" />
  7821. <ReferentialConstraint>
  7822. <Principal Role="TblResort">
  7823. <PropertyRef Name="OID" />
  7824. </Principal>
  7825. <Dependent Role="TblResortRebateBlock">
  7826. <PropertyRef Name="Resort" />
  7827. </Dependent>
  7828. </ReferentialConstraint>
  7829. </Association>
  7830. <Association Name="FK_TblResortRebateBlock_WeekModule">
  7831. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  7832. <End Role="TblResortRebateBlock" Type="Self.TblResortRebateBlock" Multiplicity="*" />
  7833. <ReferentialConstraint>
  7834. <Principal Role="TblWeekModule">
  7835. <PropertyRef Name="OID" />
  7836. </Principal>
  7837. <Dependent Role="TblResortRebateBlock">
  7838. <PropertyRef Name="WeekModule" />
  7839. </Dependent>
  7840. </ReferentialConstraint>
  7841. </Association>
  7842. <Association Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  7843. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  7844. <End Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Type="Self.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  7845. <ReferentialConstraint>
  7846. <Principal Role="TblPromotionCommissionStructure">
  7847. <PropertyRef Name="Oid" />
  7848. </Principal>
  7849. <Dependent Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  7850. <PropertyRef Name="PromotionCommissionStructures" />
  7851. </Dependent>
  7852. </ReferentialConstraint>
  7853. </Association>
  7854. <Association Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts">
  7855. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7856. <End Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Type="Self.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  7857. <ReferentialConstraint>
  7858. <Principal Role="TblResort">
  7859. <PropertyRef Name="OID" />
  7860. </Principal>
  7861. <Dependent Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  7862. <PropertyRef Name="Resorts" />
  7863. </Dependent>
  7864. </ReferentialConstraint>
  7865. </Association>
  7866. <Association Name="FK_TblResortSalesPeriod_Resort">
  7867. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  7868. <End Role="TblResortSalesPeriod" Type="Self.TblResortSalesPeriod" Multiplicity="*" />
  7869. <ReferentialConstraint>
  7870. <Principal Role="TblResort">
  7871. <PropertyRef Name="OID" />
  7872. </Principal>
  7873. <Dependent Role="TblResortSalesPeriod">
  7874. <PropertyRef Name="Resort" />
  7875. </Dependent>
  7876. </ReferentialConstraint>
  7877. </Association>
  7878. <Association Name="FK_TblResortSalesPeriodRules_SalesPeriod">
  7879. <End Role="TblResortSalesPeriod" Type="Self.TblResortSalesPeriod" Multiplicity="0..1" />
  7880. <End Role="TblResortSalesPeriodRules" Type="Self.TblResortSalesPeriodRules" Multiplicity="*" />
  7881. <ReferentialConstraint>
  7882. <Principal Role="TblResortSalesPeriod">
  7883. <PropertyRef Name="OID" />
  7884. </Principal>
  7885. <Dependent Role="TblResortSalesPeriodRules">
  7886. <PropertyRef Name="SalesPeriod" />
  7887. </Dependent>
  7888. </ReferentialConstraint>
  7889. </Association>
  7890. <Association Name="FK_TblSACRRABatch_Settings">
  7891. <End Role="TblSACRRASettings" Type="Self.TblSACRRASettings" Multiplicity="0..1" />
  7892. <End Role="TblSACRRABatch" Type="Self.TblSACRRABatch" Multiplicity="*" />
  7893. <ReferentialConstraint>
  7894. <Principal Role="TblSACRRASettings">
  7895. <PropertyRef Name="OID" />
  7896. </Principal>
  7897. <Dependent Role="TblSACRRABatch">
  7898. <PropertyRef Name="Settings" />
  7899. </Dependent>
  7900. </ReferentialConstraint>
  7901. </Association>
  7902. <Association Name="FK_TblSACRRAConsoftGlobalData_SACRRAData">
  7903. <End Role="TblSACRRAData" Type="Self.TblSACRRAData" Multiplicity="0..1" />
  7904. <End Role="TblSACRRAConsoftGlobalData" Type="Self.TblSACRRAConsoftGlobalData" Multiplicity="*" />
  7905. <ReferentialConstraint>
  7906. <Principal Role="TblSACRRAData">
  7907. <PropertyRef Name="OID" />
  7908. </Principal>
  7909. <Dependent Role="TblSACRRAConsoftGlobalData">
  7910. <PropertyRef Name="SACRRAData" />
  7911. </Dependent>
  7912. </ReferentialConstraint>
  7913. </Association>
  7914. <Association Name="FK_TblSACRRAData_Batch">
  7915. <End Role="TblSACRRABatch" Type="Self.TblSACRRABatch" Multiplicity="0..1" />
  7916. <End Role="TblSACRRAData" Type="Self.TblSACRRAData" Multiplicity="*" />
  7917. <ReferentialConstraint>
  7918. <Principal Role="TblSACRRABatch">
  7919. <PropertyRef Name="OID" />
  7920. </Principal>
  7921. <Dependent Role="TblSACRRAData">
  7922. <PropertyRef Name="Batch" />
  7923. </Dependent>
  7924. </ReferentialConstraint>
  7925. </Association>
  7926. <Association Name="FK_TblSACRRAData_Debtor">
  7927. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7928. <End Role="TblSACRRAData" Type="Self.TblSACRRAData" Multiplicity="*" />
  7929. <ReferentialConstraint>
  7930. <Principal Role="TblDebtor">
  7931. <PropertyRef Name="OID" />
  7932. </Principal>
  7933. <Dependent Role="TblSACRRAData">
  7934. <PropertyRef Name="Debtor" />
  7935. </Dependent>
  7936. </ReferentialConstraint>
  7937. </Association>
  7938. <Association Name="FK_TblSACRRADebtorGAPGAL_Debtor">
  7939. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7940. <End Role="TblSACRRADebtorGAPGAL" Type="Self.TblSACRRADebtorGAPGAL" Multiplicity="*" />
  7941. <ReferentialConstraint>
  7942. <Principal Role="TblDebtor">
  7943. <PropertyRef Name="OID" />
  7944. </Principal>
  7945. <Dependent Role="TblSACRRADebtorGAPGAL">
  7946. <PropertyRef Name="Debtor" />
  7947. </Dependent>
  7948. </ReferentialConstraint>
  7949. </Association>
  7950. <Association Name="FK_TblSACRRADebtorStatus_Debtor">
  7951. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  7952. <End Role="TblSACRRADebtorStatus" Type="Self.TblSACRRADebtorStatus" Multiplicity="*" />
  7953. <ReferentialConstraint>
  7954. <Principal Role="TblDebtor">
  7955. <PropertyRef Name="OID" />
  7956. </Principal>
  7957. <Dependent Role="TblSACRRADebtorStatus">
  7958. <PropertyRef Name="Debtor" />
  7959. </Dependent>
  7960. </ReferentialConstraint>
  7961. </Association>
  7962. <Association Name="FK_TblSACRRADebtorStatus_SentToSACRRA">
  7963. <End Role="TblSACRRAData" Type="Self.TblSACRRAData" Multiplicity="0..1" />
  7964. <End Role="TblSACRRADebtorStatus" Type="Self.TblSACRRADebtorStatus" Multiplicity="*" />
  7965. <ReferentialConstraint>
  7966. <Principal Role="TblSACRRAData">
  7967. <PropertyRef Name="OID" />
  7968. </Principal>
  7969. <Dependent Role="TblSACRRADebtorStatus">
  7970. <PropertyRef Name="SentToSACRRA" />
  7971. </Dependent>
  7972. </ReferentialConstraint>
  7973. </Association>
  7974. <Association Name="FK_TblSACRRAFiles_Batch">
  7975. <End Role="TblSACRRABatch" Type="Self.TblSACRRABatch" Multiplicity="0..1" />
  7976. <End Role="TblSACRRAFiles" Type="Self.TblSACRRAFiles" Multiplicity="*" />
  7977. <ReferentialConstraint>
  7978. <Principal Role="TblSACRRABatch">
  7979. <PropertyRef Name="OID" />
  7980. </Principal>
  7981. <Dependent Role="TblSACRRAFiles">
  7982. <PropertyRef Name="Batch" />
  7983. </Dependent>
  7984. </ReferentialConstraint>
  7985. </Association>
  7986. <Association Name="FK_TblSACRRAFilesToEncrypt_Batch">
  7987. <End Role="TblSACRRABatch" Type="Self.TblSACRRABatch" Multiplicity="0..1" />
  7988. <End Role="TblSACRRAFilesToEncrypt" Type="Self.TblSACRRAFilesToEncrypt" Multiplicity="*" />
  7989. <ReferentialConstraint>
  7990. <Principal Role="TblSACRRABatch">
  7991. <PropertyRef Name="OID" />
  7992. </Principal>
  7993. <Dependent Role="TblSACRRAFilesToEncrypt">
  7994. <PropertyRef Name="Batch" />
  7995. </Dependent>
  7996. </ReferentialConstraint>
  7997. </Association>
  7998. <Association Name="FK_TblSACRRASettings_Developer">
  7999. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  8000. <End Role="TblSACRRASettings" Type="Self.TblSACRRASettings" Multiplicity="*" />
  8001. <ReferentialConstraint>
  8002. <Principal Role="TblDeveloper">
  8003. <PropertyRef Name="OID" />
  8004. </Principal>
  8005. <Dependent Role="TblSACRRASettings">
  8006. <PropertyRef Name="Developer" />
  8007. </Dependent>
  8008. </ReferentialConstraint>
  8009. </Association>
  8010. <Association Name="FK_TblSalesCommAmountScale_EarnerType">
  8011. <End Role="TblSalesCommEarnerType" Type="Self.TblSalesCommEarnerType" Multiplicity="0..1" />
  8012. <End Role="TblSalesCommAmountScale" Type="Self.TblSalesCommAmountScale" Multiplicity="*" />
  8013. <ReferentialConstraint>
  8014. <Principal Role="TblSalesCommEarnerType">
  8015. <PropertyRef Name="Oid" />
  8016. </Principal>
  8017. <Dependent Role="TblSalesCommAmountScale">
  8018. <PropertyRef Name="EarnerType" />
  8019. </Dependent>
  8020. </ReferentialConstraint>
  8021. </Association>
  8022. <Association Name="FK_TblSalesCommAmountScale_Week">
  8023. <End Role="TblSalesCommWeek" Type="Self.TblSalesCommWeek" Multiplicity="0..1" />
  8024. <End Role="TblSalesCommAmountScale" Type="Self.TblSalesCommAmountScale" Multiplicity="*" />
  8025. <ReferentialConstraint>
  8026. <Principal Role="TblSalesCommWeek">
  8027. <PropertyRef Name="Oid" />
  8028. </Principal>
  8029. <Dependent Role="TblSalesCommAmountScale">
  8030. <PropertyRef Name="Week" />
  8031. </Dependent>
  8032. </ReferentialConstraint>
  8033. </Association>
  8034. <Association Name="FK_TblSalesCommCountScale_EarnerType">
  8035. <End Role="TblSalesCommEarnerType" Type="Self.TblSalesCommEarnerType" Multiplicity="0..1" />
  8036. <End Role="TblSalesCommCountScale" Type="Self.TblSalesCommCountScale" Multiplicity="*" />
  8037. <ReferentialConstraint>
  8038. <Principal Role="TblSalesCommEarnerType">
  8039. <PropertyRef Name="Oid" />
  8040. </Principal>
  8041. <Dependent Role="TblSalesCommCountScale">
  8042. <PropertyRef Name="EarnerType" />
  8043. </Dependent>
  8044. </ReferentialConstraint>
  8045. </Association>
  8046. <Association Name="FK_TblSalesCommCountScale_Week">
  8047. <End Role="TblSalesCommWeek" Type="Self.TblSalesCommWeek" Multiplicity="0..1" />
  8048. <End Role="TblSalesCommCountScale" Type="Self.TblSalesCommCountScale" Multiplicity="*" />
  8049. <ReferentialConstraint>
  8050. <Principal Role="TblSalesCommWeek">
  8051. <PropertyRef Name="Oid" />
  8052. </Principal>
  8053. <Dependent Role="TblSalesCommCountScale">
  8054. <PropertyRef Name="Week" />
  8055. </Dependent>
  8056. </ReferentialConstraint>
  8057. </Association>
  8058. <Association Name="FK_TblSalesCommEarnerType_SpecificPersonnel">
  8059. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8060. <End Role="TblSalesCommEarnerType" Type="Self.TblSalesCommEarnerType" Multiplicity="*" />
  8061. <ReferentialConstraint>
  8062. <Principal Role="TblPersonnel">
  8063. <PropertyRef Name="PersonnelCode" />
  8064. </Principal>
  8065. <Dependent Role="TblSalesCommEarnerType">
  8066. <PropertyRef Name="SpecificPersonnel" />
  8067. </Dependent>
  8068. </ReferentialConstraint>
  8069. </Association>
  8070. <Association Name="FK_TblSalesCommFixedAmount_EarnerType">
  8071. <End Role="TblSalesCommEarnerType" Type="Self.TblSalesCommEarnerType" Multiplicity="0..1" />
  8072. <End Role="TblSalesCommFixedAmount" Type="Self.TblSalesCommFixedAmount" Multiplicity="*" />
  8073. <ReferentialConstraint>
  8074. <Principal Role="TblSalesCommEarnerType">
  8075. <PropertyRef Name="Oid" />
  8076. </Principal>
  8077. <Dependent Role="TblSalesCommFixedAmount">
  8078. <PropertyRef Name="EarnerType" />
  8079. </Dependent>
  8080. </ReferentialConstraint>
  8081. </Association>
  8082. <Association Name="FK_TblSalesCommFixedAmount_Week">
  8083. <End Role="TblSalesCommWeek" Type="Self.TblSalesCommWeek" Multiplicity="0..1" />
  8084. <End Role="TblSalesCommFixedAmount" Type="Self.TblSalesCommFixedAmount" Multiplicity="*" />
  8085. <ReferentialConstraint>
  8086. <Principal Role="TblSalesCommWeek">
  8087. <PropertyRef Name="Oid" />
  8088. </Principal>
  8089. <Dependent Role="TblSalesCommFixedAmount">
  8090. <PropertyRef Name="Week" />
  8091. </Dependent>
  8092. </ReferentialConstraint>
  8093. </Association>
  8094. <Association Name="FK_TblSalesCommissionAdditional_SalesCommissionInfo">
  8095. <End Role="TblSalesCommissionInfo" Type="Self.TblSalesCommissionInfo" Multiplicity="0..1" />
  8096. <End Role="TblSalesCommissionAdditional" Type="Self.TblSalesCommissionAdditional" Multiplicity="*" />
  8097. <ReferentialConstraint>
  8098. <Principal Role="TblSalesCommissionInfo">
  8099. <PropertyRef Name="Oid" />
  8100. </Principal>
  8101. <Dependent Role="TblSalesCommissionAdditional">
  8102. <PropertyRef Name="SalesCommissionInfo" />
  8103. </Dependent>
  8104. </ReferentialConstraint>
  8105. </Association>
  8106. <Association Name="FK_TblSalesCommissionClawback_SalesCommissionInfo">
  8107. <End Role="TblSalesCommissionInfo" Type="Self.TblSalesCommissionInfo" Multiplicity="0..1" />
  8108. <End Role="TblSalesCommissionClawback" Type="Self.TblSalesCommissionClawback" Multiplicity="*" />
  8109. <ReferentialConstraint>
  8110. <Principal Role="TblSalesCommissionInfo">
  8111. <PropertyRef Name="Oid" />
  8112. </Principal>
  8113. <Dependent Role="TblSalesCommissionClawback">
  8114. <PropertyRef Name="SalesCommissionInfo" />
  8115. </Dependent>
  8116. </ReferentialConstraint>
  8117. </Association>
  8118. <Association Name="FK_TblSalesCommissionInfo_CommissionOwner">
  8119. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8120. <End Role="TblSalesCommissionInfo" Type="Self.TblSalesCommissionInfo" Multiplicity="*" />
  8121. <ReferentialConstraint>
  8122. <Principal Role="TblPersonnel">
  8123. <PropertyRef Name="PersonnelCode" />
  8124. </Principal>
  8125. <Dependent Role="TblSalesCommissionInfo">
  8126. <PropertyRef Name="CommissionOwner" />
  8127. </Dependent>
  8128. </ReferentialConstraint>
  8129. </Association>
  8130. <Association Name="FK_TblSalesCommissionSeasons_SalesCommissionPercentages">
  8131. <End Role="TblSalesCommissionPercentages" Type="Self.TblSalesCommissionPercentages" Multiplicity="0..1" />
  8132. <End Role="TblSalesCommissionSeasons" Type="Self.TblSalesCommissionSeasons" Multiplicity="*" />
  8133. <ReferentialConstraint>
  8134. <Principal Role="TblSalesCommissionPercentages">
  8135. <PropertyRef Name="Oid" />
  8136. </Principal>
  8137. <Dependent Role="TblSalesCommissionSeasons">
  8138. <PropertyRef Name="SalesCommissionPercentages" />
  8139. </Dependent>
  8140. </ReferentialConstraint>
  8141. </Association>
  8142. <Association Name="FK_TblSalesCommissionTransaction_SalesCommissionAdditional">
  8143. <End Role="TblSalesCommissionAdditional" Type="Self.TblSalesCommissionAdditional" Multiplicity="0..1" />
  8144. <End Role="TblSalesCommissionTransaction" Type="Self.TblSalesCommissionTransaction" Multiplicity="*" />
  8145. <ReferentialConstraint>
  8146. <Principal Role="TblSalesCommissionAdditional">
  8147. <PropertyRef Name="Oid" />
  8148. </Principal>
  8149. <Dependent Role="TblSalesCommissionTransaction">
  8150. <PropertyRef Name="SalesCommissionAdditional" />
  8151. </Dependent>
  8152. </ReferentialConstraint>
  8153. </Association>
  8154. <Association Name="FK_TblSalesCommissionTransaction_SalesCommissionClawback">
  8155. <End Role="TblSalesCommissionClawback" Type="Self.TblSalesCommissionClawback" Multiplicity="0..1" />
  8156. <End Role="TblSalesCommissionTransaction" Type="Self.TblSalesCommissionTransaction" Multiplicity="*" />
  8157. <ReferentialConstraint>
  8158. <Principal Role="TblSalesCommissionClawback">
  8159. <PropertyRef Name="Oid" />
  8160. </Principal>
  8161. <Dependent Role="TblSalesCommissionTransaction">
  8162. <PropertyRef Name="SalesCommissionClawback" />
  8163. </Dependent>
  8164. </ReferentialConstraint>
  8165. </Association>
  8166. <Association Name="FK_TblSalesCommissionTransaction_SalesCommissionInfo">
  8167. <End Role="TblSalesCommissionInfo" Type="Self.TblSalesCommissionInfo" Multiplicity="0..1" />
  8168. <End Role="TblSalesCommissionTransaction" Type="Self.TblSalesCommissionTransaction" Multiplicity="*" />
  8169. <ReferentialConstraint>
  8170. <Principal Role="TblSalesCommissionInfo">
  8171. <PropertyRef Name="Oid" />
  8172. </Principal>
  8173. <Dependent Role="TblSalesCommissionTransaction">
  8174. <PropertyRef Name="SalesCommissionInfo" />
  8175. </Dependent>
  8176. </ReferentialConstraint>
  8177. </Association>
  8178. <Association Name="FK_TblSalesCommissionTransaction_SalesPersonnel">
  8179. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8180. <End Role="TblSalesCommissionTransaction" Type="Self.TblSalesCommissionTransaction" Multiplicity="*" />
  8181. <ReferentialConstraint>
  8182. <Principal Role="TblPersonnel">
  8183. <PropertyRef Name="PersonnelCode" />
  8184. </Principal>
  8185. <Dependent Role="TblSalesCommissionTransaction">
  8186. <PropertyRef Name="SalesPersonnel" />
  8187. </Dependent>
  8188. </ReferentialConstraint>
  8189. </Association>
  8190. <Association Name="FK_TblSalesCommissionTransaction_SignedOffBy">
  8191. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8192. <End Role="TblSalesCommissionTransaction" Type="Self.TblSalesCommissionTransaction" Multiplicity="*" />
  8193. <ReferentialConstraint>
  8194. <Principal Role="TblPersonnel">
  8195. <PropertyRef Name="PersonnelCode" />
  8196. </Principal>
  8197. <Dependent Role="TblSalesCommissionTransaction">
  8198. <PropertyRef Name="SignedOffBy" />
  8199. </Dependent>
  8200. </ReferentialConstraint>
  8201. </Association>
  8202. <Association Name="FK_TblSalesCommRegionBasedMonth_Month">
  8203. <End Role="TblSalesCommMonth" Type="Self.TblSalesCommMonth" Multiplicity="0..1" />
  8204. <End Role="TblSalesCommRegionBasedMonth" Type="Self.TblSalesCommRegionBasedMonth" Multiplicity="*" />
  8205. <ReferentialConstraint>
  8206. <Principal Role="TblSalesCommMonth">
  8207. <PropertyRef Name="Oid" />
  8208. </Principal>
  8209. <Dependent Role="TblSalesCommRegionBasedMonth">
  8210. <PropertyRef Name="Month" />
  8211. </Dependent>
  8212. </ReferentialConstraint>
  8213. </Association>
  8214. <Association Name="FK_TblSalesCommSkippedCommissions_DataStore">
  8215. <End Role="TblSalesCommDataStore" Type="Self.TblSalesCommDataStore" Multiplicity="0..1" />
  8216. <End Role="TblSalesCommSkippedCommissions" Type="Self.TblSalesCommSkippedCommissions" Multiplicity="*" />
  8217. <ReferentialConstraint>
  8218. <Principal Role="TblSalesCommDataStore">
  8219. <PropertyRef Name="Oid" />
  8220. </Principal>
  8221. <Dependent Role="TblSalesCommSkippedCommissions">
  8222. <PropertyRef Name="DataStore" />
  8223. </Dependent>
  8224. </ReferentialConstraint>
  8225. </Association>
  8226. <Association Name="FK_TblSalesCommSkippedCommissions_EarnerType">
  8227. <End Role="TblSalesCommEarnerType" Type="Self.TblSalesCommEarnerType" Multiplicity="0..1" />
  8228. <End Role="TblSalesCommSkippedCommissions" Type="Self.TblSalesCommSkippedCommissions" Multiplicity="*" />
  8229. <ReferentialConstraint>
  8230. <Principal Role="TblSalesCommEarnerType">
  8231. <PropertyRef Name="Oid" />
  8232. </Principal>
  8233. <Dependent Role="TblSalesCommSkippedCommissions">
  8234. <PropertyRef Name="EarnerType" />
  8235. </Dependent>
  8236. </ReferentialConstraint>
  8237. </Association>
  8238. <Association Name="FK_TblSalesCommSkippedCommissions_PersonnelCode">
  8239. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8240. <End Role="TblSalesCommSkippedCommissions" Type="Self.TblSalesCommSkippedCommissions" Multiplicity="*" />
  8241. <ReferentialConstraint>
  8242. <Principal Role="TblPersonnel">
  8243. <PropertyRef Name="PersonnelCode" />
  8244. </Principal>
  8245. <Dependent Role="TblSalesCommSkippedCommissions">
  8246. <PropertyRef Name="PersonnelCode" />
  8247. </Dependent>
  8248. </ReferentialConstraint>
  8249. </Association>
  8250. <Association Name="FK_TblSalesCommSkippedCommissions_Week">
  8251. <End Role="TblSalesCommWeek" Type="Self.TblSalesCommWeek" Multiplicity="0..1" />
  8252. <End Role="TblSalesCommSkippedCommissions" Type="Self.TblSalesCommSkippedCommissions" Multiplicity="*" />
  8253. <ReferentialConstraint>
  8254. <Principal Role="TblSalesCommWeek">
  8255. <PropertyRef Name="Oid" />
  8256. </Principal>
  8257. <Dependent Role="TblSalesCommSkippedCommissions">
  8258. <PropertyRef Name="Week" />
  8259. </Dependent>
  8260. </ReferentialConstraint>
  8261. </Association>
  8262. <Association Name="FK_TblSalesCommStatement_DataStore">
  8263. <End Role="TblSalesCommDataStore" Type="Self.TblSalesCommDataStore" Multiplicity="0..1" />
  8264. <End Role="TblSalesCommStatement" Type="Self.TblSalesCommStatement" Multiplicity="*" />
  8265. <ReferentialConstraint>
  8266. <Principal Role="TblSalesCommDataStore">
  8267. <PropertyRef Name="Oid" />
  8268. </Principal>
  8269. <Dependent Role="TblSalesCommStatement">
  8270. <PropertyRef Name="DataStore" />
  8271. </Dependent>
  8272. </ReferentialConstraint>
  8273. </Association>
  8274. <Association Name="FK_TblSalesCommStatement_EarnerType">
  8275. <End Role="TblSalesCommEarnerType" Type="Self.TblSalesCommEarnerType" Multiplicity="0..1" />
  8276. <End Role="TblSalesCommStatement" Type="Self.TblSalesCommStatement" Multiplicity="*" />
  8277. <ReferentialConstraint>
  8278. <Principal Role="TblSalesCommEarnerType">
  8279. <PropertyRef Name="Oid" />
  8280. </Principal>
  8281. <Dependent Role="TblSalesCommStatement">
  8282. <PropertyRef Name="EarnerType" />
  8283. </Dependent>
  8284. </ReferentialConstraint>
  8285. </Association>
  8286. <Association Name="FK_TblSalesCommStatement_PersonnelCode">
  8287. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8288. <End Role="TblSalesCommStatement" Type="Self.TblSalesCommStatement" Multiplicity="*" />
  8289. <ReferentialConstraint>
  8290. <Principal Role="TblPersonnel">
  8291. <PropertyRef Name="PersonnelCode" />
  8292. </Principal>
  8293. <Dependent Role="TblSalesCommStatement">
  8294. <PropertyRef Name="PersonnelCode" />
  8295. </Dependent>
  8296. </ReferentialConstraint>
  8297. </Association>
  8298. <Association Name="FK_TblSalesCommStatement_Week">
  8299. <End Role="TblSalesCommWeek" Type="Self.TblSalesCommWeek" Multiplicity="0..1" />
  8300. <End Role="TblSalesCommStatement" Type="Self.TblSalesCommStatement" Multiplicity="*" />
  8301. <ReferentialConstraint>
  8302. <Principal Role="TblSalesCommWeek">
  8303. <PropertyRef Name="Oid" />
  8304. </Principal>
  8305. <Dependent Role="TblSalesCommStatement">
  8306. <PropertyRef Name="Week" />
  8307. </Dependent>
  8308. </ReferentialConstraint>
  8309. </Association>
  8310. <Association Name="FK_TblSalesCommWeek_Month">
  8311. <End Role="TblSalesCommMonth" Type="Self.TblSalesCommMonth" Multiplicity="0..1" />
  8312. <End Role="TblSalesCommWeek" Type="Self.TblSalesCommWeek" Multiplicity="*" />
  8313. <ReferentialConstraint>
  8314. <Principal Role="TblSalesCommMonth">
  8315. <PropertyRef Name="Oid" />
  8316. </Principal>
  8317. <Dependent Role="TblSalesCommWeek">
  8318. <PropertyRef Name="Month" />
  8319. </Dependent>
  8320. </ReferentialConstraint>
  8321. </Association>
  8322. <Association Name="FK_TblSalesPeriodWeekEnding_SalesPeriod">
  8323. <End Role="TblSalesPeriod" Type="Self.TblSalesPeriod" Multiplicity="0..1" />
  8324. <End Role="TblSalesPeriodWeekEnding" Type="Self.TblSalesPeriodWeekEnding" Multiplicity="*" />
  8325. <ReferentialConstraint>
  8326. <Principal Role="TblSalesPeriod">
  8327. <PropertyRef Name="OID" />
  8328. </Principal>
  8329. <Dependent Role="TblSalesPeriodWeekEnding">
  8330. <PropertyRef Name="SalesPeriod" />
  8331. </Dependent>
  8332. </ReferentialConstraint>
  8333. </Association>
  8334. <Association Name="FK_TblSalesRegister_Personnel">
  8335. <End Role="TblSalesVenuePersonnel" Type="Self.TblSalesVenuePersonnel" Multiplicity="0..1" />
  8336. <End Role="TblSalesRegister" Type="Self.TblSalesRegister" Multiplicity="*" />
  8337. <ReferentialConstraint>
  8338. <Principal Role="TblSalesVenuePersonnel">
  8339. <PropertyRef Name="OID" />
  8340. </Principal>
  8341. <Dependent Role="TblSalesRegister">
  8342. <PropertyRef Name="Personnel" />
  8343. </Dependent>
  8344. </ReferentialConstraint>
  8345. </Association>
  8346. <Association Name="FK_TblSalesRegister_SalesPeople">
  8347. <End Role="TblSalesRegisterHdr" Type="Self.TblSalesRegisterHdr" Multiplicity="0..1" />
  8348. <End Role="TblSalesRegister" Type="Self.TblSalesRegister" Multiplicity="*" />
  8349. <ReferentialConstraint>
  8350. <Principal Role="TblSalesRegisterHdr">
  8351. <PropertyRef Name="OID" />
  8352. </Principal>
  8353. <Dependent Role="TblSalesRegister">
  8354. <PropertyRef Name="SalesPeople" />
  8355. </Dependent>
  8356. </ReferentialConstraint>
  8357. </Association>
  8358. <Association Name="FK_TblSalesRegisterHdr_SalesVenue">
  8359. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8360. <End Role="TblSalesRegisterHdr" Type="Self.TblSalesRegisterHdr" Multiplicity="*" />
  8361. <ReferentialConstraint>
  8362. <Principal Role="TblSalesVenue">
  8363. <PropertyRef Name="OID" />
  8364. </Principal>
  8365. <Dependent Role="TblSalesRegisterHdr">
  8366. <PropertyRef Name="SalesVenue" />
  8367. </Dependent>
  8368. </ReferentialConstraint>
  8369. </Association>
  8370. <Association Name="FK_TblSalesVenue_ClientArrivalManager">
  8371. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8372. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8373. <ReferentialConstraint>
  8374. <Principal Role="TblPersonnel">
  8375. <PropertyRef Name="PersonnelCode" />
  8376. </Principal>
  8377. <Dependent Role="TblSalesVenue">
  8378. <PropertyRef Name="ClientArrivalManager" />
  8379. </Dependent>
  8380. </ReferentialConstraint>
  8381. </Association>
  8382. <Association Name="FK_TblSalesVenue_DefaultDeveloper">
  8383. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  8384. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8385. <ReferentialConstraint>
  8386. <Principal Role="TblDeveloper">
  8387. <PropertyRef Name="OID" />
  8388. </Principal>
  8389. <Dependent Role="TblSalesVenue">
  8390. <PropertyRef Name="DefaultDeveloper" />
  8391. </Dependent>
  8392. </ReferentialConstraint>
  8393. </Association>
  8394. <Association Name="FK_TblSalesVenue_RegionalSalesManager">
  8395. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8396. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8397. <ReferentialConstraint>
  8398. <Principal Role="TblPersonnel">
  8399. <PropertyRef Name="PersonnelCode" />
  8400. </Principal>
  8401. <Dependent Role="TblSalesVenue">
  8402. <PropertyRef Name="RegionalSalesManager" />
  8403. </Dependent>
  8404. </ReferentialConstraint>
  8405. </Association>
  8406. <Association Name="FK_TblSalesVenue_RegionalSalesManager2">
  8407. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8408. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8409. <ReferentialConstraint>
  8410. <Principal Role="TblPersonnel">
  8411. <PropertyRef Name="PersonnelCode" />
  8412. </Principal>
  8413. <Dependent Role="TblSalesVenue">
  8414. <PropertyRef Name="RegionalSalesManager2" />
  8415. </Dependent>
  8416. </ReferentialConstraint>
  8417. </Association>
  8418. <Association Name="FK_TblSalesVenue_Resort">
  8419. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  8420. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8421. <ReferentialConstraint>
  8422. <Principal Role="TblResort">
  8423. <PropertyRef Name="OID" />
  8424. </Principal>
  8425. <Dependent Role="TblSalesVenue">
  8426. <PropertyRef Name="Resort" />
  8427. </Dependent>
  8428. </ReferentialConstraint>
  8429. </Association>
  8430. <Association Name="FK_TblSalesVenue_SalesManager">
  8431. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8432. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8433. <ReferentialConstraint>
  8434. <Principal Role="TblPersonnel">
  8435. <PropertyRef Name="PersonnelCode" />
  8436. </Principal>
  8437. <Dependent Role="TblSalesVenue">
  8438. <PropertyRef Name="SalesManager" />
  8439. </Dependent>
  8440. </ReferentialConstraint>
  8441. </Association>
  8442. <Association Name="FK_TblSalesVenue_SalesVenueCommissionGroup">
  8443. <End Role="TblSalesVenueCommissionGroup" Type="Self.TblSalesVenueCommissionGroup" Multiplicity="0..1" />
  8444. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8445. <ReferentialConstraint>
  8446. <Principal Role="TblSalesVenueCommissionGroup">
  8447. <PropertyRef Name="Oid" />
  8448. </Principal>
  8449. <Dependent Role="TblSalesVenue">
  8450. <PropertyRef Name="SalesVenueCommissionGroup" />
  8451. </Dependent>
  8452. </ReferentialConstraint>
  8453. </Association>
  8454. <Association Name="FK_TblSalesVenue_SalesVenueGroup">
  8455. <End Role="TblSalesVenueGroup" Type="Self.TblSalesVenueGroup" Multiplicity="0..1" />
  8456. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="*" />
  8457. <ReferentialConstraint>
  8458. <Principal Role="TblSalesVenueGroup">
  8459. <PropertyRef Name="Oid" />
  8460. </Principal>
  8461. <Dependent Role="TblSalesVenue">
  8462. <PropertyRef Name="SalesVenueGroup" />
  8463. </Dependent>
  8464. </ReferentialConstraint>
  8465. </Association>
  8466. <Association Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride">
  8467. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8468. <End Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Type="Self.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Multiplicity="*" />
  8469. <ReferentialConstraint>
  8470. <Principal Role="TblPersonnel">
  8471. <PropertyRef Name="PersonnelCode" />
  8472. </Principal>
  8473. <Dependent Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  8474. <PropertyRef Name="CAOverride" />
  8475. </Dependent>
  8476. </ReferentialConstraint>
  8477. </Association>
  8478. <Association Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers">
  8479. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8480. <End Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Type="Self.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Multiplicity="*" />
  8481. <ReferentialConstraint>
  8482. <Principal Role="TblSalesVenue">
  8483. <PropertyRef Name="OID" />
  8484. </Principal>
  8485. <Dependent Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  8486. <PropertyRef Name="CAOverrideUsers" />
  8487. </Dependent>
  8488. </ReferentialConstraint>
  8489. </Association>
  8490. <Association Name="FK_TblSalesVenueClubAdjustments_SalesVenue">
  8491. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8492. <End Role="TblSalesVenueClubAdjustments" Type="Self.TblSalesVenueClubAdjustments" Multiplicity="*" />
  8493. <ReferentialConstraint>
  8494. <Principal Role="TblSalesVenue">
  8495. <PropertyRef Name="OID" />
  8496. </Principal>
  8497. <Dependent Role="TblSalesVenueClubAdjustments">
  8498. <PropertyRef Name="SalesVenue" />
  8499. </Dependent>
  8500. </ReferentialConstraint>
  8501. </Association>
  8502. <Association Name="FK_TblSalesVenueClubDevelopers_Developer">
  8503. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  8504. <End Role="TblSalesVenueClubDevelopers" Type="Self.TblSalesVenueClubDevelopers" Multiplicity="*" />
  8505. <ReferentialConstraint>
  8506. <Principal Role="TblDeveloper">
  8507. <PropertyRef Name="OID" />
  8508. </Principal>
  8509. <Dependent Role="TblSalesVenueClubDevelopers">
  8510. <PropertyRef Name="Developer" />
  8511. </Dependent>
  8512. </ReferentialConstraint>
  8513. </Association>
  8514. <Association Name="FK_TblSalesVenueClubDevelopers_TblSalesVenue">
  8515. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8516. <End Role="TblSalesVenueClubDevelopers" Type="Self.TblSalesVenueClubDevelopers" Multiplicity="*" />
  8517. <ReferentialConstraint>
  8518. <Principal Role="TblSalesVenue">
  8519. <PropertyRef Name="OID" />
  8520. </Principal>
  8521. <Dependent Role="TblSalesVenueClubDevelopers">
  8522. <PropertyRef Name="TblSalesVenue" />
  8523. </Dependent>
  8524. </ReferentialConstraint>
  8525. </Association>
  8526. <Association Name="FK_TblSalesVenueCommissionsSplit_SalesAgency">
  8527. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8528. <End Role="TblSalesVenueCommissionsSplit" Type="Self.TblSalesVenueCommissionsSplit" Multiplicity="*" />
  8529. <ReferentialConstraint>
  8530. <Principal Role="TblSalesVenue">
  8531. <PropertyRef Name="OID" />
  8532. </Principal>
  8533. <Dependent Role="TblSalesVenueCommissionsSplit">
  8534. <PropertyRef Name="SalesAgency" />
  8535. </Dependent>
  8536. </ReferentialConstraint>
  8537. </Association>
  8538. <Association Name="FK_TblSalesVenueComSplitLines_CommissionSplit">
  8539. <End Role="TblSalesVenueCommissionsSplit" Type="Self.TblSalesVenueCommissionsSplit" Multiplicity="0..1" />
  8540. <End Role="TblSalesVenueComSplitLines" Type="Self.TblSalesVenueComSplitLines" Multiplicity="*" />
  8541. <ReferentialConstraint>
  8542. <Principal Role="TblSalesVenueCommissionsSplit">
  8543. <PropertyRef Name="OID" />
  8544. </Principal>
  8545. <Dependent Role="TblSalesVenueComSplitLines">
  8546. <PropertyRef Name="CommissionSplit" />
  8547. </Dependent>
  8548. </ReferentialConstraint>
  8549. </Association>
  8550. <Association Name="FK_TblSalesVenueImportSource_ImportSource">
  8551. <End Role="TblImportSource" Type="Self.TblImportSource" Multiplicity="0..1" />
  8552. <End Role="TblSalesVenueImportSource" Type="Self.TblSalesVenueImportSource" Multiplicity="*" />
  8553. <ReferentialConstraint>
  8554. <Principal Role="TblImportSource">
  8555. <PropertyRef Name="OID" />
  8556. </Principal>
  8557. <Dependent Role="TblSalesVenueImportSource">
  8558. <PropertyRef Name="ImportSource" />
  8559. </Dependent>
  8560. </ReferentialConstraint>
  8561. </Association>
  8562. <Association Name="FK_TblSalesVenueImportSource_TblSalesVenue">
  8563. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8564. <End Role="TblSalesVenueImportSource" Type="Self.TblSalesVenueImportSource" Multiplicity="*" />
  8565. <ReferentialConstraint>
  8566. <Principal Role="TblSalesVenue">
  8567. <PropertyRef Name="OID" />
  8568. </Principal>
  8569. <Dependent Role="TblSalesVenueImportSource">
  8570. <PropertyRef Name="TblSalesVenue" />
  8571. </Dependent>
  8572. </ReferentialConstraint>
  8573. </Association>
  8574. <Association Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients">
  8575. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8576. <End Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Type="Self.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Multiplicity="*" />
  8577. <ReferentialConstraint>
  8578. <Principal Role="TblPersonnel">
  8579. <PropertyRef Name="PersonnelCode" />
  8580. </Principal>
  8581. <Dependent Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  8582. <PropertyRef Name="PitchedLeadsReportRecipients" />
  8583. </Dependent>
  8584. </ReferentialConstraint>
  8585. </Association>
  8586. <Association Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue">
  8587. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8588. <End Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Type="Self.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Multiplicity="*" />
  8589. <ReferentialConstraint>
  8590. <Principal Role="TblSalesVenue">
  8591. <PropertyRef Name="OID" />
  8592. </Principal>
  8593. <Dependent Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  8594. <PropertyRef Name="PitchedLeadsReportVenue" />
  8595. </Dependent>
  8596. </ReferentialConstraint>
  8597. </Association>
  8598. <Association Name="FK_TblSalesVenueRegFee_TblSalesVenue">
  8599. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8600. <End Role="TblSalesVenueRegFee" Type="Self.TblSalesVenueRegFee" Multiplicity="*" />
  8601. <ReferentialConstraint>
  8602. <Principal Role="TblSalesVenue">
  8603. <PropertyRef Name="OID" />
  8604. </Principal>
  8605. <Dependent Role="TblSalesVenueRegFee">
  8606. <PropertyRef Name="TblSalesVenue" />
  8607. </Dependent>
  8608. </ReferentialConstraint>
  8609. </Association>
  8610. <Association Name="FK_TblSalesVenueRegister_Personnel">
  8611. <End Role="TblSalesVenuePersonnel" Type="Self.TblSalesVenuePersonnel" Multiplicity="0..1" />
  8612. <End Role="TblSalesVenueRegister" Type="Self.TblSalesVenueRegister" Multiplicity="*" />
  8613. <ReferentialConstraint>
  8614. <Principal Role="TblSalesVenuePersonnel">
  8615. <PropertyRef Name="OID" />
  8616. </Principal>
  8617. <Dependent Role="TblSalesVenueRegister">
  8618. <PropertyRef Name="Personnel" />
  8619. </Dependent>
  8620. </ReferentialConstraint>
  8621. </Association>
  8622. <Association Name="FK_TblSalesVenueRegister_SalesConsultants">
  8623. <End Role="TblSalesVenueRegisterHdr" Type="Self.TblSalesVenueRegisterHdr" Multiplicity="0..1" />
  8624. <End Role="TblSalesVenueRegister" Type="Self.TblSalesVenueRegister" Multiplicity="*" />
  8625. <ReferentialConstraint>
  8626. <Principal Role="TblSalesVenueRegisterHdr">
  8627. <PropertyRef Name="OID" />
  8628. </Principal>
  8629. <Dependent Role="TblSalesVenueRegister">
  8630. <PropertyRef Name="SalesConsultants" />
  8631. </Dependent>
  8632. </ReferentialConstraint>
  8633. </Association>
  8634. <Association Name="FK_TblSalesVenueRegisterHdr_SalesVenue">
  8635. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8636. <End Role="TblSalesVenueRegisterHdr" Type="Self.TblSalesVenueRegisterHdr" Multiplicity="*" />
  8637. <ReferentialConstraint>
  8638. <Principal Role="TblSalesVenue">
  8639. <PropertyRef Name="OID" />
  8640. </Principal>
  8641. <Dependent Role="TblSalesVenueRegisterHdr">
  8642. <PropertyRef Name="SalesVenue" />
  8643. </Dependent>
  8644. </ReferentialConstraint>
  8645. </Association>
  8646. <Association Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  8647. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  8648. <End Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Type="Self.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  8649. <ReferentialConstraint>
  8650. <Principal Role="TblPromotionCommissionStructure">
  8651. <PropertyRef Name="Oid" />
  8652. </Principal>
  8653. <Dependent Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  8654. <PropertyRef Name="PromotionCommissionStructures" />
  8655. </Dependent>
  8656. </ReferentialConstraint>
  8657. </Association>
  8658. <Association Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues">
  8659. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8660. <End Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Type="Self.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  8661. <ReferentialConstraint>
  8662. <Principal Role="TblSalesVenue">
  8663. <PropertyRef Name="OID" />
  8664. </Principal>
  8665. <Dependent Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  8666. <PropertyRef Name="SalesVenues" />
  8667. </Dependent>
  8668. </ReferentialConstraint>
  8669. </Association>
  8670. <Association Name="FK_TblSalesVenueTelemarketerOffice_SalesVenue">
  8671. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8672. <End Role="TblSalesVenueTelemarketerOffice-bak" Type="Self.TblSalesVenueTelemarketerOffice-bak" Multiplicity="*" />
  8673. <ReferentialConstraint>
  8674. <Principal Role="TblSalesVenue">
  8675. <PropertyRef Name="OID" />
  8676. </Principal>
  8677. <Dependent Role="TblSalesVenueTelemarketerOffice-bak">
  8678. <PropertyRef Name="SalesVenue" />
  8679. </Dependent>
  8680. </ReferentialConstraint>
  8681. </Association>
  8682. <Association Name="FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice">
  8683. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="0..1" />
  8684. <End Role="TblSalesVenueTelemarketerOffice-bak" Type="Self.TblSalesVenueTelemarketerOffice-bak" Multiplicity="*" />
  8685. <ReferentialConstraint>
  8686. <Principal Role="TblTelemarketerOffice">
  8687. <PropertyRef Name="OID" />
  8688. </Principal>
  8689. <Dependent Role="TblSalesVenueTelemarketerOffice-bak">
  8690. <PropertyRef Name="TelemarketerOffice" />
  8691. </Dependent>
  8692. </ReferentialConstraint>
  8693. </Association>
  8694. <Association Name="FK_TblSalesVenueWeeklyTargetSplit_SalesVenue">
  8695. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8696. <End Role="TblSalesVenueWeeklyTargetSplit" Type="Self.TblSalesVenueWeeklyTargetSplit" Multiplicity="*" />
  8697. <ReferentialConstraint>
  8698. <Principal Role="TblSalesVenue">
  8699. <PropertyRef Name="OID" />
  8700. </Principal>
  8701. <Dependent Role="TblSalesVenueWeeklyTargetSplit">
  8702. <PropertyRef Name="SalesVenue" />
  8703. </Dependent>
  8704. </ReferentialConstraint>
  8705. </Association>
  8706. <Association Name="FK_TblSCV2CommissionContract_CommissionWeek">
  8707. <End Role="TblSCV2CommissionWeek" Type="Self.TblSCV2CommissionWeek" Multiplicity="0..1" />
  8708. <End Role="TblSCV2CommissionContract" Type="Self.TblSCV2CommissionContract" Multiplicity="*" />
  8709. <ReferentialConstraint>
  8710. <Principal Role="TblSCV2CommissionWeek">
  8711. <PropertyRef Name="Oid" />
  8712. </Principal>
  8713. <Dependent Role="TblSCV2CommissionContract">
  8714. <PropertyRef Name="CommissionWeek" />
  8715. </Dependent>
  8716. </ReferentialConstraint>
  8717. </Association>
  8718. <Association Name="FK_TblSCV2CommissionContract_SalesPerson">
  8719. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8720. <End Role="TblSCV2CommissionContract" Type="Self.TblSCV2CommissionContract" Multiplicity="*" />
  8721. <ReferentialConstraint>
  8722. <Principal Role="TblPersonnel">
  8723. <PropertyRef Name="PersonnelCode" />
  8724. </Principal>
  8725. <Dependent Role="TblSCV2CommissionContract">
  8726. <PropertyRef Name="SalesPerson" />
  8727. </Dependent>
  8728. </ReferentialConstraint>
  8729. </Association>
  8730. <Association Name="FK_TblSCV2CommissionWeek_CommissionPeriod">
  8731. <End Role="TblSCV2CommissionPeriod" Type="Self.TblSCV2CommissionPeriod" Multiplicity="0..1" />
  8732. <End Role="TblSCV2CommissionWeek" Type="Self.TblSCV2CommissionWeek" Multiplicity="*" />
  8733. <ReferentialConstraint>
  8734. <Principal Role="TblSCV2CommissionPeriod">
  8735. <PropertyRef Name="Oid" />
  8736. </Principal>
  8737. <Dependent Role="TblSCV2CommissionWeek">
  8738. <PropertyRef Name="CommissionPeriod" />
  8739. </Dependent>
  8740. </ReferentialConstraint>
  8741. </Association>
  8742. <Association Name="FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure">
  8743. <End Role="TblSCV2CommissionStructure" Type="Self.TblSCV2CommissionStructure" Multiplicity="0..1" />
  8744. <End Role="TblSCV2RegionalManagerContractTypeOverride" Type="Self.TblSCV2RegionalManagerContractTypeOverride" Multiplicity="*" />
  8745. <ReferentialConstraint>
  8746. <Principal Role="TblSCV2CommissionStructure">
  8747. <PropertyRef Name="Oid" />
  8748. </Principal>
  8749. <Dependent Role="TblSCV2RegionalManagerContractTypeOverride">
  8750. <PropertyRef Name="CommissionStructure" />
  8751. </Dependent>
  8752. </ReferentialConstraint>
  8753. </Association>
  8754. <Association Name="FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure">
  8755. <End Role="TblSCV2SpecialStructure" Type="Self.TblSCV2SpecialStructure" Multiplicity="0..1" />
  8756. <End Role="TblSCV2RegionalManagerContractTypeOverride" Type="Self.TblSCV2RegionalManagerContractTypeOverride" Multiplicity="*" />
  8757. <ReferentialConstraint>
  8758. <Principal Role="TblSCV2SpecialStructure">
  8759. <PropertyRef Name="Oid" />
  8760. </Principal>
  8761. <Dependent Role="TblSCV2RegionalManagerContractTypeOverride">
  8762. <PropertyRef Name="SpecialStructure" />
  8763. </Dependent>
  8764. </ReferentialConstraint>
  8765. </Association>
  8766. <Association Name="FK_TblSCV2SalesVenueScale_SalesVenue">
  8767. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8768. <End Role="TblSCV2SalesVenueScale" Type="Self.TblSCV2SalesVenueScale" Multiplicity="*" />
  8769. <ReferentialConstraint>
  8770. <Principal Role="TblSalesVenue">
  8771. <PropertyRef Name="OID" />
  8772. </Principal>
  8773. <Dependent Role="TblSCV2SalesVenueScale">
  8774. <PropertyRef Name="SalesVenue" />
  8775. </Dependent>
  8776. </ReferentialConstraint>
  8777. </Association>
  8778. <Association Name="FK_TblSCV2Scales_CommissionStructure">
  8779. <End Role="TblSCV2CommissionStructure" Type="Self.TblSCV2CommissionStructure" Multiplicity="0..1" />
  8780. <End Role="TblSCV2Scales" Type="Self.TblSCV2Scales" Multiplicity="*" />
  8781. <ReferentialConstraint>
  8782. <Principal Role="TblSCV2CommissionStructure">
  8783. <PropertyRef Name="Oid" />
  8784. </Principal>
  8785. <Dependent Role="TblSCV2Scales">
  8786. <PropertyRef Name="CommissionStructure" />
  8787. </Dependent>
  8788. </ReferentialConstraint>
  8789. </Association>
  8790. <Association Name="FK_TblSCV2SpecialScales_Structure">
  8791. <End Role="TblSCV2SpecialStructure" Type="Self.TblSCV2SpecialStructure" Multiplicity="0..1" />
  8792. <End Role="TblSCV2SpecialScales" Type="Self.TblSCV2SpecialScales" Multiplicity="*" />
  8793. <ReferentialConstraint>
  8794. <Principal Role="TblSCV2SpecialStructure">
  8795. <PropertyRef Name="Oid" />
  8796. </Principal>
  8797. <Dependent Role="TblSCV2SpecialScales">
  8798. <PropertyRef Name="Structure" />
  8799. </Dependent>
  8800. </ReferentialConstraint>
  8801. </Association>
  8802. <Association Name="FK_TblSCV2SpecialStructure_Personnel">
  8803. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8804. <End Role="TblSCV2SpecialStructure" Type="Self.TblSCV2SpecialStructure" Multiplicity="*" />
  8805. <ReferentialConstraint>
  8806. <Principal Role="TblPersonnel">
  8807. <PropertyRef Name="PersonnelCode" />
  8808. </Principal>
  8809. <Dependent Role="TblSCV2SpecialStructure">
  8810. <PropertyRef Name="Personnel" />
  8811. </Dependent>
  8812. </ReferentialConstraint>
  8813. </Association>
  8814. <Association Name="FK_TblSCV2SpecialStructure_SalesCommissionGroup">
  8815. <End Role="TblSalesVenueCommissionGroup" Type="Self.TblSalesVenueCommissionGroup" Multiplicity="0..1" />
  8816. <End Role="TblSCV2SpecialStructure" Type="Self.TblSCV2SpecialStructure" Multiplicity="*" />
  8817. <ReferentialConstraint>
  8818. <Principal Role="TblSalesVenueCommissionGroup">
  8819. <PropertyRef Name="Oid" />
  8820. </Principal>
  8821. <Dependent Role="TblSCV2SpecialStructure">
  8822. <PropertyRef Name="SalesCommissionGroup" />
  8823. </Dependent>
  8824. </ReferentialConstraint>
  8825. </Association>
  8826. <Association Name="FK_TblSCV2Transaction_CommissionContract">
  8827. <End Role="TblSCV2CommissionContract" Type="Self.TblSCV2CommissionContract" Multiplicity="0..1" />
  8828. <End Role="TblSCV2Transaction" Type="Self.TblSCV2Transaction" Multiplicity="*" />
  8829. <ReferentialConstraint>
  8830. <Principal Role="TblSCV2CommissionContract">
  8831. <PropertyRef Name="Oid" />
  8832. </Principal>
  8833. <Dependent Role="TblSCV2Transaction">
  8834. <PropertyRef Name="CommissionContract" />
  8835. </Dependent>
  8836. </ReferentialConstraint>
  8837. </Association>
  8838. <Association Name="FK_TblSCV2Transaction_SignOffBy">
  8839. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8840. <End Role="TblSCV2Transaction" Type="Self.TblSCV2Transaction" Multiplicity="*" />
  8841. <ReferentialConstraint>
  8842. <Principal Role="TblPersonnel">
  8843. <PropertyRef Name="PersonnelCode" />
  8844. </Principal>
  8845. <Dependent Role="TblSCV2Transaction">
  8846. <PropertyRef Name="SignOffBy" />
  8847. </Dependent>
  8848. </ReferentialConstraint>
  8849. </Association>
  8850. <Association Name="FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure">
  8851. <End Role="TblPromotionCommissionStructure" Type="Self.TblPromotionCommissionStructure" Multiplicity="0..1" />
  8852. <End Role="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" Type="Self.TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" Multiplicity="*" />
  8853. <ReferentialConstraint>
  8854. <Principal Role="TblPromotionCommissionStructure">
  8855. <PropertyRef Name="Oid" />
  8856. </Principal>
  8857. <Dependent Role="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  8858. <PropertyRef Name="PromotionCommissionStructure" />
  8859. </Dependent>
  8860. </ReferentialConstraint>
  8861. </Association>
  8862. <Association Name="FK_TblSeasonsRankings_Rankings">
  8863. <End Role="TblRankings" Type="Self.TblRankings" Multiplicity="0..1" />
  8864. <End Role="TblSeasonsRankings" Type="Self.TblSeasonsRankings" Multiplicity="*" />
  8865. <ReferentialConstraint>
  8866. <Principal Role="TblRankings">
  8867. <PropertyRef Name="OID" />
  8868. </Principal>
  8869. <Dependent Role="TblSeasonsRankings">
  8870. <PropertyRef Name="Rankings" />
  8871. </Dependent>
  8872. </ReferentialConstraint>
  8873. </Association>
  8874. <Association Name="FK_TblSessionOverride_SalesVenue">
  8875. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  8876. <End Role="TblSessionOverride" Type="Self.TblSessionOverride" Multiplicity="*" />
  8877. <ReferentialConstraint>
  8878. <Principal Role="TblSalesVenue">
  8879. <PropertyRef Name="OID" />
  8880. </Principal>
  8881. <Dependent Role="TblSessionOverride">
  8882. <PropertyRef Name="SalesVenue" />
  8883. </Dependent>
  8884. </ReferentialConstraint>
  8885. </Association>
  8886. <Association Name="FK_TblSleeperRankings_Rankings">
  8887. <End Role="TblRankings" Type="Self.TblRankings" Multiplicity="0..1" />
  8888. <End Role="TblSleeperRankings" Type="Self.TblSleeperRankings" Multiplicity="*" />
  8889. <ReferentialConstraint>
  8890. <Principal Role="TblRankings">
  8891. <PropertyRef Name="OID" />
  8892. </Principal>
  8893. <Dependent Role="TblSleeperRankings">
  8894. <PropertyRef Name="Rankings" />
  8895. </Dependent>
  8896. </ReferentialConstraint>
  8897. </Association>
  8898. <Association Name="FK_TblSMICommissionContract_SalesWeek">
  8899. <End Role="TblSMISalesPersonWeek" Type="Self.TblSMISalesPersonWeek" Multiplicity="0..1" />
  8900. <End Role="TblSMICommissionContract" Type="Self.TblSMICommissionContract" Multiplicity="*" />
  8901. <ReferentialConstraint>
  8902. <Principal Role="TblSMISalesPersonWeek">
  8903. <PropertyRef Name="Oid" />
  8904. </Principal>
  8905. <Dependent Role="TblSMICommissionContract">
  8906. <PropertyRef Name="SalesWeek" />
  8907. </Dependent>
  8908. </ReferentialConstraint>
  8909. </Association>
  8910. <Association Name="FK_TblSMICommissionInfo_CommissionPeriod">
  8911. <End Role="TblSMICommissionPeriod" Type="Self.TblSMICommissionPeriod" Multiplicity="0..1" />
  8912. <End Role="TblSMICommissionInfo" Type="Self.TblSMICommissionInfo" Multiplicity="*" />
  8913. <ReferentialConstraint>
  8914. <Principal Role="TblSMICommissionPeriod">
  8915. <PropertyRef Name="Oid" />
  8916. </Principal>
  8917. <Dependent Role="TblSMICommissionInfo">
  8918. <PropertyRef Name="CommissionPeriod" />
  8919. </Dependent>
  8920. </ReferentialConstraint>
  8921. </Association>
  8922. <Association Name="FK_TblSMICommissionInfo_SalesPerson">
  8923. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  8924. <End Role="TblSMICommissionInfo" Type="Self.TblSMICommissionInfo" Multiplicity="*" />
  8925. <ReferentialConstraint>
  8926. <Principal Role="TblPersonnel">
  8927. <PropertyRef Name="PersonnelCode" />
  8928. </Principal>
  8929. <Dependent Role="TblSMICommissionInfo">
  8930. <PropertyRef Name="SalesPerson" />
  8931. </Dependent>
  8932. </ReferentialConstraint>
  8933. </Association>
  8934. <Association Name="FK_TblSMICommissionWeek_CommissionPeriod">
  8935. <End Role="TblSMICommissionPeriod" Type="Self.TblSMICommissionPeriod" Multiplicity="0..1" />
  8936. <End Role="TblSMICommissionWeek" Type="Self.TblSMICommissionWeek" Multiplicity="*" />
  8937. <ReferentialConstraint>
  8938. <Principal Role="TblSMICommissionPeriod">
  8939. <PropertyRef Name="Oid" />
  8940. </Principal>
  8941. <Dependent Role="TblSMICommissionWeek">
  8942. <PropertyRef Name="CommissionPeriod" />
  8943. </Dependent>
  8944. </ReferentialConstraint>
  8945. </Association>
  8946. <Association Name="FK_TblSMIIncentiveLevel_Incentive">
  8947. <End Role="TblSMIIncentive" Type="Self.TblSMIIncentive" Multiplicity="0..1" />
  8948. <End Role="TblSMIIncentiveLevel" Type="Self.TblSMIIncentiveLevel" Multiplicity="*" />
  8949. <ReferentialConstraint>
  8950. <Principal Role="TblSMIIncentive">
  8951. <PropertyRef Name="Oid" />
  8952. </Principal>
  8953. <Dependent Role="TblSMIIncentiveLevel">
  8954. <PropertyRef Name="Incentive" />
  8955. </Dependent>
  8956. </ReferentialConstraint>
  8957. </Association>
  8958. <Association Name="FK_TblSMISalesPersonWeek_CommissionInfo">
  8959. <End Role="TblSMICommissionInfo" Type="Self.TblSMICommissionInfo" Multiplicity="0..1" />
  8960. <End Role="TblSMISalesPersonWeek" Type="Self.TblSMISalesPersonWeek" Multiplicity="*" />
  8961. <ReferentialConstraint>
  8962. <Principal Role="TblSMICommissionInfo">
  8963. <PropertyRef Name="Oid" />
  8964. </Principal>
  8965. <Dependent Role="TblSMISalesPersonWeek">
  8966. <PropertyRef Name="CommissionInfo" />
  8967. </Dependent>
  8968. </ReferentialConstraint>
  8969. </Association>
  8970. <Association Name="FK_TblSMISalesPersonWeek_CommissionWeek">
  8971. <End Role="TblSMICommissionWeek" Type="Self.TblSMICommissionWeek" Multiplicity="0..1" />
  8972. <End Role="TblSMISalesPersonWeek" Type="Self.TblSMISalesPersonWeek" Multiplicity="*" />
  8973. <ReferentialConstraint>
  8974. <Principal Role="TblSMICommissionWeek">
  8975. <PropertyRef Name="Oid" />
  8976. </Principal>
  8977. <Dependent Role="TblSMISalesPersonWeek">
  8978. <PropertyRef Name="CommissionWeek" />
  8979. </Dependent>
  8980. </ReferentialConstraint>
  8981. </Association>
  8982. <Association Name="FK_TblSMITransaction_CommissionContract">
  8983. <End Role="TblSMICommissionContract" Type="Self.TblSMICommissionContract" Multiplicity="0..1" />
  8984. <End Role="TblSMITransaction" Type="Self.TblSMITransaction" Multiplicity="*" />
  8985. <ReferentialConstraint>
  8986. <Principal Role="TblSMICommissionContract">
  8987. <PropertyRef Name="Oid" />
  8988. </Principal>
  8989. <Dependent Role="TblSMITransaction">
  8990. <PropertyRef Name="CommissionContract" />
  8991. </Dependent>
  8992. </ReferentialConstraint>
  8993. </Association>
  8994. <Association Name="FK_TblSMITransaction_CommissionPeriod">
  8995. <End Role="TblSMICommissionPeriod" Type="Self.TblSMICommissionPeriod" Multiplicity="0..1" />
  8996. <End Role="TblSMITransaction" Type="Self.TblSMITransaction" Multiplicity="*" />
  8997. <ReferentialConstraint>
  8998. <Principal Role="TblSMICommissionPeriod">
  8999. <PropertyRef Name="Oid" />
  9000. </Principal>
  9001. <Dependent Role="TblSMITransaction">
  9002. <PropertyRef Name="CommissionPeriod" />
  9003. </Dependent>
  9004. </ReferentialConstraint>
  9005. </Association>
  9006. <Association Name="FK_TblSMITransaction_SignOffBy">
  9007. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9008. <End Role="TblSMITransaction" Type="Self.TblSMITransaction" Multiplicity="*" />
  9009. <ReferentialConstraint>
  9010. <Principal Role="TblPersonnel">
  9011. <PropertyRef Name="PersonnelCode" />
  9012. </Principal>
  9013. <Dependent Role="TblSMITransaction">
  9014. <PropertyRef Name="SignOffBy" />
  9015. </Dependent>
  9016. </ReferentialConstraint>
  9017. </Association>
  9018. <Association Name="FK_TblSMSCampaignMessages_Portfolio">
  9019. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9020. <End Role="TblSMSCampaignMessages" Type="Self.TblSMSCampaignMessages" Multiplicity="*" />
  9021. <ReferentialConstraint>
  9022. <Principal Role="TblPortfolio">
  9023. <PropertyRef Name="OID" />
  9024. </Principal>
  9025. <Dependent Role="TblSMSCampaignMessages">
  9026. <PropertyRef Name="Portfolio" />
  9027. </Dependent>
  9028. </ReferentialConstraint>
  9029. </Association>
  9030. <Association Name="FK_TblStreamline_Developer">
  9031. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  9032. <End Role="TblStreamline" Type="Self.TblStreamline" Multiplicity="*" />
  9033. <ReferentialConstraint>
  9034. <Principal Role="TblDeveloper">
  9035. <PropertyRef Name="OID" />
  9036. </Principal>
  9037. <Dependent Role="TblStreamline">
  9038. <PropertyRef Name="Developer" />
  9039. </Dependent>
  9040. </ReferentialConstraint>
  9041. </Association>
  9042. <Association Name="FK_TblStreamline_Portfolio">
  9043. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9044. <End Role="TblStreamline" Type="Self.TblStreamline" Multiplicity="*" />
  9045. <ReferentialConstraint>
  9046. <Principal Role="TblPortfolio">
  9047. <PropertyRef Name="OID" />
  9048. </Principal>
  9049. <Dependent Role="TblStreamline">
  9050. <PropertyRef Name="Portfolio" />
  9051. </Dependent>
  9052. </ReferentialConstraint>
  9053. </Association>
  9054. <Association Name="FK_TblStreamline_SalesAgent">
  9055. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9056. <End Role="TblStreamline" Type="Self.TblStreamline" Multiplicity="*" />
  9057. <ReferentialConstraint>
  9058. <Principal Role="TblPersonnel">
  9059. <PropertyRef Name="PersonnelCode" />
  9060. </Principal>
  9061. <Dependent Role="TblStreamline">
  9062. <PropertyRef Name="SalesAgent" />
  9063. </Dependent>
  9064. </ReferentialConstraint>
  9065. </Association>
  9066. <Association Name="FK_TblStreamline_SpouseTitle">
  9067. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9068. <End Role="TblStreamline" Type="Self.TblStreamline" Multiplicity="*" />
  9069. <ReferentialConstraint>
  9070. <Principal Role="Titles">
  9071. <PropertyRef Name="Title" />
  9072. </Principal>
  9073. <Dependent Role="TblStreamline">
  9074. <PropertyRef Name="SpouseTitle" />
  9075. </Dependent>
  9076. </ReferentialConstraint>
  9077. </Association>
  9078. <Association Name="FK_TblStreamline_Title">
  9079. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9080. <End Role="TblStreamline" Type="Self.TblStreamline" Multiplicity="*" />
  9081. <ReferentialConstraint>
  9082. <Principal Role="Titles">
  9083. <PropertyRef Name="Title" />
  9084. </Principal>
  9085. <Dependent Role="TblStreamline">
  9086. <PropertyRef Name="Title" />
  9087. </Dependent>
  9088. </ReferentialConstraint>
  9089. </Association>
  9090. <Association Name="FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus">
  9091. <End Role="TblSubStatus" Type="Self.TblSubStatus" Multiplicity="0..1" />
  9092. <End Role="TblSubStatusSubStatus_TblCCDStatusCCDStatus" Type="Self.TblSubStatusSubStatus_TblCCDStatusCCDStatus" Multiplicity="*" />
  9093. <ReferentialConstraint>
  9094. <Principal Role="TblSubStatus">
  9095. <PropertyRef Name="OID" />
  9096. </Principal>
  9097. <Dependent Role="TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  9098. <PropertyRef Name="SubStatus" />
  9099. </Dependent>
  9100. </ReferentialConstraint>
  9101. </Association>
  9102. <Association Name="FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses">
  9103. <End Role="TblSubStatus" Type="Self.TblSubStatus" Multiplicity="0..1" />
  9104. <End Role="TblSubStatusSubStatuses_StatusStatus" Type="Self.TblSubStatusSubStatuses_StatusStatus" Multiplicity="*" />
  9105. <ReferentialConstraint>
  9106. <Principal Role="TblSubStatus">
  9107. <PropertyRef Name="OID" />
  9108. </Principal>
  9109. <Dependent Role="TblSubStatusSubStatuses_StatusStatus">
  9110. <PropertyRef Name="SubStatuses" />
  9111. </Dependent>
  9112. </ReferentialConstraint>
  9113. </Association>
  9114. <Association Name="FK_TblSuspenseTransaction_AllowcatedAccount">
  9115. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  9116. <End Role="TblSuspenseTransaction" Type="Self.TblSuspenseTransaction" Multiplicity="*" />
  9117. <ReferentialConstraint>
  9118. <Principal Role="TblDebtor">
  9119. <PropertyRef Name="OID" />
  9120. </Principal>
  9121. <Dependent Role="TblSuspenseTransaction">
  9122. <PropertyRef Name="AllowcatedAccount" />
  9123. </Dependent>
  9124. </ReferentialConstraint>
  9125. </Association>
  9126. <Association Name="FK_TblSuspenseTransaction_JournalLine">
  9127. <End Role="TblJournalLines" Type="Self.TblJournalLines" Multiplicity="0..1" />
  9128. <End Role="TblSuspenseTransaction" Type="Self.TblSuspenseTransaction" Multiplicity="*" />
  9129. <ReferentialConstraint>
  9130. <Principal Role="TblJournalLines">
  9131. <PropertyRef Name="OID" />
  9132. </Principal>
  9133. <Dependent Role="TblSuspenseTransaction">
  9134. <PropertyRef Name="JournalLine" />
  9135. </Dependent>
  9136. </ReferentialConstraint>
  9137. </Association>
  9138. <Association Name="FK_TblSuspenseTransactionSplit_Account">
  9139. <End Role="TblDebtor" Type="Self.TblDebtor" Multiplicity="0..1" />
  9140. <End Role="TblSuspenseTransactionSplit" Type="Self.TblSuspenseTransactionSplit" Multiplicity="*" />
  9141. <ReferentialConstraint>
  9142. <Principal Role="TblDebtor">
  9143. <PropertyRef Name="OID" />
  9144. </Principal>
  9145. <Dependent Role="TblSuspenseTransactionSplit">
  9146. <PropertyRef Name="Account" />
  9147. </Dependent>
  9148. </ReferentialConstraint>
  9149. </Association>
  9150. <Association Name="FK_TblSuspenseTransactionSplit_SuspenseLine">
  9151. <End Role="TblSuspenseTransaction" Type="Self.TblSuspenseTransaction" Multiplicity="0..1" />
  9152. <End Role="TblSuspenseTransactionSplit" Type="Self.TblSuspenseTransactionSplit" Multiplicity="*" />
  9153. <ReferentialConstraint>
  9154. <Principal Role="TblSuspenseTransaction">
  9155. <PropertyRef Name="OID" />
  9156. </Principal>
  9157. <Dependent Role="TblSuspenseTransactionSplit">
  9158. <PropertyRef Name="SuspenseLine" />
  9159. </Dependent>
  9160. </ReferentialConstraint>
  9161. </Association>
  9162. <Association Name="FK_TblTelemarketerOffice_Company">
  9163. <End Role="TblTelemarketingCompany" Type="Self.TblTelemarketingCompany" Multiplicity="0..1" />
  9164. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="*" />
  9165. <ReferentialConstraint>
  9166. <Principal Role="TblTelemarketingCompany">
  9167. <PropertyRef Name="OID" />
  9168. </Principal>
  9169. <Dependent Role="TblTelemarketerOffice">
  9170. <PropertyRef Name="Company" />
  9171. </Dependent>
  9172. </ReferentialConstraint>
  9173. </Association>
  9174. <Association Name="FK_TblTelemarketerOffice_SMSSettings">
  9175. <End Role="TelemarketingSMSSettings" Type="Self.TelemarketingSMSSettings" Multiplicity="0..1" />
  9176. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="*" />
  9177. <ReferentialConstraint>
  9178. <Principal Role="TelemarketingSMSSettings">
  9179. <PropertyRef Name="Oid" />
  9180. </Principal>
  9181. <Dependent Role="TblTelemarketerOffice">
  9182. <PropertyRef Name="SMSSettings" />
  9183. </Dependent>
  9184. </ReferentialConstraint>
  9185. </Association>
  9186. <Association Name="FK_TblTelemarketerRegister_PersonnelCode">
  9187. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9188. <End Role="TblTelemarketerRegister" Type="Self.TblTelemarketerRegister" Multiplicity="*" />
  9189. <ReferentialConstraint>
  9190. <Principal Role="TblPersonnel">
  9191. <PropertyRef Name="PersonnelCode" />
  9192. </Principal>
  9193. <Dependent Role="TblTelemarketerRegister">
  9194. <PropertyRef Name="PersonnelCode" />
  9195. </Dependent>
  9196. </ReferentialConstraint>
  9197. </Association>
  9198. <Association Name="FK_TblTelemarketerRegister_Telemarketers">
  9199. <End Role="TblTelemarketerRegisterHdr" Type="Self.TblTelemarketerRegisterHdr" Multiplicity="0..1" />
  9200. <End Role="TblTelemarketerRegister" Type="Self.TblTelemarketerRegister" Multiplicity="*" />
  9201. <ReferentialConstraint>
  9202. <Principal Role="TblTelemarketerRegisterHdr">
  9203. <PropertyRef Name="OID" />
  9204. </Principal>
  9205. <Dependent Role="TblTelemarketerRegister">
  9206. <PropertyRef Name="Telemarketers" />
  9207. </Dependent>
  9208. </ReferentialConstraint>
  9209. </Association>
  9210. <Association Name="FK_TblTelemarketerRegisterHdr_SalesVenue">
  9211. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  9212. <End Role="TblTelemarketerRegisterHdr" Type="Self.TblTelemarketerRegisterHdr" Multiplicity="*" />
  9213. <ReferentialConstraint>
  9214. <Principal Role="TblSalesVenue">
  9215. <PropertyRef Name="OID" />
  9216. </Principal>
  9217. <Dependent Role="TblTelemarketerRegisterHdr">
  9218. <PropertyRef Name="SalesVenue" />
  9219. </Dependent>
  9220. </ReferentialConstraint>
  9221. </Association>
  9222. <Association Name="FK_TblTelemarketerRegisterHdr_TelemarketerOffice">
  9223. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="0..1" />
  9224. <End Role="TblTelemarketerRegisterHdr" Type="Self.TblTelemarketerRegisterHdr" Multiplicity="*" />
  9225. <ReferentialConstraint>
  9226. <Principal Role="TblTelemarketerOffice">
  9227. <PropertyRef Name="OID" />
  9228. </Principal>
  9229. <Dependent Role="TblTelemarketerRegisterHdr">
  9230. <PropertyRef Name="TelemarketerOffice" />
  9231. </Dependent>
  9232. </ReferentialConstraint>
  9233. </Association>
  9234. <Association Name="FK_TblTelephones_PortfolioNumber">
  9235. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9236. <End Role="TblTelephones" Type="Self.TblTelephones" Multiplicity="*" />
  9237. <ReferentialConstraint>
  9238. <Principal Role="TblPortfolio">
  9239. <PropertyRef Name="OID" />
  9240. </Principal>
  9241. <Dependent Role="TblTelephones">
  9242. <PropertyRef Name="PortfolioNumber" />
  9243. </Dependent>
  9244. </ReferentialConstraint>
  9245. </Association>
  9246. <Association Name="FK_TblTelephones_TelephoneType">
  9247. <End Role="TblTelephoneTypes" Type="Self.TblTelephoneTypes" Multiplicity="0..1" />
  9248. <End Role="TblTelephones" Type="Self.TblTelephones" Multiplicity="*" />
  9249. <ReferentialConstraint>
  9250. <Principal Role="TblTelephoneTypes">
  9251. <PropertyRef Name="OID" />
  9252. </Principal>
  9253. <Dependent Role="TblTelephones">
  9254. <PropertyRef Name="TelephoneType" />
  9255. </Dependent>
  9256. </ReferentialConstraint>
  9257. </Association>
  9258. <Association Name="FK_TblTFGLeads_OwnedBy">
  9259. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9260. <End Role="TblTFGLeads" Type="Self.TblTFGLeads" Multiplicity="*" />
  9261. <ReferentialConstraint>
  9262. <Principal Role="TblPersonnel">
  9263. <PropertyRef Name="PersonnelCode" />
  9264. </Principal>
  9265. <Dependent Role="TblTFGLeads">
  9266. <PropertyRef Name="OwnedBy" />
  9267. </Dependent>
  9268. </ReferentialConstraint>
  9269. </Association>
  9270. <Association Name="FK_TblTFGLeads_Title">
  9271. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9272. <End Role="TblTFGLeads" Type="Self.TblTFGLeads" Multiplicity="*" />
  9273. <ReferentialConstraint>
  9274. <Principal Role="Titles">
  9275. <PropertyRef Name="Title" />
  9276. </Principal>
  9277. <Dependent Role="TblTFGLeads">
  9278. <PropertyRef Name="Title" />
  9279. </Dependent>
  9280. </ReferentialConstraint>
  9281. </Association>
  9282. <Association Name="FK_TblTimeOffCompetition_Campaign">
  9283. <End Role="TblTimeOffCampaign" Type="Self.TblTimeOffCampaign" Multiplicity="0..1" />
  9284. <End Role="TblTimeOffCompetition" Type="Self.TblTimeOffCompetition" Multiplicity="*" />
  9285. <ReferentialConstraint>
  9286. <Principal Role="TblTimeOffCampaign">
  9287. <PropertyRef Name="OID" />
  9288. </Principal>
  9289. <Dependent Role="TblTimeOffCompetition">
  9290. <PropertyRef Name="Campaign" />
  9291. </Dependent>
  9292. </ReferentialConstraint>
  9293. </Association>
  9294. <Association Name="FK_TblTimeOffCompetition_Winner">
  9295. <End Role="TblTimeOffCompetitionEntry" Type="Self.TblTimeOffCompetitionEntry" Multiplicity="0..1" />
  9296. <End Role="TblTimeOffCompetition" Type="Self.TblTimeOffCompetition" Multiplicity="*" />
  9297. <ReferentialConstraint>
  9298. <Principal Role="TblTimeOffCompetitionEntry">
  9299. <PropertyRef Name="OID" />
  9300. </Principal>
  9301. <Dependent Role="TblTimeOffCompetition">
  9302. <PropertyRef Name="Winner" />
  9303. </Dependent>
  9304. </ReferentialConstraint>
  9305. </Association>
  9306. <Association Name="FK_TblTimeOffCompetitionCampaign_Winner">
  9307. <End Role="TblTimeOffCompetitionEntry" Type="Self.TblTimeOffCompetitionEntry" Multiplicity="0..1" />
  9308. <End Role="TblTimeOffCompetitionCampaign" Type="Self.TblTimeOffCompetitionCampaign" Multiplicity="*" />
  9309. <ReferentialConstraint>
  9310. <Principal Role="TblTimeOffCompetitionEntry">
  9311. <PropertyRef Name="OID" />
  9312. </Principal>
  9313. <Dependent Role="TblTimeOffCompetitionCampaign">
  9314. <PropertyRef Name="Winner" />
  9315. </Dependent>
  9316. </ReferentialConstraint>
  9317. </Association>
  9318. <Association Name="FK_TblTimeOffCompetitionEntry_Campaign">
  9319. <End Role="TblTimeOffCompetitionCampaign" Type="Self.TblTimeOffCompetitionCampaign" Multiplicity="0..1" />
  9320. <End Role="TblTimeOffCompetitionEntry" Type="Self.TblTimeOffCompetitionEntry" Multiplicity="*" />
  9321. <ReferentialConstraint>
  9322. <Principal Role="TblTimeOffCompetitionCampaign">
  9323. <PropertyRef Name="OID" />
  9324. </Principal>
  9325. <Dependent Role="TblTimeOffCompetitionEntry">
  9326. <PropertyRef Name="Campaign" />
  9327. </Dependent>
  9328. </ReferentialConstraint>
  9329. </Association>
  9330. <Association Name="FK_TblTimeOffCompetitionEntry_Competition">
  9331. <End Role="TblTimeOffCompetition" Type="Self.TblTimeOffCompetition" Multiplicity="0..1" />
  9332. <End Role="TblTimeOffCompetitionEntry" Type="Self.TblTimeOffCompetitionEntry" Multiplicity="*" />
  9333. <ReferentialConstraint>
  9334. <Principal Role="TblTimeOffCompetition">
  9335. <PropertyRef Name="OID" />
  9336. </Principal>
  9337. <Dependent Role="TblTimeOffCompetitionEntry">
  9338. <PropertyRef Name="Competition" />
  9339. </Dependent>
  9340. </ReferentialConstraint>
  9341. </Association>
  9342. <Association Name="FK_TblTimeOffFriends_Profile">
  9343. <End Role="TblTimeOffReferalProfile" Type="Self.TblTimeOffReferalProfile" Multiplicity="0..1" />
  9344. <End Role="TblTimeOffFriends" Type="Self.TblTimeOffFriends" Multiplicity="*" />
  9345. <ReferentialConstraint>
  9346. <Principal Role="TblTimeOffReferalProfile">
  9347. <PropertyRef Name="Oid" />
  9348. </Principal>
  9349. <Dependent Role="TblTimeOffFriends">
  9350. <PropertyRef Name="Profile" />
  9351. </Dependent>
  9352. </ReferentialConstraint>
  9353. </Association>
  9354. <Association Name="FK_TblTimeOffNoVouchers_IncomeBracket">
  9355. <End Role="TblIncomeBracket" Type="Self.TblIncomeBracket" Multiplicity="0..1" />
  9356. <End Role="TblTimeOffNoVouchers" Type="Self.TblTimeOffNoVouchers" Multiplicity="*" />
  9357. <ReferentialConstraint>
  9358. <Principal Role="TblIncomeBracket">
  9359. <PropertyRef Name="OID" />
  9360. </Principal>
  9361. <Dependent Role="TblTimeOffNoVouchers">
  9362. <PropertyRef Name="IncomeBracket" />
  9363. </Dependent>
  9364. </ReferentialConstraint>
  9365. </Association>
  9366. <Association Name="FK_TblTimeOffNoVouchers_Title">
  9367. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9368. <End Role="TblTimeOffNoVouchers" Type="Self.TblTimeOffNoVouchers" Multiplicity="*" />
  9369. <ReferentialConstraint>
  9370. <Principal Role="Titles">
  9371. <PropertyRef Name="Title" />
  9372. </Principal>
  9373. <Dependent Role="TblTimeOffNoVouchers">
  9374. <PropertyRef Name="Title" />
  9375. </Dependent>
  9376. </ReferentialConstraint>
  9377. </Association>
  9378. <Association Name="FK_TblTimeOffVouchers_IncomeBracket">
  9379. <End Role="TblIncomeBracket" Type="Self.TblIncomeBracket" Multiplicity="0..1" />
  9380. <End Role="TblTimeOffVouchers" Type="Self.TblTimeOffVouchers" Multiplicity="*" />
  9381. <ReferentialConstraint>
  9382. <Principal Role="TblIncomeBracket">
  9383. <PropertyRef Name="OID" />
  9384. </Principal>
  9385. <Dependent Role="TblTimeOffVouchers">
  9386. <PropertyRef Name="IncomeBracket" />
  9387. </Dependent>
  9388. </ReferentialConstraint>
  9389. </Association>
  9390. <Association Name="FK_TblTimeOffVouchers_Resort">
  9391. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  9392. <End Role="TblTimeOffVouchers" Type="Self.TblTimeOffVouchers" Multiplicity="*" />
  9393. <ReferentialConstraint>
  9394. <Principal Role="TblResort">
  9395. <PropertyRef Name="OID" />
  9396. </Principal>
  9397. <Dependent Role="TblTimeOffVouchers">
  9398. <PropertyRef Name="Resort" />
  9399. </Dependent>
  9400. </ReferentialConstraint>
  9401. </Association>
  9402. <Association Name="FK_TblTimeOffVouchers_Title">
  9403. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9404. <End Role="TblTimeOffVouchers" Type="Self.TblTimeOffVouchers" Multiplicity="*" />
  9405. <ReferentialConstraint>
  9406. <Principal Role="Titles">
  9407. <PropertyRef Name="Title" />
  9408. </Principal>
  9409. <Dependent Role="TblTimeOffVouchers">
  9410. <PropertyRef Name="Title" />
  9411. </Dependent>
  9412. </ReferentialConstraint>
  9413. </Association>
  9414. <Association Name="FK_TblTimeOffVouchers_VoucherType">
  9415. <End Role="TblVoucherTypes" Type="Self.TblVoucherTypes" Multiplicity="0..1" />
  9416. <End Role="TblTimeOffVouchers" Type="Self.TblTimeOffVouchers" Multiplicity="*" />
  9417. <ReferentialConstraint>
  9418. <Principal Role="TblVoucherTypes">
  9419. <PropertyRef Name="OID" />
  9420. </Principal>
  9421. <Dependent Role="TblTimeOffVouchers">
  9422. <PropertyRef Name="VoucherType" />
  9423. </Dependent>
  9424. </ReferentialConstraint>
  9425. </Association>
  9426. <Association Name="FK_TblTMCommBasicTransactions_Personnel">
  9427. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9428. <End Role="TblTMCommBasicTransactions" Type="Self.TblTMCommBasicTransactions" Multiplicity="*" />
  9429. <ReferentialConstraint>
  9430. <Principal Role="TblPersonnel">
  9431. <PropertyRef Name="PersonnelCode" />
  9432. </Principal>
  9433. <Dependent Role="TblTMCommBasicTransactions">
  9434. <PropertyRef Name="Personnel" />
  9435. </Dependent>
  9436. </ReferentialConstraint>
  9437. </Association>
  9438. <Association Name="FK_TblTMCommDeals_Person">
  9439. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9440. <End Role="TblTMCommDeals" Type="Self.TblTMCommDeals" Multiplicity="*" />
  9441. <ReferentialConstraint>
  9442. <Principal Role="TblPersonnel">
  9443. <PropertyRef Name="PersonnelCode" />
  9444. </Principal>
  9445. <Dependent Role="TblTMCommDeals">
  9446. <PropertyRef Name="Person" />
  9447. </Dependent>
  9448. </ReferentialConstraint>
  9449. </Association>
  9450. <Association Name="FK_TblTMCommDealTargets_TMTable">
  9451. <End Role="TblTMCommStructure" Type="Self.TblTMCommStructure" Multiplicity="0..1" />
  9452. <End Role="TblTMCommDealTargets" Type="Self.TblTMCommDealTargets" Multiplicity="*" />
  9453. <ReferentialConstraint>
  9454. <Principal Role="TblTMCommStructure">
  9455. <PropertyRef Name="OID" />
  9456. </Principal>
  9457. <Dependent Role="TblTMCommDealTargets">
  9458. <PropertyRef Name="TMTable" />
  9459. </Dependent>
  9460. </ReferentialConstraint>
  9461. </Association>
  9462. <Association Name="FK_TblTMCommGroups_Structure">
  9463. <End Role="TblTMCommStructure" Type="Self.TblTMCommStructure" Multiplicity="0..1" />
  9464. <End Role="TblTMCommGroups" Type="Self.TblTMCommGroups" Multiplicity="*" />
  9465. <ReferentialConstraint>
  9466. <Principal Role="TblTMCommStructure">
  9467. <PropertyRef Name="OID" />
  9468. </Principal>
  9469. <Dependent Role="TblTMCommGroups">
  9470. <PropertyRef Name="Structure" />
  9471. </Dependent>
  9472. </ReferentialConstraint>
  9473. </Association>
  9474. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList">
  9475. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9476. <End Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Type="Self.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Multiplicity="*" />
  9477. <ReferentialConstraint>
  9478. <Principal Role="TblPersonnel">
  9479. <PropertyRef Name="PersonnelCode" />
  9480. </Principal>
  9481. <Dependent Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  9482. <PropertyRef Name="PersonnelList" />
  9483. </Dependent>
  9484. </ReferentialConstraint>
  9485. </Association>
  9486. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups">
  9487. <End Role="TblTMCommGroups" Type="Self.TblTMCommGroups" Multiplicity="0..1" />
  9488. <End Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Type="Self.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Multiplicity="*" />
  9489. <ReferentialConstraint>
  9490. <Principal Role="TblTMCommGroups">
  9491. <PropertyRef Name="OID" />
  9492. </Principal>
  9493. <Dependent Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  9494. <PropertyRef Name="TMCommGroups" />
  9495. </Dependent>
  9496. </ReferentialConstraint>
  9497. </Association>
  9498. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues">
  9499. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  9500. <End Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Type="Self.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Multiplicity="*" />
  9501. <ReferentialConstraint>
  9502. <Principal Role="TblSalesVenue">
  9503. <PropertyRef Name="OID" />
  9504. </Principal>
  9505. <Dependent Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  9506. <PropertyRef Name="SalesVenues" />
  9507. </Dependent>
  9508. </ReferentialConstraint>
  9509. </Association>
  9510. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups">
  9511. <End Role="TblTMCommGroups" Type="Self.TblTMCommGroups" Multiplicity="0..1" />
  9512. <End Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Type="Self.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Multiplicity="*" />
  9513. <ReferentialConstraint>
  9514. <Principal Role="TblTMCommGroups">
  9515. <PropertyRef Name="OID" />
  9516. </Principal>
  9517. <Dependent Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  9518. <PropertyRef Name="TMCommGroups" />
  9519. </Dependent>
  9520. </ReferentialConstraint>
  9521. </Association>
  9522. <Association Name="FK_TblTMCommStructure_SalesVenue">
  9523. <End Role="TblSalesVenue" Type="Self.TblSalesVenue" Multiplicity="0..1" />
  9524. <End Role="TblTMCommStructure" Type="Self.TblTMCommStructure" Multiplicity="*" />
  9525. <ReferentialConstraint>
  9526. <Principal Role="TblSalesVenue">
  9527. <PropertyRef Name="OID" />
  9528. </Principal>
  9529. <Dependent Role="TblTMCommStructure">
  9530. <PropertyRef Name="SalesVenue" />
  9531. </Dependent>
  9532. </ReferentialConstraint>
  9533. </Association>
  9534. <Association Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList">
  9535. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9536. <End Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Type="Self.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Multiplicity="*" />
  9537. <ReferentialConstraint>
  9538. <Principal Role="TblPersonnel">
  9539. <PropertyRef Name="PersonnelCode" />
  9540. </Principal>
  9541. <Dependent Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  9542. <PropertyRef Name="PersonnelList" />
  9543. </Dependent>
  9544. </ReferentialConstraint>
  9545. </Association>
  9546. <Association Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures">
  9547. <End Role="TblTMCommStructure" Type="Self.TblTMCommStructure" Multiplicity="0..1" />
  9548. <End Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Type="Self.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Multiplicity="*" />
  9549. <ReferentialConstraint>
  9550. <Principal Role="TblTMCommStructure">
  9551. <PropertyRef Name="OID" />
  9552. </Principal>
  9553. <Dependent Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  9554. <PropertyRef Name="TMCommStructures" />
  9555. </Dependent>
  9556. </ReferentialConstraint>
  9557. </Association>
  9558. <Association Name="FK_TblTMCommsWeek_TMMonth">
  9559. <End Role="TblTMCommsMonth" Type="Self.TblTMCommsMonth" Multiplicity="0..1" />
  9560. <End Role="TblTMCommsWeek" Type="Self.TblTMCommsWeek" Multiplicity="*" />
  9561. <ReferentialConstraint>
  9562. <Principal Role="TblTMCommsMonth">
  9563. <PropertyRef Name="OID" />
  9564. </Principal>
  9565. <Dependent Role="TblTMCommsWeek">
  9566. <PropertyRef Name="TMMonth" />
  9567. </Dependent>
  9568. </ReferentialConstraint>
  9569. </Association>
  9570. <Association Name="FK_TblTMCommTable_Structure">
  9571. <End Role="TblTMCommStructure" Type="Self.TblTMCommStructure" Multiplicity="0..1" />
  9572. <End Role="TblTMCommTable" Type="Self.TblTMCommTable" Multiplicity="*" />
  9573. <ReferentialConstraint>
  9574. <Principal Role="TblTMCommStructure">
  9575. <PropertyRef Name="OID" />
  9576. </Principal>
  9577. <Dependent Role="TblTMCommTable">
  9578. <PropertyRef Name="Structure" />
  9579. </Dependent>
  9580. </ReferentialConstraint>
  9581. </Association>
  9582. <Association Name="FK_TblTMCommTransactions_Personnel">
  9583. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9584. <End Role="TblTMCommTransactions" Type="Self.TblTMCommTransactions" Multiplicity="*" />
  9585. <ReferentialConstraint>
  9586. <Principal Role="TblPersonnel">
  9587. <PropertyRef Name="PersonnelCode" />
  9588. </Principal>
  9589. <Dependent Role="TblTMCommTransactions">
  9590. <PropertyRef Name="Personnel" />
  9591. </Dependent>
  9592. </ReferentialConstraint>
  9593. </Association>
  9594. <Association Name="FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages">
  9595. <End Role="TblSalesCommissionPercentages" Type="Self.TblSalesCommissionPercentages" Multiplicity="0..1" />
  9596. <End Role="TblTrainingManagerCommissionSeasonPercentage" Type="Self.TblTrainingManagerCommissionSeasonPercentage" Multiplicity="*" />
  9597. <ReferentialConstraint>
  9598. <Principal Role="TblSalesCommissionPercentages">
  9599. <PropertyRef Name="Oid" />
  9600. </Principal>
  9601. <Dependent Role="TblTrainingManagerCommissionSeasonPercentage">
  9602. <PropertyRef Name="SalesCommissionPercentages" />
  9603. </Dependent>
  9604. </ReferentialConstraint>
  9605. </Association>
  9606. <Association Name="FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages">
  9607. <End Role="TblSalesCommissionPercentages" Type="Self.TblSalesCommissionPercentages" Multiplicity="0..1" />
  9608. <End Role="TblTrainngManagerCommissionPercentage" Type="Self.TblTrainngManagerCommissionPercentage" Multiplicity="*" />
  9609. <ReferentialConstraint>
  9610. <Principal Role="TblSalesCommissionPercentages">
  9611. <PropertyRef Name="Oid" />
  9612. </Principal>
  9613. <Dependent Role="TblTrainngManagerCommissionPercentage">
  9614. <PropertyRef Name="SalesCommissionPercentages" />
  9615. </Dependent>
  9616. </ReferentialConstraint>
  9617. </Association>
  9618. <Association Name="FK_TblTransferFunds_AllocatedToNorm">
  9619. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9620. <End Role="TblTransferFunds" Type="Self.TblTransferFunds" Multiplicity="*" />
  9621. <ReferentialConstraint>
  9622. <Principal Role="TblPersonnel">
  9623. <PropertyRef Name="PersonnelCode" />
  9624. </Principal>
  9625. <Dependent Role="TblTransferFunds">
  9626. <PropertyRef Name="AllocatedToNorm" />
  9627. </Dependent>
  9628. </ReferentialConstraint>
  9629. </Association>
  9630. <Association Name="FK_TblTransferFunds_FromExpenseCode">
  9631. <End Role="TblExpenseCodesCompany" Type="Self.TblExpenseCodesCompany" Multiplicity="0..1" />
  9632. <End Role="TblTransferFunds" Type="Self.TblTransferFunds" Multiplicity="*" />
  9633. <ReferentialConstraint>
  9634. <Principal Role="TblExpenseCodesCompany">
  9635. <PropertyRef Name="OID" />
  9636. </Principal>
  9637. <Dependent Role="TblTransferFunds">
  9638. <PropertyRef Name="FromExpenseCode" />
  9639. </Dependent>
  9640. </ReferentialConstraint>
  9641. </Association>
  9642. <Association Name="FK_TblTransferFunds_ToExpenseCode">
  9643. <End Role="TblExpenseCodesCompany" Type="Self.TblExpenseCodesCompany" Multiplicity="0..1" />
  9644. <End Role="TblTransferFunds" Type="Self.TblTransferFunds" Multiplicity="*" />
  9645. <ReferentialConstraint>
  9646. <Principal Role="TblExpenseCodesCompany">
  9647. <PropertyRef Name="OID" />
  9648. </Principal>
  9649. <Dependent Role="TblTransferFunds">
  9650. <PropertyRef Name="ToExpenseCode" />
  9651. </Dependent>
  9652. </ReferentialConstraint>
  9653. </Association>
  9654. <Association Name="FK_TblUnipointBookings_Portfolio">
  9655. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9656. <End Role="TblUnipointBookings" Type="Self.TblUnipointBookings" Multiplicity="*" />
  9657. <ReferentialConstraint>
  9658. <Principal Role="TblPortfolio">
  9659. <PropertyRef Name="OID" />
  9660. </Principal>
  9661. <Dependent Role="TblUnipointBookings">
  9662. <PropertyRef Name="Portfolio" />
  9663. </Dependent>
  9664. </ReferentialConstraint>
  9665. </Association>
  9666. <Association Name="FK_TblUnipointBookingWeeks_Portfolio">
  9667. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9668. <End Role="TblUnipointBookingWeeks" Type="Self.TblUnipointBookingWeeks" Multiplicity="*" />
  9669. <ReferentialConstraint>
  9670. <Principal Role="TblPortfolio">
  9671. <PropertyRef Name="OID" />
  9672. </Principal>
  9673. <Dependent Role="TblUnipointBookingWeeks">
  9674. <PropertyRef Name="Portfolio" />
  9675. </Dependent>
  9676. </ReferentialConstraint>
  9677. </Association>
  9678. <Association Name="FK_TblUpdateBankingDetailContractDetails_UpdateDetails">
  9679. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="0..1" />
  9680. <End Role="TblUpdateBankingDetailContractDetails" Type="Self.TblUpdateBankingDetailContractDetails" Multiplicity="*" />
  9681. <ReferentialConstraint>
  9682. <Principal Role="TblUpdateBankingDetails">
  9683. <PropertyRef Name="OID" />
  9684. </Principal>
  9685. <Dependent Role="TblUpdateBankingDetailContractDetails">
  9686. <PropertyRef Name="UpdateDetails" />
  9687. </Dependent>
  9688. </ReferentialConstraint>
  9689. </Association>
  9690. <Association Name="FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails">
  9691. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="0..1" />
  9692. <End Role="TblUpdateBankingDetailDebtorBanking" Type="Self.TblUpdateBankingDetailDebtorBanking" Multiplicity="*" />
  9693. <ReferentialConstraint>
  9694. <Principal Role="TblUpdateBankingDetails">
  9695. <PropertyRef Name="OID" />
  9696. </Principal>
  9697. <Dependent Role="TblUpdateBankingDetailDebtorBanking">
  9698. <PropertyRef Name="UpdateDetails" />
  9699. </Dependent>
  9700. </ReferentialConstraint>
  9701. </Association>
  9702. <Association Name="FK_TblUpdateBankingDetails_Developer">
  9703. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  9704. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="*" />
  9705. <ReferentialConstraint>
  9706. <Principal Role="TblDeveloper">
  9707. <PropertyRef Name="OID" />
  9708. </Principal>
  9709. <Dependent Role="TblUpdateBankingDetails">
  9710. <PropertyRef Name="Developer" />
  9711. </Dependent>
  9712. </ReferentialConstraint>
  9713. </Association>
  9714. <Association Name="FK_TblUpdateBankingDetails_Personnel">
  9715. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9716. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="*" />
  9717. <ReferentialConstraint>
  9718. <Principal Role="TblPersonnel">
  9719. <PropertyRef Name="PersonnelCode" />
  9720. </Principal>
  9721. <Dependent Role="TblUpdateBankingDetails">
  9722. <PropertyRef Name="Personnel" />
  9723. </Dependent>
  9724. </ReferentialConstraint>
  9725. </Association>
  9726. <Association Name="FK_TblUpdateBankingDetails_Portfolio">
  9727. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9728. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="*" />
  9729. <ReferentialConstraint>
  9730. <Principal Role="TblPortfolio">
  9731. <PropertyRef Name="OID" />
  9732. </Principal>
  9733. <Dependent Role="TblUpdateBankingDetails">
  9734. <PropertyRef Name="Portfolio" />
  9735. </Dependent>
  9736. </ReferentialConstraint>
  9737. </Association>
  9738. <Association Name="FK_TblUpdateBankingDetailsOverride_Reference">
  9739. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="0..1" />
  9740. <End Role="TblUpdateBankingDetailsOverride" Type="Self.TblUpdateBankingDetailsOverride" Multiplicity="*" />
  9741. <ReferentialConstraint>
  9742. <Principal Role="TblUpdateBankingDetails">
  9743. <PropertyRef Name="OID" />
  9744. </Principal>
  9745. <Dependent Role="TblUpdateBankingDetailsOverride">
  9746. <PropertyRef Name="Reference" />
  9747. </Dependent>
  9748. </ReferentialConstraint>
  9749. </Association>
  9750. <Association Name="FK_TblUpdateBankingDetailsOverrideDocuments_Override">
  9751. <End Role="TblUpdateBankingDetailsOverride" Type="Self.TblUpdateBankingDetailsOverride" Multiplicity="0..1" />
  9752. <End Role="TblUpdateBankingDetailsOverrideDocuments" Type="Self.TblUpdateBankingDetailsOverrideDocuments" Multiplicity="*" />
  9753. <ReferentialConstraint>
  9754. <Principal Role="TblUpdateBankingDetailsOverride">
  9755. <PropertyRef Name="OID" />
  9756. </Principal>
  9757. <Dependent Role="TblUpdateBankingDetailsOverrideDocuments">
  9758. <PropertyRef Name="Override" />
  9759. </Dependent>
  9760. </ReferentialConstraint>
  9761. </Association>
  9762. <Association Name="FK_TblUpdateContractBankingDetailsLog_UpdateDetails">
  9763. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetails" Multiplicity="0..1" />
  9764. <End Role="TblUpdateContractBankingDetailsLog" Type="Self.TblUpdateContractBankingDetailsLog" Multiplicity="*" />
  9765. <ReferentialConstraint>
  9766. <Principal Role="TblUpdateBankingDetails">
  9767. <PropertyRef Name="OID" />
  9768. </Principal>
  9769. <Dependent Role="TblUpdateContractBankingDetailsLog">
  9770. <PropertyRef Name="UpdateDetails" />
  9771. </Dependent>
  9772. </ReferentialConstraint>
  9773. </Association>
  9774. <Association Name="FK_TblVoucher_Campaign">
  9775. <End Role="TblMarketingCampaign" Type="Self.TblMarketingCampaign" Multiplicity="0..1" />
  9776. <End Role="TblVoucher" Type="Self.TblVoucher" Multiplicity="*" />
  9777. <ReferentialConstraint>
  9778. <Principal Role="TblMarketingCampaign">
  9779. <PropertyRef Name="OID" />
  9780. </Principal>
  9781. <Dependent Role="TblVoucher">
  9782. <PropertyRef Name="Campaign" />
  9783. </Dependent>
  9784. </ReferentialConstraint>
  9785. </Association>
  9786. <Association Name="FK_TblVoucher_DetailedInfo">
  9787. <End Role="TblDetailedInfo" Type="Self.TblDetailedInfo" Multiplicity="0..1" />
  9788. <End Role="TblVoucher" Type="Self.TblVoucher" Multiplicity="*" />
  9789. <ReferentialConstraint>
  9790. <Principal Role="TblDetailedInfo">
  9791. <PropertyRef Name="OID" />
  9792. </Principal>
  9793. <Dependent Role="TblVoucher">
  9794. <PropertyRef Name="DetailedInfo" />
  9795. </Dependent>
  9796. </ReferentialConstraint>
  9797. </Association>
  9798. <Association Name="FK_TblVoucher_Resort">
  9799. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  9800. <End Role="TblVoucher" Type="Self.TblVoucher" Multiplicity="*" />
  9801. <ReferentialConstraint>
  9802. <Principal Role="TblResort">
  9803. <PropertyRef Name="OID" />
  9804. </Principal>
  9805. <Dependent Role="TblVoucher">
  9806. <PropertyRef Name="Resort" />
  9807. </Dependent>
  9808. </ReferentialConstraint>
  9809. </Association>
  9810. <Association Name="FK_TblVoucher_VoucherSeries">
  9811. <End Role="TblVoucherSeries" Type="Self.TblVoucherSeries" Multiplicity="0..1" />
  9812. <End Role="TblVoucher" Type="Self.TblVoucher" Multiplicity="*" />
  9813. <ReferentialConstraint>
  9814. <Principal Role="TblVoucherSeries">
  9815. <PropertyRef Name="OID" />
  9816. </Principal>
  9817. <Dependent Role="TblVoucher">
  9818. <PropertyRef Name="VoucherSeries" />
  9819. </Dependent>
  9820. </ReferentialConstraint>
  9821. </Association>
  9822. <Association Name="FK_TblVoucherSeries_Campaign">
  9823. <End Role="TblMarketingCampaign" Type="Self.TblMarketingCampaign" Multiplicity="0..1" />
  9824. <End Role="TblVoucherSeries" Type="Self.TblVoucherSeries" Multiplicity="*" />
  9825. <ReferentialConstraint>
  9826. <Principal Role="TblMarketingCampaign">
  9827. <PropertyRef Name="OID" />
  9828. </Principal>
  9829. <Dependent Role="TblVoucherSeries">
  9830. <PropertyRef Name="Campaign" />
  9831. </Dependent>
  9832. </ReferentialConstraint>
  9833. </Association>
  9834. <Association Name="FK_TblWeekBanking_Portfolio">
  9835. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9836. <End Role="TblWeekBanking" Type="Self.TblWeekBanking" Multiplicity="*" />
  9837. <ReferentialConstraint>
  9838. <Principal Role="TblPortfolio">
  9839. <PropertyRef Name="OID" />
  9840. </Principal>
  9841. <Dependent Role="TblWeekBanking">
  9842. <PropertyRef Name="Portfolio" />
  9843. </Dependent>
  9844. </ReferentialConstraint>
  9845. </Association>
  9846. <Association Name="FK_TblWeekBanking_Resort">
  9847. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  9848. <End Role="TblWeekBanking" Type="Self.TblWeekBanking" Multiplicity="*" />
  9849. <ReferentialConstraint>
  9850. <Principal Role="TblResort">
  9851. <PropertyRef Name="OID" />
  9852. </Principal>
  9853. <Dependent Role="TblWeekBanking">
  9854. <PropertyRef Name="Resort" />
  9855. </Dependent>
  9856. </ReferentialConstraint>
  9857. </Association>
  9858. <Association Name="FK_TblWeekBanking_WeekModule">
  9859. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  9860. <End Role="TblWeekBanking" Type="Self.TblWeekBanking" Multiplicity="*" />
  9861. <ReferentialConstraint>
  9862. <Principal Role="TblWeekModule">
  9863. <PropertyRef Name="OID" />
  9864. </Principal>
  9865. <Dependent Role="TblWeekBanking">
  9866. <PropertyRef Name="WeekModule" />
  9867. </Dependent>
  9868. </ReferentialConstraint>
  9869. </Association>
  9870. <Association Name="FK_TblWeekModule_Resort">
  9871. <End Role="TblResort" Type="Self.TblResort" Multiplicity="0..1" />
  9872. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="*" />
  9873. <ReferentialConstraint>
  9874. <Principal Role="TblResort">
  9875. <PropertyRef Name="OID" />
  9876. </Principal>
  9877. <Dependent Role="TblWeekModule">
  9878. <PropertyRef Name="Resort" />
  9879. </Dependent>
  9880. </ReferentialConstraint>
  9881. </Association>
  9882. <Association Name="FK_TelemarketingSMSSettings_TelemarketerOffice">
  9883. <End Role="TblTelemarketerOffice" Type="Self.TblTelemarketerOffice" Multiplicity="0..1" />
  9884. <End Role="TelemarketingSMSSettings" Type="Self.TelemarketingSMSSettings" Multiplicity="*" />
  9885. <ReferentialConstraint>
  9886. <Principal Role="TblTelemarketerOffice">
  9887. <PropertyRef Name="OID" />
  9888. </Principal>
  9889. <Dependent Role="TelemarketingSMSSettings">
  9890. <PropertyRef Name="TelemarketerOffice" />
  9891. </Dependent>
  9892. </ReferentialConstraint>
  9893. </Association>
  9894. <Association Name="FK_TransfigContractInfo_TransfigKey">
  9895. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="0..1" />
  9896. <End Role="TransfigContractInfo" Type="Self.TransfigContractInfo" Multiplicity="*" />
  9897. <ReferentialConstraint>
  9898. <Principal Role="Transfigurations">
  9899. <PropertyRef Name="OID" />
  9900. </Principal>
  9901. <Dependent Role="TransfigContractInfo">
  9902. <PropertyRef Name="TransfigKey" />
  9903. </Dependent>
  9904. </ReferentialConstraint>
  9905. </Association>
  9906. <Association Name="FK_TransfigSearchResults_SearchResKey">
  9907. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="0..1" />
  9908. <End Role="TransfigSearchResults" Type="Self.TransfigSearchResults" Multiplicity="*" />
  9909. <ReferentialConstraint>
  9910. <Principal Role="Transfigurations">
  9911. <PropertyRef Name="OID" />
  9912. </Principal>
  9913. <Dependent Role="TransfigSearchResults">
  9914. <PropertyRef Name="SearchResKey" />
  9915. </Dependent>
  9916. </ReferentialConstraint>
  9917. </Association>
  9918. <Association Name="FK_Transfigurations_Developer">
  9919. <End Role="TblDeveloper" Type="Self.TblDeveloper" Multiplicity="0..1" />
  9920. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9921. <ReferentialConstraint>
  9922. <Principal Role="TblDeveloper">
  9923. <PropertyRef Name="OID" />
  9924. </Principal>
  9925. <Dependent Role="Transfigurations">
  9926. <PropertyRef Name="Developer" />
  9927. </Dependent>
  9928. </ReferentialConstraint>
  9929. </Association>
  9930. <Association Name="FK_Transfigurations_InsuranceReason">
  9931. <End Role="TblInsuranceReason" Type="Self.TblInsuranceReason" Multiplicity="0..1" />
  9932. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9933. <ReferentialConstraint>
  9934. <Principal Role="TblInsuranceReason">
  9935. <PropertyRef Name="OID" />
  9936. </Principal>
  9937. <Dependent Role="Transfigurations">
  9938. <PropertyRef Name="InsuranceReason" />
  9939. </Dependent>
  9940. </ReferentialConstraint>
  9941. </Association>
  9942. <Association Name="FK_Transfigurations_Portfolio">
  9943. <End Role="TblPortfolio" Type="Self.TblPortfolio" Multiplicity="0..1" />
  9944. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9945. <ReferentialConstraint>
  9946. <Principal Role="TblPortfolio">
  9947. <PropertyRef Name="OID" />
  9948. </Principal>
  9949. <Dependent Role="Transfigurations">
  9950. <PropertyRef Name="Portfolio" />
  9951. </Dependent>
  9952. </ReferentialConstraint>
  9953. </Association>
  9954. <Association Name="FK_Transfigurations_SalesAgent">
  9955. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9956. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9957. <ReferentialConstraint>
  9958. <Principal Role="TblPersonnel">
  9959. <PropertyRef Name="PersonnelCode" />
  9960. </Principal>
  9961. <Dependent Role="Transfigurations">
  9962. <PropertyRef Name="SalesAgent" />
  9963. </Dependent>
  9964. </ReferentialConstraint>
  9965. </Association>
  9966. <Association Name="FK_Transfigurations_SalesManager">
  9967. <End Role="TblPersonnel" Type="Self.TblPersonnel" Multiplicity="0..1" />
  9968. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9969. <ReferentialConstraint>
  9970. <Principal Role="TblPersonnel">
  9971. <PropertyRef Name="PersonnelCode" />
  9972. </Principal>
  9973. <Dependent Role="Transfigurations">
  9974. <PropertyRef Name="SalesManager" />
  9975. </Dependent>
  9976. </ReferentialConstraint>
  9977. </Association>
  9978. <Association Name="FK_Transfigurations_SPTitle">
  9979. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9980. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9981. <ReferentialConstraint>
  9982. <Principal Role="Titles">
  9983. <PropertyRef Name="Title" />
  9984. </Principal>
  9985. <Dependent Role="Transfigurations">
  9986. <PropertyRef Name="SPTitle" />
  9987. </Dependent>
  9988. </ReferentialConstraint>
  9989. </Association>
  9990. <Association Name="FK_Transfigurations_Title">
  9991. <End Role="Titles" Type="Self.Titles" Multiplicity="0..1" />
  9992. <End Role="Transfigurations" Type="Self.Transfigurations" Multiplicity="*" />
  9993. <ReferentialConstraint>
  9994. <Principal Role="Titles">
  9995. <PropertyRef Name="Title" />
  9996. </Principal>
  9997. <Dependent Role="Transfigurations">
  9998. <PropertyRef Name="Title" />
  9999. </Dependent>
  10000. </ReferentialConstraint>
  10001. </Association>
  10002. <EntityContainer Name="ProvisionStagingModelStoreContainer">
  10003. <EntitySet Name="TblDebtor" EntityType="Self.TblDebtor" Schema="dbo" store:Type="Tables" />
  10004. <EntitySet Name="TblDebtorBanking" EntityType="Self.TblDebtorBanking" Schema="dbo" store:Type="Tables" />
  10005. <EntitySet Name="TblDebtorBankingAmendment" EntityType="Self.TblDebtorBankingAmendment" Schema="dbo" store:Type="Tables" />
  10006. <EntitySet Name="TblDebtorCategoryBreakdown" EntityType="Self.TblDebtorCategoryBreakdown" Schema="dbo" store:Type="Tables" />
  10007. <EntitySet Name="TblDebtorCategoryCode" EntityType="Self.TblDebtorCategoryCode" Schema="dbo" store:Type="Tables" />
  10008. <EntitySet Name="TblDebtorCoding" EntityType="Self.TblDebtorCoding" Schema="dbo" store:Type="Tables" />
  10009. <EntitySet Name="TblDebtorConsoftTakeonValues" EntityType="Self.TblDebtorConsoftTakeonValues" Schema="dbo" store:Type="Tables" />
  10010. <EntitySet Name="TblDebtorDocuments" EntityType="Self.TblDebtorDocuments" Schema="dbo" store:Type="Tables" />
  10011. <EntitySet Name="TblDebtorFeedback" EntityType="Self.TblDebtorFeedback" Schema="dbo" store:Type="Tables" />
  10012. <EntitySet Name="TblDebtorInterestRates" EntityType="Self.TblDebtorInterestRates" Schema="dbo" store:Type="Tables" />
  10013. <EntitySet Name="TblDebtorManagementFeeValues" EntityType="Self.TblDebtorManagementFeeValues" Schema="dbo" store:Type="Tables" />
  10014. <EntitySet Name="TblDebtorNotes" EntityType="Self.TblDebtorNotes" Schema="dbo" store:Type="Tables" />
  10015. <EntitySet Name="TblDebtorReportsRecipients" EntityType="Self.TblDebtorReportsRecipients" Schema="dbo" store:Type="Tables" />
  10016. <EntitySet Name="TblDebtorResaleTransfers" EntityType="Self.TblDebtorResaleTransfers" Schema="dbo" store:Type="Tables" />
  10017. <EntitySet Name="TblDebtorTransactions" EntityType="Self.TblDebtorTransactions" Schema="dbo" store:Type="Tables" />
  10018. <EntitySet Name="TblDebtorTransactionsCatBreakdown" EntityType="Self.TblDebtorTransactionsCatBreakdown" Schema="dbo" store:Type="Tables" />
  10019. <EntitySet Name="TblDebtorTransactionTypeReportGroup" EntityType="Self.TblDebtorTransactionTypeReportGroup" Schema="dbo" store:Type="Tables" />
  10020. <EntitySet Name="TblDebtorTranTypes" EntityType="Self.TblDebtorTranTypes" Schema="dbo" store:Type="Tables" />
  10021. <EntitySet Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" EntityType="Self.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Schema="dbo" store:Type="Tables" />
  10022. <EntitySet Name="TblDebtorWeekModuleException" EntityType="Self.TblDebtorWeekModuleException" Schema="dbo" store:Type="Tables" />
  10023. <EntitySet Name="TblDefault" EntityType="Self.TblDefault" Schema="dbo" store:Type="Tables" />
  10024. <EntitySet Name="TblDepartment" EntityType="Self.TblDepartment" Schema="dbo" store:Type="Tables" />
  10025. <EntitySet Name="TblDetailedInfo" EntityType="Self.TblDetailedInfo" Schema="dbo" store:Type="Tables" />
  10026. <EntitySet Name="TblDeveloper" EntityType="Self.TblDeveloper" Schema="dbo" store:Type="Tables" />
  10027. <EntitySet Name="TblDialCodes" EntityType="Self.TblDialCodes" Schema="dbo" store:Type="Tables" />
  10028. <EntitySet Name="TblDocumentType" EntityType="Self.TblDocumentType" Schema="dbo" store:Type="Tables" />
  10029. <EntitySet Name="TblDottedReason" EntityType="Self.TblDottedReason" Schema="dbo" store:Type="Tables" />
  10030. <EntitySet Name="TblEmailRecipiants" EntityType="Self.TblEmailRecipiants" Schema="dbo" store:Type="Tables" />
  10031. <EntitySet Name="TblEquityCommissionTarget" EntityType="Self.TblEquityCommissionTarget" Schema="dbo" store:Type="Tables" />
  10032. <EntitySet Name="TblEquityTargetPercentage" EntityType="Self.TblEquityTargetPercentage" Schema="dbo" store:Type="Tables" />
  10033. <EntitySet Name="TblEthnicity" EntityType="Self.TblEthnicity" Schema="dbo" store:Type="Tables" />
  10034. <EntitySet Name="TblEVoucher" EntityType="Self.TblEVoucher" Schema="dbo" store:Type="Tables" />
  10035. <EntitySet Name="TblEVoucherCategory" EntityType="Self.TblEVoucherCategory" Schema="dbo" store:Type="Tables" />
  10036. <EntitySet Name="TblEVoucherNotes" EntityType="Self.TblEVoucherNotes" Schema="dbo" store:Type="Tables" />
  10037. <EntitySet Name="TblEVoucherSeries" EntityType="Self.TblEVoucherSeries" Schema="dbo" store:Type="Tables" />
  10038. <EntitySet Name="TblEVoucherType" EntityType="Self.TblEVoucherType" Schema="dbo" store:Type="Tables" />
  10039. <EntitySet Name="TblEVoucherWeekType" EntityType="Self.TblEVoucherWeekType" Schema="dbo" store:Type="Tables" />
  10040. <EntitySet Name="TblExpenseCodes" EntityType="Self.TblExpenseCodes" Schema="dbo" store:Type="Tables" />
  10041. <EntitySet Name="TblExpenseCodesCompany" EntityType="Self.TblExpenseCodesCompany" Schema="dbo" store:Type="Tables" />
  10042. <EntitySet Name="TblExpenseCodeTransactionsDetail" EntityType="Self.TblExpenseCodeTransactionsDetail" Schema="dbo" store:Type="Tables" />
  10043. <EntitySet Name="TblExpenseCodeTransactionsHeader" EntityType="Self.TblExpenseCodeTransactionsHeader" Schema="dbo" store:Type="Tables" />
  10044. <EntitySet Name="TblExternalResortCommission" EntityType="Self.TblExternalResortCommission" Schema="dbo" store:Type="Tables" />
  10045. <EntitySet Name="TblExternalResortCommissionTransactions" EntityType="Self.TblExternalResortCommissionTransactions" Schema="dbo" store:Type="Tables" />
  10046. <EntitySet Name="TblExternalResortCommissionWeeks" EntityType="Self.TblExternalResortCommissionWeeks" Schema="dbo" store:Type="Tables" />
  10047. <EntitySet Name="TblFeedbackType" EntityType="Self.TblFeedbackType" Schema="dbo" store:Type="Tables" />
  10048. <EntitySet Name="TblFriends" EntityType="Self.TblFriends" Schema="dbo" store:Type="Tables" />
  10049. <EntitySet Name="TblGalvanizedDeals" EntityType="Self.TblGalvanizedDeals" Schema="dbo" store:Type="Tables" />
  10050. <EntitySet Name="TblGalvanizedTransactions" EntityType="Self.TblGalvanizedTransactions" Schema="dbo" store:Type="Tables" />
  10051. <EntitySet Name="TblGroupCategory" EntityType="Self.TblGroupCategory" Schema="dbo" store:Type="Tables" />
  10052. <EntitySet Name="TblGroupCodeCommissionType" EntityType="Self.TblGroupCodeCommissionType" Schema="dbo" store:Type="Tables" />
  10053. <EntitySet Name="TblHideDebtorTransaction" EntityType="Self.TblHideDebtorTransaction" Schema="dbo" store:Type="Tables" />
  10054. <EntitySet Name="TblHyphenBankResult" EntityType="Self.TblHyphenBankResult" Schema="dbo" store:Type="Tables" />
  10055. <EntitySet Name="TblImportSource" EntityType="Self.TblImportSource" Schema="dbo" store:Type="Tables" />
  10056. <EntitySet Name="TblIncomeBracket" EntityType="Self.TblIncomeBracket" Schema="dbo" store:Type="Tables" />
  10057. <EntitySet Name="TblInsuranceReason" EntityType="Self.TblInsuranceReason" Schema="dbo" store:Type="Tables" />
  10058. <EntitySet Name="TblInterestAdjustment" EntityType="Self.TblInterestAdjustment" Schema="dbo" store:Type="Tables" />
  10059. <EntitySet Name="TblInterestRates" EntityType="Self.TblInterestRates" Schema="dbo" store:Type="Tables" />
  10060. <EntitySet Name="TblInvoiceLines" EntityType="Self.TblInvoiceLines" Schema="dbo" store:Type="Tables" />
  10061. <EntitySet Name="TblInvoices" EntityType="Self.TblInvoices" Schema="dbo" store:Type="Tables" />
  10062. <EntitySet Name="TblJournalBatch" EntityType="Self.TblJournalBatch" Schema="dbo" store:Type="Tables" />
  10063. <EntitySet Name="TblJournalLineCatBreakdown" EntityType="Self.TblJournalLineCatBreakdown" Schema="dbo" store:Type="Tables" />
  10064. <EntitySet Name="TblJournalLines" EntityType="Self.TblJournalLines" Schema="dbo" store:Type="Tables" />
  10065. <EntitySet Name="TblJournalLineTransactions" EntityType="Self.TblJournalLineTransactions" Schema="dbo" store:Type="Tables" />
  10066. <EntitySet Name="TblJournalLineTransactionsCatBreakdown" EntityType="Self.TblJournalLineTransactionsCatBreakdown" Schema="dbo" store:Type="Tables" />
  10067. <EntitySet Name="TblLeadCategory" EntityType="Self.TblLeadCategory" Schema="dbo" store:Type="Tables" />
  10068. <EntitySet Name="TblLeadFeedback" EntityType="Self.TblLeadFeedback" Schema="dbo" store:Type="Tables" />
  10069. <EntitySet Name="TblLeads" EntityType="Self.TblLeads" Schema="dbo" store:Type="Tables" />
  10070. <EntitySet Name="TblLeadsCallHistory" EntityType="Self.TblLeadsCallHistory" Schema="dbo" store:Type="Tables" />
  10071. <EntitySet Name="TblLeaseFactor" EntityType="Self.TblLeaseFactor" Schema="dbo" store:Type="Tables" />
  10072. <EntitySet Name="TblLevelBasedCommPerc" EntityType="Self.TblLevelBasedCommPerc" Schema="dbo" store:Type="Tables" />
  10073. <EntitySet Name="TblLevyConsoftReceiptQuery" EntityType="Self.TblLevyConsoftReceiptQuery" Schema="dbo" store:Type="Tables" />
  10074. <EntitySet Name="TblLogos" EntityType="Self.TblLogos" Schema="dbo" store:Type="Tables" />
  10075. <EntitySet Name="TblManagementFeeInstalments" EntityType="Self.TblManagementFeeInstalments" Schema="dbo" store:Type="Tables" />
  10076. <EntitySet Name="TblManagementFeeOverride" EntityType="Self.TblManagementFeeOverride" Schema="dbo" store:Type="Tables" />
  10077. <EntitySet Name="TblManagementFeesDocuments" EntityType="Self.TblManagementFeesDocuments" Schema="dbo" store:Type="Tables" />
  10078. <EntitySet Name="TblManagementFeesToAdjust" EntityType="Self.TblManagementFeesToAdjust" Schema="dbo" store:Type="Tables" />
  10079. <EntitySet Name="TblMarketingCampaign" EntityType="Self.TblMarketingCampaign" Schema="dbo" store:Type="Tables" />
  10080. <EntitySet Name="TblMarketingCampaignResort" EntityType="Self.TblMarketingCampaignResort" Schema="dbo" store:Type="Tables" />
  10081. <EntitySet Name="TblMarketingConsoftComm" EntityType="Self.TblMarketingConsoftComm" Schema="dbo" store:Type="Tables" />
  10082. <EntitySet Name="TblMessageCode" EntityType="Self.TblMessageCode" Schema="dbo" store:Type="Tables" />
  10083. <EntitySet Name="TblMessageCodeMessageGroup_MessageCodeGroupGroup" EntityType="Self.TblMessageCodeMessageGroup_MessageCodeGroupGroup" Schema="dbo" store:Type="Tables" />
  10084. <EntitySet Name="TblMonthEndRoles" EntityType="Self.TblMonthEndRoles" Schema="dbo" store:Type="Tables" />
  10085. <EntitySet Name="TblMonthEndRolesObjectExceptions" EntityType="Self.TblMonthEndRolesObjectExceptions" Schema="dbo" store:Type="Tables" />
  10086. <EntitySet Name="TblOldImportSource" EntityType="Self.TblOldImportSource" Schema="dbo" store:Type="Tables" />
  10087. <EntitySet Name="TblOverrideAudit" EntityType="Self.TblOverrideAudit" Schema="dbo" store:Type="Tables" />
  10088. <EntitySet Name="TblPaymentPlan" EntityType="Self.TblPaymentPlan" Schema="dbo" store:Type="Tables" />
  10089. <EntitySet Name="TblPaymentTypes" EntityType="Self.TblPaymentTypes" Schema="dbo" store:Type="Tables" />
  10090. <EntitySet Name="TblPayType" EntityType="Self.TblPayType" Schema="dbo" store:Type="Tables" />
  10091. <EntitySet Name="TblPeriodsInMonths" EntityType="Self.TblPeriodsInMonths" Schema="dbo" store:Type="Tables" />
  10092. <EntitySet Name="TblPersonnel" EntityType="Self.TblPersonnel" Schema="dbo" store:Type="Tables" />
  10093. <EntitySet Name="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" EntityType="Self.TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" Schema="dbo" store:Type="Tables" />
  10094. <EntitySet Name="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" EntityType="Self.TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" Schema="dbo" store:Type="Tables" />
  10095. <EntitySet Name="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" EntityType="Self.TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" Schema="dbo" store:Type="Tables" />
  10096. <EntitySet Name="TblPersonnelDocuments" EntityType="Self.TblPersonnelDocuments" Schema="dbo" store:Type="Tables" />
  10097. <EntitySet Name="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" EntityType="Self.TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" Schema="dbo" store:Type="Tables" />
  10098. <EntitySet Name="TblPersonnelImportSource" EntityType="Self.TblPersonnelImportSource" Schema="dbo" store:Type="Tables" />
  10099. <EntitySet Name="TblPersonnelLeave" EntityType="Self.TblPersonnelLeave" Schema="dbo" store:Type="Tables" />
  10100. <EntitySet Name="TblPersonnelPersonnel_TblImportSourceImportSource" EntityType="Self.TblPersonnelPersonnel_TblImportSourceImportSource" Schema="dbo" store:Type="Tables" />
  10101. <EntitySet Name="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" EntityType="Self.TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" Schema="dbo" store:Type="Tables" />
  10102. <EntitySet Name="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" EntityType="Self.TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" Schema="dbo" store:Type="Tables" />
  10103. <EntitySet Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" EntityType="Self.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Schema="dbo" store:Type="Tables" />
  10104. <EntitySet Name="TblPersonnelTelephone" EntityType="Self.TblPersonnelTelephone" Schema="dbo" store:Type="Tables" />
  10105. <EntitySet Name="TblPersonnelUnivateTarget" EntityType="Self.TblPersonnelUnivateTarget" Schema="dbo" store:Type="Tables" />
  10106. <EntitySet Name="TblPersonnelWeeklyTargetSplit" EntityType="Self.TblPersonnelWeeklyTargetSplit" Schema="dbo" store:Type="Tables" />
  10107. <EntitySet Name="TblPersonnelWeeklyTargetSplitPerSalesVenue" EntityType="Self.TblPersonnelWeeklyTargetSplitPerSalesVenue" Schema="dbo" store:Type="Tables" />
  10108. <EntitySet Name="TblPersTransfig" EntityType="Self.TblPersTransfig" Schema="dbo" store:Type="Tables" />
  10109. <EntitySet Name="TblPodManager" EntityType="Self.TblPodManager" Schema="dbo" store:Type="Tables" />
  10110. <EntitySet Name="TblPortfolio" EntityType="Self.TblPortfolio" Schema="dbo" store:Type="Tables" />
  10111. <EntitySet Name="TblPortfolioDocuments" EntityType="Self.TblPortfolioDocuments" Schema="dbo" store:Type="Tables" />
  10112. <EntitySet Name="TblPortfolioFeeInsurance" EntityType="Self.TblPortfolioFeeInsurance" Schema="dbo" store:Type="Tables" />
  10113. <EntitySet Name="TblPortfolioNotes" EntityType="Self.TblPortfolioNotes" Schema="dbo" store:Type="Tables" />
  10114. <EntitySet Name="TblPortfolioResetEstateLate" EntityType="Self.TblPortfolioResetEstateLate" Schema="dbo" store:Type="Tables" />
  10115. <EntitySet Name="TblPostCodes" EntityType="Self.TblPostCodes" Schema="dbo" store:Type="Tables" />
  10116. <EntitySet Name="TblPreviousAgeing" EntityType="Self.TblPreviousAgeing" Schema="dbo" store:Type="Tables" />
  10117. <EntitySet Name="TblPreviousAging" EntityType="Self.TblPreviousAging" Schema="dbo" store:Type="Tables" />
  10118. <EntitySet Name="TblPromoCategory" EntityType="Self.TblPromoCategory" Schema="dbo" store:Type="Tables" />
  10119. <EntitySet Name="TblPromoConfig" EntityType="Self.TblPromoConfig" Schema="dbo" store:Type="Tables" />
  10120. <EntitySet Name="TblPromoDocuments" EntityType="Self.TblPromoDocuments" Schema="dbo" store:Type="Tables" />
  10121. <EntitySet Name="TblPromoMembers" EntityType="Self.TblPromoMembers" Schema="dbo" store:Type="Tables" />
  10122. <EntitySet Name="TblPromotion" EntityType="Self.TblPromotion" Schema="dbo" store:Type="Tables" />
  10123. <EntitySet Name="TblPromotionCommission" EntityType="Self.TblPromotionCommission" Schema="dbo" store:Type="Tables" />
  10124. <EntitySet Name="TblPromotionCommissionStructure" EntityType="Self.TblPromotionCommissionStructure" Schema="dbo" store:Type="Tables" />
  10125. <EntitySet Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" EntityType="Self.TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" Schema="dbo" store:Type="Tables" />
  10126. <EntitySet Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" EntityType="Self.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Schema="dbo" store:Type="Tables" />
  10127. <EntitySet Name="TblPromotionType" EntityType="Self.TblPromotionType" Schema="dbo" store:Type="Tables" />
  10128. <EntitySet Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" EntityType="Self.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Schema="dbo" store:Type="Tables" />
  10129. <EntitySet Name="TblPublicHoliday" EntityType="Self.TblPublicHoliday" Schema="dbo" store:Type="Tables" />
  10130. <EntitySet Name="TblQNQReasons" EntityType="Self.TblQNQReasons" Schema="dbo" store:Type="Tables" />
  10131. <EntitySet Name="TblQueryCategories" EntityType="Self.TblQueryCategories" Schema="dbo" store:Type="Tables" />
  10132. <EntitySet Name="TblQueryCategory" EntityType="Self.TblQueryCategory" Schema="dbo" store:Type="Tables" />
  10133. <EntitySet Name="TblQueryRecipient" EntityType="Self.TblQueryRecipient" Schema="dbo" store:Type="Tables" />
  10134. <EntitySet Name="TblRankingPoints" EntityType="Self.TblRankingPoints" Schema="dbo" store:Type="Tables" />
  10135. <EntitySet Name="TblRankings" EntityType="Self.TblRankings" Schema="dbo" store:Type="Tables" />
  10136. <EntitySet Name="TblRawSalesCommData" EntityType="Self.TblRawSalesCommData" Schema="dbo" store:Type="Tables" />
  10137. <EntitySet Name="TblRCIDates" EntityType="Self.TblRCIDates" Schema="dbo" store:Type="Tables" />
  10138. <EntitySet Name="TblRebatePaymentCategoryCode" EntityType="Self.TblRebatePaymentCategoryCode" Schema="dbo" store:Type="Tables" />
  10139. <EntitySet Name="TblReferalProfile" EntityType="Self.TblReferalProfile" Schema="dbo" store:Type="Tables" />
  10140. <EntitySet Name="TblReleaseClientBookings" EntityType="Self.TblReleaseClientBookings" Schema="dbo" store:Type="Tables" />
  10141. <EntitySet Name="TblRescheduleCalls" EntityType="Self.TblRescheduleCalls" Schema="dbo" store:Type="Tables" />
  10142. <EntitySet Name="TblResort" EntityType="Self.TblResort" Schema="dbo" store:Type="Tables" />
  10143. <EntitySet Name="TblResortExternalSalesPeriod" EntityType="Self.TblResortExternalSalesPeriod" Schema="dbo" store:Type="Tables" />
  10144. <EntitySet Name="TblResortExternalSalesPeriodRules" EntityType="Self.TblResortExternalSalesPeriodRules" Schema="dbo" store:Type="Tables" />
  10145. <EntitySet Name="TblResortManagingAgent" EntityType="Self.TblResortManagingAgent" Schema="dbo" store:Type="Tables" />
  10146. <EntitySet Name="TblResortNotes" EntityType="Self.TblResortNotes" Schema="dbo" store:Type="Tables" />
  10147. <EntitySet Name="TblResortRebateBlock" EntityType="Self.TblResortRebateBlock" Schema="dbo" store:Type="Tables" />
  10148. <EntitySet Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" EntityType="Self.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Schema="dbo" store:Type="Tables" />
  10149. <EntitySet Name="TblResortSalesPeriod" EntityType="Self.TblResortSalesPeriod" Schema="dbo" store:Type="Tables" />
  10150. <EntitySet Name="TblResortSalesPeriodRules" EntityType="Self.TblResortSalesPeriodRules" Schema="dbo" store:Type="Tables" />
  10151. <EntitySet Name="TblSACRRABatch" EntityType="Self.TblSACRRABatch" Schema="dbo" store:Type="Tables" />
  10152. <EntitySet Name="TblSACRRAConsoftDataChecks" EntityType="Self.TblSACRRAConsoftDataChecks" Schema="dbo" store:Type="Tables" />
  10153. <EntitySet Name="TblSACRRAConsoftGlobalData" EntityType="Self.TblSACRRAConsoftGlobalData" Schema="dbo" store:Type="Tables" />
  10154. <EntitySet Name="TblSACRRAConsoftStatuses" EntityType="Self.TblSACRRAConsoftStatuses" Schema="dbo" store:Type="Tables" />
  10155. <EntitySet Name="TblSACRRAData" EntityType="Self.TblSACRRAData" Schema="dbo" store:Type="Tables" />
  10156. <EntitySet Name="TblSACRRADebtorGAPGAL" EntityType="Self.TblSACRRADebtorGAPGAL" Schema="dbo" store:Type="Tables" />
  10157. <EntitySet Name="TblSACRRADebtorStatus" EntityType="Self.TblSACRRADebtorStatus" Schema="dbo" store:Type="Tables" />
  10158. <EntitySet Name="TblSACRRAFiles" EntityType="Self.TblSACRRAFiles" Schema="dbo" store:Type="Tables" />
  10159. <EntitySet Name="TblSACRRAFileSettings" EntityType="Self.TblSACRRAFileSettings" Schema="dbo" store:Type="Tables" />
  10160. <EntitySet Name="TblSACRRAFilesToEncrypt" EntityType="Self.TblSACRRAFilesToEncrypt" Schema="dbo" store:Type="Tables" />
  10161. <EntitySet Name="TblSACRRAOnceOffStatusSettings" EntityType="Self.TblSACRRAOnceOffStatusSettings" Schema="dbo" store:Type="Tables" />
  10162. <EntitySet Name="TblSACRRASettings" EntityType="Self.TblSACRRASettings" Schema="dbo" store:Type="Tables" />
  10163. <EntitySet Name="TblSACRRAStatusExceptions" EntityType="Self.TblSACRRAStatusExceptions" Schema="dbo" store:Type="Tables" />
  10164. <EntitySet Name="TblSACRRAStatusSettings" EntityType="Self.TblSACRRAStatusSettings" Schema="dbo" store:Type="Tables" />
  10165. <EntitySet Name="TblSACRRAValidStatuses" EntityType="Self.TblSACRRAValidStatuses" Schema="dbo" store:Type="Tables" />
  10166. <EntitySet Name="TblSalesCommAmountScale" EntityType="Self.TblSalesCommAmountScale" Schema="dbo" store:Type="Tables" />
  10167. <EntitySet Name="TblSalesCommCountScale" EntityType="Self.TblSalesCommCountScale" Schema="dbo" store:Type="Tables" />
  10168. <EntitySet Name="TblSalesCommDataStore" EntityType="Self.TblSalesCommDataStore" Schema="dbo" store:Type="Tables" />
  10169. <EntitySet Name="TblSalesCommEarnerType" EntityType="Self.TblSalesCommEarnerType" Schema="dbo" store:Type="Tables" />
  10170. <EntitySet Name="TblSalesCommFixedAmount" EntityType="Self.TblSalesCommFixedAmount" Schema="dbo" store:Type="Tables" />
  10171. <EntitySet Name="TblSalesCommissionAdditional" EntityType="Self.TblSalesCommissionAdditional" Schema="dbo" store:Type="Tables" />
  10172. <EntitySet Name="TblSalesCommissionClawback" EntityType="Self.TblSalesCommissionClawback" Schema="dbo" store:Type="Tables" />
  10173. <EntitySet Name="TblSalesCommissionEquity" EntityType="Self.TblSalesCommissionEquity" Schema="dbo" store:Type="Tables" />
  10174. <EntitySet Name="TblSalesCommissionInfo" EntityType="Self.TblSalesCommissionInfo" Schema="dbo" store:Type="Tables" />
  10175. <EntitySet Name="TblSalesCommissionPercentages" EntityType="Self.TblSalesCommissionPercentages" Schema="dbo" store:Type="Tables" />
  10176. <EntitySet Name="TblSalesCommissionPeriod" EntityType="Self.TblSalesCommissionPeriod" Schema="dbo" store:Type="Tables" />
  10177. <EntitySet Name="TblSalesCommissionSeasons" EntityType="Self.TblSalesCommissionSeasons" Schema="dbo" store:Type="Tables" />
  10178. <EntitySet Name="TblSalesCommissionTransaction" EntityType="Self.TblSalesCommissionTransaction" Schema="dbo" store:Type="Tables" />
  10179. <EntitySet Name="TblSalesCommMonth" EntityType="Self.TblSalesCommMonth" Schema="dbo" store:Type="Tables" />
  10180. <EntitySet Name="TblSalesCommRegionBasedMonth" EntityType="Self.TblSalesCommRegionBasedMonth" Schema="dbo" store:Type="Tables" />
  10181. <EntitySet Name="TblSalesCommSkippedCommissions" EntityType="Self.TblSalesCommSkippedCommissions" Schema="dbo" store:Type="Tables" />
  10182. <EntitySet Name="TblSalesCommStatement" EntityType="Self.TblSalesCommStatement" Schema="dbo" store:Type="Tables" />
  10183. <EntitySet Name="TblSalesCommWeek" EntityType="Self.TblSalesCommWeek" Schema="dbo" store:Type="Tables" />
  10184. <EntitySet Name="TblSalesPeriod" EntityType="Self.TblSalesPeriod" Schema="dbo" store:Type="Tables" />
  10185. <EntitySet Name="TblSalesPeriodWeekEnding" EntityType="Self.TblSalesPeriodWeekEnding" Schema="dbo" store:Type="Tables" />
  10186. <EntitySet Name="TblSalesRegister" EntityType="Self.TblSalesRegister" Schema="dbo" store:Type="Tables" />
  10187. <EntitySet Name="TblSalesRegisterHdr" EntityType="Self.TblSalesRegisterHdr" Schema="dbo" store:Type="Tables" />
  10188. <EntitySet Name="TblSalesVenue" EntityType="Self.TblSalesVenue" Schema="dbo" store:Type="Tables" />
  10189. <EntitySet Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" EntityType="Self.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Schema="dbo" store:Type="Tables" />
  10190. <EntitySet Name="TblSalesVenueClubAdjustments" EntityType="Self.TblSalesVenueClubAdjustments" Schema="dbo" store:Type="Tables" />
  10191. <EntitySet Name="TblSalesVenueClubDevelopers" EntityType="Self.TblSalesVenueClubDevelopers" Schema="dbo" store:Type="Tables" />
  10192. <EntitySet Name="TblSalesVenueCommissionGroup" EntityType="Self.TblSalesVenueCommissionGroup" Schema="dbo" store:Type="Tables" />
  10193. <EntitySet Name="TblSalesVenueCommissionsSplit" EntityType="Self.TblSalesVenueCommissionsSplit" Schema="dbo" store:Type="Tables" />
  10194. <EntitySet Name="TblSalesVenueCommissionsSplitCommissionType" EntityType="Self.TblSalesVenueCommissionsSplitCommissionType" Schema="dbo" store:Type="Tables" />
  10195. <EntitySet Name="TblSalesVenueComSplitLines" EntityType="Self.TblSalesVenueComSplitLines" Schema="dbo" store:Type="Tables" />
  10196. <EntitySet Name="TblSalesVenueGroup" EntityType="Self.TblSalesVenueGroup" Schema="dbo" store:Type="Tables" />
  10197. <EntitySet Name="TblSalesVenueImportSource" EntityType="Self.TblSalesVenueImportSource" Schema="dbo" store:Type="Tables" />
  10198. <EntitySet Name="TblSalesVenuePersonnel" EntityType="Self.TblSalesVenuePersonnel" Schema="dbo" store:Type="Tables" />
  10199. <EntitySet Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" EntityType="Self.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Schema="dbo" store:Type="Tables" />
  10200. <EntitySet Name="TblSalesVenueRegFee" EntityType="Self.TblSalesVenueRegFee" Schema="dbo" store:Type="Tables" />
  10201. <EntitySet Name="TblSalesVenueRegion" EntityType="Self.TblSalesVenueRegion" Schema="dbo" store:Type="Tables" />
  10202. <EntitySet Name="TblSalesVenueRegister" EntityType="Self.TblSalesVenueRegister" Schema="dbo" store:Type="Tables" />
  10203. <EntitySet Name="TblSalesVenueRegisterHdr" EntityType="Self.TblSalesVenueRegisterHdr" Schema="dbo" store:Type="Tables" />
  10204. <EntitySet Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" EntityType="Self.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Schema="dbo" store:Type="Tables" />
  10205. <EntitySet Name="TblSalesVenueTelemarketerOffice" EntityType="Self.TblSalesVenueTelemarketerOffice" Schema="dbo" store:Type="Tables" />
  10206. <EntitySet Name="TblSalesVenueTelemarketerOffice-bak" EntityType="Self.TblSalesVenueTelemarketerOffice-bak" Schema="dbo" store:Type="Tables" />
  10207. <EntitySet Name="TblSalesVenueWeeklyTargetSplit" EntityType="Self.TblSalesVenueWeeklyTargetSplit" Schema="dbo" store:Type="Tables" />
  10208. <EntitySet Name="TblSCV2CommissionContract" EntityType="Self.TblSCV2CommissionContract" Schema="dbo" store:Type="Tables" />
  10209. <EntitySet Name="TblSCV2CommissionPeriod" EntityType="Self.TblSCV2CommissionPeriod" Schema="dbo" store:Type="Tables" />
  10210. <EntitySet Name="TblSCV2CommissionStructure" EntityType="Self.TblSCV2CommissionStructure" Schema="dbo" store:Type="Tables" />
  10211. <EntitySet Name="TblSCV2CommissionWeek" EntityType="Self.TblSCV2CommissionWeek" Schema="dbo" store:Type="Tables" />
  10212. <EntitySet Name="TblSCV2ErrorLog" EntityType="Self.TblSCV2ErrorLog" Schema="dbo" store:Type="Tables" />
  10213. <EntitySet Name="TblSCV2RegionalManagerContractTypeOverride" EntityType="Self.TblSCV2RegionalManagerContractTypeOverride" Schema="dbo" store:Type="Tables" />
  10214. <EntitySet Name="TblSCV2SalesVenueScale" EntityType="Self.TblSCV2SalesVenueScale" Schema="dbo" store:Type="Tables" />
  10215. <EntitySet Name="TblSCV2Scales" EntityType="Self.TblSCV2Scales" Schema="dbo" store:Type="Tables" />
  10216. <EntitySet Name="TblSCV2SpecialScales" EntityType="Self.TblSCV2SpecialScales" Schema="dbo" store:Type="Tables" />
  10217. <EntitySet Name="TblSCV2SpecialStructure" EntityType="Self.TblSCV2SpecialStructure" Schema="dbo" store:Type="Tables" />
  10218. <EntitySet Name="TblSCV2Transaction" EntityType="Self.TblSCV2Transaction" Schema="dbo" store:Type="Tables" />
  10219. <EntitySet Name="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" EntityType="Self.TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" Schema="dbo" store:Type="Tables" />
  10220. <EntitySet Name="TblSeasonsRankings" EntityType="Self.TblSeasonsRankings" Schema="dbo" store:Type="Tables" />
  10221. <EntitySet Name="TblSessionOverride" EntityType="Self.TblSessionOverride" Schema="dbo" store:Type="Tables" />
  10222. <EntitySet Name="TblSleeperRankings" EntityType="Self.TblSleeperRankings" Schema="dbo" store:Type="Tables" />
  10223. <EntitySet Name="TblSMICommissionContract" EntityType="Self.TblSMICommissionContract" Schema="dbo" store:Type="Tables" />
  10224. <EntitySet Name="TblSMICommissionInfo" EntityType="Self.TblSMICommissionInfo" Schema="dbo" store:Type="Tables" />
  10225. <EntitySet Name="TblSMICommissionPeriod" EntityType="Self.TblSMICommissionPeriod" Schema="dbo" store:Type="Tables" />
  10226. <EntitySet Name="TblSMICommissionWeek" EntityType="Self.TblSMICommissionWeek" Schema="dbo" store:Type="Tables" />
  10227. <EntitySet Name="TblSMIIncentive" EntityType="Self.TblSMIIncentive" Schema="dbo" store:Type="Tables" />
  10228. <EntitySet Name="TblSMIIncentiveLevel" EntityType="Self.TblSMIIncentiveLevel" Schema="dbo" store:Type="Tables" />
  10229. <EntitySet Name="TblSMISalesPersonWeek" EntityType="Self.TblSMISalesPersonWeek" Schema="dbo" store:Type="Tables" />
  10230. <EntitySet Name="TblSMITransaction" EntityType="Self.TblSMITransaction" Schema="dbo" store:Type="Tables" />
  10231. <EntitySet Name="TblSMSCampaignMessages" EntityType="Self.TblSMSCampaignMessages" Schema="dbo" store:Type="Tables" />
  10232. <EntitySet Name="TblSMSCampaignTemplate" EntityType="Self.TblSMSCampaignTemplate" Schema="dbo" store:Type="Tables" />
  10233. <EntitySet Name="TblStreamline" EntityType="Self.TblStreamline" Schema="dbo" store:Type="Tables" />
  10234. <EntitySet Name="TblSubStatus" EntityType="Self.TblSubStatus" Schema="dbo" store:Type="Tables" />
  10235. <EntitySet Name="TblSubStatusSubStatus_TblCCDStatusCCDStatus" EntityType="Self.TblSubStatusSubStatus_TblCCDStatusCCDStatus" Schema="dbo" store:Type="Tables" />
  10236. <EntitySet Name="TblSubStatusSubStatuses_StatusStatus" EntityType="Self.TblSubStatusSubStatuses_StatusStatus" Schema="dbo" store:Type="Tables" />
  10237. <EntitySet Name="TblSuspenseTransaction" EntityType="Self.TblSuspenseTransaction" Schema="dbo" store:Type="Tables" />
  10238. <EntitySet Name="TblSuspenseTransactionSplit" EntityType="Self.TblSuspenseTransactionSplit" Schema="dbo" store:Type="Tables" />
  10239. <EntitySet Name="TblSystem" EntityType="Self.TblSystem" Schema="dbo" store:Type="Tables" />
  10240. <EntitySet Name="TblTelemarketerOffice" EntityType="Self.TblTelemarketerOffice" Schema="dbo" store:Type="Tables" />
  10241. <EntitySet Name="TblTelemarketerRegister" EntityType="Self.TblTelemarketerRegister" Schema="dbo" store:Type="Tables" />
  10242. <EntitySet Name="TblTelemarketerRegisterHdr" EntityType="Self.TblTelemarketerRegisterHdr" Schema="dbo" store:Type="Tables" />
  10243. <EntitySet Name="TblTelemarketerSlidingScale" EntityType="Self.TblTelemarketerSlidingScale" Schema="dbo" store:Type="Tables" />
  10244. <EntitySet Name="TblTelemarketingCompany" EntityType="Self.TblTelemarketingCompany" Schema="dbo" store:Type="Tables" />
  10245. <EntitySet Name="TblTelephoneCodes" EntityType="Self.TblTelephoneCodes" Schema="dbo" store:Type="Tables" />
  10246. <EntitySet Name="TblTelephones" EntityType="Self.TblTelephones" Schema="dbo" store:Type="Tables" />
  10247. <EntitySet Name="TblTelephoneTypes" EntityType="Self.TblTelephoneTypes" Schema="dbo" store:Type="Tables" />
  10248. <EntitySet Name="TblTFGLeads" EntityType="Self.TblTFGLeads" Schema="dbo" store:Type="Tables" />
  10249. <EntitySet Name="TblTimeOffCampaign" EntityType="Self.TblTimeOffCampaign" Schema="dbo" store:Type="Tables" />
  10250. <EntitySet Name="TblTimeOffCompetition" EntityType="Self.TblTimeOffCompetition" Schema="dbo" store:Type="Tables" />
  10251. <EntitySet Name="TblTimeOffCompetitionCampaign" EntityType="Self.TblTimeOffCompetitionCampaign" Schema="dbo" store:Type="Tables" />
  10252. <EntitySet Name="TblTimeOffCompetitionEntry" EntityType="Self.TblTimeOffCompetitionEntry" Schema="dbo" store:Type="Tables" />
  10253. <EntitySet Name="TblTimeOffConsoftComm" EntityType="Self.TblTimeOffConsoftComm" Schema="dbo" store:Type="Tables" />
  10254. <EntitySet Name="TblTimeOffFriends" EntityType="Self.TblTimeOffFriends" Schema="dbo" store:Type="Tables" />
  10255. <EntitySet Name="TblTimeOffNoVouchers" EntityType="Self.TblTimeOffNoVouchers" Schema="dbo" store:Type="Tables" />
  10256. <EntitySet Name="TblTimeOffReferalProfile" EntityType="Self.TblTimeOffReferalProfile" Schema="dbo" store:Type="Tables" />
  10257. <EntitySet Name="TblTimeOffVouchers" EntityType="Self.TblTimeOffVouchers" Schema="dbo" store:Type="Tables" />
  10258. <EntitySet Name="TblTMCommBasicTransactions" EntityType="Self.TblTMCommBasicTransactions" Schema="dbo" store:Type="Tables" />
  10259. <EntitySet Name="TblTMCommDeals" EntityType="Self.TblTMCommDeals" Schema="dbo" store:Type="Tables" />
  10260. <EntitySet Name="TblTMCommDealTargets" EntityType="Self.TblTMCommDealTargets" Schema="dbo" store:Type="Tables" />
  10261. <EntitySet Name="TblTMCommGroups" EntityType="Self.TblTMCommGroups" Schema="dbo" store:Type="Tables" />
  10262. <EntitySet Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" EntityType="Self.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Schema="dbo" store:Type="Tables" />
  10263. <EntitySet Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" EntityType="Self.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Schema="dbo" store:Type="Tables" />
  10264. <EntitySet Name="TblTMCommsAudit" EntityType="Self.TblTMCommsAudit" Schema="dbo" store:Type="Tables" />
  10265. <EntitySet Name="TblTMCommsMonth" EntityType="Self.TblTMCommsMonth" Schema="dbo" store:Type="Tables" />
  10266. <EntitySet Name="TblTMCommStructure" EntityType="Self.TblTMCommStructure" Schema="dbo" store:Type="Tables" />
  10267. <EntitySet Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" EntityType="Self.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Schema="dbo" store:Type="Tables" />
  10268. <EntitySet Name="TblTMCommsWeek" EntityType="Self.TblTMCommsWeek" Schema="dbo" store:Type="Tables" />
  10269. <EntitySet Name="TblTMCommTable" EntityType="Self.TblTMCommTable" Schema="dbo" store:Type="Tables" />
  10270. <EntitySet Name="TblTMCommTransactions" EntityType="Self.TblTMCommTransactions" Schema="dbo" store:Type="Tables" />
  10271. <EntitySet Name="TblTMCommType" EntityType="Self.TblTMCommType" Schema="dbo" store:Type="Tables" />
  10272. <EntitySet Name="TblTrainingManagerCommissionSeasonPercentage" EntityType="Self.TblTrainingManagerCommissionSeasonPercentage" Schema="dbo" store:Type="Tables" />
  10273. <EntitySet Name="TblTrainingManuals" EntityType="Self.TblTrainingManuals" Schema="dbo" store:Type="Tables" />
  10274. <EntitySet Name="TblTrainngManagerCommissionPercentage" EntityType="Self.TblTrainngManagerCommissionPercentage" Schema="dbo" store:Type="Tables" />
  10275. <EntitySet Name="TblTransferFunds" EntityType="Self.TblTransferFunds" Schema="dbo" store:Type="Tables" />
  10276. <EntitySet Name="TblUnipointBookings" EntityType="Self.TblUnipointBookings" Schema="dbo" store:Type="Tables" />
  10277. <EntitySet Name="TblUnipointBookingWeeks" EntityType="Self.TblUnipointBookingWeeks" Schema="dbo" store:Type="Tables" />
  10278. <EntitySet Name="TblUpdateBankingDetailContractDetails" EntityType="Self.TblUpdateBankingDetailContractDetails" Schema="dbo" store:Type="Tables" />
  10279. <EntitySet Name="TblUpdateBankingDetailDebtorBanking" EntityType="Self.TblUpdateBankingDetailDebtorBanking" Schema="dbo" store:Type="Tables" />
  10280. <EntitySet Name="TblUpdateBankingDetails" EntityType="Self.TblUpdateBankingDetails" Schema="dbo" store:Type="Tables" />
  10281. <EntitySet Name="TblUpdateBankingDetailsOverride" EntityType="Self.TblUpdateBankingDetailsOverride" Schema="dbo" store:Type="Tables" />
  10282. <EntitySet Name="TblUpdateBankingDetailsOverrideDocuments" EntityType="Self.TblUpdateBankingDetailsOverrideDocuments" Schema="dbo" store:Type="Tables" />
  10283. <EntitySet Name="TblUpdateContractBankingDetailsLog" EntityType="Self.TblUpdateContractBankingDetailsLog" Schema="dbo" store:Type="Tables" />
  10284. <EntitySet Name="TblVoucher" EntityType="Self.TblVoucher" Schema="dbo" store:Type="Tables" />
  10285. <EntitySet Name="TblVoucherSeries" EntityType="Self.TblVoucherSeries" Schema="dbo" store:Type="Tables" />
  10286. <EntitySet Name="TblVoucherTypes" EntityType="Self.TblVoucherTypes" Schema="dbo" store:Type="Tables" />
  10287. <EntitySet Name="TblWeekBanking" EntityType="Self.TblWeekBanking" Schema="dbo" store:Type="Tables" />
  10288. <EntitySet Name="TblWeekModule" EntityType="Self.TblWeekModule" Schema="dbo" store:Type="Tables" />
  10289. <EntitySet Name="TelemarketingSMSSettings" EntityType="Self.TelemarketingSMSSettings" Schema="dbo" store:Type="Tables" />
  10290. <EntitySet Name="Titles" EntityType="Self.Titles" Schema="dbo" store:Type="Tables" />
  10291. <EntitySet Name="TransfigContractInfo" EntityType="Self.TransfigContractInfo" Schema="dbo" store:Type="Tables" />
  10292. <EntitySet Name="TransfigSearchResults" EntityType="Self.TransfigSearchResults" Schema="dbo" store:Type="Tables" />
  10293. <EntitySet Name="Transfigurations" EntityType="Self.Transfigurations" Schema="dbo" store:Type="Tables" />
  10294. <EntitySet Name="UserAccessLog" EntityType="Self.UserAccessLog" Schema="dbo" store:Type="Tables" />
  10295. <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
  10296. <AssociationSet Name="FK__TblSalesV__Perso__1A3FCC1E" Association="Self.FK__TblSalesV__Perso__1A3FCC1E">
  10297. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10298. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnel" />
  10299. </AssociationSet>
  10300. <AssociationSet Name="FK__TblSalesV__PodMa__1B33F057" Association="Self.FK__TblSalesV__PodMa__1B33F057">
  10301. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10302. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnel" />
  10303. </AssociationSet>
  10304. <AssociationSet Name="FK__TblSalesV__Sales__2799C73C" Association="Self.FK__TblSalesV__Sales__2799C73C">
  10305. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10306. <End Role="TblSalesVenueTelemarketerOffice" EntitySet="TblSalesVenueTelemarketerOffice" />
  10307. </AssociationSet>
  10308. <AssociationSet Name="FK__TblSalesV__TblSa__1C281490" Association="Self.FK__TblSalesV__TblSa__1C281490">
  10309. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10310. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnel" />
  10311. </AssociationSet>
  10312. <AssociationSet Name="FK__TblSalesV__TblSa__21E0EDE6" Association="Self.FK__TblSalesV__TblSa__21E0EDE6">
  10313. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10314. <End Role="TblSalesVenueRegion" EntitySet="TblSalesVenueRegion" />
  10315. </AssociationSet>
  10316. <AssociationSet Name="FK__TblSalesV__Telem__288DEB75" Association="Self.FK__TblSalesV__Telem__288DEB75">
  10317. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  10318. <End Role="TblSalesVenueTelemarketerOffice" EntitySet="TblSalesVenueTelemarketerOffice" />
  10319. </AssociationSet>
  10320. <AssociationSet Name="FK_TblDebtor_AllocatedTo" Association="Self.FK_TblDebtor_AllocatedTo">
  10321. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10322. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10323. </AssociationSet>
  10324. <AssociationSet Name="FK_TblDebtor_Developer" Association="Self.FK_TblDebtor_Developer">
  10325. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  10326. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10327. </AssociationSet>
  10328. <AssociationSet Name="FK_TblDebtor_ReportsTo" Association="Self.FK_TblDebtor_ReportsTo">
  10329. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10330. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10331. </AssociationSet>
  10332. <AssociationSet Name="FK_TblDebtor_Resort" Association="Self.FK_TblDebtor_Resort">
  10333. <End Role="TblResort" EntitySet="TblResort" />
  10334. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10335. </AssociationSet>
  10336. <AssociationSet Name="FK_TblDebtor_UndertakingConsultant" Association="Self.FK_TblDebtor_UndertakingConsultant">
  10337. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10338. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10339. </AssociationSet>
  10340. <AssociationSet Name="FK_TblDebtorBanking_DebtorNo" Association="Self.FK_TblDebtorBanking_DebtorNo">
  10341. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10342. <End Role="TblDebtorBanking" EntitySet="TblDebtorBanking" />
  10343. </AssociationSet>
  10344. <AssociationSet Name="FK_TblDebtorBankingAmendment_DebtorBanking" Association="Self.FK_TblDebtorBankingAmendment_DebtorBanking">
  10345. <End Role="TblDebtorBanking" EntitySet="TblDebtorBanking" />
  10346. <End Role="TblDebtorBankingAmendment" EntitySet="TblDebtorBankingAmendment" />
  10347. </AssociationSet>
  10348. <AssociationSet Name="FK_TblDebtorCategoryBreakdown_Debtor" Association="Self.FK_TblDebtorCategoryBreakdown_Debtor">
  10349. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10350. <End Role="TblDebtorCategoryBreakdown" EntitySet="TblDebtorCategoryBreakdown" />
  10351. </AssociationSet>
  10352. <AssociationSet Name="FK_TblDebtorDocuments_Debtor" Association="Self.FK_TblDebtorDocuments_Debtor">
  10353. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10354. <End Role="TblDebtorDocuments" EntitySet="TblDebtorDocuments" />
  10355. </AssociationSet>
  10356. <AssociationSet Name="FK_TblDebtorDocuments_DocumentType" Association="Self.FK_TblDebtorDocuments_DocumentType">
  10357. <End Role="TblDocumentType" EntitySet="TblDocumentType" />
  10358. <End Role="TblDebtorDocuments" EntitySet="TblDebtorDocuments" />
  10359. </AssociationSet>
  10360. <AssociationSet Name="FK_TblDebtorFeedback_DebtorNo" Association="Self.FK_TblDebtorFeedback_DebtorNo">
  10361. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10362. <End Role="TblDebtorFeedback" EntitySet="TblDebtorFeedback" />
  10363. </AssociationSet>
  10364. <AssociationSet Name="FK_TblDebtorFeedback_Feedback" Association="Self.FK_TblDebtorFeedback_Feedback">
  10365. <End Role="TblFeedbackType" EntitySet="TblFeedbackType" />
  10366. <End Role="TblDebtorFeedback" EntitySet="TblDebtorFeedback" />
  10367. </AssociationSet>
  10368. <AssociationSet Name="FK_TblDebtorFeedback_Name" Association="Self.FK_TblDebtorFeedback_Name">
  10369. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10370. <End Role="TblDebtorFeedback" EntitySet="TblDebtorFeedback" />
  10371. </AssociationSet>
  10372. <AssociationSet Name="FK_TblDebtorInterestRates_DebtorNo" Association="Self.FK_TblDebtorInterestRates_DebtorNo">
  10373. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10374. <End Role="TblDebtorInterestRates" EntitySet="TblDebtorInterestRates" />
  10375. </AssociationSet>
  10376. <AssociationSet Name="FK_TblDebtorManagementFeeValues_Debtor" Association="Self.FK_TblDebtorManagementFeeValues_Debtor">
  10377. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10378. <End Role="TblDebtorManagementFeeValues" EntitySet="TblDebtorManagementFeeValues" />
  10379. </AssociationSet>
  10380. <AssociationSet Name="FK_TblDebtorManagementFeeValues_WeekModule" Association="Self.FK_TblDebtorManagementFeeValues_WeekModule">
  10381. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  10382. <End Role="TblDebtorManagementFeeValues" EntitySet="TblDebtorManagementFeeValues" />
  10383. </AssociationSet>
  10384. <AssociationSet Name="FK_TblDebtorNotes_MessageCode" Association="Self.FK_TblDebtorNotes_MessageCode">
  10385. <End Role="TblMessageCode" EntitySet="TblMessageCode" />
  10386. <End Role="TblDebtorNotes" EntitySet="TblDebtorNotes" />
  10387. </AssociationSet>
  10388. <AssociationSet Name="FK_TblDebtorNotes_TblDebtor" Association="Self.FK_TblDebtorNotes_TblDebtor">
  10389. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10390. <End Role="TblDebtorNotes" EntitySet="TblDebtorNotes" />
  10391. </AssociationSet>
  10392. <AssociationSet Name="FK_TblDebtorResaleTransfers_DebtorNumber" Association="Self.FK_TblDebtorResaleTransfers_DebtorNumber">
  10393. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10394. <End Role="TblDebtorResaleTransfers" EntitySet="TblDebtorResaleTransfers" />
  10395. </AssociationSet>
  10396. <AssociationSet Name="FK_TblDebtorResaleTransfers_TransferTransaction" Association="Self.FK_TblDebtorResaleTransfers_TransferTransaction">
  10397. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10398. <End Role="TblDebtorResaleTransfers" EntitySet="TblDebtorResaleTransfers" />
  10399. </AssociationSet>
  10400. <AssociationSet Name="FK_TblDebtorTransactions_AllJournalLines" Association="Self.FK_TblDebtorTransactions_AllJournalLines">
  10401. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10402. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10403. </AssociationSet>
  10404. <AssociationSet Name="FK_TblDebtorTransactions_CollectionTran" Association="Self.FK_TblDebtorTransactions_CollectionTran">
  10405. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10406. <End Role="TblDebtorTransactions1" EntitySet="TblDebtorTransactions" />
  10407. </AssociationSet>
  10408. <AssociationSet Name="FK_TblDebtorTransactions_Debtor" Association="Self.FK_TblDebtorTransactions_Debtor">
  10409. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10410. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10411. </AssociationSet>
  10412. <AssociationSet Name="FK_TblDebtorTransactions_DebtorCode" Association="Self.FK_TblDebtorTransactions_DebtorCode">
  10413. <End Role="TblDebtorCoding" EntitySet="TblDebtorCoding" />
  10414. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10415. </AssociationSet>
  10416. <AssociationSet Name="FK_TblDebtorTransactions_HideDebtorTransaction" Association="Self.FK_TblDebtorTransactions_HideDebtorTransaction">
  10417. <End Role="TblHideDebtorTransaction" EntitySet="TblHideDebtorTransaction" />
  10418. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10419. </AssociationSet>
  10420. <AssociationSet Name="FK_TblDebtorTransactions_PayType" Association="Self.FK_TblDebtorTransactions_PayType">
  10421. <End Role="TblPaymentTypes" EntitySet="TblPaymentTypes" />
  10422. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10423. </AssociationSet>
  10424. <AssociationSet Name="FK_TblDebtorTransactions_TblJournalLines" Association="Self.FK_TblDebtorTransactions_TblJournalLines">
  10425. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10426. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10427. </AssociationSet>
  10428. <AssociationSet Name="FK_TblDebtorTransactions_TransactionType" Association="Self.FK_TblDebtorTransactions_TransactionType">
  10429. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10430. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10431. </AssociationSet>
  10432. <AssociationSet Name="FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction" Association="Self.FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction">
  10433. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10434. <End Role="TblDebtorTransactionsCatBreakdown" EntitySet="TblDebtorTransactionsCatBreakdown" />
  10435. </AssociationSet>
  10436. <AssociationSet Name="FK_TblDebtorTransactionsCatBreakdown_TransactionType" Association="Self.FK_TblDebtorTransactionsCatBreakdown_TransactionType">
  10437. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10438. <End Role="TblDebtorTransactionsCatBreakdown" EntitySet="TblDebtorTransactionsCatBreakdown" />
  10439. </AssociationSet>
  10440. <AssociationSet Name="FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup" Association="Self.FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup">
  10441. <End Role="TblDebtorTransactionTypeReportGroup" EntitySet="TblDebtorTransactionTypeReportGroup" />
  10442. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10443. </AssociationSet>
  10444. <AssociationSet Name="FK_TblDebtorTranTypes_PaymentType" Association="Self.FK_TblDebtorTranTypes_PaymentType">
  10445. <End Role="TblPaymentTypes" EntitySet="TblPaymentTypes" />
  10446. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10447. </AssociationSet>
  10448. <AssociationSet Name="FK_TblDebtorTranTypes_Reversal" Association="Self.FK_TblDebtorTranTypes_Reversal">
  10449. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10450. <End Role="TblDebtorTranTypes1" EntitySet="TblDebtorTranTypes" />
  10451. </AssociationSet>
  10452. <AssociationSet Name="FK_TblDebtorTranTypes_ReversalTranType" Association="Self.FK_TblDebtorTranTypes_ReversalTranType">
  10453. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10454. <End Role="TblDebtorTranTypes1" EntitySet="TblDebtorTranTypes" />
  10455. </AssociationSet>
  10456. <AssociationSet Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals" Association="Self.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals">
  10457. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10458. <End Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" EntitySet="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  10459. </AssociationSet>
  10460. <AssociationSet Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp" Association="Self.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp">
  10461. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10462. <End Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" EntitySet="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  10463. </AssociationSet>
  10464. <AssociationSet Name="FK_TblDebtorWeekModuleException_Debtor" Association="Self.FK_TblDebtorWeekModuleException_Debtor">
  10465. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10466. <End Role="TblDebtorWeekModuleException" EntitySet="TblDebtorWeekModuleException" />
  10467. </AssociationSet>
  10468. <AssociationSet Name="FK_TblDetailedInfo_Ethnicity" Association="Self.FK_TblDetailedInfo_Ethnicity">
  10469. <End Role="TblEthnicity" EntitySet="TblEthnicity" />
  10470. <End Role="TblDetailedInfo" EntitySet="TblDetailedInfo" />
  10471. </AssociationSet>
  10472. <AssociationSet Name="FK_TblDetailedInfo_Title" Association="Self.FK_TblDetailedInfo_Title">
  10473. <End Role="Titles" EntitySet="Titles" />
  10474. <End Role="TblDetailedInfo" EntitySet="TblDetailedInfo" />
  10475. </AssociationSet>
  10476. <AssociationSet Name="FK_TblEquityCommissionTarget_Personnel" Association="Self.FK_TblEquityCommissionTarget_Personnel">
  10477. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10478. <End Role="TblEquityCommissionTarget" EntitySet="TblEquityCommissionTarget" />
  10479. </AssociationSet>
  10480. <AssociationSet Name="FK_TblEVoucher_SalesVenue" Association="Self.FK_TblEVoucher_SalesVenue">
  10481. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10482. <End Role="TblEVoucher" EntitySet="TblEVoucher" />
  10483. </AssociationSet>
  10484. <AssociationSet Name="FK_TblEVoucher_VoucherCategory" Association="Self.FK_TblEVoucher_VoucherCategory">
  10485. <End Role="TblEVoucherCategory" EntitySet="TblEVoucherCategory" />
  10486. <End Role="TblEVoucher" EntitySet="TblEVoucher" />
  10487. </AssociationSet>
  10488. <AssociationSet Name="FK_TblEVoucher_VoucherSeries" Association="Self.FK_TblEVoucher_VoucherSeries">
  10489. <End Role="TblEVoucherSeries" EntitySet="TblEVoucherSeries" />
  10490. <End Role="TblEVoucher" EntitySet="TblEVoucher" />
  10491. </AssociationSet>
  10492. <AssociationSet Name="FK_TblEVoucher_VoucherType" Association="Self.FK_TblEVoucher_VoucherType">
  10493. <End Role="TblEVoucherType" EntitySet="TblEVoucherType" />
  10494. <End Role="TblEVoucher" EntitySet="TblEVoucher" />
  10495. </AssociationSet>
  10496. <AssociationSet Name="FK_TblEVoucherCategory_SalesVenue" Association="Self.FK_TblEVoucherCategory_SalesVenue">
  10497. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10498. <End Role="TblEVoucherCategory" EntitySet="TblEVoucherCategory" />
  10499. </AssociationSet>
  10500. <AssociationSet Name="FK_TblEVoucherNotes_TblEVoucher" Association="Self.FK_TblEVoucherNotes_TblEVoucher">
  10501. <End Role="TblEVoucher" EntitySet="TblEVoucher" />
  10502. <End Role="TblEVoucherNotes" EntitySet="TblEVoucherNotes" />
  10503. </AssociationSet>
  10504. <AssociationSet Name="FK_TblEVoucherType_RotationLinksTo" Association="Self.FK_TblEVoucherType_RotationLinksTo">
  10505. <End Role="TblEVoucherType" EntitySet="TblEVoucherType" />
  10506. <End Role="TblEVoucherType1" EntitySet="TblEVoucherType" />
  10507. </AssociationSet>
  10508. <AssociationSet Name="FK_TblEVoucherType_SalesVenue" Association="Self.FK_TblEVoucherType_SalesVenue">
  10509. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10510. <End Role="TblEVoucherType" EntitySet="TblEVoucherType" />
  10511. </AssociationSet>
  10512. <AssociationSet Name="FK_TblExpenseCodesCompany_ExpenseCode" Association="Self.FK_TblExpenseCodesCompany_ExpenseCode">
  10513. <End Role="TblExpenseCodes" EntitySet="TblExpenseCodes" />
  10514. <End Role="TblExpenseCodesCompany" EntitySet="TblExpenseCodesCompany" />
  10515. </AssociationSet>
  10516. <AssociationSet Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCode" Association="Self.FK_TblExpenseCodeTransactionsDetail_ExpenseCode">
  10517. <End Role="TblExpenseCodes" EntitySet="TblExpenseCodes" />
  10518. <End Role="TblExpenseCodeTransactionsDetail" EntitySet="TblExpenseCodeTransactionsDetail" />
  10519. </AssociationSet>
  10520. <AssociationSet Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader" Association="Self.FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader">
  10521. <End Role="TblExpenseCodeTransactionsHeader" EntitySet="TblExpenseCodeTransactionsHeader" />
  10522. <End Role="TblExpenseCodeTransactionsDetail" EntitySet="TblExpenseCodeTransactionsDetail" />
  10523. </AssociationSet>
  10524. <AssociationSet Name="FK_TblExternalResortCommission_CapitalDebtor" Association="Self.FK_TblExternalResortCommission_CapitalDebtor">
  10525. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10526. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommission" />
  10527. </AssociationSet>
  10528. <AssociationSet Name="FK_TblExternalResortCommission_Resort" Association="Self.FK_TblExternalResortCommission_Resort">
  10529. <End Role="TblResort" EntitySet="TblResort" />
  10530. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommission" />
  10531. </AssociationSet>
  10532. <AssociationSet Name="FK_TblExternalResortCommission_Week" Association="Self.FK_TblExternalResortCommission_Week">
  10533. <End Role="TblExternalResortCommissionWeeks" EntitySet="TblExternalResortCommissionWeeks" />
  10534. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommission" />
  10535. </AssociationSet>
  10536. <AssociationSet Name="FK_TblExternalResortCommission_WeekModule" Association="Self.FK_TblExternalResortCommission_WeekModule">
  10537. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  10538. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommission" />
  10539. </AssociationSet>
  10540. <AssociationSet Name="FK_TblExternalResortCommissionTransactions_Commission" Association="Self.FK_TblExternalResortCommissionTransactions_Commission">
  10541. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommission" />
  10542. <End Role="TblExternalResortCommissionTransactions" EntitySet="TblExternalResortCommissionTransactions" />
  10543. </AssociationSet>
  10544. <AssociationSet Name="FK_TblExternalResortCommissionWeeks_Resort" Association="Self.FK_TblExternalResortCommissionWeeks_Resort">
  10545. <End Role="TblResort" EntitySet="TblResort" />
  10546. <End Role="TblExternalResortCommissionWeeks" EntitySet="TblExternalResortCommissionWeeks" />
  10547. </AssociationSet>
  10548. <AssociationSet Name="FK_TblExternalResortCommissionWeeks_WeekModule" Association="Self.FK_TblExternalResortCommissionWeeks_WeekModule">
  10549. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  10550. <End Role="TblExternalResortCommissionWeeks" EntitySet="TblExternalResortCommissionWeeks" />
  10551. </AssociationSet>
  10552. <AssociationSet Name="FK_TblFriends_Profile" Association="Self.FK_TblFriends_Profile">
  10553. <End Role="TblReferalProfile" EntitySet="TblReferalProfile" />
  10554. <End Role="TblFriends" EntitySet="TblFriends" />
  10555. </AssociationSet>
  10556. <AssociationSet Name="FK_TblGalvanizedDeals_Debtor" Association="Self.FK_TblGalvanizedDeals_Debtor">
  10557. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10558. <End Role="TblGalvanizedDeals" EntitySet="TblGalvanizedDeals" />
  10559. </AssociationSet>
  10560. <AssociationSet Name="FK_TblGalvanizedTransactions_AccountNumber" Association="Self.FK_TblGalvanizedTransactions_AccountNumber">
  10561. <End Role="TblGalvanizedDeals" EntitySet="TblGalvanizedDeals" />
  10562. <End Role="TblGalvanizedTransactions" EntitySet="TblGalvanizedTransactions" />
  10563. </AssociationSet>
  10564. <AssociationSet Name="FK_TblGroupCategory_TblDebtorTranTypes" Association="Self.FK_TblGroupCategory_TblDebtorTranTypes">
  10565. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10566. <End Role="TblGroupCategory" EntitySet="TblGroupCategory" />
  10567. </AssociationSet>
  10568. <AssociationSet Name="FK_TblHideDebtorTransaction_CreatedBy" Association="Self.FK_TblHideDebtorTransaction_CreatedBy">
  10569. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10570. <End Role="TblHideDebtorTransaction" EntitySet="TblHideDebtorTransaction" />
  10571. </AssociationSet>
  10572. <AssociationSet Name="FK_TblHideDebtorTransaction_Debtor" Association="Self.FK_TblHideDebtorTransaction_Debtor">
  10573. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10574. <End Role="TblHideDebtorTransaction" EntitySet="TblHideDebtorTransaction" />
  10575. </AssociationSet>
  10576. <AssociationSet Name="FK_TblInvoiceLines_ExpenseCode" Association="Self.FK_TblInvoiceLines_ExpenseCode">
  10577. <End Role="TblExpenseCodes" EntitySet="TblExpenseCodes" />
  10578. <End Role="TblInvoiceLines" EntitySet="TblInvoiceLines" />
  10579. </AssociationSet>
  10580. <AssociationSet Name="FK_TblInvoiceLines_InvoiceNumber" Association="Self.FK_TblInvoiceLines_InvoiceNumber">
  10581. <End Role="TblInvoices" EntitySet="TblInvoices" />
  10582. <End Role="TblInvoiceLines" EntitySet="TblInvoiceLines" />
  10583. </AssociationSet>
  10584. <AssociationSet Name="FK_TblInvoices_Resort" Association="Self.FK_TblInvoices_Resort">
  10585. <End Role="TblResort" EntitySet="TblResort" />
  10586. <End Role="TblInvoices" EntitySet="TblInvoices" />
  10587. </AssociationSet>
  10588. <AssociationSet Name="FK_TblJournalBatch_TransactionType" Association="Self.FK_TblJournalBatch_TransactionType">
  10589. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10590. <End Role="TblJournalBatch" EntitySet="TblJournalBatch" />
  10591. </AssociationSet>
  10592. <AssociationSet Name="FK_TblJournalLineCatBreakdown_JournalLine" Association="Self.FK_TblJournalLineCatBreakdown_JournalLine">
  10593. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10594. <End Role="TblJournalLineCatBreakdown" EntitySet="TblJournalLineCatBreakdown" />
  10595. </AssociationSet>
  10596. <AssociationSet Name="FK_TblJournalLines_Debtor" Association="Self.FK_TblJournalLines_Debtor">
  10597. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10598. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10599. </AssociationSet>
  10600. <AssociationSet Name="FK_TblJournalLines_JournalBatch" Association="Self.FK_TblJournalLines_JournalBatch">
  10601. <End Role="TblJournalBatch" EntitySet="TblJournalBatch" />
  10602. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10603. </AssociationSet>
  10604. <AssociationSet Name="FK_TblJournalLines_LineTransactionType" Association="Self.FK_TblJournalLines_LineTransactionType">
  10605. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10606. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10607. </AssociationSet>
  10608. <AssociationSet Name="FK_TblJournalLines_PayType" Association="Self.FK_TblJournalLines_PayType">
  10609. <End Role="TblPaymentTypes" EntitySet="TblPaymentTypes" />
  10610. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10611. </AssociationSet>
  10612. <AssociationSet Name="FK_TblJournalLineTransactions_JournalLine" Association="Self.FK_TblJournalLineTransactions_JournalLine">
  10613. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  10614. <End Role="TblJournalLineTransactions" EntitySet="TblJournalLineTransactions" />
  10615. </AssociationSet>
  10616. <AssociationSet Name="FK_TblJournalLineTransactions_NonReverseTranTypes" Association="Self.FK_TblJournalLineTransactions_NonReverseTranTypes">
  10617. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10618. <End Role="TblJournalLineTransactions" EntitySet="TblJournalLineTransactions" />
  10619. </AssociationSet>
  10620. <AssociationSet Name="FK_TblJournalLineTransactions_OriginalTransaction" Association="Self.FK_TblJournalLineTransactions_OriginalTransaction">
  10621. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10622. <End Role="TblJournalLineTransactions" EntitySet="TblJournalLineTransactions" />
  10623. </AssociationSet>
  10624. <AssociationSet Name="FK_TblJournalLineTransactions_TranType" Association="Self.FK_TblJournalLineTransactions_TranType">
  10625. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10626. <End Role="TblJournalLineTransactions" EntitySet="TblJournalLineTransactions" />
  10627. </AssociationSet>
  10628. <AssociationSet Name="FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction" Association="Self.FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction">
  10629. <End Role="TblJournalLineTransactions" EntitySet="TblJournalLineTransactions" />
  10630. <End Role="TblJournalLineTransactionsCatBreakdown" EntitySet="TblJournalLineTransactionsCatBreakdown" />
  10631. </AssociationSet>
  10632. <AssociationSet Name="FK_TblLeadFeedback_Feedback" Association="Self.FK_TblLeadFeedback_Feedback">
  10633. <End Role="TblFeedbackType" EntitySet="TblFeedbackType" />
  10634. <End Role="TblLeadFeedback" EntitySet="TblLeadFeedback" />
  10635. </AssociationSet>
  10636. <AssociationSet Name="FK_TblLeadFeedback_Telemarketer" Association="Self.FK_TblLeadFeedback_Telemarketer">
  10637. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10638. <End Role="TblLeadFeedback" EntitySet="TblLeadFeedback" />
  10639. </AssociationSet>
  10640. <AssociationSet Name="FK_TblLeadFeedback_TFGLeadsKey" Association="Self.FK_TblLeadFeedback_TFGLeadsKey">
  10641. <End Role="TblTFGLeads" EntitySet="TblTFGLeads" />
  10642. <End Role="TblLeadFeedback" EntitySet="TblLeadFeedback" />
  10643. </AssociationSet>
  10644. <AssociationSet Name="FK_TblLeads_Ethnicity" Association="Self.FK_TblLeads_Ethnicity">
  10645. <End Role="TblEthnicity" EntitySet="TblEthnicity" />
  10646. <End Role="TblLeads" EntitySet="TblLeads" />
  10647. </AssociationSet>
  10648. <AssociationSet Name="FK_TblLeads_ImportSource" Association="Self.FK_TblLeads_ImportSource">
  10649. <End Role="TblImportSource" EntitySet="TblImportSource" />
  10650. <End Role="TblLeads" EntitySet="TblLeads" />
  10651. </AssociationSet>
  10652. <AssociationSet Name="FK_TblLeads_IncomeGroup" Association="Self.FK_TblLeads_IncomeGroup">
  10653. <End Role="TblIncomeBracket" EntitySet="TblIncomeBracket" />
  10654. <End Role="TblLeads" EntitySet="TblLeads" />
  10655. </AssociationSet>
  10656. <AssociationSet Name="FK_TblLeads_SpouseTitle" Association="Self.FK_TblLeads_SpouseTitle">
  10657. <End Role="Titles" EntitySet="Titles" />
  10658. <End Role="TblLeads" EntitySet="TblLeads" />
  10659. </AssociationSet>
  10660. <AssociationSet Name="FK_TblLeads_TimeOffNonVoucherNumber" Association="Self.FK_TblLeads_TimeOffNonVoucherNumber">
  10661. <End Role="TblTimeOffNoVouchers" EntitySet="TblTimeOffNoVouchers" />
  10662. <End Role="TblLeads" EntitySet="TblLeads" />
  10663. </AssociationSet>
  10664. <AssociationSet Name="FK_TblLeads_TimeOffVoucherNumber" Association="Self.FK_TblLeads_TimeOffVoucherNumber">
  10665. <End Role="TblTimeOffVouchers" EntitySet="TblTimeOffVouchers" />
  10666. <End Role="TblLeads" EntitySet="TblLeads" />
  10667. </AssociationSet>
  10668. <AssociationSet Name="FK_TblLeads_Title" Association="Self.FK_TblLeads_Title">
  10669. <End Role="Titles" EntitySet="Titles" />
  10670. <End Role="TblLeads" EntitySet="TblLeads" />
  10671. </AssociationSet>
  10672. <AssociationSet Name="FK_TblLeadsCallHistory_Podmanager" Association="Self.FK_TblLeadsCallHistory_Podmanager">
  10673. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10674. <End Role="TblLeadsCallHistory" EntitySet="TblLeadsCallHistory" />
  10675. </AssociationSet>
  10676. <AssociationSet Name="FK_TblLeadsCallHistory_Telemarketer" Association="Self.FK_TblLeadsCallHistory_Telemarketer">
  10677. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10678. <End Role="TblLeadsCallHistory" EntitySet="TblLeadsCallHistory" />
  10679. </AssociationSet>
  10680. <AssociationSet Name="FK_TblLeadsCallHistory_TelemarketerOffice" Association="Self.FK_TblLeadsCallHistory_TelemarketerOffice">
  10681. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  10682. <End Role="TblLeadsCallHistory" EntitySet="TblLeadsCallHistory" />
  10683. </AssociationSet>
  10684. <AssociationSet Name="FK_TblManagementFeeInstalments_Debtor" Association="Self.FK_TblManagementFeeInstalments_Debtor">
  10685. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10686. <End Role="TblManagementFeeInstalments" EntitySet="TblManagementFeeInstalments" />
  10687. </AssociationSet>
  10688. <AssociationSet Name="FK_TblManagementFeeOverride_Debtor" Association="Self.FK_TblManagementFeeOverride_Debtor">
  10689. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10690. <End Role="TblManagementFeeOverride" EntitySet="TblManagementFeeOverride" />
  10691. </AssociationSet>
  10692. <AssociationSet Name="FK_TblManagementFeeOverride_PaymentType" Association="Self.FK_TblManagementFeeOverride_PaymentType">
  10693. <End Role="TblPaymentTypes" EntitySet="TblPaymentTypes" />
  10694. <End Role="TblManagementFeeOverride" EntitySet="TblManagementFeeOverride" />
  10695. </AssociationSet>
  10696. <AssociationSet Name="FK_TblManagementFeesDocuments_Debtor" Association="Self.FK_TblManagementFeesDocuments_Debtor">
  10697. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10698. <End Role="TblManagementFeesDocuments" EntitySet="TblManagementFeesDocuments" />
  10699. </AssociationSet>
  10700. <AssociationSet Name="FK_TblManagementFeesDocuments_DebtorOtherFeesDocument" Association="Self.FK_TblManagementFeesDocuments_DebtorOtherFeesDocument">
  10701. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10702. <End Role="TblManagementFeesDocuments" EntitySet="TblManagementFeesDocuments" />
  10703. </AssociationSet>
  10704. <AssociationSet Name="FK_TblManagementFeesToAdjust_DebtorTransaction" Association="Self.FK_TblManagementFeesToAdjust_DebtorTransaction">
  10705. <End Role="TblDebtorTransactions" EntitySet="TblDebtorTransactions" />
  10706. <End Role="TblManagementFeesToAdjust" EntitySet="TblManagementFeesToAdjust" />
  10707. </AssociationSet>
  10708. <AssociationSet Name="FK_TblManagementFeesToAdjust_Resort" Association="Self.FK_TblManagementFeesToAdjust_Resort">
  10709. <End Role="TblResort" EntitySet="TblResort" />
  10710. <End Role="TblManagementFeesToAdjust" EntitySet="TblManagementFeesToAdjust" />
  10711. </AssociationSet>
  10712. <AssociationSet Name="FK_TblMarketingCampaignResort_Campaign" Association="Self.FK_TblMarketingCampaignResort_Campaign">
  10713. <End Role="TblMarketingCampaign" EntitySet="TblMarketingCampaign" />
  10714. <End Role="TblMarketingCampaignResort" EntitySet="TblMarketingCampaignResort" />
  10715. </AssociationSet>
  10716. <AssociationSet Name="FK_TblMarketingCampaignResort_Resort" Association="Self.FK_TblMarketingCampaignResort_Resort">
  10717. <End Role="TblResort" EntitySet="TblResort" />
  10718. <End Role="TblMarketingCampaignResort" EntitySet="TblMarketingCampaignResort" />
  10719. </AssociationSet>
  10720. <AssociationSet Name="FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup" Association="Self.FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup">
  10721. <End Role="TblMessageCode" EntitySet="TblMessageCode" />
  10722. <End Role="TblMessageCodeMessageGroup_MessageCodeGroupGroup" EntitySet="TblMessageCodeMessageGroup_MessageCodeGroupGroup" />
  10723. </AssociationSet>
  10724. <AssociationSet Name="FK_TblOldImportSource_ImportSource" Association="Self.FK_TblOldImportSource_ImportSource">
  10725. <End Role="TblImportSource" EntitySet="TblImportSource" />
  10726. <End Role="TblOldImportSource" EntitySet="TblOldImportSource" />
  10727. </AssociationSet>
  10728. <AssociationSet Name="FK_TblOverrideAudit_OverrideUser" Association="Self.FK_TblOverrideAudit_OverrideUser">
  10729. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10730. <End Role="TblOverrideAudit" EntitySet="TblOverrideAudit" />
  10731. </AssociationSet>
  10732. <AssociationSet Name="FK_TblOverrideAudit_Portfolio" Association="Self.FK_TblOverrideAudit_Portfolio">
  10733. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10734. <End Role="TblOverrideAudit" EntitySet="TblOverrideAudit" />
  10735. </AssociationSet>
  10736. <AssociationSet Name="FK_TblOverrideAudit_TransfigurationsKey" Association="Self.FK_TblOverrideAudit_TransfigurationsKey">
  10737. <End Role="Transfigurations" EntitySet="Transfigurations" />
  10738. <End Role="TblOverrideAudit" EntitySet="TblOverrideAudit" />
  10739. </AssociationSet>
  10740. <AssociationSet Name="FK_TblPaymentPlan_Debtor" Association="Self.FK_TblPaymentPlan_Debtor">
  10741. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10742. <End Role="TblPaymentPlan" EntitySet="TblPaymentPlan" />
  10743. </AssociationSet>
  10744. <AssociationSet Name="FK_TblPaymentPlan_PaymentType" Association="Self.FK_TblPaymentPlan_PaymentType">
  10745. <End Role="TblPaymentTypes" EntitySet="TblPaymentTypes" />
  10746. <End Role="TblPaymentPlan" EntitySet="TblPaymentPlan" />
  10747. </AssociationSet>
  10748. <AssociationSet Name="FK_TblPaymentPlan_TransactionType" Association="Self.FK_TblPaymentPlan_TransactionType">
  10749. <End Role="TblDebtorTranTypes" EntitySet="TblDebtorTranTypes" />
  10750. <End Role="TblPaymentPlan" EntitySet="TblPaymentPlan" />
  10751. </AssociationSet>
  10752. <AssociationSet Name="FK_TblPersonnel_CommissionLinkedTo" Association="Self.FK_TblPersonnel_CommissionLinkedTo">
  10753. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10754. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10755. </AssociationSet>
  10756. <AssociationSet Name="FK_TblPersonnel_Department" Association="Self.FK_TblPersonnel_Department">
  10757. <End Role="TblDepartment" EntitySet="TblDepartment" />
  10758. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10759. </AssociationSet>
  10760. <AssociationSet Name="FK_TblPersonnel_Manager" Association="Self.FK_TblPersonnel_Manager">
  10761. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10762. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10763. </AssociationSet>
  10764. <AssociationSet Name="FK_TblPersonnel_NewCommStructure" Association="Self.FK_TblPersonnel_NewCommStructure">
  10765. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructure" />
  10766. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10767. </AssociationSet>
  10768. <AssociationSet Name="FK_TblPersonnel_PAAss" Association="Self.FK_TblPersonnel_PAAss">
  10769. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10770. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10771. </AssociationSet>
  10772. <AssociationSet Name="FK_TblPersonnel_PitchedLeadsReportVenue" Association="Self.FK_TblPersonnel_PitchedLeadsReportVenue">
  10773. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10774. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10775. </AssociationSet>
  10776. <AssociationSet Name="FK_TblPersonnel_PrimarySalesDeck" Association="Self.FK_TblPersonnel_PrimarySalesDeck">
  10777. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10778. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10779. </AssociationSet>
  10780. <AssociationSet Name="FK_TblPersonnel_RegionalSalesManager" Association="Self.FK_TblPersonnel_RegionalSalesManager">
  10781. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10782. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10783. </AssociationSet>
  10784. <AssociationSet Name="FK_TblPersonnel_SalesCommissionEquityCategory" Association="Self.FK_TblPersonnel_SalesCommissionEquityCategory">
  10785. <End Role="TblSalesCommissionEquity" EntitySet="TblSalesCommissionEquity" />
  10786. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10787. </AssociationSet>
  10788. <AssociationSet Name="FK_TblPersonnel_SalesCommissionStructure" Association="Self.FK_TblPersonnel_SalesCommissionStructure">
  10789. <End Role="TblSalesCommissionPercentages" EntitySet="TblSalesCommissionPercentages" />
  10790. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10791. </AssociationSet>
  10792. <AssociationSet Name="FK_TblPersonnel_SalesManager" Association="Self.FK_TblPersonnel_SalesManager">
  10793. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10794. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10795. </AssociationSet>
  10796. <AssociationSet Name="FK_TblPersonnel_SCVStructure" Association="Self.FK_TblPersonnel_SCVStructure">
  10797. <End Role="TblSCV2CommissionStructure" EntitySet="TblSCV2CommissionStructure" />
  10798. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10799. </AssociationSet>
  10800. <AssociationSet Name="FK_TblPersonnel_SMI" Association="Self.FK_TblPersonnel_SMI">
  10801. <End Role="TblSMIIncentive" EntitySet="TblSMIIncentive" />
  10802. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10803. </AssociationSet>
  10804. <AssociationSet Name="FK_TblPersonnel_Supervisor" Association="Self.FK_TblPersonnel_Supervisor">
  10805. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10806. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10807. </AssociationSet>
  10808. <AssociationSet Name="FK_TblPersonnel_TelemarketerOffice" Association="Self.FK_TblPersonnel_TelemarketerOffice">
  10809. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  10810. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10811. </AssociationSet>
  10812. <AssociationSet Name="FK_TblPersonnel_Title" Association="Self.FK_TblPersonnel_Title">
  10813. <End Role="Titles" EntitySet="Titles" />
  10814. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10815. </AssociationSet>
  10816. <AssociationSet Name="FK_TblPersonnel_TrainingManager" Association="Self.FK_TblPersonnel_TrainingManager">
  10817. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10818. <End Role="TblPersonnel1" EntitySet="TblPersonnel" />
  10819. </AssociationSet>
  10820. <AssociationSet Name="FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants" Association="Self.FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants">
  10821. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10822. <End Role="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" EntitySet="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" />
  10823. </AssociationSet>
  10824. <AssociationSet Name="FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants" Association="Self.FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants">
  10825. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10826. <End Role="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" EntitySet="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" />
  10827. </AssociationSet>
  10828. <AssociationSet Name="FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel" Association="Self.FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel">
  10829. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10830. <End Role="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" EntitySet="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" />
  10831. </AssociationSet>
  10832. <AssociationSet Name="FK_TblPersonnelDocuments_PersonnelCode" Association="Self.FK_TblPersonnelDocuments_PersonnelCode">
  10833. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10834. <End Role="TblPersonnelDocuments" EntitySet="TblPersonnelDocuments" />
  10835. </AssociationSet>
  10836. <AssociationSet Name="FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants" Association="Self.FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants">
  10837. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10838. <End Role="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" EntitySet="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" />
  10839. </AssociationSet>
  10840. <AssociationSet Name="FK_TblPersonnelImportSource_ImportSource" Association="Self.FK_TblPersonnelImportSource_ImportSource">
  10841. <End Role="TblImportSource" EntitySet="TblImportSource" />
  10842. <End Role="TblPersonnelImportSource" EntitySet="TblPersonnelImportSource" />
  10843. </AssociationSet>
  10844. <AssociationSet Name="FK_TblPersonnelImportSource_PersonnelCode" Association="Self.FK_TblPersonnelImportSource_PersonnelCode">
  10845. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10846. <End Role="TblPersonnelImportSource" EntitySet="TblPersonnelImportSource" />
  10847. </AssociationSet>
  10848. <AssociationSet Name="FK_TblPersonnelLeave_PersonnelCode" Association="Self.FK_TblPersonnelLeave_PersonnelCode">
  10849. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10850. <End Role="TblPersonnelLeave" EntitySet="TblPersonnelLeave" />
  10851. </AssociationSet>
  10852. <AssociationSet Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource" Association="Self.FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource">
  10853. <End Role="TblImportSource" EntitySet="TblImportSource" />
  10854. <End Role="TblPersonnelPersonnel_TblImportSourceImportSource" EntitySet="TblPersonnelPersonnel_TblImportSourceImportSource" />
  10855. </AssociationSet>
  10856. <AssociationSet Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel" Association="Self.FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel">
  10857. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10858. <End Role="TblPersonnelPersonnel_TblImportSourceImportSource" EntitySet="TblPersonnelPersonnel_TblImportSourceImportSource" />
  10859. </AssociationSet>
  10860. <AssociationSet Name="FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed" Association="Self.FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed">
  10861. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10862. <End Role="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" EntitySet="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" />
  10863. </AssociationSet>
  10864. <AssociationSet Name="FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify" Association="Self.FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify">
  10865. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10866. <End Role="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" EntitySet="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" />
  10867. </AssociationSet>
  10868. <AssociationSet Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf" Association="Self.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf">
  10869. <End Role="TblEmailRecipiants" EntitySet="TblEmailRecipiants" />
  10870. <End Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" EntitySet="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  10871. </AssociationSet>
  10872. <AssociationSet Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants" Association="Self.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants">
  10873. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10874. <End Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" EntitySet="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  10875. </AssociationSet>
  10876. <AssociationSet Name="FK_TblPersonnelTelephone_PersonnelCode" Association="Self.FK_TblPersonnelTelephone_PersonnelCode">
  10877. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10878. <End Role="TblPersonnelTelephone" EntitySet="TblPersonnelTelephone" />
  10879. </AssociationSet>
  10880. <AssociationSet Name="FK_TblPersonnelTelephone_TelephoneType" Association="Self.FK_TblPersonnelTelephone_TelephoneType">
  10881. <End Role="TblTelephoneTypes" EntitySet="TblTelephoneTypes" />
  10882. <End Role="TblPersonnelTelephone" EntitySet="TblPersonnelTelephone" />
  10883. </AssociationSet>
  10884. <AssociationSet Name="FK_TblPersonnelUnivateTarget_PersonnelCode" Association="Self.FK_TblPersonnelUnivateTarget_PersonnelCode">
  10885. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10886. <End Role="TblPersonnelUnivateTarget" EntitySet="TblPersonnelUnivateTarget" />
  10887. </AssociationSet>
  10888. <AssociationSet Name="FK_TblPersonnelUnivateTarget_SalesVenue" Association="Self.FK_TblPersonnelUnivateTarget_SalesVenue">
  10889. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10890. <End Role="TblPersonnelUnivateTarget" EntitySet="TblPersonnelUnivateTarget" />
  10891. </AssociationSet>
  10892. <AssociationSet Name="FK_TblPersonnelWeeklyTargetSplit_Personnel" Association="Self.FK_TblPersonnelWeeklyTargetSplit_Personnel">
  10893. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10894. <End Role="TblPersonnelWeeklyTargetSplit" EntitySet="TblPersonnelWeeklyTargetSplit" />
  10895. </AssociationSet>
  10896. <AssociationSet Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel" Association="Self.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel">
  10897. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10898. <End Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" EntitySet="TblPersonnelWeeklyTargetSplitPerSalesVenue" />
  10899. </AssociationSet>
  10900. <AssociationSet Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue" Association="Self.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue">
  10901. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  10902. <End Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" EntitySet="TblPersonnelWeeklyTargetSplitPerSalesVenue" />
  10903. </AssociationSet>
  10904. <AssociationSet Name="FK_TblPersTransfig_TblPersonnellKey" Association="Self.FK_TblPersTransfig_TblPersonnellKey">
  10905. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10906. <End Role="TblPersTransfig" EntitySet="TblPersTransfig" />
  10907. </AssociationSet>
  10908. <AssociationSet Name="FK_TblPodManager_PersonnelCode" Association="Self.FK_TblPodManager_PersonnelCode">
  10909. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  10910. <End Role="TblPodManager" EntitySet="TblPodManager" />
  10911. </AssociationSet>
  10912. <AssociationSet Name="FK_TblPortfolio_EstateLateSent" Association="Self.FK_TblPortfolio_EstateLateSent">
  10913. <End Role="TblSACRRAData" EntitySet="TblSACRRAData" />
  10914. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10915. </AssociationSet>
  10916. <AssociationSet Name="FK_TblPortfolio_EstateLateSpouseSent" Association="Self.FK_TblPortfolio_EstateLateSpouseSent">
  10917. <End Role="TblSACRRAData" EntitySet="TblSACRRAData" />
  10918. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10919. </AssociationSet>
  10920. <AssociationSet Name="FK_TblPortfolio_SpouseTitle" Association="Self.FK_TblPortfolio_SpouseTitle">
  10921. <End Role="Titles" EntitySet="Titles" />
  10922. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10923. </AssociationSet>
  10924. <AssociationSet Name="FK_TblPortfolio_Title" Association="Self.FK_TblPortfolio_Title">
  10925. <End Role="Titles" EntitySet="Titles" />
  10926. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10927. </AssociationSet>
  10928. <AssociationSet Name="FK_TblPortfolioDocuments_DocumentType" Association="Self.FK_TblPortfolioDocuments_DocumentType">
  10929. <End Role="TblDocumentType" EntitySet="TblDocumentType" />
  10930. <End Role="TblPortfolioDocuments" EntitySet="TblPortfolioDocuments" />
  10931. </AssociationSet>
  10932. <AssociationSet Name="FK_TblPortfolioDocuments_PortFolio" Association="Self.FK_TblPortfolioDocuments_PortFolio">
  10933. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10934. <End Role="TblPortfolioDocuments" EntitySet="TblPortfolioDocuments" />
  10935. </AssociationSet>
  10936. <AssociationSet Name="FK_TblPortfolioNotes_Debtor" Association="Self.FK_TblPortfolioNotes_Debtor">
  10937. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10938. <End Role="TblPortfolioNotes" EntitySet="TblPortfolioNotes" />
  10939. </AssociationSet>
  10940. <AssociationSet Name="FK_TblPortfolioNotes_DebtorBanking" Association="Self.FK_TblPortfolioNotes_DebtorBanking">
  10941. <End Role="TblDebtorBanking" EntitySet="TblDebtorBanking" />
  10942. <End Role="TblPortfolioNotes" EntitySet="TblPortfolioNotes" />
  10943. </AssociationSet>
  10944. <AssociationSet Name="FK_TblPortfolioNotes_MessageCode" Association="Self.FK_TblPortfolioNotes_MessageCode">
  10945. <End Role="TblMessageCode" EntitySet="TblMessageCode" />
  10946. <End Role="TblPortfolioNotes" EntitySet="TblPortfolioNotes" />
  10947. </AssociationSet>
  10948. <AssociationSet Name="FK_TblPortfolioNotes_Portfolio" Association="Self.FK_TblPortfolioNotes_Portfolio">
  10949. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10950. <End Role="TblPortfolioNotes" EntitySet="TblPortfolioNotes" />
  10951. </AssociationSet>
  10952. <AssociationSet Name="FK_TblPortfolioNotes_TblDebtor" Association="Self.FK_TblPortfolioNotes_TblDebtor">
  10953. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10954. <End Role="TblPortfolioNotes" EntitySet="TblPortfolioNotes" />
  10955. </AssociationSet>
  10956. <AssociationSet Name="FK_TblPortfolioNotes_TblPortfolio" Association="Self.FK_TblPortfolioNotes_TblPortfolio">
  10957. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10958. <End Role="TblPortfolioNotes" EntitySet="TblPortfolioNotes" />
  10959. </AssociationSet>
  10960. <AssociationSet Name="FK_TblPortfolioResetEstateLate_Portfolio" Association="Self.FK_TblPortfolioResetEstateLate_Portfolio">
  10961. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  10962. <End Role="TblPortfolioResetEstateLate" EntitySet="TblPortfolioResetEstateLate" />
  10963. </AssociationSet>
  10964. <AssociationSet Name="FK_TblPreviousAgeing_Debtor" Association="Self.FK_TblPreviousAgeing_Debtor">
  10965. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10966. <End Role="TblPreviousAgeing" EntitySet="TblPreviousAgeing" />
  10967. </AssociationSet>
  10968. <AssociationSet Name="FK_TblPreviousAging_Debtor" Association="Self.FK_TblPreviousAging_Debtor">
  10969. <End Role="TblDebtor" EntitySet="TblDebtor" />
  10970. <End Role="TblPreviousAging" EntitySet="TblPreviousAging" />
  10971. </AssociationSet>
  10972. <AssociationSet Name="FK_TblPromoConfig_Category" Association="Self.FK_TblPromoConfig_Category">
  10973. <End Role="TblPromoCategory" EntitySet="TblPromoCategory" />
  10974. <End Role="TblPromoConfig" EntitySet="TblPromoConfig" />
  10975. </AssociationSet>
  10976. <AssociationSet Name="FK_TblPromoConfig_PromoResort" Association="Self.FK_TblPromoConfig_PromoResort">
  10977. <End Role="TblResort" EntitySet="TblResort" />
  10978. <End Role="TblPromoConfig" EntitySet="TblPromoConfig" />
  10979. </AssociationSet>
  10980. <AssociationSet Name="FK_TblPromoConfig_Resort" Association="Self.FK_TblPromoConfig_Resort">
  10981. <End Role="TblResort" EntitySet="TblResort" />
  10982. <End Role="TblPromoConfig" EntitySet="TblPromoConfig" />
  10983. </AssociationSet>
  10984. <AssociationSet Name="FK_TblPromoDocuments_DocumentType" Association="Self.FK_TblPromoDocuments_DocumentType">
  10985. <End Role="TblDocumentType" EntitySet="TblDocumentType" />
  10986. <End Role="TblPromoDocuments" EntitySet="TblPromoDocuments" />
  10987. </AssociationSet>
  10988. <AssociationSet Name="FK_TblPromoDocuments_PromoConfig" Association="Self.FK_TblPromoDocuments_PromoConfig">
  10989. <End Role="TblPromoConfig" EntitySet="TblPromoConfig" />
  10990. <End Role="TblPromoDocuments" EntitySet="TblPromoDocuments" />
  10991. </AssociationSet>
  10992. <AssociationSet Name="FK_TblPromoMembers_Campaign" Association="Self.FK_TblPromoMembers_Campaign">
  10993. <End Role="TblPromoConfig" EntitySet="TblPromoConfig" />
  10994. <End Role="TblPromoMembers" EntitySet="TblPromoMembers" />
  10995. </AssociationSet>
  10996. <AssociationSet Name="FK_TblPromotion_PromotionType" Association="Self.FK_TblPromotion_PromotionType">
  10997. <End Role="TblPromotionType" EntitySet="TblPromotionType" />
  10998. <End Role="TblPromotion" EntitySet="TblPromotion" />
  10999. </AssociationSet>
  11000. <AssociationSet Name="FK_TblPromotion_Resort" Association="Self.FK_TblPromotion_Resort">
  11001. <End Role="TblResort" EntitySet="TblResort" />
  11002. <End Role="TblPromotion" EntitySet="TblPromotion" />
  11003. </AssociationSet>
  11004. <AssociationSet Name="FK_TblPromotion_WeekModule" Association="Self.FK_TblPromotion_WeekModule">
  11005. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  11006. <End Role="TblPromotion" EntitySet="TblPromotion" />
  11007. </AssociationSet>
  11008. <AssociationSet Name="FK_TblPromotionCommission_PromotionCommissionStructure" Association="Self.FK_TblPromotionCommission_PromotionCommissionStructure">
  11009. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11010. <End Role="TblPromotionCommission" EntitySet="TblPromotionCommission" />
  11011. </AssociationSet>
  11012. <AssociationSet Name="FK_TblPromotionCommission_SalesCommissionInfo" Association="Self.FK_TblPromotionCommission_SalesCommissionInfo">
  11013. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfo" />
  11014. <End Role="TblPromotionCommission" EntitySet="TblPromotionCommission" />
  11015. </AssociationSet>
  11016. <AssociationSet Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures" Association="Self.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures">
  11017. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11018. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" EntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" />
  11019. </AssociationSet>
  11020. <AssociationSet Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel" Association="Self.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel">
  11021. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11022. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" EntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  11023. </AssociationSet>
  11024. <AssociationSet Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures" Association="Self.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures">
  11025. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11026. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" EntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  11027. </AssociationSet>
  11028. <AssociationSet Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" Association="Self.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  11029. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11030. <End Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  11031. </AssociationSet>
  11032. <AssociationSet Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes" Association="Self.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes">
  11033. <End Role="TblPromotionType" EntitySet="TblPromotionType" />
  11034. <End Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  11035. </AssociationSet>
  11036. <AssociationSet Name="FK_TblQueryCategory_QueryCategory" Association="Self.FK_TblQueryCategory_QueryCategory">
  11037. <End Role="TblQueryCategories" EntitySet="TblQueryCategories" />
  11038. <End Role="TblQueryCategory" EntitySet="TblQueryCategory" />
  11039. </AssociationSet>
  11040. <AssociationSet Name="FK_TblQueryCategory_System" Association="Self.FK_TblQueryCategory_System">
  11041. <End Role="TblSystem" EntitySet="TblSystem" />
  11042. <End Role="TblQueryCategory" EntitySet="TblQueryCategory" />
  11043. </AssociationSet>
  11044. <AssociationSet Name="FK_TblQueryRecipient_BCCRecipient" Association="Self.FK_TblQueryRecipient_BCCRecipient">
  11045. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11046. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipient" />
  11047. </AssociationSet>
  11048. <AssociationSet Name="FK_TblQueryRecipient_CCRecipient" Association="Self.FK_TblQueryRecipient_CCRecipient">
  11049. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11050. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipient" />
  11051. </AssociationSet>
  11052. <AssociationSet Name="FK_TblQueryRecipient_MainRecipient" Association="Self.FK_TblQueryRecipient_MainRecipient">
  11053. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11054. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipient" />
  11055. </AssociationSet>
  11056. <AssociationSet Name="FK_TblQueryRecipient_System" Association="Self.FK_TblQueryRecipient_System">
  11057. <End Role="TblSystem" EntitySet="TblSystem" />
  11058. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipient" />
  11059. </AssociationSet>
  11060. <AssociationSet Name="FK_TblRankingPoints_Rankings" Association="Self.FK_TblRankingPoints_Rankings">
  11061. <End Role="TblRankings" EntitySet="TblRankings" />
  11062. <End Role="TblRankingPoints" EntitySet="TblRankingPoints" />
  11063. </AssociationSet>
  11064. <AssociationSet Name="FK_TblRawSalesCommData_SalesConsultant" Association="Self.FK_TblRawSalesCommData_SalesConsultant">
  11065. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11066. <End Role="TblRawSalesCommData" EntitySet="TblRawSalesCommData" />
  11067. </AssociationSet>
  11068. <AssociationSet Name="FK_TblRawSalesCommData_SalesManager" Association="Self.FK_TblRawSalesCommData_SalesManager">
  11069. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11070. <End Role="TblRawSalesCommData" EntitySet="TblRawSalesCommData" />
  11071. </AssociationSet>
  11072. <AssociationSet Name="FK_TblRCIDates_Resort" Association="Self.FK_TblRCIDates_Resort">
  11073. <End Role="TblResort" EntitySet="TblResort" />
  11074. <End Role="TblRCIDates" EntitySet="TblRCIDates" />
  11075. </AssociationSet>
  11076. <AssociationSet Name="FK_TblRebatePaymentCategoryCode_CategoryCode" Association="Self.FK_TblRebatePaymentCategoryCode_CategoryCode">
  11077. <End Role="TblDebtorCategoryCode" EntitySet="TblDebtorCategoryCode" />
  11078. <End Role="TblRebatePaymentCategoryCode" EntitySet="TblRebatePaymentCategoryCode" />
  11079. </AssociationSet>
  11080. <AssociationSet Name="FK_TblRescheduleCalls_PersonnelCode" Association="Self.FK_TblRescheduleCalls_PersonnelCode">
  11081. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11082. <End Role="TblRescheduleCalls" EntitySet="TblRescheduleCalls" />
  11083. </AssociationSet>
  11084. <AssociationSet Name="FK_TblResort__ResortManager" Association="Self.FK_TblResort__ResortManager">
  11085. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11086. <End Role="TblResort" EntitySet="TblResort" />
  11087. </AssociationSet>
  11088. <AssociationSet Name="FK_TblResort_DefaultDeveloper" Association="Self.FK_TblResort_DefaultDeveloper">
  11089. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11090. <End Role="TblResort" EntitySet="TblResort" />
  11091. </AssociationSet>
  11092. <AssociationSet Name="FK_TblResort_ManagingAgent" Association="Self.FK_TblResort_ManagingAgent">
  11093. <End Role="TblResortManagingAgent" EntitySet="TblResortManagingAgent" />
  11094. <End Role="TblResort" EntitySet="TblResort" />
  11095. </AssociationSet>
  11096. <AssociationSet Name="FK_TblResort_ResortManager" Association="Self.FK_TblResort_ResortManager">
  11097. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11098. <End Role="TblResort" EntitySet="TblResort" />
  11099. </AssociationSet>
  11100. <AssociationSet Name="FK_TblResortExternalSalesPeriod_Resort" Association="Self.FK_TblResortExternalSalesPeriod_Resort">
  11101. <End Role="TblResort" EntitySet="TblResort" />
  11102. <End Role="TblResortExternalSalesPeriod" EntitySet="TblResortExternalSalesPeriod" />
  11103. </AssociationSet>
  11104. <AssociationSet Name="FK_TblResortExternalSalesPeriodRules_SalesPeriod" Association="Self.FK_TblResortExternalSalesPeriodRules_SalesPeriod">
  11105. <End Role="TblResortExternalSalesPeriod" EntitySet="TblResortExternalSalesPeriod" />
  11106. <End Role="TblResortExternalSalesPeriodRules" EntitySet="TblResortExternalSalesPeriodRules" />
  11107. </AssociationSet>
  11108. <AssociationSet Name="FK_TblResortNotes_ResortKey" Association="Self.FK_TblResortNotes_ResortKey">
  11109. <End Role="TblResort" EntitySet="TblResort" />
  11110. <End Role="TblResortNotes" EntitySet="TblResortNotes" />
  11111. </AssociationSet>
  11112. <AssociationSet Name="FK_TblResortRebateBlock_Resort" Association="Self.FK_TblResortRebateBlock_Resort">
  11113. <End Role="TblResort" EntitySet="TblResort" />
  11114. <End Role="TblResortRebateBlock" EntitySet="TblResortRebateBlock" />
  11115. </AssociationSet>
  11116. <AssociationSet Name="FK_TblResortRebateBlock_WeekModule" Association="Self.FK_TblResortRebateBlock_WeekModule">
  11117. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  11118. <End Role="TblResortRebateBlock" EntitySet="TblResortRebateBlock" />
  11119. </AssociationSet>
  11120. <AssociationSet Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" Association="Self.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  11121. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11122. <End Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  11123. </AssociationSet>
  11124. <AssociationSet Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts" Association="Self.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts">
  11125. <End Role="TblResort" EntitySet="TblResort" />
  11126. <End Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  11127. </AssociationSet>
  11128. <AssociationSet Name="FK_TblResortSalesPeriod_Resort" Association="Self.FK_TblResortSalesPeriod_Resort">
  11129. <End Role="TblResort" EntitySet="TblResort" />
  11130. <End Role="TblResortSalesPeriod" EntitySet="TblResortSalesPeriod" />
  11131. </AssociationSet>
  11132. <AssociationSet Name="FK_TblResortSalesPeriodRules_SalesPeriod" Association="Self.FK_TblResortSalesPeriodRules_SalesPeriod">
  11133. <End Role="TblResortSalesPeriod" EntitySet="TblResortSalesPeriod" />
  11134. <End Role="TblResortSalesPeriodRules" EntitySet="TblResortSalesPeriodRules" />
  11135. </AssociationSet>
  11136. <AssociationSet Name="FK_TblSACRRABatch_Settings" Association="Self.FK_TblSACRRABatch_Settings">
  11137. <End Role="TblSACRRASettings" EntitySet="TblSACRRASettings" />
  11138. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatch" />
  11139. </AssociationSet>
  11140. <AssociationSet Name="FK_TblSACRRAConsoftGlobalData_SACRRAData" Association="Self.FK_TblSACRRAConsoftGlobalData_SACRRAData">
  11141. <End Role="TblSACRRAData" EntitySet="TblSACRRAData" />
  11142. <End Role="TblSACRRAConsoftGlobalData" EntitySet="TblSACRRAConsoftGlobalData" />
  11143. </AssociationSet>
  11144. <AssociationSet Name="FK_TblSACRRAData_Batch" Association="Self.FK_TblSACRRAData_Batch">
  11145. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatch" />
  11146. <End Role="TblSACRRAData" EntitySet="TblSACRRAData" />
  11147. </AssociationSet>
  11148. <AssociationSet Name="FK_TblSACRRAData_Debtor" Association="Self.FK_TblSACRRAData_Debtor">
  11149. <End Role="TblDebtor" EntitySet="TblDebtor" />
  11150. <End Role="TblSACRRAData" EntitySet="TblSACRRAData" />
  11151. </AssociationSet>
  11152. <AssociationSet Name="FK_TblSACRRADebtorGAPGAL_Debtor" Association="Self.FK_TblSACRRADebtorGAPGAL_Debtor">
  11153. <End Role="TblDebtor" EntitySet="TblDebtor" />
  11154. <End Role="TblSACRRADebtorGAPGAL" EntitySet="TblSACRRADebtorGAPGAL" />
  11155. </AssociationSet>
  11156. <AssociationSet Name="FK_TblSACRRADebtorStatus_Debtor" Association="Self.FK_TblSACRRADebtorStatus_Debtor">
  11157. <End Role="TblDebtor" EntitySet="TblDebtor" />
  11158. <End Role="TblSACRRADebtorStatus" EntitySet="TblSACRRADebtorStatus" />
  11159. </AssociationSet>
  11160. <AssociationSet Name="FK_TblSACRRADebtorStatus_SentToSACRRA" Association="Self.FK_TblSACRRADebtorStatus_SentToSACRRA">
  11161. <End Role="TblSACRRAData" EntitySet="TblSACRRAData" />
  11162. <End Role="TblSACRRADebtorStatus" EntitySet="TblSACRRADebtorStatus" />
  11163. </AssociationSet>
  11164. <AssociationSet Name="FK_TblSACRRAFiles_Batch" Association="Self.FK_TblSACRRAFiles_Batch">
  11165. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatch" />
  11166. <End Role="TblSACRRAFiles" EntitySet="TblSACRRAFiles" />
  11167. </AssociationSet>
  11168. <AssociationSet Name="FK_TblSACRRAFilesToEncrypt_Batch" Association="Self.FK_TblSACRRAFilesToEncrypt_Batch">
  11169. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatch" />
  11170. <End Role="TblSACRRAFilesToEncrypt" EntitySet="TblSACRRAFilesToEncrypt" />
  11171. </AssociationSet>
  11172. <AssociationSet Name="FK_TblSACRRASettings_Developer" Association="Self.FK_TblSACRRASettings_Developer">
  11173. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11174. <End Role="TblSACRRASettings" EntitySet="TblSACRRASettings" />
  11175. </AssociationSet>
  11176. <AssociationSet Name="FK_TblSalesCommAmountScale_EarnerType" Association="Self.FK_TblSalesCommAmountScale_EarnerType">
  11177. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerType" />
  11178. <End Role="TblSalesCommAmountScale" EntitySet="TblSalesCommAmountScale" />
  11179. </AssociationSet>
  11180. <AssociationSet Name="FK_TblSalesCommAmountScale_Week" Association="Self.FK_TblSalesCommAmountScale_Week">
  11181. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeek" />
  11182. <End Role="TblSalesCommAmountScale" EntitySet="TblSalesCommAmountScale" />
  11183. </AssociationSet>
  11184. <AssociationSet Name="FK_TblSalesCommCountScale_EarnerType" Association="Self.FK_TblSalesCommCountScale_EarnerType">
  11185. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerType" />
  11186. <End Role="TblSalesCommCountScale" EntitySet="TblSalesCommCountScale" />
  11187. </AssociationSet>
  11188. <AssociationSet Name="FK_TblSalesCommCountScale_Week" Association="Self.FK_TblSalesCommCountScale_Week">
  11189. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeek" />
  11190. <End Role="TblSalesCommCountScale" EntitySet="TblSalesCommCountScale" />
  11191. </AssociationSet>
  11192. <AssociationSet Name="FK_TblSalesCommEarnerType_SpecificPersonnel" Association="Self.FK_TblSalesCommEarnerType_SpecificPersonnel">
  11193. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11194. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerType" />
  11195. </AssociationSet>
  11196. <AssociationSet Name="FK_TblSalesCommFixedAmount_EarnerType" Association="Self.FK_TblSalesCommFixedAmount_EarnerType">
  11197. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerType" />
  11198. <End Role="TblSalesCommFixedAmount" EntitySet="TblSalesCommFixedAmount" />
  11199. </AssociationSet>
  11200. <AssociationSet Name="FK_TblSalesCommFixedAmount_Week" Association="Self.FK_TblSalesCommFixedAmount_Week">
  11201. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeek" />
  11202. <End Role="TblSalesCommFixedAmount" EntitySet="TblSalesCommFixedAmount" />
  11203. </AssociationSet>
  11204. <AssociationSet Name="FK_TblSalesCommissionAdditional_SalesCommissionInfo" Association="Self.FK_TblSalesCommissionAdditional_SalesCommissionInfo">
  11205. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfo" />
  11206. <End Role="TblSalesCommissionAdditional" EntitySet="TblSalesCommissionAdditional" />
  11207. </AssociationSet>
  11208. <AssociationSet Name="FK_TblSalesCommissionClawback_SalesCommissionInfo" Association="Self.FK_TblSalesCommissionClawback_SalesCommissionInfo">
  11209. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfo" />
  11210. <End Role="TblSalesCommissionClawback" EntitySet="TblSalesCommissionClawback" />
  11211. </AssociationSet>
  11212. <AssociationSet Name="FK_TblSalesCommissionInfo_CommissionOwner" Association="Self.FK_TblSalesCommissionInfo_CommissionOwner">
  11213. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11214. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfo" />
  11215. </AssociationSet>
  11216. <AssociationSet Name="FK_TblSalesCommissionSeasons_SalesCommissionPercentages" Association="Self.FK_TblSalesCommissionSeasons_SalesCommissionPercentages">
  11217. <End Role="TblSalesCommissionPercentages" EntitySet="TblSalesCommissionPercentages" />
  11218. <End Role="TblSalesCommissionSeasons" EntitySet="TblSalesCommissionSeasons" />
  11219. </AssociationSet>
  11220. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesCommissionAdditional" Association="Self.FK_TblSalesCommissionTransaction_SalesCommissionAdditional">
  11221. <End Role="TblSalesCommissionAdditional" EntitySet="TblSalesCommissionAdditional" />
  11222. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransaction" />
  11223. </AssociationSet>
  11224. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesCommissionClawback" Association="Self.FK_TblSalesCommissionTransaction_SalesCommissionClawback">
  11225. <End Role="TblSalesCommissionClawback" EntitySet="TblSalesCommissionClawback" />
  11226. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransaction" />
  11227. </AssociationSet>
  11228. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesCommissionInfo" Association="Self.FK_TblSalesCommissionTransaction_SalesCommissionInfo">
  11229. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfo" />
  11230. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransaction" />
  11231. </AssociationSet>
  11232. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesPersonnel" Association="Self.FK_TblSalesCommissionTransaction_SalesPersonnel">
  11233. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11234. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransaction" />
  11235. </AssociationSet>
  11236. <AssociationSet Name="FK_TblSalesCommissionTransaction_SignedOffBy" Association="Self.FK_TblSalesCommissionTransaction_SignedOffBy">
  11237. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11238. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransaction" />
  11239. </AssociationSet>
  11240. <AssociationSet Name="FK_TblSalesCommRegionBasedMonth_Month" Association="Self.FK_TblSalesCommRegionBasedMonth_Month">
  11241. <End Role="TblSalesCommMonth" EntitySet="TblSalesCommMonth" />
  11242. <End Role="TblSalesCommRegionBasedMonth" EntitySet="TblSalesCommRegionBasedMonth" />
  11243. </AssociationSet>
  11244. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_DataStore" Association="Self.FK_TblSalesCommSkippedCommissions_DataStore">
  11245. <End Role="TblSalesCommDataStore" EntitySet="TblSalesCommDataStore" />
  11246. <End Role="TblSalesCommSkippedCommissions" EntitySet="TblSalesCommSkippedCommissions" />
  11247. </AssociationSet>
  11248. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_EarnerType" Association="Self.FK_TblSalesCommSkippedCommissions_EarnerType">
  11249. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerType" />
  11250. <End Role="TblSalesCommSkippedCommissions" EntitySet="TblSalesCommSkippedCommissions" />
  11251. </AssociationSet>
  11252. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_PersonnelCode" Association="Self.FK_TblSalesCommSkippedCommissions_PersonnelCode">
  11253. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11254. <End Role="TblSalesCommSkippedCommissions" EntitySet="TblSalesCommSkippedCommissions" />
  11255. </AssociationSet>
  11256. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_Week" Association="Self.FK_TblSalesCommSkippedCommissions_Week">
  11257. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeek" />
  11258. <End Role="TblSalesCommSkippedCommissions" EntitySet="TblSalesCommSkippedCommissions" />
  11259. </AssociationSet>
  11260. <AssociationSet Name="FK_TblSalesCommStatement_DataStore" Association="Self.FK_TblSalesCommStatement_DataStore">
  11261. <End Role="TblSalesCommDataStore" EntitySet="TblSalesCommDataStore" />
  11262. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatement" />
  11263. </AssociationSet>
  11264. <AssociationSet Name="FK_TblSalesCommStatement_EarnerType" Association="Self.FK_TblSalesCommStatement_EarnerType">
  11265. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerType" />
  11266. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatement" />
  11267. </AssociationSet>
  11268. <AssociationSet Name="FK_TblSalesCommStatement_PersonnelCode" Association="Self.FK_TblSalesCommStatement_PersonnelCode">
  11269. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11270. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatement" />
  11271. </AssociationSet>
  11272. <AssociationSet Name="FK_TblSalesCommStatement_Week" Association="Self.FK_TblSalesCommStatement_Week">
  11273. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeek" />
  11274. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatement" />
  11275. </AssociationSet>
  11276. <AssociationSet Name="FK_TblSalesCommWeek_Month" Association="Self.FK_TblSalesCommWeek_Month">
  11277. <End Role="TblSalesCommMonth" EntitySet="TblSalesCommMonth" />
  11278. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeek" />
  11279. </AssociationSet>
  11280. <AssociationSet Name="FK_TblSalesPeriodWeekEnding_SalesPeriod" Association="Self.FK_TblSalesPeriodWeekEnding_SalesPeriod">
  11281. <End Role="TblSalesPeriod" EntitySet="TblSalesPeriod" />
  11282. <End Role="TblSalesPeriodWeekEnding" EntitySet="TblSalesPeriodWeekEnding" />
  11283. </AssociationSet>
  11284. <AssociationSet Name="FK_TblSalesRegister_Personnel" Association="Self.FK_TblSalesRegister_Personnel">
  11285. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnel" />
  11286. <End Role="TblSalesRegister" EntitySet="TblSalesRegister" />
  11287. </AssociationSet>
  11288. <AssociationSet Name="FK_TblSalesRegister_SalesPeople" Association="Self.FK_TblSalesRegister_SalesPeople">
  11289. <End Role="TblSalesRegisterHdr" EntitySet="TblSalesRegisterHdr" />
  11290. <End Role="TblSalesRegister" EntitySet="TblSalesRegister" />
  11291. </AssociationSet>
  11292. <AssociationSet Name="FK_TblSalesRegisterHdr_SalesVenue" Association="Self.FK_TblSalesRegisterHdr_SalesVenue">
  11293. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11294. <End Role="TblSalesRegisterHdr" EntitySet="TblSalesRegisterHdr" />
  11295. </AssociationSet>
  11296. <AssociationSet Name="FK_TblSalesVenue_ClientArrivalManager" Association="Self.FK_TblSalesVenue_ClientArrivalManager">
  11297. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11298. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11299. </AssociationSet>
  11300. <AssociationSet Name="FK_TblSalesVenue_DefaultDeveloper" Association="Self.FK_TblSalesVenue_DefaultDeveloper">
  11301. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11302. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11303. </AssociationSet>
  11304. <AssociationSet Name="FK_TblSalesVenue_RegionalSalesManager" Association="Self.FK_TblSalesVenue_RegionalSalesManager">
  11305. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11306. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11307. </AssociationSet>
  11308. <AssociationSet Name="FK_TblSalesVenue_RegionalSalesManager2" Association="Self.FK_TblSalesVenue_RegionalSalesManager2">
  11309. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11310. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11311. </AssociationSet>
  11312. <AssociationSet Name="FK_TblSalesVenue_Resort" Association="Self.FK_TblSalesVenue_Resort">
  11313. <End Role="TblResort" EntitySet="TblResort" />
  11314. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11315. </AssociationSet>
  11316. <AssociationSet Name="FK_TblSalesVenue_SalesManager" Association="Self.FK_TblSalesVenue_SalesManager">
  11317. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11318. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11319. </AssociationSet>
  11320. <AssociationSet Name="FK_TblSalesVenue_SalesVenueCommissionGroup" Association="Self.FK_TblSalesVenue_SalesVenueCommissionGroup">
  11321. <End Role="TblSalesVenueCommissionGroup" EntitySet="TblSalesVenueCommissionGroup" />
  11322. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11323. </AssociationSet>
  11324. <AssociationSet Name="FK_TblSalesVenue_SalesVenueGroup" Association="Self.FK_TblSalesVenue_SalesVenueGroup">
  11325. <End Role="TblSalesVenueGroup" EntitySet="TblSalesVenueGroup" />
  11326. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11327. </AssociationSet>
  11328. <AssociationSet Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride" Association="Self.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride">
  11329. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11330. <End Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" EntitySet="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  11331. </AssociationSet>
  11332. <AssociationSet Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers" Association="Self.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers">
  11333. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11334. <End Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" EntitySet="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  11335. </AssociationSet>
  11336. <AssociationSet Name="FK_TblSalesVenueClubAdjustments_SalesVenue" Association="Self.FK_TblSalesVenueClubAdjustments_SalesVenue">
  11337. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11338. <End Role="TblSalesVenueClubAdjustments" EntitySet="TblSalesVenueClubAdjustments" />
  11339. </AssociationSet>
  11340. <AssociationSet Name="FK_TblSalesVenueClubDevelopers_Developer" Association="Self.FK_TblSalesVenueClubDevelopers_Developer">
  11341. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11342. <End Role="TblSalesVenueClubDevelopers" EntitySet="TblSalesVenueClubDevelopers" />
  11343. </AssociationSet>
  11344. <AssociationSet Name="FK_TblSalesVenueClubDevelopers_TblSalesVenue" Association="Self.FK_TblSalesVenueClubDevelopers_TblSalesVenue">
  11345. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11346. <End Role="TblSalesVenueClubDevelopers" EntitySet="TblSalesVenueClubDevelopers" />
  11347. </AssociationSet>
  11348. <AssociationSet Name="FK_TblSalesVenueCommissionsSplit_SalesAgency" Association="Self.FK_TblSalesVenueCommissionsSplit_SalesAgency">
  11349. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11350. <End Role="TblSalesVenueCommissionsSplit" EntitySet="TblSalesVenueCommissionsSplit" />
  11351. </AssociationSet>
  11352. <AssociationSet Name="FK_TblSalesVenueComSplitLines_CommissionSplit" Association="Self.FK_TblSalesVenueComSplitLines_CommissionSplit">
  11353. <End Role="TblSalesVenueCommissionsSplit" EntitySet="TblSalesVenueCommissionsSplit" />
  11354. <End Role="TblSalesVenueComSplitLines" EntitySet="TblSalesVenueComSplitLines" />
  11355. </AssociationSet>
  11356. <AssociationSet Name="FK_TblSalesVenueImportSource_ImportSource" Association="Self.FK_TblSalesVenueImportSource_ImportSource">
  11357. <End Role="TblImportSource" EntitySet="TblImportSource" />
  11358. <End Role="TblSalesVenueImportSource" EntitySet="TblSalesVenueImportSource" />
  11359. </AssociationSet>
  11360. <AssociationSet Name="FK_TblSalesVenueImportSource_TblSalesVenue" Association="Self.FK_TblSalesVenueImportSource_TblSalesVenue">
  11361. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11362. <End Role="TblSalesVenueImportSource" EntitySet="TblSalesVenueImportSource" />
  11363. </AssociationSet>
  11364. <AssociationSet Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients" Association="Self.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients">
  11365. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11366. <End Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" EntitySet="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  11367. </AssociationSet>
  11368. <AssociationSet Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue" Association="Self.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue">
  11369. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11370. <End Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" EntitySet="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  11371. </AssociationSet>
  11372. <AssociationSet Name="FK_TblSalesVenueRegFee_TblSalesVenue" Association="Self.FK_TblSalesVenueRegFee_TblSalesVenue">
  11373. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11374. <End Role="TblSalesVenueRegFee" EntitySet="TblSalesVenueRegFee" />
  11375. </AssociationSet>
  11376. <AssociationSet Name="FK_TblSalesVenueRegister_Personnel" Association="Self.FK_TblSalesVenueRegister_Personnel">
  11377. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnel" />
  11378. <End Role="TblSalesVenueRegister" EntitySet="TblSalesVenueRegister" />
  11379. </AssociationSet>
  11380. <AssociationSet Name="FK_TblSalesVenueRegister_SalesConsultants" Association="Self.FK_TblSalesVenueRegister_SalesConsultants">
  11381. <End Role="TblSalesVenueRegisterHdr" EntitySet="TblSalesVenueRegisterHdr" />
  11382. <End Role="TblSalesVenueRegister" EntitySet="TblSalesVenueRegister" />
  11383. </AssociationSet>
  11384. <AssociationSet Name="FK_TblSalesVenueRegisterHdr_SalesVenue" Association="Self.FK_TblSalesVenueRegisterHdr_SalesVenue">
  11385. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11386. <End Role="TblSalesVenueRegisterHdr" EntitySet="TblSalesVenueRegisterHdr" />
  11387. </AssociationSet>
  11388. <AssociationSet Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" Association="Self.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  11389. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11390. <End Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  11391. </AssociationSet>
  11392. <AssociationSet Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues" Association="Self.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues">
  11393. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11394. <End Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  11395. </AssociationSet>
  11396. <AssociationSet Name="FK_TblSalesVenueTelemarketerOffice_SalesVenue" Association="Self.FK_TblSalesVenueTelemarketerOffice_SalesVenue">
  11397. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11398. <End Role="TblSalesVenueTelemarketerOffice-bak" EntitySet="TblSalesVenueTelemarketerOffice-bak" />
  11399. </AssociationSet>
  11400. <AssociationSet Name="FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice" Association="Self.FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice">
  11401. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  11402. <End Role="TblSalesVenueTelemarketerOffice-bak" EntitySet="TblSalesVenueTelemarketerOffice-bak" />
  11403. </AssociationSet>
  11404. <AssociationSet Name="FK_TblSalesVenueWeeklyTargetSplit_SalesVenue" Association="Self.FK_TblSalesVenueWeeklyTargetSplit_SalesVenue">
  11405. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11406. <End Role="TblSalesVenueWeeklyTargetSplit" EntitySet="TblSalesVenueWeeklyTargetSplit" />
  11407. </AssociationSet>
  11408. <AssociationSet Name="FK_TblSCV2CommissionContract_CommissionWeek" Association="Self.FK_TblSCV2CommissionContract_CommissionWeek">
  11409. <End Role="TblSCV2CommissionWeek" EntitySet="TblSCV2CommissionWeek" />
  11410. <End Role="TblSCV2CommissionContract" EntitySet="TblSCV2CommissionContract" />
  11411. </AssociationSet>
  11412. <AssociationSet Name="FK_TblSCV2CommissionContract_SalesPerson" Association="Self.FK_TblSCV2CommissionContract_SalesPerson">
  11413. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11414. <End Role="TblSCV2CommissionContract" EntitySet="TblSCV2CommissionContract" />
  11415. </AssociationSet>
  11416. <AssociationSet Name="FK_TblSCV2CommissionWeek_CommissionPeriod" Association="Self.FK_TblSCV2CommissionWeek_CommissionPeriod">
  11417. <End Role="TblSCV2CommissionPeriod" EntitySet="TblSCV2CommissionPeriod" />
  11418. <End Role="TblSCV2CommissionWeek" EntitySet="TblSCV2CommissionWeek" />
  11419. </AssociationSet>
  11420. <AssociationSet Name="FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure" Association="Self.FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure">
  11421. <End Role="TblSCV2CommissionStructure" EntitySet="TblSCV2CommissionStructure" />
  11422. <End Role="TblSCV2RegionalManagerContractTypeOverride" EntitySet="TblSCV2RegionalManagerContractTypeOverride" />
  11423. </AssociationSet>
  11424. <AssociationSet Name="FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure" Association="Self.FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure">
  11425. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  11426. <End Role="TblSCV2RegionalManagerContractTypeOverride" EntitySet="TblSCV2RegionalManagerContractTypeOverride" />
  11427. </AssociationSet>
  11428. <AssociationSet Name="FK_TblSCV2SalesVenueScale_SalesVenue" Association="Self.FK_TblSCV2SalesVenueScale_SalesVenue">
  11429. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11430. <End Role="TblSCV2SalesVenueScale" EntitySet="TblSCV2SalesVenueScale" />
  11431. </AssociationSet>
  11432. <AssociationSet Name="FK_TblSCV2Scales_CommissionStructure" Association="Self.FK_TblSCV2Scales_CommissionStructure">
  11433. <End Role="TblSCV2CommissionStructure" EntitySet="TblSCV2CommissionStructure" />
  11434. <End Role="TblSCV2Scales" EntitySet="TblSCV2Scales" />
  11435. </AssociationSet>
  11436. <AssociationSet Name="FK_TblSCV2SpecialScales_Structure" Association="Self.FK_TblSCV2SpecialScales_Structure">
  11437. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  11438. <End Role="TblSCV2SpecialScales" EntitySet="TblSCV2SpecialScales" />
  11439. </AssociationSet>
  11440. <AssociationSet Name="FK_TblSCV2SpecialStructure_Personnel" Association="Self.FK_TblSCV2SpecialStructure_Personnel">
  11441. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11442. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  11443. </AssociationSet>
  11444. <AssociationSet Name="FK_TblSCV2SpecialStructure_SalesCommissionGroup" Association="Self.FK_TblSCV2SpecialStructure_SalesCommissionGroup">
  11445. <End Role="TblSalesVenueCommissionGroup" EntitySet="TblSalesVenueCommissionGroup" />
  11446. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  11447. </AssociationSet>
  11448. <AssociationSet Name="FK_TblSCV2Transaction_CommissionContract" Association="Self.FK_TblSCV2Transaction_CommissionContract">
  11449. <End Role="TblSCV2CommissionContract" EntitySet="TblSCV2CommissionContract" />
  11450. <End Role="TblSCV2Transaction" EntitySet="TblSCV2Transaction" />
  11451. </AssociationSet>
  11452. <AssociationSet Name="FK_TblSCV2Transaction_SignOffBy" Association="Self.FK_TblSCV2Transaction_SignOffBy">
  11453. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11454. <End Role="TblSCV2Transaction" EntitySet="TblSCV2Transaction" />
  11455. </AssociationSet>
  11456. <AssociationSet Name="FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure" Association="Self.FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure">
  11457. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructure" />
  11458. <End Role="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" EntitySet="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" />
  11459. </AssociationSet>
  11460. <AssociationSet Name="FK_TblSeasonsRankings_Rankings" Association="Self.FK_TblSeasonsRankings_Rankings">
  11461. <End Role="TblRankings" EntitySet="TblRankings" />
  11462. <End Role="TblSeasonsRankings" EntitySet="TblSeasonsRankings" />
  11463. </AssociationSet>
  11464. <AssociationSet Name="FK_TblSessionOverride_SalesVenue" Association="Self.FK_TblSessionOverride_SalesVenue">
  11465. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11466. <End Role="TblSessionOverride" EntitySet="TblSessionOverride" />
  11467. </AssociationSet>
  11468. <AssociationSet Name="FK_TblSleeperRankings_Rankings" Association="Self.FK_TblSleeperRankings_Rankings">
  11469. <End Role="TblRankings" EntitySet="TblRankings" />
  11470. <End Role="TblSleeperRankings" EntitySet="TblSleeperRankings" />
  11471. </AssociationSet>
  11472. <AssociationSet Name="FK_TblSMICommissionContract_SalesWeek" Association="Self.FK_TblSMICommissionContract_SalesWeek">
  11473. <End Role="TblSMISalesPersonWeek" EntitySet="TblSMISalesPersonWeek" />
  11474. <End Role="TblSMICommissionContract" EntitySet="TblSMICommissionContract" />
  11475. </AssociationSet>
  11476. <AssociationSet Name="FK_TblSMICommissionInfo_CommissionPeriod" Association="Self.FK_TblSMICommissionInfo_CommissionPeriod">
  11477. <End Role="TblSMICommissionPeriod" EntitySet="TblSMICommissionPeriod" />
  11478. <End Role="TblSMICommissionInfo" EntitySet="TblSMICommissionInfo" />
  11479. </AssociationSet>
  11480. <AssociationSet Name="FK_TblSMICommissionInfo_SalesPerson" Association="Self.FK_TblSMICommissionInfo_SalesPerson">
  11481. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11482. <End Role="TblSMICommissionInfo" EntitySet="TblSMICommissionInfo" />
  11483. </AssociationSet>
  11484. <AssociationSet Name="FK_TblSMICommissionWeek_CommissionPeriod" Association="Self.FK_TblSMICommissionWeek_CommissionPeriod">
  11485. <End Role="TblSMICommissionPeriod" EntitySet="TblSMICommissionPeriod" />
  11486. <End Role="TblSMICommissionWeek" EntitySet="TblSMICommissionWeek" />
  11487. </AssociationSet>
  11488. <AssociationSet Name="FK_TblSMIIncentiveLevel_Incentive" Association="Self.FK_TblSMIIncentiveLevel_Incentive">
  11489. <End Role="TblSMIIncentive" EntitySet="TblSMIIncentive" />
  11490. <End Role="TblSMIIncentiveLevel" EntitySet="TblSMIIncentiveLevel" />
  11491. </AssociationSet>
  11492. <AssociationSet Name="FK_TblSMISalesPersonWeek_CommissionInfo" Association="Self.FK_TblSMISalesPersonWeek_CommissionInfo">
  11493. <End Role="TblSMICommissionInfo" EntitySet="TblSMICommissionInfo" />
  11494. <End Role="TblSMISalesPersonWeek" EntitySet="TblSMISalesPersonWeek" />
  11495. </AssociationSet>
  11496. <AssociationSet Name="FK_TblSMISalesPersonWeek_CommissionWeek" Association="Self.FK_TblSMISalesPersonWeek_CommissionWeek">
  11497. <End Role="TblSMICommissionWeek" EntitySet="TblSMICommissionWeek" />
  11498. <End Role="TblSMISalesPersonWeek" EntitySet="TblSMISalesPersonWeek" />
  11499. </AssociationSet>
  11500. <AssociationSet Name="FK_TblSMITransaction_CommissionContract" Association="Self.FK_TblSMITransaction_CommissionContract">
  11501. <End Role="TblSMICommissionContract" EntitySet="TblSMICommissionContract" />
  11502. <End Role="TblSMITransaction" EntitySet="TblSMITransaction" />
  11503. </AssociationSet>
  11504. <AssociationSet Name="FK_TblSMITransaction_CommissionPeriod" Association="Self.FK_TblSMITransaction_CommissionPeriod">
  11505. <End Role="TblSMICommissionPeriod" EntitySet="TblSMICommissionPeriod" />
  11506. <End Role="TblSMITransaction" EntitySet="TblSMITransaction" />
  11507. </AssociationSet>
  11508. <AssociationSet Name="FK_TblSMITransaction_SignOffBy" Association="Self.FK_TblSMITransaction_SignOffBy">
  11509. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11510. <End Role="TblSMITransaction" EntitySet="TblSMITransaction" />
  11511. </AssociationSet>
  11512. <AssociationSet Name="FK_TblSMSCampaignMessages_Portfolio" Association="Self.FK_TblSMSCampaignMessages_Portfolio">
  11513. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11514. <End Role="TblSMSCampaignMessages" EntitySet="TblSMSCampaignMessages" />
  11515. </AssociationSet>
  11516. <AssociationSet Name="FK_TblStreamline_Developer" Association="Self.FK_TblStreamline_Developer">
  11517. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11518. <End Role="TblStreamline" EntitySet="TblStreamline" />
  11519. </AssociationSet>
  11520. <AssociationSet Name="FK_TblStreamline_Portfolio" Association="Self.FK_TblStreamline_Portfolio">
  11521. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11522. <End Role="TblStreamline" EntitySet="TblStreamline" />
  11523. </AssociationSet>
  11524. <AssociationSet Name="FK_TblStreamline_SalesAgent" Association="Self.FK_TblStreamline_SalesAgent">
  11525. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11526. <End Role="TblStreamline" EntitySet="TblStreamline" />
  11527. </AssociationSet>
  11528. <AssociationSet Name="FK_TblStreamline_SpouseTitle" Association="Self.FK_TblStreamline_SpouseTitle">
  11529. <End Role="Titles" EntitySet="Titles" />
  11530. <End Role="TblStreamline" EntitySet="TblStreamline" />
  11531. </AssociationSet>
  11532. <AssociationSet Name="FK_TblStreamline_Title" Association="Self.FK_TblStreamline_Title">
  11533. <End Role="Titles" EntitySet="Titles" />
  11534. <End Role="TblStreamline" EntitySet="TblStreamline" />
  11535. </AssociationSet>
  11536. <AssociationSet Name="FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus" Association="Self.FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus">
  11537. <End Role="TblSubStatus" EntitySet="TblSubStatus" />
  11538. <End Role="TblSubStatusSubStatus_TblCCDStatusCCDStatus" EntitySet="TblSubStatusSubStatus_TblCCDStatusCCDStatus" />
  11539. </AssociationSet>
  11540. <AssociationSet Name="FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses" Association="Self.FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses">
  11541. <End Role="TblSubStatus" EntitySet="TblSubStatus" />
  11542. <End Role="TblSubStatusSubStatuses_StatusStatus" EntitySet="TblSubStatusSubStatuses_StatusStatus" />
  11543. </AssociationSet>
  11544. <AssociationSet Name="FK_TblSuspenseTransaction_AllowcatedAccount" Association="Self.FK_TblSuspenseTransaction_AllowcatedAccount">
  11545. <End Role="TblDebtor" EntitySet="TblDebtor" />
  11546. <End Role="TblSuspenseTransaction" EntitySet="TblSuspenseTransaction" />
  11547. </AssociationSet>
  11548. <AssociationSet Name="FK_TblSuspenseTransaction_JournalLine" Association="Self.FK_TblSuspenseTransaction_JournalLine">
  11549. <End Role="TblJournalLines" EntitySet="TblJournalLines" />
  11550. <End Role="TblSuspenseTransaction" EntitySet="TblSuspenseTransaction" />
  11551. </AssociationSet>
  11552. <AssociationSet Name="FK_TblSuspenseTransactionSplit_Account" Association="Self.FK_TblSuspenseTransactionSplit_Account">
  11553. <End Role="TblDebtor" EntitySet="TblDebtor" />
  11554. <End Role="TblSuspenseTransactionSplit" EntitySet="TblSuspenseTransactionSplit" />
  11555. </AssociationSet>
  11556. <AssociationSet Name="FK_TblSuspenseTransactionSplit_SuspenseLine" Association="Self.FK_TblSuspenseTransactionSplit_SuspenseLine">
  11557. <End Role="TblSuspenseTransaction" EntitySet="TblSuspenseTransaction" />
  11558. <End Role="TblSuspenseTransactionSplit" EntitySet="TblSuspenseTransactionSplit" />
  11559. </AssociationSet>
  11560. <AssociationSet Name="FK_TblTelemarketerOffice_Company" Association="Self.FK_TblTelemarketerOffice_Company">
  11561. <End Role="TblTelemarketingCompany" EntitySet="TblTelemarketingCompany" />
  11562. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  11563. </AssociationSet>
  11564. <AssociationSet Name="FK_TblTelemarketerOffice_SMSSettings" Association="Self.FK_TblTelemarketerOffice_SMSSettings">
  11565. <End Role="TelemarketingSMSSettings" EntitySet="TelemarketingSMSSettings" />
  11566. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  11567. </AssociationSet>
  11568. <AssociationSet Name="FK_TblTelemarketerRegister_PersonnelCode" Association="Self.FK_TblTelemarketerRegister_PersonnelCode">
  11569. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11570. <End Role="TblTelemarketerRegister" EntitySet="TblTelemarketerRegister" />
  11571. </AssociationSet>
  11572. <AssociationSet Name="FK_TblTelemarketerRegister_Telemarketers" Association="Self.FK_TblTelemarketerRegister_Telemarketers">
  11573. <End Role="TblTelemarketerRegisterHdr" EntitySet="TblTelemarketerRegisterHdr" />
  11574. <End Role="TblTelemarketerRegister" EntitySet="TblTelemarketerRegister" />
  11575. </AssociationSet>
  11576. <AssociationSet Name="FK_TblTelemarketerRegisterHdr_SalesVenue" Association="Self.FK_TblTelemarketerRegisterHdr_SalesVenue">
  11577. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11578. <End Role="TblTelemarketerRegisterHdr" EntitySet="TblTelemarketerRegisterHdr" />
  11579. </AssociationSet>
  11580. <AssociationSet Name="FK_TblTelemarketerRegisterHdr_TelemarketerOffice" Association="Self.FK_TblTelemarketerRegisterHdr_TelemarketerOffice">
  11581. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  11582. <End Role="TblTelemarketerRegisterHdr" EntitySet="TblTelemarketerRegisterHdr" />
  11583. </AssociationSet>
  11584. <AssociationSet Name="FK_TblTelephones_PortfolioNumber" Association="Self.FK_TblTelephones_PortfolioNumber">
  11585. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11586. <End Role="TblTelephones" EntitySet="TblTelephones" />
  11587. </AssociationSet>
  11588. <AssociationSet Name="FK_TblTelephones_TelephoneType" Association="Self.FK_TblTelephones_TelephoneType">
  11589. <End Role="TblTelephoneTypes" EntitySet="TblTelephoneTypes" />
  11590. <End Role="TblTelephones" EntitySet="TblTelephones" />
  11591. </AssociationSet>
  11592. <AssociationSet Name="FK_TblTFGLeads_OwnedBy" Association="Self.FK_TblTFGLeads_OwnedBy">
  11593. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11594. <End Role="TblTFGLeads" EntitySet="TblTFGLeads" />
  11595. </AssociationSet>
  11596. <AssociationSet Name="FK_TblTFGLeads_Title" Association="Self.FK_TblTFGLeads_Title">
  11597. <End Role="Titles" EntitySet="Titles" />
  11598. <End Role="TblTFGLeads" EntitySet="TblTFGLeads" />
  11599. </AssociationSet>
  11600. <AssociationSet Name="FK_TblTimeOffCompetition_Campaign" Association="Self.FK_TblTimeOffCompetition_Campaign">
  11601. <End Role="TblTimeOffCampaign" EntitySet="TblTimeOffCampaign" />
  11602. <End Role="TblTimeOffCompetition" EntitySet="TblTimeOffCompetition" />
  11603. </AssociationSet>
  11604. <AssociationSet Name="FK_TblTimeOffCompetition_Winner" Association="Self.FK_TblTimeOffCompetition_Winner">
  11605. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntry" />
  11606. <End Role="TblTimeOffCompetition" EntitySet="TblTimeOffCompetition" />
  11607. </AssociationSet>
  11608. <AssociationSet Name="FK_TblTimeOffCompetitionCampaign_Winner" Association="Self.FK_TblTimeOffCompetitionCampaign_Winner">
  11609. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntry" />
  11610. <End Role="TblTimeOffCompetitionCampaign" EntitySet="TblTimeOffCompetitionCampaign" />
  11611. </AssociationSet>
  11612. <AssociationSet Name="FK_TblTimeOffCompetitionEntry_Campaign" Association="Self.FK_TblTimeOffCompetitionEntry_Campaign">
  11613. <End Role="TblTimeOffCompetitionCampaign" EntitySet="TblTimeOffCompetitionCampaign" />
  11614. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntry" />
  11615. </AssociationSet>
  11616. <AssociationSet Name="FK_TblTimeOffCompetitionEntry_Competition" Association="Self.FK_TblTimeOffCompetitionEntry_Competition">
  11617. <End Role="TblTimeOffCompetition" EntitySet="TblTimeOffCompetition" />
  11618. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntry" />
  11619. </AssociationSet>
  11620. <AssociationSet Name="FK_TblTimeOffFriends_Profile" Association="Self.FK_TblTimeOffFriends_Profile">
  11621. <End Role="TblTimeOffReferalProfile" EntitySet="TblTimeOffReferalProfile" />
  11622. <End Role="TblTimeOffFriends" EntitySet="TblTimeOffFriends" />
  11623. </AssociationSet>
  11624. <AssociationSet Name="FK_TblTimeOffNoVouchers_IncomeBracket" Association="Self.FK_TblTimeOffNoVouchers_IncomeBracket">
  11625. <End Role="TblIncomeBracket" EntitySet="TblIncomeBracket" />
  11626. <End Role="TblTimeOffNoVouchers" EntitySet="TblTimeOffNoVouchers" />
  11627. </AssociationSet>
  11628. <AssociationSet Name="FK_TblTimeOffNoVouchers_Title" Association="Self.FK_TblTimeOffNoVouchers_Title">
  11629. <End Role="Titles" EntitySet="Titles" />
  11630. <End Role="TblTimeOffNoVouchers" EntitySet="TblTimeOffNoVouchers" />
  11631. </AssociationSet>
  11632. <AssociationSet Name="FK_TblTimeOffVouchers_IncomeBracket" Association="Self.FK_TblTimeOffVouchers_IncomeBracket">
  11633. <End Role="TblIncomeBracket" EntitySet="TblIncomeBracket" />
  11634. <End Role="TblTimeOffVouchers" EntitySet="TblTimeOffVouchers" />
  11635. </AssociationSet>
  11636. <AssociationSet Name="FK_TblTimeOffVouchers_Resort" Association="Self.FK_TblTimeOffVouchers_Resort">
  11637. <End Role="TblResort" EntitySet="TblResort" />
  11638. <End Role="TblTimeOffVouchers" EntitySet="TblTimeOffVouchers" />
  11639. </AssociationSet>
  11640. <AssociationSet Name="FK_TblTimeOffVouchers_Title" Association="Self.FK_TblTimeOffVouchers_Title">
  11641. <End Role="Titles" EntitySet="Titles" />
  11642. <End Role="TblTimeOffVouchers" EntitySet="TblTimeOffVouchers" />
  11643. </AssociationSet>
  11644. <AssociationSet Name="FK_TblTimeOffVouchers_VoucherType" Association="Self.FK_TblTimeOffVouchers_VoucherType">
  11645. <End Role="TblVoucherTypes" EntitySet="TblVoucherTypes" />
  11646. <End Role="TblTimeOffVouchers" EntitySet="TblTimeOffVouchers" />
  11647. </AssociationSet>
  11648. <AssociationSet Name="FK_TblTMCommBasicTransactions_Personnel" Association="Self.FK_TblTMCommBasicTransactions_Personnel">
  11649. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11650. <End Role="TblTMCommBasicTransactions" EntitySet="TblTMCommBasicTransactions" />
  11651. </AssociationSet>
  11652. <AssociationSet Name="FK_TblTMCommDeals_Person" Association="Self.FK_TblTMCommDeals_Person">
  11653. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11654. <End Role="TblTMCommDeals" EntitySet="TblTMCommDeals" />
  11655. </AssociationSet>
  11656. <AssociationSet Name="FK_TblTMCommDealTargets_TMTable" Association="Self.FK_TblTMCommDealTargets_TMTable">
  11657. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructure" />
  11658. <End Role="TblTMCommDealTargets" EntitySet="TblTMCommDealTargets" />
  11659. </AssociationSet>
  11660. <AssociationSet Name="FK_TblTMCommGroups_Structure" Association="Self.FK_TblTMCommGroups_Structure">
  11661. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructure" />
  11662. <End Role="TblTMCommGroups" EntitySet="TblTMCommGroups" />
  11663. </AssociationSet>
  11664. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList" Association="Self.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList">
  11665. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11666. <End Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" EntitySet="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  11667. </AssociationSet>
  11668. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups" Association="Self.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups">
  11669. <End Role="TblTMCommGroups" EntitySet="TblTMCommGroups" />
  11670. <End Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" EntitySet="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  11671. </AssociationSet>
  11672. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues" Association="Self.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues">
  11673. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11674. <End Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" EntitySet="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  11675. </AssociationSet>
  11676. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups" Association="Self.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups">
  11677. <End Role="TblTMCommGroups" EntitySet="TblTMCommGroups" />
  11678. <End Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" EntitySet="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  11679. </AssociationSet>
  11680. <AssociationSet Name="FK_TblTMCommStructure_SalesVenue" Association="Self.FK_TblTMCommStructure_SalesVenue">
  11681. <End Role="TblSalesVenue" EntitySet="TblSalesVenue" />
  11682. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructure" />
  11683. </AssociationSet>
  11684. <AssociationSet Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList" Association="Self.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList">
  11685. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11686. <End Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" EntitySet="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  11687. </AssociationSet>
  11688. <AssociationSet Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures" Association="Self.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures">
  11689. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructure" />
  11690. <End Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" EntitySet="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  11691. </AssociationSet>
  11692. <AssociationSet Name="FK_TblTMCommsWeek_TMMonth" Association="Self.FK_TblTMCommsWeek_TMMonth">
  11693. <End Role="TblTMCommsMonth" EntitySet="TblTMCommsMonth" />
  11694. <End Role="TblTMCommsWeek" EntitySet="TblTMCommsWeek" />
  11695. </AssociationSet>
  11696. <AssociationSet Name="FK_TblTMCommTable_Structure" Association="Self.FK_TblTMCommTable_Structure">
  11697. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructure" />
  11698. <End Role="TblTMCommTable" EntitySet="TblTMCommTable" />
  11699. </AssociationSet>
  11700. <AssociationSet Name="FK_TblTMCommTransactions_Personnel" Association="Self.FK_TblTMCommTransactions_Personnel">
  11701. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11702. <End Role="TblTMCommTransactions" EntitySet="TblTMCommTransactions" />
  11703. </AssociationSet>
  11704. <AssociationSet Name="FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages" Association="Self.FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages">
  11705. <End Role="TblSalesCommissionPercentages" EntitySet="TblSalesCommissionPercentages" />
  11706. <End Role="TblTrainingManagerCommissionSeasonPercentage" EntitySet="TblTrainingManagerCommissionSeasonPercentage" />
  11707. </AssociationSet>
  11708. <AssociationSet Name="FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages" Association="Self.FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages">
  11709. <End Role="TblSalesCommissionPercentages" EntitySet="TblSalesCommissionPercentages" />
  11710. <End Role="TblTrainngManagerCommissionPercentage" EntitySet="TblTrainngManagerCommissionPercentage" />
  11711. </AssociationSet>
  11712. <AssociationSet Name="FK_TblTransferFunds_AllocatedToNorm" Association="Self.FK_TblTransferFunds_AllocatedToNorm">
  11713. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11714. <End Role="TblTransferFunds" EntitySet="TblTransferFunds" />
  11715. </AssociationSet>
  11716. <AssociationSet Name="FK_TblTransferFunds_FromExpenseCode" Association="Self.FK_TblTransferFunds_FromExpenseCode">
  11717. <End Role="TblExpenseCodesCompany" EntitySet="TblExpenseCodesCompany" />
  11718. <End Role="TblTransferFunds" EntitySet="TblTransferFunds" />
  11719. </AssociationSet>
  11720. <AssociationSet Name="FK_TblTransferFunds_ToExpenseCode" Association="Self.FK_TblTransferFunds_ToExpenseCode">
  11721. <End Role="TblExpenseCodesCompany" EntitySet="TblExpenseCodesCompany" />
  11722. <End Role="TblTransferFunds" EntitySet="TblTransferFunds" />
  11723. </AssociationSet>
  11724. <AssociationSet Name="FK_TblUnipointBookings_Portfolio" Association="Self.FK_TblUnipointBookings_Portfolio">
  11725. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11726. <End Role="TblUnipointBookings" EntitySet="TblUnipointBookings" />
  11727. </AssociationSet>
  11728. <AssociationSet Name="FK_TblUnipointBookingWeeks_Portfolio" Association="Self.FK_TblUnipointBookingWeeks_Portfolio">
  11729. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11730. <End Role="TblUnipointBookingWeeks" EntitySet="TblUnipointBookingWeeks" />
  11731. </AssociationSet>
  11732. <AssociationSet Name="FK_TblUpdateBankingDetailContractDetails_UpdateDetails" Association="Self.FK_TblUpdateBankingDetailContractDetails_UpdateDetails">
  11733. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11734. <End Role="TblUpdateBankingDetailContractDetails" EntitySet="TblUpdateBankingDetailContractDetails" />
  11735. </AssociationSet>
  11736. <AssociationSet Name="FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails" Association="Self.FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails">
  11737. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11738. <End Role="TblUpdateBankingDetailDebtorBanking" EntitySet="TblUpdateBankingDetailDebtorBanking" />
  11739. </AssociationSet>
  11740. <AssociationSet Name="FK_TblUpdateBankingDetails_Developer" Association="Self.FK_TblUpdateBankingDetails_Developer">
  11741. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11742. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11743. </AssociationSet>
  11744. <AssociationSet Name="FK_TblUpdateBankingDetails_Personnel" Association="Self.FK_TblUpdateBankingDetails_Personnel">
  11745. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11746. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11747. </AssociationSet>
  11748. <AssociationSet Name="FK_TblUpdateBankingDetails_Portfolio" Association="Self.FK_TblUpdateBankingDetails_Portfolio">
  11749. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11750. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11751. </AssociationSet>
  11752. <AssociationSet Name="FK_TblUpdateBankingDetailsOverride_Reference" Association="Self.FK_TblUpdateBankingDetailsOverride_Reference">
  11753. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11754. <End Role="TblUpdateBankingDetailsOverride" EntitySet="TblUpdateBankingDetailsOverride" />
  11755. </AssociationSet>
  11756. <AssociationSet Name="FK_TblUpdateBankingDetailsOverrideDocuments_Override" Association="Self.FK_TblUpdateBankingDetailsOverrideDocuments_Override">
  11757. <End Role="TblUpdateBankingDetailsOverride" EntitySet="TblUpdateBankingDetailsOverride" />
  11758. <End Role="TblUpdateBankingDetailsOverrideDocuments" EntitySet="TblUpdateBankingDetailsOverrideDocuments" />
  11759. </AssociationSet>
  11760. <AssociationSet Name="FK_TblUpdateContractBankingDetailsLog_UpdateDetails" Association="Self.FK_TblUpdateContractBankingDetailsLog_UpdateDetails">
  11761. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  11762. <End Role="TblUpdateContractBankingDetailsLog" EntitySet="TblUpdateContractBankingDetailsLog" />
  11763. </AssociationSet>
  11764. <AssociationSet Name="FK_TblVoucher_Campaign" Association="Self.FK_TblVoucher_Campaign">
  11765. <End Role="TblMarketingCampaign" EntitySet="TblMarketingCampaign" />
  11766. <End Role="TblVoucher" EntitySet="TblVoucher" />
  11767. </AssociationSet>
  11768. <AssociationSet Name="FK_TblVoucher_DetailedInfo" Association="Self.FK_TblVoucher_DetailedInfo">
  11769. <End Role="TblDetailedInfo" EntitySet="TblDetailedInfo" />
  11770. <End Role="TblVoucher" EntitySet="TblVoucher" />
  11771. </AssociationSet>
  11772. <AssociationSet Name="FK_TblVoucher_Resort" Association="Self.FK_TblVoucher_Resort">
  11773. <End Role="TblResort" EntitySet="TblResort" />
  11774. <End Role="TblVoucher" EntitySet="TblVoucher" />
  11775. </AssociationSet>
  11776. <AssociationSet Name="FK_TblVoucher_VoucherSeries" Association="Self.FK_TblVoucher_VoucherSeries">
  11777. <End Role="TblVoucherSeries" EntitySet="TblVoucherSeries" />
  11778. <End Role="TblVoucher" EntitySet="TblVoucher" />
  11779. </AssociationSet>
  11780. <AssociationSet Name="FK_TblVoucherSeries_Campaign" Association="Self.FK_TblVoucherSeries_Campaign">
  11781. <End Role="TblMarketingCampaign" EntitySet="TblMarketingCampaign" />
  11782. <End Role="TblVoucherSeries" EntitySet="TblVoucherSeries" />
  11783. </AssociationSet>
  11784. <AssociationSet Name="FK_TblWeekBanking_Portfolio" Association="Self.FK_TblWeekBanking_Portfolio">
  11785. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11786. <End Role="TblWeekBanking" EntitySet="TblWeekBanking" />
  11787. </AssociationSet>
  11788. <AssociationSet Name="FK_TblWeekBanking_Resort" Association="Self.FK_TblWeekBanking_Resort">
  11789. <End Role="TblResort" EntitySet="TblResort" />
  11790. <End Role="TblWeekBanking" EntitySet="TblWeekBanking" />
  11791. </AssociationSet>
  11792. <AssociationSet Name="FK_TblWeekBanking_WeekModule" Association="Self.FK_TblWeekBanking_WeekModule">
  11793. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  11794. <End Role="TblWeekBanking" EntitySet="TblWeekBanking" />
  11795. </AssociationSet>
  11796. <AssociationSet Name="FK_TblWeekModule_Resort" Association="Self.FK_TblWeekModule_Resort">
  11797. <End Role="TblResort" EntitySet="TblResort" />
  11798. <End Role="TblWeekModule" EntitySet="TblWeekModule" />
  11799. </AssociationSet>
  11800. <AssociationSet Name="FK_TelemarketingSMSSettings_TelemarketerOffice" Association="Self.FK_TelemarketingSMSSettings_TelemarketerOffice">
  11801. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffice" />
  11802. <End Role="TelemarketingSMSSettings" EntitySet="TelemarketingSMSSettings" />
  11803. </AssociationSet>
  11804. <AssociationSet Name="FK_TransfigContractInfo_TransfigKey" Association="Self.FK_TransfigContractInfo_TransfigKey">
  11805. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11806. <End Role="TransfigContractInfo" EntitySet="TransfigContractInfo" />
  11807. </AssociationSet>
  11808. <AssociationSet Name="FK_TransfigSearchResults_SearchResKey" Association="Self.FK_TransfigSearchResults_SearchResKey">
  11809. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11810. <End Role="TransfigSearchResults" EntitySet="TransfigSearchResults" />
  11811. </AssociationSet>
  11812. <AssociationSet Name="FK_Transfigurations_Developer" Association="Self.FK_Transfigurations_Developer">
  11813. <End Role="TblDeveloper" EntitySet="TblDeveloper" />
  11814. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11815. </AssociationSet>
  11816. <AssociationSet Name="FK_Transfigurations_InsuranceReason" Association="Self.FK_Transfigurations_InsuranceReason">
  11817. <End Role="TblInsuranceReason" EntitySet="TblInsuranceReason" />
  11818. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11819. </AssociationSet>
  11820. <AssociationSet Name="FK_Transfigurations_Portfolio" Association="Self.FK_Transfigurations_Portfolio">
  11821. <End Role="TblPortfolio" EntitySet="TblPortfolio" />
  11822. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11823. </AssociationSet>
  11824. <AssociationSet Name="FK_Transfigurations_SalesAgent" Association="Self.FK_Transfigurations_SalesAgent">
  11825. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11826. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11827. </AssociationSet>
  11828. <AssociationSet Name="FK_Transfigurations_SalesManager" Association="Self.FK_Transfigurations_SalesManager">
  11829. <End Role="TblPersonnel" EntitySet="TblPersonnel" />
  11830. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11831. </AssociationSet>
  11832. <AssociationSet Name="FK_Transfigurations_SPTitle" Association="Self.FK_Transfigurations_SPTitle">
  11833. <End Role="Titles" EntitySet="Titles" />
  11834. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11835. </AssociationSet>
  11836. <AssociationSet Name="FK_Transfigurations_Title" Association="Self.FK_Transfigurations_Title">
  11837. <End Role="Titles" EntitySet="Titles" />
  11838. <End Role="Transfigurations" EntitySet="Transfigurations" />
  11839. </AssociationSet>
  11840. </EntityContainer>
  11841. </Schema></edmx:StorageModels>
  11842. <!-- CSDL content -->
  11843. <edmx:ConceptualModels>
  11844. <Schema Namespace="ProvisionStagingModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
  11845. <EntityType Name="TblTransferFund">
  11846. <Key>
  11847. <PropertyRef Name="OID" />
  11848. </Key>
  11849. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  11850. <Property Name="CreatedBy" Type="Guid" />
  11851. <Property Name="RequestDate" Type="DateTime" Precision="3" />
  11852. <Property Name="RequestNo" Type="Int32" />
  11853. <Property Name="Company" Type="Int32" />
  11854. <Property Name="FromExpenseCode" Type="Int32" />
  11855. <Property Name="ToExpenseCode" Type="Int32" />
  11856. <Property Name="AmountToTransfer" Type="Decimal" Precision="19" Scale="4" />
  11857. <Property Name="Reason" Type="String" MaxLength="300" FixedLength="false" Unicode="true" />
  11858. <Property Name="AllocatedToNorm" Type="Int32" />
  11859. <Property Name="Status" Type="Int32" />
  11860. <Property Name="ActionedByNormDate" Type="DateTime" Precision="3" />
  11861. <Property Name="ActionedByManagementDate" Type="DateTime" Precision="3" />
  11862. <Property Name="ProcessedDate" Type="DateTime" Precision="3" />
  11863. <Property Name="OptimisticLockField" Type="Int32" />
  11864. <Property Name="GCRecord" Type="Int32" />
  11865. <NavigationProperty Name="TblExpenseCodesCompany" Relationship="ProvisionStagingModel.FK_TblTransferFunds_FromExpenseCode" FromRole="TblTransferFund" ToRole="TblExpenseCodesCompany" />
  11866. <NavigationProperty Name="TblExpenseCodesCompany1" Relationship="ProvisionStagingModel.FK_TblTransferFunds_ToExpenseCode" FromRole="TblTransferFund" ToRole="TblExpenseCodesCompany" />
  11867. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTransferFunds_AllocatedToNorm" FromRole="TblTransferFund" ToRole="TblPersonnel" />
  11868. </EntityType>
  11869. <EntityType Name="TblUnipointBooking">
  11870. <Key>
  11871. <PropertyRef Name="OID" />
  11872. </Key>
  11873. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  11874. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  11875. <Property Name="Portfolio" Type="Int32" />
  11876. <Property Name="Action" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11877. <Property Name="Reference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11878. <Property Name="MemberNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11879. <Property Name="BookingDate" Type="DateTime" Precision="3" />
  11880. <Property Name="Points" Type="Int32" />
  11881. <Property Name="PointsRemaining" Type="Int32" />
  11882. <Property Name="ResortCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11883. <Property Name="UnitSize" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11884. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  11885. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  11886. <Property Name="UnitNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11887. <Property Name="CancelAction" Type="Boolean" />
  11888. <Property Name="IDX" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11889. <Property Name="ConsultantUsername" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11890. <Property Name="RCIPoints" Type="Int32" />
  11891. <Property Name="OptimisticLockField" Type="Int32" />
  11892. <Property Name="GCRecord" Type="Int32" />
  11893. <Property Name="BankedEntity" Type="Int32" />
  11894. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblUnipointBookings_Portfolio" FromRole="TblUnipointBooking" ToRole="TblPortfolio" />
  11895. </EntityType>
  11896. <EntityType Name="TblUnipointBookingWeek">
  11897. <Key>
  11898. <PropertyRef Name="OID" />
  11899. </Key>
  11900. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  11901. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  11902. <Property Name="Portfolio" Type="Int32" />
  11903. <Property Name="Action" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11904. <Property Name="Reference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11905. <Property Name="MemberNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11906. <Property Name="BookingDate" Type="DateTime" Precision="3" />
  11907. <Property Name="Points" Type="Decimal" Precision="19" Scale="4" />
  11908. <Property Name="PointsRemaining" Type="Decimal" Precision="19" Scale="4" />
  11909. <Property Name="ResortCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11910. <Property Name="UnitSize" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11911. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  11912. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  11913. <Property Name="UnitNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11914. <Property Name="CancelAction" Type="Boolean" />
  11915. <Property Name="IDX" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11916. <Property Name="ConsultantUsername" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11917. <Property Name="RCIPoints" Type="Int32" />
  11918. <Property Name="BankedEntity" Type="Int32" />
  11919. <Property Name="OptimisticLockField" Type="Int32" />
  11920. <Property Name="GCRecord" Type="Int32" />
  11921. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblUnipointBookingWeeks_Portfolio" FromRole="TblUnipointBookingWeek" ToRole="TblPortfolio" />
  11922. </EntityType>
  11923. <EntityType Name="TblUpdateBankingDetailContractDetail">
  11924. <Key>
  11925. <PropertyRef Name="OID" />
  11926. </Key>
  11927. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  11928. <Property Name="UpdateDetails" Type="Int32" />
  11929. <Property Name="ContractNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11930. <Property Name="MainMember" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11931. <Property Name="AccountHolder" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11932. <Property Name="BankName" Type="Int32" />
  11933. <Property Name="EncBranchName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11934. <Property Name="EncBranchCode" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11935. <Property Name="AccountType" Type="Int32" />
  11936. <Property Name="EncAccountNumber" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11937. <Property Name="DebtorType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11938. <Property Name="ValidationResult" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11939. <Property Name="OptimisticLockField" Type="Int32" />
  11940. <Property Name="GCRecord" Type="Int32" />
  11941. <NavigationProperty Name="TblUpdateBankingDetail" Relationship="Self.FK_TblUpdateBankingDetailContractDetails_UpdateDetails" FromRole="TblUpdateBankingDetailContractDetails" ToRole="TblUpdateBankingDetails" />
  11942. </EntityType>
  11943. <EntityType Name="TblUpdateBankingDetailDebtorBanking">
  11944. <Key>
  11945. <PropertyRef Name="OID" />
  11946. </Key>
  11947. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  11948. <Property Name="UpdateDetails" Type="Int32" />
  11949. <Property Name="ContractNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11950. <Property Name="MainMember" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11951. <Property Name="AccountHolder" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11952. <Property Name="BankName" Type="Int32" />
  11953. <Property Name="EncBranchName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11954. <Property Name="EncBranchCode" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11955. <Property Name="AccountType" Type="Int32" />
  11956. <Property Name="EncAccountNumber" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11957. <Property Name="DebtorType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11958. <Property Name="OptimisticLockField" Type="Int32" />
  11959. <Property Name="GCRecord" Type="Int32" />
  11960. <NavigationProperty Name="TblUpdateBankingDetail" Relationship="Self.FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails" FromRole="TblUpdateBankingDetailDebtorBanking" ToRole="TblUpdateBankingDetails" />
  11961. </EntityType>
  11962. <EntityType Name="TblUpdateBankingDetail">
  11963. <Key>
  11964. <PropertyRef Name="OID" />
  11965. </Key>
  11966. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  11967. <Property Name="Portfolio" Type="Int32" />
  11968. <Property Name="MemberNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11969. <Property Name="ClientNameSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11970. <Property Name="User" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11971. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  11972. <Property Name="SpouseAccount" Type="Boolean" />
  11973. <Property Name="AccountValidation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11974. <Property Name="EncAccountHolder" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11975. <Property Name="EncAccountHolderID" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11976. <Property Name="BankName" Type="Int32" />
  11977. <Property Name="EncBranchName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11978. <Property Name="EncBranchCode" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11979. <Property Name="AccountType" Type="Int32" />
  11980. <Property Name="EncAccountNumber" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  11981. <Property Name="Reference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11982. <Property Name="Developer" Type="Int32" />
  11983. <Property Name="Validated" Type="Boolean" />
  11984. <Property Name="ValidatedReturn" Type="Boolean" />
  11985. <Property Name="Valid" Type="Boolean" />
  11986. <Property Name="AccountExists" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11987. <Property Name="IdNumberMatch" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11988. <Property Name="InitialsMatch" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11989. <Property Name="LastNameMatch" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11990. <Property Name="AccountOpen" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11991. <Property Name="HyphenID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11992. <Property Name="ResponseCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11993. <Property Name="ResponseMessage" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  11994. <Property Name="DateProcessed" Type="DateTime" Precision="3" />
  11995. <Property Name="Personnel" Type="Int32" />
  11996. <Property Name="SentToContract" Type="Boolean" />
  11997. <Property Name="OptimisticLockField" Type="Int32" />
  11998. <Property Name="GCRecord" Type="Int32" />
  11999. <Property Name="DateContractUpdated" Type="DateTime" Precision="3" />
  12000. <Property Name="AccountsUpdated" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12001. <Property Name="Contract" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12002. <Property Name="AccountValidationListCheck" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12003. <NavigationProperty Name="TblUpdateBankingDetailContractDetails" Relationship="Self.FK_TblUpdateBankingDetailContractDetails_UpdateDetails" FromRole="TblUpdateBankingDetails" ToRole="TblUpdateBankingDetailContractDetails" />
  12004. <NavigationProperty Name="TblUpdateBankingDetailDebtorBankings" Relationship="Self.FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails" FromRole="TblUpdateBankingDetails" ToRole="TblUpdateBankingDetailDebtorBanking" />
  12005. <NavigationProperty Name="TblUpdateBankingDetailsOverrides" Relationship="Self.FK_TblUpdateBankingDetailsOverride_Reference" FromRole="TblUpdateBankingDetails" ToRole="TblUpdateBankingDetailsOverride" />
  12006. <NavigationProperty Name="TblUpdateContractBankingDetailsLogs" Relationship="Self.FK_TblUpdateContractBankingDetailsLog_UpdateDetails" FromRole="TblUpdateBankingDetails" ToRole="TblUpdateContractBankingDetailsLog" />
  12007. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblUpdateBankingDetails_Developer" FromRole="TblUpdateBankingDetail" ToRole="TblDeveloper" />
  12008. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblUpdateBankingDetails_Personnel" FromRole="TblUpdateBankingDetail" ToRole="TblPersonnel" />
  12009. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblUpdateBankingDetails_Portfolio" FromRole="TblUpdateBankingDetail" ToRole="TblPortfolio" />
  12010. </EntityType>
  12011. <EntityType Name="TblUpdateBankingDetailsOverride">
  12012. <Key>
  12013. <PropertyRef Name="OID" />
  12014. </Key>
  12015. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12016. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12017. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  12018. <Property Name="Reference" Type="Int32" />
  12019. <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  12020. <Property Name="Processed" Type="Boolean" />
  12021. <Property Name="DateProcessed" Type="DateTime" Precision="3" />
  12022. <Property Name="OptimisticLockField" Type="Int32" />
  12023. <Property Name="GCRecord" Type="Int32" />
  12024. <NavigationProperty Name="TblUpdateBankingDetail" Relationship="Self.FK_TblUpdateBankingDetailsOverride_Reference" FromRole="TblUpdateBankingDetailsOverride" ToRole="TblUpdateBankingDetails" />
  12025. <NavigationProperty Name="TblUpdateBankingDetailsOverrideDocuments" Relationship="Self.FK_TblUpdateBankingDetailsOverrideDocuments_Override" FromRole="TblUpdateBankingDetailsOverride" ToRole="TblUpdateBankingDetailsOverrideDocuments" />
  12026. </EntityType>
  12027. <EntityType Name="TblUpdateBankingDetailsOverrideDocument">
  12028. <Key>
  12029. <PropertyRef Name="OID" />
  12030. </Key>
  12031. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12032. <Property Name="Override" Type="Int32" />
  12033. <Property Name="File" Type="Int32" />
  12034. <Property Name="OptimisticLockField" Type="Int32" />
  12035. <Property Name="GCRecord" Type="Int32" />
  12036. <NavigationProperty Name="TblUpdateBankingDetailsOverride" Relationship="Self.FK_TblUpdateBankingDetailsOverrideDocuments_Override" FromRole="TblUpdateBankingDetailsOverrideDocuments" ToRole="TblUpdateBankingDetailsOverride" />
  12037. </EntityType>
  12038. <EntityType Name="TblUpdateContractBankingDetailsLog">
  12039. <Key>
  12040. <PropertyRef Name="OID" />
  12041. </Key>
  12042. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12043. <Property Name="UpdateDetails" Type="Int32" />
  12044. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  12045. <Property Name="ProcessedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12046. <Property Name="DebtorType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12047. <Property Name="MainMember" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12048. <Property Name="EncOriginalAccountHolder" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12049. <Property Name="OriginalBankName" Type="Int32" />
  12050. <Property Name="EncOriginalBranchName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12051. <Property Name="EncOriginalBranchCode" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12052. <Property Name="OriginalAccountType" Type="Int32" />
  12053. <Property Name="EncOriginalAccountNumber" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12054. <Property Name="EncNewAccountHolder" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12055. <Property Name="NewBankName" Type="Int32" />
  12056. <Property Name="EncNewBranchName" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12057. <Property Name="EncNewBranchCode" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12058. <Property Name="NewAccountType" Type="Int32" />
  12059. <Property Name="EncNewAccountNumber" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12060. <Property Name="OptimisticLockField" Type="Int32" />
  12061. <Property Name="GCRecord" Type="Int32" />
  12062. <NavigationProperty Name="TblUpdateBankingDetail" Relationship="Self.FK_TblUpdateContractBankingDetailsLog_UpdateDetails" FromRole="TblUpdateContractBankingDetailsLog" ToRole="TblUpdateBankingDetails" />
  12063. </EntityType>
  12064. <EntityType Name="TblVoucher">
  12065. <Key>
  12066. <PropertyRef Name="OID" />
  12067. </Key>
  12068. <Property Name="OID" Type="Int32" Nullable="false" />
  12069. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12070. <Property Name="CreatedDate" Type="DateTime" Precision="3" />
  12071. <Property Name="DetailedInfo" Type="Int32" />
  12072. <Property Name="Campaign" Type="Int32" />
  12073. <Property Name="ConfigurationCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12074. <Property Name="Resort" Type="Int32" />
  12075. <Property Name="UnitNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12076. <Property Name="VoucherSeries" Type="Int32" />
  12077. <Property Name="AssetAvail" Type="Guid" />
  12078. <Property Name="VoucherNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12079. <Property Name="AdditionalCellPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12080. <Property Name="WeekReminderEmailSent" Type="Boolean" />
  12081. <Property Name="WelcomeMessageSent" Type="Boolean" />
  12082. <Property Name="DayOfArrivalMessageSent" Type="Boolean" />
  12083. <Property Name="DayOfDepartureMessageSent" Type="Boolean" />
  12084. <Property Name="SurveyEmailSent" Type="Boolean" />
  12085. <Property Name="BookingConfirmationFailed" Type="Boolean" />
  12086. <Property Name="Contacted" Type="Boolean" />
  12087. <Property Name="Arrived" Type="Boolean" />
  12088. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  12089. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  12090. <Property Name="ResortBookingDate" Type="DateTime" Precision="3" />
  12091. <Property Name="VoucherRegDate" Type="DateTime" Precision="3" />
  12092. <Property Name="Guest1Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12093. <Property Name="Guest1Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12094. <Property Name="Guest1IdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12095. <Property Name="Guest2Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12096. <Property Name="Guest2Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12097. <Property Name="Guest2IdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12098. <Property Name="Child1Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12099. <Property Name="Child2Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12100. <Property Name="Child3Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12101. <Property Name="Disabilities" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12102. <Property Name="VehicleRegNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12103. <Property Name="ReasonSentFailed" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12104. <NavigationProperty Name="TblVoucherSery" Relationship="Self.FK_TblVoucher_VoucherSeries" FromRole="TblVoucher" ToRole="TblVoucherSeries" />
  12105. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblVoucher_Resort" FromRole="TblVoucher" ToRole="TblResort" />
  12106. <NavigationProperty Name="TblDetailedInfo" Relationship="ProvisionStagingModel.FK_TblVoucher_DetailedInfo" FromRole="TblVoucher" ToRole="TblDetailedInfo" />
  12107. <NavigationProperty Name="TblMarketingCampaign" Relationship="ProvisionStagingModel.FK_TblVoucher_Campaign" FromRole="TblVoucher" ToRole="TblMarketingCampaign" />
  12108. </EntityType>
  12109. <EntityType Name="TblVoucherSery">
  12110. <Key>
  12111. <PropertyRef Name="OID" />
  12112. </Key>
  12113. <Property Name="OID" Type="Int32" Nullable="false" />
  12114. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12115. <Property Name="Number" Type="Int32" />
  12116. <Property Name="LastNumberGenerated" Type="Int32" />
  12117. <Property Name="Campaign" Type="Int32" />
  12118. <NavigationProperty Name="TblVouchers" Relationship="Self.FK_TblVoucher_VoucherSeries" FromRole="TblVoucherSeries" ToRole="TblVoucher" />
  12119. <NavigationProperty Name="TblMarketingCampaign" Relationship="ProvisionStagingModel.FK_TblVoucherSeries_Campaign" FromRole="TblVoucherSery" ToRole="TblMarketingCampaign" />
  12120. </EntityType>
  12121. <EntityType Name="TblVoucherType">
  12122. <Key>
  12123. <PropertyRef Name="OID" />
  12124. </Key>
  12125. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12126. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12127. <Property Name="LastVoucherNumberUsed" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12128. <Property Name="Prefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12129. <Property Name="SmsUser" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12130. <Property Name="SmsPassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12131. <Property Name="ResortBookingConfirmationDocumentPath" Type="Int32" />
  12132. <Property Name="OptimisticLockField" Type="Int32" />
  12133. <Property Name="GCRecord" Type="Int32" />
  12134. <Property Name="TimeSpesificAvailability" Type="Boolean" />
  12135. <Property Name="AvailabilityStart" Type="DateTime" Precision="3" />
  12136. <Property Name="AvailabilityEnd" Type="DateTime" Precision="3" />
  12137. <NavigationProperty Name="TblTimeOffVouchers" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_VoucherType" FromRole="TblVoucherType" ToRole="TblTimeOffVoucher" />
  12138. </EntityType>
  12139. <EntityType Name="TblWeekBanking">
  12140. <Key>
  12141. <PropertyRef Name="OID" />
  12142. </Key>
  12143. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12144. <Property Name="MemberNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12145. <Property Name="Resort" Type="Int32" />
  12146. <Property Name="Contract" Type="Int32" />
  12147. <Property Name="WeekModule" Type="Int32" />
  12148. <Property Name="Asset" Type="Int32" />
  12149. <Property Name="BankEntity" Type="Int32" />
  12150. <Property Name="Year" Type="Int32" />
  12151. <Property Name="DateBanked" Type="DateTime" Precision="3" />
  12152. <Property Name="DateUnbanked" Type="DateTime" Precision="3" />
  12153. <Property Name="OptimisticLockField" Type="Int32" />
  12154. <Property Name="GCRecord" Type="Int32" />
  12155. <Property Name="Portfolio" Type="Int32" />
  12156. <Property Name="Points" Type="Int32" />
  12157. <NavigationProperty Name="TblWeekModule" Relationship="Self.FK_TblWeekBanking_WeekModule" FromRole="TblWeekBanking" ToRole="TblWeekModule" />
  12158. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblWeekBanking_Resort" FromRole="TblWeekBanking" ToRole="TblResort" />
  12159. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblWeekBanking_Portfolio" FromRole="TblWeekBanking" ToRole="TblPortfolio" />
  12160. </EntityType>
  12161. <EntityType Name="TblWeekModule">
  12162. <Key>
  12163. <PropertyRef Name="OID" />
  12164. </Key>
  12165. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12166. <Property Name="WeekNumber" Type="Int16" />
  12167. <Property Name="WeekModule" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12168. <Property Name="WeekType" Type="Int32" />
  12169. <Property Name="WeekModuleType" Type="Int32" />
  12170. <Property Name="Resort" Type="Int32" />
  12171. <Property Name="OptimisticLockField" Type="Int32" />
  12172. <Property Name="GCRecord" Type="Int32" />
  12173. <Property Name="Season" Type="Int32" />
  12174. <Property Name="Year" Type="Int32" />
  12175. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  12176. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  12177. <Property Name="CalendarCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12178. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  12179. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12180. <NavigationProperty Name="TblWeekBankings" Relationship="Self.FK_TblWeekBanking_WeekModule" FromRole="TblWeekModule" ToRole="TblWeekBanking" />
  12181. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblWeekModule_Resort" FromRole="TblWeekModule" ToRole="TblResort" />
  12182. <NavigationProperty Name="TblResortRebateBlocks" Relationship="ProvisionStagingModel.FK_TblResortRebateBlock_WeekModule" FromRole="TblWeekModule" ToRole="TblResortRebateBlock" />
  12183. <NavigationProperty Name="TblDebtorManagementFeeValues" Relationship="ProvisionStagingModel.FK_TblDebtorManagementFeeValues_WeekModule" FromRole="TblWeekModule" ToRole="TblDebtorManagementFeeValue" />
  12184. <NavigationProperty Name="TblExternalResortCommissions" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_WeekModule" FromRole="TblWeekModule" ToRole="TblExternalResortCommission" />
  12185. <NavigationProperty Name="TblExternalResortCommissionWeeks" Relationship="ProvisionStagingModel.FK_TblExternalResortCommissionWeeks_WeekModule" FromRole="TblWeekModule" ToRole="TblExternalResortCommissionWeek" />
  12186. <NavigationProperty Name="TblPromotions" Relationship="ProvisionStagingModel.FK_TblPromotion_WeekModule" FromRole="TblWeekModule" ToRole="TblPromotion" />
  12187. </EntityType>
  12188. <EntityType Name="TelemarketingSMSSetting">
  12189. <Key>
  12190. <PropertyRef Name="Oid" />
  12191. </Key>
  12192. <Property Name="Oid" Type="Guid" Nullable="false" />
  12193. <Property Name="TelemarketerOffice" Type="Int32" />
  12194. <Property Name="SMSUserCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12195. <Property Name="SMSPassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12196. <Property Name="SmsBookingMessage" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12197. <Property Name="SmsConfirmationMessage" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  12198. <Property Name="OptimisticLockField" Type="Int32" />
  12199. <Property Name="GCRecord" Type="Int32" />
  12200. <NavigationProperty Name="TblTelemarketerOffices" Relationship="ProvisionStagingModel.FK_TblTelemarketerOffice_SMSSettings" FromRole="TelemarketingSMSSetting" ToRole="TblTelemarketerOffice" />
  12201. <NavigationProperty Name="TblTelemarketerOffice" Relationship="ProvisionStagingModel.FK_TelemarketingSMSSettings_TelemarketerOffice" FromRole="TelemarketingSMSSetting" ToRole="TblTelemarketerOffice" />
  12202. </EntityType>
  12203. <EntityType Name="Title">
  12204. <Key>
  12205. <PropertyRef Name="Title1" />
  12206. </Key>
  12207. <Property Name="Title1" Type="String" MaxLength="20" FixedLength="false" Unicode="true" Nullable="false" />
  12208. <Property Name="OptimisticLockField" Type="Int32" />
  12209. <Property Name="IsMale" Type="Int32" />
  12210. <Property Name="Hidden" Type="Boolean" />
  12211. <NavigationProperty Name="Transfigurations" Relationship="Self.FK_Transfigurations_SPTitle" FromRole="Titles" ToRole="Transfigurations" />
  12212. <NavigationProperty Name="Transfigurations1" Relationship="Self.FK_Transfigurations_Title" FromRole="Titles" ToRole="Transfigurations" />
  12213. <NavigationProperty Name="TblStreamlines" Relationship="ProvisionStagingModel.FK_TblStreamline_SpouseTitle" FromRole="Title" ToRole="TblStreamline" />
  12214. <NavigationProperty Name="TblStreamlines1" Relationship="ProvisionStagingModel.FK_TblStreamline_Title" FromRole="Title" ToRole="TblStreamline" />
  12215. <NavigationProperty Name="TblTFGLeads" Relationship="ProvisionStagingModel.FK_TblTFGLeads_Title" FromRole="Title" ToRole="TblTFGLead" />
  12216. <NavigationProperty Name="TblTimeOffNoVouchers" Relationship="ProvisionStagingModel.FK_TblTimeOffNoVouchers_Title" FromRole="Title" ToRole="TblTimeOffNoVoucher" />
  12217. <NavigationProperty Name="TblTimeOffVouchers" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_Title" FromRole="Title" ToRole="TblTimeOffVoucher" />
  12218. <NavigationProperty Name="TblDetailedInfoes" Relationship="ProvisionStagingModel.FK_TblDetailedInfo_Title" FromRole="Title" ToRole="TblDetailedInfo" />
  12219. <NavigationProperty Name="TblLeads" Relationship="ProvisionStagingModel.FK_TblLeads_SpouseTitle" FromRole="Title" ToRole="TblLead" />
  12220. <NavigationProperty Name="TblLeads1" Relationship="ProvisionStagingModel.FK_TblLeads_Title" FromRole="Title" ToRole="TblLead" />
  12221. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_Title" FromRole="Title" ToRole="TblPersonnel" />
  12222. <NavigationProperty Name="TblPortfolios" Relationship="ProvisionStagingModel.FK_TblPortfolio_SpouseTitle" FromRole="Title" ToRole="TblPortfolio" />
  12223. <NavigationProperty Name="TblPortfolios1" Relationship="ProvisionStagingModel.FK_TblPortfolio_Title" FromRole="Title" ToRole="TblPortfolio" />
  12224. </EntityType>
  12225. <EntityType Name="TransfigContractInfo">
  12226. <Key>
  12227. <PropertyRef Name="OID" />
  12228. </Key>
  12229. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12230. <Property Name="ContractType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12231. <Property Name="SellingDate" Type="DateTime" Precision="3" />
  12232. <Property Name="ClubUnits" Type="Int32" />
  12233. <Property Name="CostPerUnit" Type="Decimal" Precision="19" Scale="4" />
  12234. <Property Name="PurchasePrice" Type="Decimal" Precision="19" Scale="4" />
  12235. <Property Name="DepositAmount" Type="Decimal" Precision="19" Scale="4" />
  12236. <Property Name="Period" Type="Int32" />
  12237. <Property Name="InterestRate" Type="Decimal" Precision="19" Scale="4" />
  12238. <Property Name="TransfigKey" Type="Int32" />
  12239. <Property Name="OptimisticLockField" Type="Int32" />
  12240. <Property Name="GCRecord" Type="Int32" />
  12241. <Property Name="DottedStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12242. <Property Name="DottedDate" Type="DateTime" Precision="3" />
  12243. <NavigationProperty Name="Transfiguration" Relationship="Self.FK_TransfigContractInfo_TransfigKey" FromRole="TransfigContractInfo" ToRole="Transfigurations" />
  12244. </EntityType>
  12245. <EntityType Name="TransfigSearchResult">
  12246. <Key>
  12247. <PropertyRef Name="OID" />
  12248. </Key>
  12249. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12250. <Property Name="ClientInitials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12251. <Property Name="ClientSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12252. <Property Name="ClientTitle" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12253. <Property Name="ClientEmail" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12254. <Property Name="ClientClub" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12255. <Property Name="ClientMemNum" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12256. <Property Name="ClientIDNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12257. <Property Name="ClientTel" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12258. <Property Name="SearchResKey" Type="Int32" />
  12259. <Property Name="OptimisticLockField" Type="Int32" />
  12260. <Property Name="GCRecord" Type="Int32" />
  12261. <Property Name="Developer" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12262. <Property Name="ContractStatus" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
  12263. <Property Name="TypeOfContract" Type="Int32" />
  12264. <Property Name="RCIMemberNo" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
  12265. <Property Name="CertificateName" Type="String" MaxLength="60" FixedLength="false" Unicode="true" />
  12266. <NavigationProperty Name="Transfiguration" Relationship="Self.FK_TransfigSearchResults_SearchResKey" FromRole="TransfigSearchResults" ToRole="Transfigurations" />
  12267. </EntityType>
  12268. <EntityType Name="Transfiguration">
  12269. <Key>
  12270. <PropertyRef Name="OID" />
  12271. </Key>
  12272. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12273. <Property Name="OverideActive" Type="Boolean" />
  12274. <Property Name="SalesManager" Type="Int32" />
  12275. <Property Name="PrimeRate" Type="Decimal" Precision="19" Scale="4" />
  12276. <Property Name="TransfigStatus" Type="Int32" />
  12277. <Property Name="SalesAgent" Type="Int32" />
  12278. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12279. <Property Name="FirstNames" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12280. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12281. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  12282. <Property Name="SPSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12283. <Property Name="SPFirstNames" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12284. <Property Name="SPInitials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12285. <Property Name="SPTitle" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  12286. <Property Name="JointPurchase" Type="Boolean" />
  12287. <Property Name="HowMarried" Type="Int32" />
  12288. <Property Name="AddrLine1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12289. <Property Name="AddrLine2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12290. <Property Name="AddrLine3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12291. <Property Name="AddrLine4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12292. <Property Name="PostalCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12293. <Property Name="PostAddr1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12294. <Property Name="PostAddr2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12295. <Property Name="PostAddr3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12296. <Property Name="PostAddr4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12297. <Property Name="PostPostCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12298. <Property Name="MembershipNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12299. <Property Name="TelephoneNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12300. <Property Name="BusinessPhoneNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12301. <Property Name="Cellphone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12302. <Property Name="Email" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12303. <Property Name="SPEmail" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12304. <Property Name="IDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12305. <Property Name="SPIDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12306. <Property Name="MFCommencementDate" Type="DateTime" Precision="3" />
  12307. <Property Name="CapitalCommencementDate" Type="DateTime" Precision="3" />
  12308. <Property Name="InsuranceCommencementDate" Type="DateTime" Precision="3" />
  12309. <Property Name="ActivationYear" Type="Int32" />
  12310. <Property Name="DeferUsage" Type="Boolean" />
  12311. <Property Name="Notes" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  12312. <Property Name="TransfigDate" Type="DateTime" Precision="3" />
  12313. <Property Name="NewCompany" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  12314. <Property Name="ContractNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12315. <Property Name="TFContractNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12316. <Property Name="Developer" Type="Int32" />
  12317. <Property Name="OldCompany" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  12318. <Property Name="ClubUnits" Type="Int32" />
  12319. <Property Name="CapitalOutstanding" Type="Decimal" Precision="19" Scale="4" />
  12320. <Property Name="CapitalBF" Type="Decimal" Precision="19" Scale="4" />
  12321. <Property Name="CapitalACB" Type="Decimal" Precision="19" Scale="4" />
  12322. <Property Name="CapitalREC" Type="Decimal" Precision="19" Scale="4" />
  12323. <Property Name="CapitalDJC" Type="Decimal" Precision="19" Scale="4" />
  12324. <Property Name="CapitalDJD" Type="Decimal" Precision="19" Scale="4" />
  12325. <Property Name="CapitalSF" Type="Decimal" Precision="19" Scale="4" />
  12326. <Property Name="CapitalINT" Type="Decimal" Precision="19" Scale="4" />
  12327. <Property Name="CapitalOther" Type="Decimal" Precision="19" Scale="4" />
  12328. <Property Name="CapitalInstallment" Type="Decimal" Precision="19" Scale="4" />
  12329. <Property Name="CapitalServiceFee" Type="Decimal" Precision="19" Scale="4" />
  12330. <Property Name="CapitalInterest" Type="Decimal" Precision="19" Scale="4" />
  12331. <Property Name="CapitalArrears" Type="Decimal" Precision="19" Scale="4" />
  12332. <Property Name="MFOutstanding" Type="Decimal" Precision="19" Scale="4" />
  12333. <Property Name="MFBF" Type="Decimal" Precision="19" Scale="4" />
  12334. <Property Name="MFACB" Type="Decimal" Precision="19" Scale="4" />
  12335. <Property Name="MFREC" Type="Decimal" Precision="19" Scale="4" />
  12336. <Property Name="MFDJC" Type="Decimal" Precision="19" Scale="4" />
  12337. <Property Name="MFDJD" Type="Decimal" Precision="19" Scale="4" />
  12338. <Property Name="MFSF" Type="Decimal" Precision="19" Scale="4" />
  12339. <Property Name="MFINT" Type="Decimal" Precision="19" Scale="4" />
  12340. <Property Name="MFOther" Type="Decimal" Precision="19" Scale="4" />
  12341. <Property Name="MFInstallment" Type="Decimal" Precision="19" Scale="4" />
  12342. <Property Name="MFServiceFee" Type="Decimal" Precision="19" Scale="4" />
  12343. <Property Name="MFArrears" Type="Decimal" Precision="19" Scale="4" />
  12344. <Property Name="LifeOutstanding" Type="Decimal" Precision="19" Scale="4" />
  12345. <Property Name="LifeBF" Type="Decimal" Precision="19" Scale="4" />
  12346. <Property Name="LifeACB" Type="Decimal" Precision="19" Scale="4" />
  12347. <Property Name="LifeREC" Type="Decimal" Precision="19" Scale="4" />
  12348. <Property Name="LifeDJC" Type="Decimal" Precision="19" Scale="4" />
  12349. <Property Name="LifeDJD" Type="Decimal" Precision="19" Scale="4" />
  12350. <Property Name="LifeSF" Type="Decimal" Precision="19" Scale="4" />
  12351. <Property Name="LifeINT" Type="Decimal" Precision="19" Scale="4" />
  12352. <Property Name="LifeOther" Type="Decimal" Precision="19" Scale="4" />
  12353. <Property Name="LifeInstallment" Type="Decimal" Precision="19" Scale="4" />
  12354. <Property Name="LifeServiceFee" Type="Decimal" Precision="19" Scale="4" />
  12355. <Property Name="LifeArrears" Type="Decimal" Precision="19" Scale="4" />
  12356. <Property Name="sumOriginalUnits" Type="Int32" />
  12357. <Property Name="sumAddendumUnits" Type="Int32" />
  12358. <Property Name="sumTradeInUnits" Type="Int32" />
  12359. <Property Name="sumFiniteUnits" Type="Int32" />
  12360. <Property Name="sumCarryUnits" Type="Int32" />
  12361. <Property Name="sumManFeeCarry" Type="Decimal" Precision="19" Scale="4" />
  12362. <Property Name="cccFiniteUnits" Type="Int32" />
  12363. <Property Name="cmfCurrentManFee" Type="Decimal" Precision="19" Scale="4" />
  12364. <Property Name="cmfClubUnitsAvail" Type="Int32" />
  12365. <Property Name="PointSellingPrice" Type="Decimal" Precision="19" Scale="4" />
  12366. <Property Name="NewPoints" Type="Int32" />
  12367. <Property Name="PaymentType" Type="Int32" />
  12368. <Property Name="PayPeriod" Type="Int32" />
  12369. <Property Name="CashPayPeriod" Type="Int32" />
  12370. <Property Name="Insurance" Type="Int32" />
  12371. <Property Name="DepositPercent" Type="Int32" />
  12372. <Property Name="FinitePoints" Type="Int32" />
  12373. <Property Name="InterestCharged" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12374. <Property Name="InterestAdjustment" Type="Int32" />
  12375. <Property Name="ManagementFeeDue" Type="Decimal" Precision="19" Scale="4" />
  12376. <Property Name="ManagementFeeYear" Type="Int32" />
  12377. <Property Name="BaseInstallment" Type="Decimal" Precision="19" Scale="4" />
  12378. <Property Name="BankName" Type="Int32" />
  12379. <Property Name="BranchName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12380. <Property Name="BranchNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12381. <Property Name="AccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12382. <Property Name="AccountType" Type="Int32" />
  12383. <Property Name="TotalAmount" Type="Decimal" Precision="19" Scale="4" />
  12384. <Property Name="RepayPeriod" Type="Int32" />
  12385. <Property Name="DOCommenceDate" Type="DateTime" Precision="3" />
  12386. <Property Name="ReceiveInfo" Type="Boolean" />
  12387. <Property Name="OptOut" Type="Boolean" />
  12388. <Property Name="Reconsider" Type="Boolean" />
  12389. <Property Name="OptimisticLockField" Type="Int32" />
  12390. <Property Name="GCRecord" Type="Int32" />
  12391. <Property Name="TypeOfContract" Type="Int32" />
  12392. <Property Name="AdditionalDeposit" Type="Decimal" Precision="19" Scale="4" />
  12393. <Property Name="ManagementFeeOnceOff" Type="Boolean" />
  12394. <Property Name="WindowPeriod" Type="Int32" />
  12395. <Property Name="Window1Year" Type="Int32" />
  12396. <Property Name="Window1Points" Type="Int32" />
  12397. <Property Name="Window2Year" Type="Int32" />
  12398. <Property Name="Window2Points" Type="Int32" />
  12399. <Property Name="Window3Year" Type="Int32" />
  12400. <Property Name="Window3Points" Type="Int32" />
  12401. <Property Name="FeeType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12402. <Property Name="ApplySlidingScale" Type="Boolean" />
  12403. <Property Name="UnpostedAddAmt" Type="Decimal" Precision="19" Scale="4" />
  12404. <Property Name="sumUnpostedAddUnits" Type="Int32" />
  12405. <Property Name="ZeroInterestDeal" Type="Boolean" />
  12406. <Property Name="SentToContracts" Type="Boolean" />
  12407. <Property Name="SentToContractsDate" Type="DateTime" Precision="3" />
  12408. <Property Name="DontShow" Type="Boolean" />
  12409. <Property Name="PaymentOccurrence" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12410. <Property Name="DODate" Type="DateTime" Precision="3" />
  12411. <Property Name="CompanyTrustName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12412. <Property Name="CompRegNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12413. <Property Name="MembershipNumNoClub" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12414. <Property Name="MovedToContracts" Type="Boolean" />
  12415. <Property Name="BookingRefText" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12416. <Property Name="BookingRef" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  12417. <Property Name="RegFeeDate" Type="DateTime" Precision="3" />
  12418. <Property Name="RegistrationFees" Type="Decimal" Precision="19" Scale="4" />
  12419. <Property Name="CreditCardNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12420. <Property Name="CVCNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12421. <Property Name="CardType" Type="Int32" />
  12422. <Property Name="CardExpiryDate" Type="DateTime" Precision="3" />
  12423. <Property Name="SearchByOption" Type="Int32" />
  12424. <Property Name="SearchString" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  12425. <Property Name="Portfolio" Type="Int32" />
  12426. <Property Name="ContractCurrency" Type="Int32" />
  12427. <Property Name="ConversionRate" Type="Double" />
  12428. <Property Name="PeriodInMonths" Type="Int32" />
  12429. <Property Name="PersonalDataShared" Type="Boolean" />
  12430. <Property Name="UseDefaultInterestAdjustmentValue" Type="Boolean" />
  12431. <Property Name="CommissionCode" Type="Int32" />
  12432. <Property Name="AccountTypeTEMP" Type="Int32" />
  12433. <Property Name="InsuranceReason" Type="Int32" />
  12434. <Property Name="FinitePointsExpired" Type="Boolean" />
  12435. <Property Name="IsCompany" Type="Boolean" />
  12436. <Property Name="ReceiveCorrespondence" Type="Boolean" />
  12437. <Property Name="ReconsiderReceivingInfo" Type="Boolean" />
  12438. <Property Name="CapacityOfRepresentative" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12439. <Property Name="SpouseCellphone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12440. <Property Name="SpouseWorkphone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12441. <Property Name="DefaultCommunication" Type="Int32" />
  12442. <NavigationProperty Name="Title1" Relationship="Self.FK_Transfigurations_SPTitle" FromRole="Transfigurations" ToRole="Titles" />
  12443. <NavigationProperty Name="Title2" Relationship="Self.FK_Transfigurations_Title" FromRole="Transfigurations" ToRole="Titles" />
  12444. <NavigationProperty Name="TransfigContractInfoes" Relationship="Self.FK_TransfigContractInfo_TransfigKey" FromRole="Transfigurations" ToRole="TransfigContractInfo" />
  12445. <NavigationProperty Name="TransfigSearchResults" Relationship="Self.FK_TransfigSearchResults_SearchResKey" FromRole="Transfigurations" ToRole="TransfigSearchResults" />
  12446. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_Transfigurations_Developer" FromRole="Transfiguration" ToRole="TblDeveloper" />
  12447. <NavigationProperty Name="TblInsuranceReason" Relationship="ProvisionStagingModel.FK_Transfigurations_InsuranceReason" FromRole="Transfiguration" ToRole="TblInsuranceReason" />
  12448. <NavigationProperty Name="TblOverrideAudits" Relationship="ProvisionStagingModel.FK_TblOverrideAudit_TransfigurationsKey" FromRole="Transfiguration" ToRole="TblOverrideAudit" />
  12449. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_Transfigurations_SalesAgent" FromRole="Transfiguration" ToRole="TblPersonnel" />
  12450. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_Transfigurations_SalesManager" FromRole="Transfiguration" ToRole="TblPersonnel" />
  12451. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_Transfigurations_Portfolio" FromRole="Transfiguration" ToRole="TblPortfolio" />
  12452. </EntityType>
  12453. <EntityType Name="UserAccessLog">
  12454. <Key>
  12455. <PropertyRef Name="OID" />
  12456. </Key>
  12457. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  12458. <Property Name="User" Type="Guid" />
  12459. <Property Name="IPAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12460. <Property Name="Date" Type="DateTime" Precision="3" />
  12461. <Property Name="OptimisticLockField" Type="Int32" />
  12462. <Property Name="GCRecord" Type="Int32" />
  12463. <Property Name="Origin" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12464. </EntityType>
  12465. <EntityType Name="User">
  12466. <Key>
  12467. <PropertyRef Name="Oid" />
  12468. </Key>
  12469. <Property Name="Oid" Type="Guid" Nullable="false" />
  12470. <Property Name="StoredPassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12471. <Property Name="UserName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  12472. <Property Name="ChangePasswordOnFirstLogon" Type="Boolean" />
  12473. <Property Name="IsActive" Type="Boolean" />
  12474. <Property Name="OptimisticLockField" Type="Int32" />
  12475. <Property Name="GCRecord" Type="Int32" />
  12476. <Property Name="Franchisee" Type="Boolean" />
  12477. </EntityType>
  12478. <Association Name="FK_TblUpdateBankingDetailContractDetails_UpdateDetails">
  12479. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetail" Multiplicity="0..1" />
  12480. <End Role="TblUpdateBankingDetailContractDetails" Type="Self.TblUpdateBankingDetailContractDetail" Multiplicity="*" />
  12481. <ReferentialConstraint>
  12482. <Principal Role="TblUpdateBankingDetails">
  12483. <PropertyRef Name="OID" />
  12484. </Principal>
  12485. <Dependent Role="TblUpdateBankingDetailContractDetails">
  12486. <PropertyRef Name="UpdateDetails" />
  12487. </Dependent>
  12488. </ReferentialConstraint>
  12489. </Association>
  12490. <Association Name="FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails">
  12491. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetail" Multiplicity="0..1" />
  12492. <End Role="TblUpdateBankingDetailDebtorBanking" Type="Self.TblUpdateBankingDetailDebtorBanking" Multiplicity="*" />
  12493. <ReferentialConstraint>
  12494. <Principal Role="TblUpdateBankingDetails">
  12495. <PropertyRef Name="OID" />
  12496. </Principal>
  12497. <Dependent Role="TblUpdateBankingDetailDebtorBanking">
  12498. <PropertyRef Name="UpdateDetails" />
  12499. </Dependent>
  12500. </ReferentialConstraint>
  12501. </Association>
  12502. <Association Name="FK_TblUpdateBankingDetailsOverride_Reference">
  12503. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetail" Multiplicity="0..1" />
  12504. <End Role="TblUpdateBankingDetailsOverride" Type="Self.TblUpdateBankingDetailsOverride" Multiplicity="*" />
  12505. <ReferentialConstraint>
  12506. <Principal Role="TblUpdateBankingDetails">
  12507. <PropertyRef Name="OID" />
  12508. </Principal>
  12509. <Dependent Role="TblUpdateBankingDetailsOverride">
  12510. <PropertyRef Name="Reference" />
  12511. </Dependent>
  12512. </ReferentialConstraint>
  12513. </Association>
  12514. <Association Name="FK_TblUpdateContractBankingDetailsLog_UpdateDetails">
  12515. <End Role="TblUpdateBankingDetails" Type="Self.TblUpdateBankingDetail" Multiplicity="0..1" />
  12516. <End Role="TblUpdateContractBankingDetailsLog" Type="Self.TblUpdateContractBankingDetailsLog" Multiplicity="*" />
  12517. <ReferentialConstraint>
  12518. <Principal Role="TblUpdateBankingDetails">
  12519. <PropertyRef Name="OID" />
  12520. </Principal>
  12521. <Dependent Role="TblUpdateContractBankingDetailsLog">
  12522. <PropertyRef Name="UpdateDetails" />
  12523. </Dependent>
  12524. </ReferentialConstraint>
  12525. </Association>
  12526. <Association Name="FK_TblUpdateBankingDetailsOverrideDocuments_Override">
  12527. <End Role="TblUpdateBankingDetailsOverride" Type="Self.TblUpdateBankingDetailsOverride" Multiplicity="0..1" />
  12528. <End Role="TblUpdateBankingDetailsOverrideDocuments" Type="Self.TblUpdateBankingDetailsOverrideDocument" Multiplicity="*" />
  12529. <ReferentialConstraint>
  12530. <Principal Role="TblUpdateBankingDetailsOverride">
  12531. <PropertyRef Name="OID" />
  12532. </Principal>
  12533. <Dependent Role="TblUpdateBankingDetailsOverrideDocuments">
  12534. <PropertyRef Name="Override" />
  12535. </Dependent>
  12536. </ReferentialConstraint>
  12537. </Association>
  12538. <Association Name="FK_TblVoucher_VoucherSeries">
  12539. <End Role="TblVoucherSeries" Type="Self.TblVoucherSery" Multiplicity="0..1" />
  12540. <End Role="TblVoucher" Type="Self.TblVoucher" Multiplicity="*" />
  12541. <ReferentialConstraint>
  12542. <Principal Role="TblVoucherSeries">
  12543. <PropertyRef Name="OID" />
  12544. </Principal>
  12545. <Dependent Role="TblVoucher">
  12546. <PropertyRef Name="VoucherSeries" />
  12547. </Dependent>
  12548. </ReferentialConstraint>
  12549. </Association>
  12550. <Association Name="FK_TblWeekBanking_WeekModule">
  12551. <End Role="TblWeekModule" Type="Self.TblWeekModule" Multiplicity="0..1" />
  12552. <End Role="TblWeekBanking" Type="Self.TblWeekBanking" Multiplicity="*" />
  12553. <ReferentialConstraint>
  12554. <Principal Role="TblWeekModule">
  12555. <PropertyRef Name="OID" />
  12556. </Principal>
  12557. <Dependent Role="TblWeekBanking">
  12558. <PropertyRef Name="WeekModule" />
  12559. </Dependent>
  12560. </ReferentialConstraint>
  12561. </Association>
  12562. <Association Name="FK_Transfigurations_SPTitle">
  12563. <End Role="Titles" Type="Self.Title" Multiplicity="0..1" />
  12564. <End Role="Transfigurations" Type="Self.Transfiguration" Multiplicity="*" />
  12565. <ReferentialConstraint>
  12566. <Principal Role="Titles">
  12567. <PropertyRef Name="Title1" />
  12568. </Principal>
  12569. <Dependent Role="Transfigurations">
  12570. <PropertyRef Name="SPTitle" />
  12571. </Dependent>
  12572. </ReferentialConstraint>
  12573. </Association>
  12574. <Association Name="FK_Transfigurations_Title">
  12575. <End Role="Titles" Type="Self.Title" Multiplicity="0..1" />
  12576. <End Role="Transfigurations" Type="Self.Transfiguration" Multiplicity="*" />
  12577. <ReferentialConstraint>
  12578. <Principal Role="Titles">
  12579. <PropertyRef Name="Title1" />
  12580. </Principal>
  12581. <Dependent Role="Transfigurations">
  12582. <PropertyRef Name="Title" />
  12583. </Dependent>
  12584. </ReferentialConstraint>
  12585. </Association>
  12586. <Association Name="FK_TransfigContractInfo_TransfigKey">
  12587. <End Role="Transfigurations" Type="Self.Transfiguration" Multiplicity="0..1" />
  12588. <End Role="TransfigContractInfo" Type="Self.TransfigContractInfo" Multiplicity="*" />
  12589. <ReferentialConstraint>
  12590. <Principal Role="Transfigurations">
  12591. <PropertyRef Name="OID" />
  12592. </Principal>
  12593. <Dependent Role="TransfigContractInfo">
  12594. <PropertyRef Name="TransfigKey" />
  12595. </Dependent>
  12596. </ReferentialConstraint>
  12597. </Association>
  12598. <Association Name="FK_TransfigSearchResults_SearchResKey">
  12599. <End Role="Transfigurations" Type="Self.Transfiguration" Multiplicity="0..1" />
  12600. <End Role="TransfigSearchResults" Type="Self.TransfigSearchResult" Multiplicity="*" />
  12601. <ReferentialConstraint>
  12602. <Principal Role="Transfigurations">
  12603. <PropertyRef Name="OID" />
  12604. </Principal>
  12605. <Dependent Role="TransfigSearchResults">
  12606. <PropertyRef Name="SearchResKey" />
  12607. </Dependent>
  12608. </ReferentialConstraint>
  12609. </Association>
  12610. <EntityContainer Name="ProvisionStagingEntities" annotation:LazyLoadingEnabled="true">
  12611. <EntitySet Name="TblTransferFunds" EntityType="Self.TblTransferFund" />
  12612. <EntitySet Name="TblUnipointBookings" EntityType="Self.TblUnipointBooking" />
  12613. <EntitySet Name="TblUnipointBookingWeeks" EntityType="Self.TblUnipointBookingWeek" />
  12614. <EntitySet Name="TblUpdateBankingDetailContractDetails" EntityType="Self.TblUpdateBankingDetailContractDetail" />
  12615. <EntitySet Name="TblUpdateBankingDetailDebtorBankings" EntityType="Self.TblUpdateBankingDetailDebtorBanking" />
  12616. <EntitySet Name="TblUpdateBankingDetails" EntityType="Self.TblUpdateBankingDetail" />
  12617. <EntitySet Name="TblUpdateBankingDetailsOverrides" EntityType="Self.TblUpdateBankingDetailsOverride" />
  12618. <EntitySet Name="TblUpdateBankingDetailsOverrideDocuments" EntityType="Self.TblUpdateBankingDetailsOverrideDocument" />
  12619. <EntitySet Name="TblUpdateContractBankingDetailsLogs" EntityType="Self.TblUpdateContractBankingDetailsLog" />
  12620. <EntitySet Name="TblVouchers" EntityType="Self.TblVoucher" />
  12621. <EntitySet Name="TblVoucherSeries" EntityType="Self.TblVoucherSery" />
  12622. <EntitySet Name="TblVoucherTypes" EntityType="Self.TblVoucherType" />
  12623. <EntitySet Name="TblWeekBankings" EntityType="Self.TblWeekBanking" />
  12624. <EntitySet Name="TblWeekModules" EntityType="Self.TblWeekModule" />
  12625. <EntitySet Name="TelemarketingSMSSettings" EntityType="Self.TelemarketingSMSSetting" />
  12626. <EntitySet Name="Titles" EntityType="Self.Title" />
  12627. <EntitySet Name="TransfigContractInfoes" EntityType="Self.TransfigContractInfo" />
  12628. <EntitySet Name="TransfigSearchResults" EntityType="Self.TransfigSearchResult" />
  12629. <EntitySet Name="Transfigurations" EntityType="Self.Transfiguration" />
  12630. <EntitySet Name="UserAccessLogs" EntityType="Self.UserAccessLog" />
  12631. <EntitySet Name="Users" EntityType="Self.User" />
  12632. <AssociationSet Name="FK_TblUpdateBankingDetailContractDetails_UpdateDetails" Association="Self.FK_TblUpdateBankingDetailContractDetails_UpdateDetails">
  12633. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  12634. <End Role="TblUpdateBankingDetailContractDetails" EntitySet="TblUpdateBankingDetailContractDetails" />
  12635. </AssociationSet>
  12636. <AssociationSet Name="FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails" Association="Self.FK_TblUpdateBankingDetailDebtorBanking_UpdateDetails">
  12637. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  12638. <End Role="TblUpdateBankingDetailDebtorBanking" EntitySet="TblUpdateBankingDetailDebtorBankings" />
  12639. </AssociationSet>
  12640. <AssociationSet Name="FK_TblUpdateBankingDetailsOverride_Reference" Association="Self.FK_TblUpdateBankingDetailsOverride_Reference">
  12641. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  12642. <End Role="TblUpdateBankingDetailsOverride" EntitySet="TblUpdateBankingDetailsOverrides" />
  12643. </AssociationSet>
  12644. <AssociationSet Name="FK_TblUpdateContractBankingDetailsLog_UpdateDetails" Association="Self.FK_TblUpdateContractBankingDetailsLog_UpdateDetails">
  12645. <End Role="TblUpdateBankingDetails" EntitySet="TblUpdateBankingDetails" />
  12646. <End Role="TblUpdateContractBankingDetailsLog" EntitySet="TblUpdateContractBankingDetailsLogs" />
  12647. </AssociationSet>
  12648. <AssociationSet Name="FK_TblUpdateBankingDetailsOverrideDocuments_Override" Association="Self.FK_TblUpdateBankingDetailsOverrideDocuments_Override">
  12649. <End Role="TblUpdateBankingDetailsOverride" EntitySet="TblUpdateBankingDetailsOverrides" />
  12650. <End Role="TblUpdateBankingDetailsOverrideDocuments" EntitySet="TblUpdateBankingDetailsOverrideDocuments" />
  12651. </AssociationSet>
  12652. <AssociationSet Name="FK_TblVoucher_VoucherSeries" Association="Self.FK_TblVoucher_VoucherSeries">
  12653. <End Role="TblVoucherSeries" EntitySet="TblVoucherSeries" />
  12654. <End Role="TblVoucher" EntitySet="TblVouchers" />
  12655. </AssociationSet>
  12656. <AssociationSet Name="FK_TblWeekBanking_WeekModule" Association="Self.FK_TblWeekBanking_WeekModule">
  12657. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  12658. <End Role="TblWeekBanking" EntitySet="TblWeekBankings" />
  12659. </AssociationSet>
  12660. <AssociationSet Name="FK_Transfigurations_SPTitle" Association="Self.FK_Transfigurations_SPTitle">
  12661. <End Role="Titles" EntitySet="Titles" />
  12662. <End Role="Transfigurations" EntitySet="Transfigurations" />
  12663. </AssociationSet>
  12664. <AssociationSet Name="FK_Transfigurations_Title" Association="Self.FK_Transfigurations_Title">
  12665. <End Role="Titles" EntitySet="Titles" />
  12666. <End Role="Transfigurations" EntitySet="Transfigurations" />
  12667. </AssociationSet>
  12668. <AssociationSet Name="FK_TransfigContractInfo_TransfigKey" Association="Self.FK_TransfigContractInfo_TransfigKey">
  12669. <End Role="Transfigurations" EntitySet="Transfigurations" />
  12670. <End Role="TransfigContractInfo" EntitySet="TransfigContractInfoes" />
  12671. </AssociationSet>
  12672. <AssociationSet Name="FK_TransfigSearchResults_SearchResKey" Association="Self.FK_TransfigSearchResults_SearchResKey">
  12673. <End Role="Transfigurations" EntitySet="Transfigurations" />
  12674. <End Role="TransfigSearchResults" EntitySet="TransfigSearchResults" />
  12675. </AssociationSet>
  12676. <EntitySet Name="TblResorts" EntityType="ProvisionStagingModel.TblResort" />
  12677. <EntitySet Name="TblResortExternalSalesPeriods" EntityType="ProvisionStagingModel.TblResortExternalSalesPeriod" />
  12678. <EntitySet Name="TblResortExternalSalesPeriodRules" EntityType="ProvisionStagingModel.TblResortExternalSalesPeriodRule" />
  12679. <EntitySet Name="TblResortManagingAgents" EntityType="ProvisionStagingModel.TblResortManagingAgent" />
  12680. <EntitySet Name="TblResortNotes" EntityType="ProvisionStagingModel.TblResortNote" />
  12681. <EntitySet Name="TblResortRebateBlocks" EntityType="ProvisionStagingModel.TblResortRebateBlock" />
  12682. <EntitySet Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" EntityType="ProvisionStagingModel.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  12683. <EntitySet Name="TblResortSalesPeriods" EntityType="ProvisionStagingModel.TblResortSalesPeriod" />
  12684. <EntitySet Name="TblResortSalesPeriodRules" EntityType="ProvisionStagingModel.TblResortSalesPeriodRule" />
  12685. <EntitySet Name="TblSACRRABatches" EntityType="ProvisionStagingModel.TblSACRRABatch" />
  12686. <EntitySet Name="TblSACRRAConsoftDataChecks" EntityType="ProvisionStagingModel.TblSACRRAConsoftDataCheck" />
  12687. <EntitySet Name="TblSACRRAConsoftGlobalDatas" EntityType="ProvisionStagingModel.TblSACRRAConsoftGlobalData" />
  12688. <EntitySet Name="TblSACRRAConsoftStatuses" EntityType="ProvisionStagingModel.TblSACRRAConsoftStatus" />
  12689. <EntitySet Name="TblSACRRADatas" EntityType="ProvisionStagingModel.TblSACRRAData" />
  12690. <EntitySet Name="TblSACRRADebtorGAPGALs" EntityType="ProvisionStagingModel.TblSACRRADebtorGAPGAL" />
  12691. <EntitySet Name="TblSACRRADebtorStatus" EntityType="ProvisionStagingModel.TblSACRRADebtorStatu" />
  12692. <EntitySet Name="TblSACRRAFiles" EntityType="ProvisionStagingModel.TblSACRRAFile" />
  12693. <EntitySet Name="TblSACRRAFileSettings" EntityType="ProvisionStagingModel.TblSACRRAFileSetting" />
  12694. <EntitySet Name="TblSACRRAFilesToEncrypts" EntityType="ProvisionStagingModel.TblSACRRAFilesToEncrypt" />
  12695. <EntitySet Name="TblSACRRAOnceOffStatusSettings" EntityType="ProvisionStagingModel.TblSACRRAOnceOffStatusSetting" />
  12696. <EntitySet Name="TblSACRRASettings" EntityType="ProvisionStagingModel.TblSACRRASetting" />
  12697. <EntitySet Name="TblSACRRAStatusExceptions" EntityType="ProvisionStagingModel.TblSACRRAStatusException" />
  12698. <EntitySet Name="TblSACRRAStatusSettings" EntityType="ProvisionStagingModel.TblSACRRAStatusSetting" />
  12699. <EntitySet Name="TblSACRRAValidStatuses" EntityType="ProvisionStagingModel.TblSACRRAValidStatus" />
  12700. <EntitySet Name="TblSalesCommAmountScales" EntityType="ProvisionStagingModel.TblSalesCommAmountScale" />
  12701. <EntitySet Name="TblSalesCommCountScales" EntityType="ProvisionStagingModel.TblSalesCommCountScale" />
  12702. <EntitySet Name="TblSalesCommDataStores" EntityType="ProvisionStagingModel.TblSalesCommDataStore" />
  12703. <EntitySet Name="TblSalesCommEarnerTypes" EntityType="ProvisionStagingModel.TblSalesCommEarnerType" />
  12704. <EntitySet Name="TblSalesCommFixedAmounts" EntityType="ProvisionStagingModel.TblSalesCommFixedAmount" />
  12705. <EntitySet Name="TblSalesCommissionAdditionals" EntityType="ProvisionStagingModel.TblSalesCommissionAdditional" />
  12706. <EntitySet Name="TblSalesCommissionClawbacks" EntityType="ProvisionStagingModel.TblSalesCommissionClawback" />
  12707. <EntitySet Name="TblSalesCommissionEquities" EntityType="ProvisionStagingModel.TblSalesCommissionEquity" />
  12708. <EntitySet Name="TblSalesCommissionInfoes" EntityType="ProvisionStagingModel.TblSalesCommissionInfo" />
  12709. <EntitySet Name="TblSalesCommissionPercentages" EntityType="ProvisionStagingModel.TblSalesCommissionPercentage" />
  12710. <EntitySet Name="TblSalesCommissionPeriods" EntityType="ProvisionStagingModel.TblSalesCommissionPeriod" />
  12711. <EntitySet Name="TblSalesCommissionSeasons" EntityType="ProvisionStagingModel.TblSalesCommissionSeason" />
  12712. <EntitySet Name="TblSalesCommissionTransactions" EntityType="ProvisionStagingModel.TblSalesCommissionTransaction" />
  12713. <EntitySet Name="TblSalesCommMonths" EntityType="ProvisionStagingModel.TblSalesCommMonth" />
  12714. <EntitySet Name="TblSalesCommRegionBasedMonths" EntityType="ProvisionStagingModel.TblSalesCommRegionBasedMonth" />
  12715. <EntitySet Name="TblSalesCommSkippedCommissions" EntityType="ProvisionStagingModel.TblSalesCommSkippedCommission" />
  12716. <EntitySet Name="TblSalesCommStatements" EntityType="ProvisionStagingModel.TblSalesCommStatement" />
  12717. <EntitySet Name="TblSalesCommWeeks" EntityType="ProvisionStagingModel.TblSalesCommWeek" />
  12718. <EntitySet Name="TblSalesPeriods" EntityType="ProvisionStagingModel.TblSalesPeriod" />
  12719. <EntitySet Name="TblSalesPeriodWeekEndings" EntityType="ProvisionStagingModel.TblSalesPeriodWeekEnding" />
  12720. <EntitySet Name="TblSalesRegisters" EntityType="ProvisionStagingModel.TblSalesRegister" />
  12721. <EntitySet Name="TblSalesRegisterHdrs" EntityType="ProvisionStagingModel.TblSalesRegisterHdr" />
  12722. <EntitySet Name="TblSalesVenues" EntityType="ProvisionStagingModel.TblSalesVenue" />
  12723. <EntitySet Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" EntityType="ProvisionStagingModel.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  12724. <EntitySet Name="TblSalesVenueClubAdjustments" EntityType="ProvisionStagingModel.TblSalesVenueClubAdjustment" />
  12725. <EntitySet Name="TblSalesVenueClubDevelopers" EntityType="ProvisionStagingModel.TblSalesVenueClubDeveloper" />
  12726. <EntitySet Name="TblSalesVenueCommissionGroups" EntityType="ProvisionStagingModel.TblSalesVenueCommissionGroup" />
  12727. <EntitySet Name="TblSalesVenueCommissionsSplits" EntityType="ProvisionStagingModel.TblSalesVenueCommissionsSplit" />
  12728. <EntitySet Name="TblSalesVenueCommissionsSplitCommissionTypes" EntityType="ProvisionStagingModel.TblSalesVenueCommissionsSplitCommissionType" />
  12729. <EntitySet Name="TblSalesVenueComSplitLines" EntityType="ProvisionStagingModel.TblSalesVenueComSplitLine" />
  12730. <EntitySet Name="TblSalesVenueGroups" EntityType="ProvisionStagingModel.TblSalesVenueGroup" />
  12731. <EntitySet Name="TblSalesVenueImportSources" EntityType="ProvisionStagingModel.TblSalesVenueImportSource" />
  12732. <EntitySet Name="TblSalesVenuePersonnels" EntityType="ProvisionStagingModel.TblSalesVenuePersonnel" />
  12733. <EntitySet Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" EntityType="ProvisionStagingModel.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  12734. <EntitySet Name="TblSalesVenueRegFees" EntityType="ProvisionStagingModel.TblSalesVenueRegFee" />
  12735. <EntitySet Name="TblSalesVenueRegions" EntityType="ProvisionStagingModel.TblSalesVenueRegion" />
  12736. <EntitySet Name="TblSalesVenueRegisters" EntityType="ProvisionStagingModel.TblSalesVenueRegister" />
  12737. <EntitySet Name="TblSalesVenueRegisterHdrs" EntityType="ProvisionStagingModel.TblSalesVenueRegisterHdr" />
  12738. <EntitySet Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" EntityType="ProvisionStagingModel.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  12739. <EntitySet Name="TblSalesVenueTelemarketerOffices" EntityType="ProvisionStagingModel.TblSalesVenueTelemarketerOffice" />
  12740. <EntitySet Name="TblSalesVenueTelemarketerOffice_bak" EntityType="ProvisionStagingModel.TblSalesVenueTelemarketerOffice_bak" />
  12741. <EntitySet Name="TblSalesVenueWeeklyTargetSplits" EntityType="ProvisionStagingModel.TblSalesVenueWeeklyTargetSplit" />
  12742. <EntitySet Name="TblSCV2CommissionContract" EntityType="ProvisionStagingModel.TblSCV2CommissionContract" />
  12743. <EntitySet Name="TblSCV2CommissionPeriod" EntityType="ProvisionStagingModel.TblSCV2CommissionPeriod" />
  12744. <EntitySet Name="TblSCV2CommissionStructure" EntityType="ProvisionStagingModel.TblSCV2CommissionStructure" />
  12745. <EntitySet Name="TblSCV2CommissionWeek" EntityType="ProvisionStagingModel.TblSCV2CommissionWeek" />
  12746. <EntitySet Name="TblSCV2ErrorLog" EntityType="ProvisionStagingModel.TblSCV2ErrorLog" />
  12747. <EntitySet Name="TblSCV2RegionalManagerContractTypeOverride" EntityType="ProvisionStagingModel.TblSCV2RegionalManagerContractTypeOverride" />
  12748. <EntitySet Name="TblSCV2SalesVenueScale" EntityType="ProvisionStagingModel.TblSCV2SalesVenueScale" />
  12749. <EntitySet Name="TblSCV2Scales" EntityType="ProvisionStagingModel.TblSCV2Scales" />
  12750. <EntitySet Name="TblSCV2SpecialScales" EntityType="ProvisionStagingModel.TblSCV2SpecialScales" />
  12751. <EntitySet Name="TblSCV2SpecialStructure" EntityType="ProvisionStagingModel.TblSCV2SpecialStructure" />
  12752. <EntitySet Name="TblSCV2Transaction" EntityType="ProvisionStagingModel.TblSCV2Transaction" />
  12753. <EntitySet Name="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" EntityType="ProvisionStagingModel.TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" />
  12754. <EntitySet Name="TblSeasonsRankings" EntityType="ProvisionStagingModel.TblSeasonsRanking" />
  12755. <EntitySet Name="TblSessionOverrides" EntityType="ProvisionStagingModel.TblSessionOverride" />
  12756. <EntitySet Name="TblSleeperRankings" EntityType="ProvisionStagingModel.TblSleeperRanking" />
  12757. <EntitySet Name="TblSMICommissionContracts" EntityType="ProvisionStagingModel.TblSMICommissionContract" />
  12758. <EntitySet Name="TblSMICommissionInfoes" EntityType="ProvisionStagingModel.TblSMICommissionInfo" />
  12759. <EntitySet Name="TblSMICommissionPeriods" EntityType="ProvisionStagingModel.TblSMICommissionPeriod" />
  12760. <EntitySet Name="TblSMICommissionWeeks" EntityType="ProvisionStagingModel.TblSMICommissionWeek" />
  12761. <EntitySet Name="TblSMIIncentives" EntityType="ProvisionStagingModel.TblSMIIncentive" />
  12762. <EntitySet Name="TblSMIIncentiveLevels" EntityType="ProvisionStagingModel.TblSMIIncentiveLevel" />
  12763. <EntitySet Name="TblSMISalesPersonWeeks" EntityType="ProvisionStagingModel.TblSMISalesPersonWeek" />
  12764. <EntitySet Name="TblSMITransactions" EntityType="ProvisionStagingModel.TblSMITransaction" />
  12765. <EntitySet Name="TblSMSCampaignMessages" EntityType="ProvisionStagingModel.TblSMSCampaignMessage" />
  12766. <EntitySet Name="TblSMSCampaignTemplates" EntityType="ProvisionStagingModel.TblSMSCampaignTemplate" />
  12767. <EntitySet Name="TblStreamlines" EntityType="ProvisionStagingModel.TblStreamline" />
  12768. <EntitySet Name="TblSubStatus" EntityType="ProvisionStagingModel.TblSubStatu" />
  12769. <EntitySet Name="TblSubStatusSubStatus_TblCCDStatusCCDStatus" EntityType="ProvisionStagingModel.TblSubStatusSubStatus_TblCCDStatusCCDStatus" />
  12770. <EntitySet Name="TblSubStatusSubStatuses_StatusStatus" EntityType="ProvisionStagingModel.TblSubStatusSubStatuses_StatusStatus" />
  12771. <EntitySet Name="TblSuspenseTransactions" EntityType="ProvisionStagingModel.TblSuspenseTransaction" />
  12772. <EntitySet Name="TblSuspenseTransactionSplits" EntityType="ProvisionStagingModel.TblSuspenseTransactionSplit" />
  12773. <EntitySet Name="TblSystems" EntityType="ProvisionStagingModel.TblSystem" />
  12774. <EntitySet Name="TblTelemarketerOffices" EntityType="ProvisionStagingModel.TblTelemarketerOffice" />
  12775. <EntitySet Name="TblTelemarketerRegisters" EntityType="ProvisionStagingModel.TblTelemarketerRegister" />
  12776. <EntitySet Name="TblTelemarketerRegisterHdrs" EntityType="ProvisionStagingModel.TblTelemarketerRegisterHdr" />
  12777. <EntitySet Name="TblTelemarketerSlidingScales" EntityType="ProvisionStagingModel.TblTelemarketerSlidingScale" />
  12778. <EntitySet Name="TblTelemarketingCompanies" EntityType="ProvisionStagingModel.TblTelemarketingCompany" />
  12779. <EntitySet Name="TblTelephoneCodes" EntityType="ProvisionStagingModel.TblTelephoneCode" />
  12780. <EntitySet Name="TblTelephones" EntityType="ProvisionStagingModel.TblTelephone" />
  12781. <EntitySet Name="TblTelephoneTypes" EntityType="ProvisionStagingModel.TblTelephoneType" />
  12782. <EntitySet Name="TblTFGLeads" EntityType="ProvisionStagingModel.TblTFGLead" />
  12783. <EntitySet Name="TblTimeOffCampaigns" EntityType="ProvisionStagingModel.TblTimeOffCampaign" />
  12784. <EntitySet Name="TblTimeOffCompetitions" EntityType="ProvisionStagingModel.TblTimeOffCompetition" />
  12785. <EntitySet Name="TblTimeOffCompetitionCampaigns" EntityType="ProvisionStagingModel.TblTimeOffCompetitionCampaign" />
  12786. <EntitySet Name="TblTimeOffCompetitionEntries" EntityType="ProvisionStagingModel.TblTimeOffCompetitionEntry" />
  12787. <EntitySet Name="TblTimeOffConsoftComms" EntityType="ProvisionStagingModel.TblTimeOffConsoftComm" />
  12788. <EntitySet Name="TblTimeOffFriends" EntityType="ProvisionStagingModel.TblTimeOffFriend" />
  12789. <EntitySet Name="TblTimeOffNoVouchers" EntityType="ProvisionStagingModel.TblTimeOffNoVoucher" />
  12790. <EntitySet Name="TblTimeOffReferalProfiles" EntityType="ProvisionStagingModel.TblTimeOffReferalProfile" />
  12791. <EntitySet Name="TblTimeOffVouchers" EntityType="ProvisionStagingModel.TblTimeOffVoucher" />
  12792. <EntitySet Name="TblTMCommBasicTransactions" EntityType="ProvisionStagingModel.TblTMCommBasicTransaction" />
  12793. <EntitySet Name="TblTMCommDeals" EntityType="ProvisionStagingModel.TblTMCommDeal" />
  12794. <EntitySet Name="TblTMCommDealTargets" EntityType="ProvisionStagingModel.TblTMCommDealTarget" />
  12795. <EntitySet Name="TblTMCommGroups" EntityType="ProvisionStagingModel.TblTMCommGroup" />
  12796. <EntitySet Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" EntityType="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  12797. <EntitySet Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" EntityType="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  12798. <EntitySet Name="TblTMCommsAudits" EntityType="ProvisionStagingModel.TblTMCommsAudit" />
  12799. <EntitySet Name="TblTMCommsMonths" EntityType="ProvisionStagingModel.TblTMCommsMonth" />
  12800. <EntitySet Name="TblTMCommStructures" EntityType="ProvisionStagingModel.TblTMCommStructure" />
  12801. <EntitySet Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" EntityType="ProvisionStagingModel.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  12802. <EntitySet Name="TblTMCommsWeeks" EntityType="ProvisionStagingModel.TblTMCommsWeek" />
  12803. <EntitySet Name="TblTMCommTables" EntityType="ProvisionStagingModel.TblTMCommTable" />
  12804. <EntitySet Name="TblTMCommTransactions" EntityType="ProvisionStagingModel.TblTMCommTransaction" />
  12805. <EntitySet Name="TblTMCommTypes" EntityType="ProvisionStagingModel.TblTMCommType" />
  12806. <EntitySet Name="TblTrainingManagerCommissionSeasonPercentages" EntityType="ProvisionStagingModel.TblTrainingManagerCommissionSeasonPercentage" />
  12807. <EntitySet Name="TblTrainingManuals" EntityType="ProvisionStagingModel.TblTrainingManual" />
  12808. <EntitySet Name="TblTrainngManagerCommissionPercentages" EntityType="ProvisionStagingModel.TblTrainngManagerCommissionPercentage" />
  12809. <AssociationSet Name="FK_TblResort_ManagingAgent" Association="ProvisionStagingModel.FK_TblResort_ManagingAgent">
  12810. <End Role="TblResortManagingAgent" EntitySet="TblResortManagingAgents" />
  12811. <End Role="TblResort" EntitySet="TblResorts" />
  12812. </AssociationSet>
  12813. <AssociationSet Name="FK_TblResortExternalSalesPeriod_Resort" Association="ProvisionStagingModel.FK_TblResortExternalSalesPeriod_Resort">
  12814. <End Role="TblResort" EntitySet="TblResorts" />
  12815. <End Role="TblResortExternalSalesPeriod" EntitySet="TblResortExternalSalesPeriods" />
  12816. </AssociationSet>
  12817. <AssociationSet Name="FK_TblResortNotes_ResortKey" Association="ProvisionStagingModel.FK_TblResortNotes_ResortKey">
  12818. <End Role="TblResort" EntitySet="TblResorts" />
  12819. <End Role="TblResortNote" EntitySet="TblResortNotes" />
  12820. </AssociationSet>
  12821. <AssociationSet Name="FK_TblResortRebateBlock_Resort" Association="ProvisionStagingModel.FK_TblResortRebateBlock_Resort">
  12822. <End Role="TblResort" EntitySet="TblResorts" />
  12823. <End Role="TblResortRebateBlock" EntitySet="TblResortRebateBlocks" />
  12824. </AssociationSet>
  12825. <AssociationSet Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts" Association="ProvisionStagingModel.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts">
  12826. <End Role="TblResort" EntitySet="TblResorts" />
  12827. <End Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  12828. </AssociationSet>
  12829. <AssociationSet Name="FK_TblResortSalesPeriod_Resort" Association="ProvisionStagingModel.FK_TblResortSalesPeriod_Resort">
  12830. <End Role="TblResort" EntitySet="TblResorts" />
  12831. <End Role="TblResortSalesPeriod" EntitySet="TblResortSalesPeriods" />
  12832. </AssociationSet>
  12833. <AssociationSet Name="FK_TblSalesVenue_Resort" Association="ProvisionStagingModel.FK_TblSalesVenue_Resort">
  12834. <End Role="TblResort" EntitySet="TblResorts" />
  12835. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  12836. </AssociationSet>
  12837. <AssociationSet Name="FK_TblTimeOffVouchers_Resort" Association="ProvisionStagingModel.FK_TblTimeOffVouchers_Resort">
  12838. <End Role="TblResort" EntitySet="TblResorts" />
  12839. <End Role="TblTimeOffVoucher" EntitySet="TblTimeOffVouchers" />
  12840. </AssociationSet>
  12841. <AssociationSet Name="FK_TblVoucher_Resort" Association="ProvisionStagingModel.FK_TblVoucher_Resort">
  12842. <End Role="TblResort" EntitySet="TblResorts" />
  12843. <End Role="TblVoucher" EntitySet="TblVouchers" />
  12844. </AssociationSet>
  12845. <AssociationSet Name="FK_TblWeekBanking_Resort" Association="ProvisionStagingModel.FK_TblWeekBanking_Resort">
  12846. <End Role="TblResort" EntitySet="TblResorts" />
  12847. <End Role="TblWeekBanking" EntitySet="TblWeekBankings" />
  12848. </AssociationSet>
  12849. <AssociationSet Name="FK_TblWeekModule_Resort" Association="ProvisionStagingModel.FK_TblWeekModule_Resort">
  12850. <End Role="TblResort" EntitySet="TblResorts" />
  12851. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  12852. </AssociationSet>
  12853. <AssociationSet Name="FK_TblResortExternalSalesPeriodRules_SalesPeriod" Association="ProvisionStagingModel.FK_TblResortExternalSalesPeriodRules_SalesPeriod">
  12854. <End Role="TblResortExternalSalesPeriod" EntitySet="TblResortExternalSalesPeriods" />
  12855. <End Role="TblResortExternalSalesPeriodRule" EntitySet="TblResortExternalSalesPeriodRules" />
  12856. </AssociationSet>
  12857. <AssociationSet Name="FK_TblResortRebateBlock_WeekModule" Association="ProvisionStagingModel.FK_TblResortRebateBlock_WeekModule">
  12858. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  12859. <End Role="TblResortRebateBlock" EntitySet="TblResortRebateBlocks" />
  12860. </AssociationSet>
  12861. <AssociationSet Name="FK_TblResortSalesPeriodRules_SalesPeriod" Association="ProvisionStagingModel.FK_TblResortSalesPeriodRules_SalesPeriod">
  12862. <End Role="TblResortSalesPeriod" EntitySet="TblResortSalesPeriods" />
  12863. <End Role="TblResortSalesPeriodRule" EntitySet="TblResortSalesPeriodRules" />
  12864. </AssociationSet>
  12865. <AssociationSet Name="FK_TblSACRRABatch_Settings" Association="ProvisionStagingModel.FK_TblSACRRABatch_Settings">
  12866. <End Role="TblSACRRASetting" EntitySet="TblSACRRASettings" />
  12867. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatches" />
  12868. </AssociationSet>
  12869. <AssociationSet Name="FK_TblSACRRAData_Batch" Association="ProvisionStagingModel.FK_TblSACRRAData_Batch">
  12870. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatches" />
  12871. <End Role="TblSACRRAData" EntitySet="TblSACRRADatas" />
  12872. </AssociationSet>
  12873. <AssociationSet Name="FK_TblSACRRAFiles_Batch" Association="ProvisionStagingModel.FK_TblSACRRAFiles_Batch">
  12874. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatches" />
  12875. <End Role="TblSACRRAFile" EntitySet="TblSACRRAFiles" />
  12876. </AssociationSet>
  12877. <AssociationSet Name="FK_TblSACRRAFilesToEncrypt_Batch" Association="ProvisionStagingModel.FK_TblSACRRAFilesToEncrypt_Batch">
  12878. <End Role="TblSACRRABatch" EntitySet="TblSACRRABatches" />
  12879. <End Role="TblSACRRAFilesToEncrypt" EntitySet="TblSACRRAFilesToEncrypts" />
  12880. </AssociationSet>
  12881. <AssociationSet Name="FK_TblSACRRAConsoftGlobalData_SACRRAData" Association="ProvisionStagingModel.FK_TblSACRRAConsoftGlobalData_SACRRAData">
  12882. <End Role="TblSACRRAData" EntitySet="TblSACRRADatas" />
  12883. <End Role="TblSACRRAConsoftGlobalData" EntitySet="TblSACRRAConsoftGlobalDatas" />
  12884. </AssociationSet>
  12885. <AssociationSet Name="FK_TblSACRRADebtorStatus_SentToSACRRA" Association="ProvisionStagingModel.FK_TblSACRRADebtorStatus_SentToSACRRA">
  12886. <End Role="TblSACRRAData" EntitySet="TblSACRRADatas" />
  12887. <End Role="TblSACRRADebtorStatu" EntitySet="TblSACRRADebtorStatus" />
  12888. </AssociationSet>
  12889. <AssociationSet Name="FK_TblSalesCommAmountScale_EarnerType" Association="ProvisionStagingModel.FK_TblSalesCommAmountScale_EarnerType">
  12890. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerTypes" />
  12891. <End Role="TblSalesCommAmountScale" EntitySet="TblSalesCommAmountScales" />
  12892. </AssociationSet>
  12893. <AssociationSet Name="FK_TblSalesCommAmountScale_Week" Association="ProvisionStagingModel.FK_TblSalesCommAmountScale_Week">
  12894. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeeks" />
  12895. <End Role="TblSalesCommAmountScale" EntitySet="TblSalesCommAmountScales" />
  12896. </AssociationSet>
  12897. <AssociationSet Name="FK_TblSalesCommCountScale_EarnerType" Association="ProvisionStagingModel.FK_TblSalesCommCountScale_EarnerType">
  12898. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerTypes" />
  12899. <End Role="TblSalesCommCountScale" EntitySet="TblSalesCommCountScales" />
  12900. </AssociationSet>
  12901. <AssociationSet Name="FK_TblSalesCommCountScale_Week" Association="ProvisionStagingModel.FK_TblSalesCommCountScale_Week">
  12902. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeeks" />
  12903. <End Role="TblSalesCommCountScale" EntitySet="TblSalesCommCountScales" />
  12904. </AssociationSet>
  12905. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_DataStore" Association="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_DataStore">
  12906. <End Role="TblSalesCommDataStore" EntitySet="TblSalesCommDataStores" />
  12907. <End Role="TblSalesCommSkippedCommission" EntitySet="TblSalesCommSkippedCommissions" />
  12908. </AssociationSet>
  12909. <AssociationSet Name="FK_TblSalesCommStatement_DataStore" Association="ProvisionStagingModel.FK_TblSalesCommStatement_DataStore">
  12910. <End Role="TblSalesCommDataStore" EntitySet="TblSalesCommDataStores" />
  12911. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatements" />
  12912. </AssociationSet>
  12913. <AssociationSet Name="FK_TblSalesCommFixedAmount_EarnerType" Association="ProvisionStagingModel.FK_TblSalesCommFixedAmount_EarnerType">
  12914. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerTypes" />
  12915. <End Role="TblSalesCommFixedAmount" EntitySet="TblSalesCommFixedAmounts" />
  12916. </AssociationSet>
  12917. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_EarnerType" Association="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_EarnerType">
  12918. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerTypes" />
  12919. <End Role="TblSalesCommSkippedCommission" EntitySet="TblSalesCommSkippedCommissions" />
  12920. </AssociationSet>
  12921. <AssociationSet Name="FK_TblSalesCommStatement_EarnerType" Association="ProvisionStagingModel.FK_TblSalesCommStatement_EarnerType">
  12922. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerTypes" />
  12923. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatements" />
  12924. </AssociationSet>
  12925. <AssociationSet Name="FK_TblSalesCommFixedAmount_Week" Association="ProvisionStagingModel.FK_TblSalesCommFixedAmount_Week">
  12926. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeeks" />
  12927. <End Role="TblSalesCommFixedAmount" EntitySet="TblSalesCommFixedAmounts" />
  12928. </AssociationSet>
  12929. <AssociationSet Name="FK_TblSalesCommissionAdditional_SalesCommissionInfo" Association="ProvisionStagingModel.FK_TblSalesCommissionAdditional_SalesCommissionInfo">
  12930. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfoes" />
  12931. <End Role="TblSalesCommissionAdditional" EntitySet="TblSalesCommissionAdditionals" />
  12932. </AssociationSet>
  12933. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesCommissionAdditional" Association="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionAdditional">
  12934. <End Role="TblSalesCommissionAdditional" EntitySet="TblSalesCommissionAdditionals" />
  12935. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransactions" />
  12936. </AssociationSet>
  12937. <AssociationSet Name="FK_TblSalesCommissionClawback_SalesCommissionInfo" Association="ProvisionStagingModel.FK_TblSalesCommissionClawback_SalesCommissionInfo">
  12938. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfoes" />
  12939. <End Role="TblSalesCommissionClawback" EntitySet="TblSalesCommissionClawbacks" />
  12940. </AssociationSet>
  12941. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesCommissionClawback" Association="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionClawback">
  12942. <End Role="TblSalesCommissionClawback" EntitySet="TblSalesCommissionClawbacks" />
  12943. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransactions" />
  12944. </AssociationSet>
  12945. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesCommissionInfo" Association="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionInfo">
  12946. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfoes" />
  12947. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransactions" />
  12948. </AssociationSet>
  12949. <AssociationSet Name="FK_TblSalesCommissionSeasons_SalesCommissionPercentages" Association="ProvisionStagingModel.FK_TblSalesCommissionSeasons_SalesCommissionPercentages">
  12950. <End Role="TblSalesCommissionPercentage" EntitySet="TblSalesCommissionPercentages" />
  12951. <End Role="TblSalesCommissionSeason" EntitySet="TblSalesCommissionSeasons" />
  12952. </AssociationSet>
  12953. <AssociationSet Name="FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages" Association="ProvisionStagingModel.FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages">
  12954. <End Role="TblSalesCommissionPercentage" EntitySet="TblSalesCommissionPercentages" />
  12955. <End Role="TblTrainingManagerCommissionSeasonPercentage" EntitySet="TblTrainingManagerCommissionSeasonPercentages" />
  12956. </AssociationSet>
  12957. <AssociationSet Name="FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages" Association="ProvisionStagingModel.FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages">
  12958. <End Role="TblSalesCommissionPercentage" EntitySet="TblSalesCommissionPercentages" />
  12959. <End Role="TblTrainngManagerCommissionPercentage" EntitySet="TblTrainngManagerCommissionPercentages" />
  12960. </AssociationSet>
  12961. <AssociationSet Name="FK_TblSalesCommRegionBasedMonth_Month" Association="ProvisionStagingModel.FK_TblSalesCommRegionBasedMonth_Month">
  12962. <End Role="TblSalesCommMonth" EntitySet="TblSalesCommMonths" />
  12963. <End Role="TblSalesCommRegionBasedMonth" EntitySet="TblSalesCommRegionBasedMonths" />
  12964. </AssociationSet>
  12965. <AssociationSet Name="FK_TblSalesCommWeek_Month" Association="ProvisionStagingModel.FK_TblSalesCommWeek_Month">
  12966. <End Role="TblSalesCommMonth" EntitySet="TblSalesCommMonths" />
  12967. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeeks" />
  12968. </AssociationSet>
  12969. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_Week" Association="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_Week">
  12970. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeeks" />
  12971. <End Role="TblSalesCommSkippedCommission" EntitySet="TblSalesCommSkippedCommissions" />
  12972. </AssociationSet>
  12973. <AssociationSet Name="FK_TblSalesCommStatement_Week" Association="ProvisionStagingModel.FK_TblSalesCommStatement_Week">
  12974. <End Role="TblSalesCommWeek" EntitySet="TblSalesCommWeeks" />
  12975. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatements" />
  12976. </AssociationSet>
  12977. <AssociationSet Name="FK_TblSalesPeriodWeekEnding_SalesPeriod" Association="ProvisionStagingModel.FK_TblSalesPeriodWeekEnding_SalesPeriod">
  12978. <End Role="TblSalesPeriod" EntitySet="TblSalesPeriods" />
  12979. <End Role="TblSalesPeriodWeekEnding" EntitySet="TblSalesPeriodWeekEndings" />
  12980. </AssociationSet>
  12981. <AssociationSet Name="FK_TblSalesRegister_Personnel" Association="ProvisionStagingModel.FK_TblSalesRegister_Personnel">
  12982. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnels" />
  12983. <End Role="TblSalesRegister" EntitySet="TblSalesRegisters" />
  12984. </AssociationSet>
  12985. <AssociationSet Name="FK_TblSalesRegister_SalesPeople" Association="ProvisionStagingModel.FK_TblSalesRegister_SalesPeople">
  12986. <End Role="TblSalesRegisterHdr" EntitySet="TblSalesRegisterHdrs" />
  12987. <End Role="TblSalesRegister" EntitySet="TblSalesRegisters" />
  12988. </AssociationSet>
  12989. <AssociationSet Name="FK_TblSalesRegisterHdr_SalesVenue" Association="ProvisionStagingModel.FK_TblSalesRegisterHdr_SalesVenue">
  12990. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  12991. <End Role="TblSalesRegisterHdr" EntitySet="TblSalesRegisterHdrs" />
  12992. </AssociationSet>
  12993. <AssociationSet Name="FK__TblSalesV__Sales__2799C73C" Association="ProvisionStagingModel.FK__TblSalesV__Sales__2799C73C">
  12994. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  12995. <End Role="TblSalesVenueTelemarketerOffice" EntitySet="TblSalesVenueTelemarketerOffices" />
  12996. </AssociationSet>
  12997. <AssociationSet Name="FK__TblSalesV__TblSa__1C281490" Association="ProvisionStagingModel.FK__TblSalesV__TblSa__1C281490">
  12998. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  12999. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnels" />
  13000. </AssociationSet>
  13001. <AssociationSet Name="FK__TblSalesV__TblSa__21E0EDE6" Association="ProvisionStagingModel.FK__TblSalesV__TblSa__21E0EDE6">
  13002. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13003. <End Role="TblSalesVenueRegion" EntitySet="TblSalesVenueRegions" />
  13004. </AssociationSet>
  13005. <AssociationSet Name="FK_TblSalesVenue_SalesVenueCommissionGroup" Association="ProvisionStagingModel.FK_TblSalesVenue_SalesVenueCommissionGroup">
  13006. <End Role="TblSalesVenueCommissionGroup" EntitySet="TblSalesVenueCommissionGroups" />
  13007. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13008. </AssociationSet>
  13009. <AssociationSet Name="FK_TblSalesVenue_SalesVenueGroup" Association="ProvisionStagingModel.FK_TblSalesVenue_SalesVenueGroup">
  13010. <End Role="TblSalesVenueGroup" EntitySet="TblSalesVenueGroups" />
  13011. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13012. </AssociationSet>
  13013. <AssociationSet Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers" Association="ProvisionStagingModel.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers">
  13014. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13015. <End Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" EntitySet="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  13016. </AssociationSet>
  13017. <AssociationSet Name="FK_TblSalesVenueClubAdjustments_SalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueClubAdjustments_SalesVenue">
  13018. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13019. <End Role="TblSalesVenueClubAdjustment" EntitySet="TblSalesVenueClubAdjustments" />
  13020. </AssociationSet>
  13021. <AssociationSet Name="FK_TblSalesVenueClubDevelopers_TblSalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueClubDevelopers_TblSalesVenue">
  13022. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13023. <End Role="TblSalesVenueClubDeveloper" EntitySet="TblSalesVenueClubDevelopers" />
  13024. </AssociationSet>
  13025. <AssociationSet Name="FK_TblSalesVenueCommissionsSplit_SalesAgency" Association="ProvisionStagingModel.FK_TblSalesVenueCommissionsSplit_SalesAgency">
  13026. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13027. <End Role="TblSalesVenueCommissionsSplit" EntitySet="TblSalesVenueCommissionsSplits" />
  13028. </AssociationSet>
  13029. <AssociationSet Name="FK_TblSalesVenueImportSource_TblSalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueImportSource_TblSalesVenue">
  13030. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13031. <End Role="TblSalesVenueImportSource" EntitySet="TblSalesVenueImportSources" />
  13032. </AssociationSet>
  13033. <AssociationSet Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue" Association="ProvisionStagingModel.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue">
  13034. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13035. <End Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" EntitySet="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  13036. </AssociationSet>
  13037. <AssociationSet Name="FK_TblSalesVenueRegFee_TblSalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueRegFee_TblSalesVenue">
  13038. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13039. <End Role="TblSalesVenueRegFee" EntitySet="TblSalesVenueRegFees" />
  13040. </AssociationSet>
  13041. <AssociationSet Name="FK_TblSalesVenueRegisterHdr_SalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueRegisterHdr_SalesVenue">
  13042. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13043. <End Role="TblSalesVenueRegisterHdr" EntitySet="TblSalesVenueRegisterHdrs" />
  13044. </AssociationSet>
  13045. <AssociationSet Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues" Association="ProvisionStagingModel.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues">
  13046. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13047. <End Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  13048. </AssociationSet>
  13049. <AssociationSet Name="FK_TblSalesVenueTelemarketerOffice_SalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueTelemarketerOffice_SalesVenue">
  13050. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13051. <End Role="TblSalesVenueTelemarketerOffice_bak" EntitySet="TblSalesVenueTelemarketerOffice_bak" />
  13052. </AssociationSet>
  13053. <AssociationSet Name="FK_TblSalesVenueWeeklyTargetSplit_SalesVenue" Association="ProvisionStagingModel.FK_TblSalesVenueWeeklyTargetSplit_SalesVenue">
  13054. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13055. <End Role="TblSalesVenueWeeklyTargetSplit" EntitySet="TblSalesVenueWeeklyTargetSplits" />
  13056. </AssociationSet>
  13057. <AssociationSet Name="FK_TblSCV2SalesVenueScale_SalesVenue" Association="ProvisionStagingModel.FK_TblSCV2SalesVenueScale_SalesVenue">
  13058. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13059. <End Role="TblSCV2SalesVenueScale" EntitySet="TblSCV2SalesVenueScale" />
  13060. </AssociationSet>
  13061. <AssociationSet Name="FK_TblSessionOverride_SalesVenue" Association="ProvisionStagingModel.FK_TblSessionOverride_SalesVenue">
  13062. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13063. <End Role="TblSessionOverride" EntitySet="TblSessionOverrides" />
  13064. </AssociationSet>
  13065. <AssociationSet Name="FK_TblTelemarketerRegisterHdr_SalesVenue" Association="ProvisionStagingModel.FK_TblTelemarketerRegisterHdr_SalesVenue">
  13066. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13067. <End Role="TblTelemarketerRegisterHdr" EntitySet="TblTelemarketerRegisterHdrs" />
  13068. </AssociationSet>
  13069. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues" Association="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues">
  13070. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13071. <End Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" EntitySet="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  13072. </AssociationSet>
  13073. <AssociationSet Name="FK_TblTMCommStructure_SalesVenue" Association="ProvisionStagingModel.FK_TblTMCommStructure_SalesVenue">
  13074. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13075. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructures" />
  13076. </AssociationSet>
  13077. <AssociationSet Name="FK_TblSCV2SpecialStructure_SalesCommissionGroup" Association="ProvisionStagingModel.FK_TblSCV2SpecialStructure_SalesCommissionGroup">
  13078. <End Role="TblSalesVenueCommissionGroup" EntitySet="TblSalesVenueCommissionGroups" />
  13079. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  13080. </AssociationSet>
  13081. <AssociationSet Name="FK_TblSalesVenueComSplitLines_CommissionSplit" Association="ProvisionStagingModel.FK_TblSalesVenueComSplitLines_CommissionSplit">
  13082. <End Role="TblSalesVenueCommissionsSplit" EntitySet="TblSalesVenueCommissionsSplits" />
  13083. <End Role="TblSalesVenueComSplitLine" EntitySet="TblSalesVenueComSplitLines" />
  13084. </AssociationSet>
  13085. <AssociationSet Name="FK_TblSalesVenueRegister_Personnel" Association="ProvisionStagingModel.FK_TblSalesVenueRegister_Personnel">
  13086. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnels" />
  13087. <End Role="TblSalesVenueRegister" EntitySet="TblSalesVenueRegisters" />
  13088. </AssociationSet>
  13089. <AssociationSet Name="FK_TblSalesVenueRegister_SalesConsultants" Association="ProvisionStagingModel.FK_TblSalesVenueRegister_SalesConsultants">
  13090. <End Role="TblSalesVenueRegisterHdr" EntitySet="TblSalesVenueRegisterHdrs" />
  13091. <End Role="TblSalesVenueRegister" EntitySet="TblSalesVenueRegisters" />
  13092. </AssociationSet>
  13093. <AssociationSet Name="FK__TblSalesV__Telem__288DEB75" Association="ProvisionStagingModel.FK__TblSalesV__Telem__288DEB75">
  13094. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13095. <End Role="TblSalesVenueTelemarketerOffice" EntitySet="TblSalesVenueTelemarketerOffices" />
  13096. </AssociationSet>
  13097. <AssociationSet Name="FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice" Association="ProvisionStagingModel.FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice">
  13098. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13099. <End Role="TblSalesVenueTelemarketerOffice_bak" EntitySet="TblSalesVenueTelemarketerOffice_bak" />
  13100. </AssociationSet>
  13101. <AssociationSet Name="FK_TblSCV2CommissionContract_CommissionWeek" Association="ProvisionStagingModel.FK_TblSCV2CommissionContract_CommissionWeek">
  13102. <End Role="TblSCV2CommissionWeek" EntitySet="TblSCV2CommissionWeek" />
  13103. <End Role="TblSCV2CommissionContract" EntitySet="TblSCV2CommissionContract" />
  13104. </AssociationSet>
  13105. <AssociationSet Name="FK_TblSCV2Transaction_CommissionContract" Association="ProvisionStagingModel.FK_TblSCV2Transaction_CommissionContract">
  13106. <End Role="TblSCV2CommissionContract" EntitySet="TblSCV2CommissionContract" />
  13107. <End Role="TblSCV2Transaction" EntitySet="TblSCV2Transaction" />
  13108. </AssociationSet>
  13109. <AssociationSet Name="FK_TblSCV2CommissionWeek_CommissionPeriod" Association="ProvisionStagingModel.FK_TblSCV2CommissionWeek_CommissionPeriod">
  13110. <End Role="TblSCV2CommissionPeriod" EntitySet="TblSCV2CommissionPeriod" />
  13111. <End Role="TblSCV2CommissionWeek" EntitySet="TblSCV2CommissionWeek" />
  13112. </AssociationSet>
  13113. <AssociationSet Name="FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure" Association="ProvisionStagingModel.FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure">
  13114. <End Role="TblSCV2CommissionStructure" EntitySet="TblSCV2CommissionStructure" />
  13115. <End Role="TblSCV2RegionalManagerContractTypeOverride" EntitySet="TblSCV2RegionalManagerContractTypeOverride" />
  13116. </AssociationSet>
  13117. <AssociationSet Name="FK_TblSCV2Scales_CommissionStructure" Association="ProvisionStagingModel.FK_TblSCV2Scales_CommissionStructure">
  13118. <End Role="TblSCV2CommissionStructure" EntitySet="TblSCV2CommissionStructure" />
  13119. <End Role="TblSCV2Scales" EntitySet="TblSCV2Scales" />
  13120. </AssociationSet>
  13121. <AssociationSet Name="FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure" Association="ProvisionStagingModel.FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure">
  13122. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  13123. <End Role="TblSCV2RegionalManagerContractTypeOverride" EntitySet="TblSCV2RegionalManagerContractTypeOverride" />
  13124. </AssociationSet>
  13125. <AssociationSet Name="FK_TblSCV2SpecialScales_Structure" Association="ProvisionStagingModel.FK_TblSCV2SpecialScales_Structure">
  13126. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  13127. <End Role="TblSCV2SpecialScales" EntitySet="TblSCV2SpecialScales" />
  13128. </AssociationSet>
  13129. <AssociationSet Name="FK_TblSMICommissionContract_SalesWeek" Association="ProvisionStagingModel.FK_TblSMICommissionContract_SalesWeek">
  13130. <End Role="TblSMISalesPersonWeek" EntitySet="TblSMISalesPersonWeeks" />
  13131. <End Role="TblSMICommissionContract" EntitySet="TblSMICommissionContracts" />
  13132. </AssociationSet>
  13133. <AssociationSet Name="FK_TblSMITransaction_CommissionContract" Association="ProvisionStagingModel.FK_TblSMITransaction_CommissionContract">
  13134. <End Role="TblSMICommissionContract" EntitySet="TblSMICommissionContracts" />
  13135. <End Role="TblSMITransaction" EntitySet="TblSMITransactions" />
  13136. </AssociationSet>
  13137. <AssociationSet Name="FK_TblSMICommissionInfo_CommissionPeriod" Association="ProvisionStagingModel.FK_TblSMICommissionInfo_CommissionPeriod">
  13138. <End Role="TblSMICommissionPeriod" EntitySet="TblSMICommissionPeriods" />
  13139. <End Role="TblSMICommissionInfo" EntitySet="TblSMICommissionInfoes" />
  13140. </AssociationSet>
  13141. <AssociationSet Name="FK_TblSMISalesPersonWeek_CommissionInfo" Association="ProvisionStagingModel.FK_TblSMISalesPersonWeek_CommissionInfo">
  13142. <End Role="TblSMICommissionInfo" EntitySet="TblSMICommissionInfoes" />
  13143. <End Role="TblSMISalesPersonWeek" EntitySet="TblSMISalesPersonWeeks" />
  13144. </AssociationSet>
  13145. <AssociationSet Name="FK_TblSMICommissionWeek_CommissionPeriod" Association="ProvisionStagingModel.FK_TblSMICommissionWeek_CommissionPeriod">
  13146. <End Role="TblSMICommissionPeriod" EntitySet="TblSMICommissionPeriods" />
  13147. <End Role="TblSMICommissionWeek" EntitySet="TblSMICommissionWeeks" />
  13148. </AssociationSet>
  13149. <AssociationSet Name="FK_TblSMITransaction_CommissionPeriod" Association="ProvisionStagingModel.FK_TblSMITransaction_CommissionPeriod">
  13150. <End Role="TblSMICommissionPeriod" EntitySet="TblSMICommissionPeriods" />
  13151. <End Role="TblSMITransaction" EntitySet="TblSMITransactions" />
  13152. </AssociationSet>
  13153. <AssociationSet Name="FK_TblSMISalesPersonWeek_CommissionWeek" Association="ProvisionStagingModel.FK_TblSMISalesPersonWeek_CommissionWeek">
  13154. <End Role="TblSMICommissionWeek" EntitySet="TblSMICommissionWeeks" />
  13155. <End Role="TblSMISalesPersonWeek" EntitySet="TblSMISalesPersonWeeks" />
  13156. </AssociationSet>
  13157. <AssociationSet Name="FK_TblSMIIncentiveLevel_Incentive" Association="ProvisionStagingModel.FK_TblSMIIncentiveLevel_Incentive">
  13158. <End Role="TblSMIIncentive" EntitySet="TblSMIIncentives" />
  13159. <End Role="TblSMIIncentiveLevel" EntitySet="TblSMIIncentiveLevels" />
  13160. </AssociationSet>
  13161. <AssociationSet Name="FK_TblStreamline_SpouseTitle" Association="ProvisionStagingModel.FK_TblStreamline_SpouseTitle">
  13162. <End Role="Title" EntitySet="Titles" />
  13163. <End Role="TblStreamline" EntitySet="TblStreamlines" />
  13164. </AssociationSet>
  13165. <AssociationSet Name="FK_TblStreamline_Title" Association="ProvisionStagingModel.FK_TblStreamline_Title">
  13166. <End Role="Title" EntitySet="Titles" />
  13167. <End Role="TblStreamline" EntitySet="TblStreamlines" />
  13168. </AssociationSet>
  13169. <AssociationSet Name="FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus" Association="ProvisionStagingModel.FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus">
  13170. <End Role="TblSubStatu" EntitySet="TblSubStatus" />
  13171. <End Role="TblSubStatusSubStatus_TblCCDStatusCCDStatus" EntitySet="TblSubStatusSubStatus_TblCCDStatusCCDStatus" />
  13172. </AssociationSet>
  13173. <AssociationSet Name="FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses" Association="ProvisionStagingModel.FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses">
  13174. <End Role="TblSubStatu" EntitySet="TblSubStatus" />
  13175. <End Role="TblSubStatusSubStatuses_StatusStatus" EntitySet="TblSubStatusSubStatuses_StatusStatus" />
  13176. </AssociationSet>
  13177. <AssociationSet Name="FK_TblSuspenseTransactionSplit_SuspenseLine" Association="ProvisionStagingModel.FK_TblSuspenseTransactionSplit_SuspenseLine">
  13178. <End Role="TblSuspenseTransaction" EntitySet="TblSuspenseTransactions" />
  13179. <End Role="TblSuspenseTransactionSplit" EntitySet="TblSuspenseTransactionSplits" />
  13180. </AssociationSet>
  13181. <AssociationSet Name="FK_TblTelemarketerOffice_Company" Association="ProvisionStagingModel.FK_TblTelemarketerOffice_Company">
  13182. <End Role="TblTelemarketingCompany" EntitySet="TblTelemarketingCompanies" />
  13183. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13184. </AssociationSet>
  13185. <AssociationSet Name="FK_TblTelemarketerOffice_SMSSettings" Association="ProvisionStagingModel.FK_TblTelemarketerOffice_SMSSettings">
  13186. <End Role="TelemarketingSMSSetting" EntitySet="TelemarketingSMSSettings" />
  13187. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13188. </AssociationSet>
  13189. <AssociationSet Name="FK_TblTelemarketerRegisterHdr_TelemarketerOffice" Association="ProvisionStagingModel.FK_TblTelemarketerRegisterHdr_TelemarketerOffice">
  13190. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13191. <End Role="TblTelemarketerRegisterHdr" EntitySet="TblTelemarketerRegisterHdrs" />
  13192. </AssociationSet>
  13193. <AssociationSet Name="FK_TelemarketingSMSSettings_TelemarketerOffice" Association="ProvisionStagingModel.FK_TelemarketingSMSSettings_TelemarketerOffice">
  13194. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13195. <End Role="TelemarketingSMSSetting" EntitySet="TelemarketingSMSSettings" />
  13196. </AssociationSet>
  13197. <AssociationSet Name="FK_TblTelemarketerRegister_Telemarketers" Association="ProvisionStagingModel.FK_TblTelemarketerRegister_Telemarketers">
  13198. <End Role="TblTelemarketerRegisterHdr" EntitySet="TblTelemarketerRegisterHdrs" />
  13199. <End Role="TblTelemarketerRegister" EntitySet="TblTelemarketerRegisters" />
  13200. </AssociationSet>
  13201. <AssociationSet Name="FK_TblTelephones_TelephoneType" Association="ProvisionStagingModel.FK_TblTelephones_TelephoneType">
  13202. <End Role="TblTelephoneType" EntitySet="TblTelephoneTypes" />
  13203. <End Role="TblTelephone" EntitySet="TblTelephones" />
  13204. </AssociationSet>
  13205. <AssociationSet Name="FK_TblTFGLeads_Title" Association="ProvisionStagingModel.FK_TblTFGLeads_Title">
  13206. <End Role="Title" EntitySet="Titles" />
  13207. <End Role="TblTFGLead" EntitySet="TblTFGLeads" />
  13208. </AssociationSet>
  13209. <AssociationSet Name="FK_TblTimeOffCompetition_Campaign" Association="ProvisionStagingModel.FK_TblTimeOffCompetition_Campaign">
  13210. <End Role="TblTimeOffCampaign" EntitySet="TblTimeOffCampaigns" />
  13211. <End Role="TblTimeOffCompetition" EntitySet="TblTimeOffCompetitions" />
  13212. </AssociationSet>
  13213. <AssociationSet Name="FK_TblTimeOffCompetition_Winner" Association="ProvisionStagingModel.FK_TblTimeOffCompetition_Winner">
  13214. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntries" />
  13215. <End Role="TblTimeOffCompetition" EntitySet="TblTimeOffCompetitions" />
  13216. </AssociationSet>
  13217. <AssociationSet Name="FK_TblTimeOffCompetitionEntry_Competition" Association="ProvisionStagingModel.FK_TblTimeOffCompetitionEntry_Competition">
  13218. <End Role="TblTimeOffCompetition" EntitySet="TblTimeOffCompetitions" />
  13219. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntries" />
  13220. </AssociationSet>
  13221. <AssociationSet Name="FK_TblTimeOffCompetitionCampaign_Winner" Association="ProvisionStagingModel.FK_TblTimeOffCompetitionCampaign_Winner">
  13222. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntries" />
  13223. <End Role="TblTimeOffCompetitionCampaign" EntitySet="TblTimeOffCompetitionCampaigns" />
  13224. </AssociationSet>
  13225. <AssociationSet Name="FK_TblTimeOffCompetitionEntry_Campaign" Association="ProvisionStagingModel.FK_TblTimeOffCompetitionEntry_Campaign">
  13226. <End Role="TblTimeOffCompetitionCampaign" EntitySet="TblTimeOffCompetitionCampaigns" />
  13227. <End Role="TblTimeOffCompetitionEntry" EntitySet="TblTimeOffCompetitionEntries" />
  13228. </AssociationSet>
  13229. <AssociationSet Name="FK_TblTimeOffFriends_Profile" Association="ProvisionStagingModel.FK_TblTimeOffFriends_Profile">
  13230. <End Role="TblTimeOffReferalProfile" EntitySet="TblTimeOffReferalProfiles" />
  13231. <End Role="TblTimeOffFriend" EntitySet="TblTimeOffFriends" />
  13232. </AssociationSet>
  13233. <AssociationSet Name="FK_TblTimeOffNoVouchers_Title" Association="ProvisionStagingModel.FK_TblTimeOffNoVouchers_Title">
  13234. <End Role="Title" EntitySet="Titles" />
  13235. <End Role="TblTimeOffNoVoucher" EntitySet="TblTimeOffNoVouchers" />
  13236. </AssociationSet>
  13237. <AssociationSet Name="FK_TblTimeOffVouchers_Title" Association="ProvisionStagingModel.FK_TblTimeOffVouchers_Title">
  13238. <End Role="Title" EntitySet="Titles" />
  13239. <End Role="TblTimeOffVoucher" EntitySet="TblTimeOffVouchers" />
  13240. </AssociationSet>
  13241. <AssociationSet Name="FK_TblTimeOffVouchers_VoucherType" Association="ProvisionStagingModel.FK_TblTimeOffVouchers_VoucherType">
  13242. <End Role="TblVoucherType" EntitySet="TblVoucherTypes" />
  13243. <End Role="TblTimeOffVoucher" EntitySet="TblTimeOffVouchers" />
  13244. </AssociationSet>
  13245. <AssociationSet Name="FK_TblTMCommDealTargets_TMTable" Association="ProvisionStagingModel.FK_TblTMCommDealTargets_TMTable">
  13246. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructures" />
  13247. <End Role="TblTMCommDealTarget" EntitySet="TblTMCommDealTargets" />
  13248. </AssociationSet>
  13249. <AssociationSet Name="FK_TblTMCommGroups_Structure" Association="ProvisionStagingModel.FK_TblTMCommGroups_Structure">
  13250. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructures" />
  13251. <End Role="TblTMCommGroup" EntitySet="TblTMCommGroups" />
  13252. </AssociationSet>
  13253. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups" Association="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups">
  13254. <End Role="TblTMCommGroup" EntitySet="TblTMCommGroups" />
  13255. <End Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" EntitySet="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  13256. </AssociationSet>
  13257. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups" Association="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups">
  13258. <End Role="TblTMCommGroup" EntitySet="TblTMCommGroups" />
  13259. <End Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" EntitySet="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  13260. </AssociationSet>
  13261. <AssociationSet Name="FK_TblTMCommsWeek_TMMonth" Association="ProvisionStagingModel.FK_TblTMCommsWeek_TMMonth">
  13262. <End Role="TblTMCommsMonth" EntitySet="TblTMCommsMonths" />
  13263. <End Role="TblTMCommsWeek" EntitySet="TblTMCommsWeeks" />
  13264. </AssociationSet>
  13265. <AssociationSet Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures" Association="ProvisionStagingModel.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures">
  13266. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructures" />
  13267. <End Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" EntitySet="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  13268. </AssociationSet>
  13269. <AssociationSet Name="FK_TblTMCommTable_Structure" Association="ProvisionStagingModel.FK_TblTMCommTable_Structure">
  13270. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructures" />
  13271. <End Role="TblTMCommTable" EntitySet="TblTMCommTables" />
  13272. </AssociationSet>
  13273. <EntitySet Name="TblDebtors" EntityType="ProvisionStagingModel.TblDebtor" />
  13274. <EntitySet Name="TblDebtorBankings" EntityType="ProvisionStagingModel.TblDebtorBanking" />
  13275. <EntitySet Name="TblDebtorBankingAmendments" EntityType="ProvisionStagingModel.TblDebtorBankingAmendment" />
  13276. <EntitySet Name="TblDebtorCategoryBreakdowns" EntityType="ProvisionStagingModel.TblDebtorCategoryBreakdown" />
  13277. <EntitySet Name="TblDebtorCategoryCodes" EntityType="ProvisionStagingModel.TblDebtorCategoryCode" />
  13278. <EntitySet Name="TblDebtorCodings" EntityType="ProvisionStagingModel.TblDebtorCoding" />
  13279. <EntitySet Name="TblDebtorConsoftTakeonValues" EntityType="ProvisionStagingModel.TblDebtorConsoftTakeonValue" />
  13280. <EntitySet Name="TblDebtorDocuments" EntityType="ProvisionStagingModel.TblDebtorDocument" />
  13281. <EntitySet Name="TblDebtorFeedbacks" EntityType="ProvisionStagingModel.TblDebtorFeedback" />
  13282. <EntitySet Name="TblDebtorInterestRates" EntityType="ProvisionStagingModel.TblDebtorInterestRate" />
  13283. <EntitySet Name="TblDebtorManagementFeeValues" EntityType="ProvisionStagingModel.TblDebtorManagementFeeValue" />
  13284. <EntitySet Name="TblDebtorNotes" EntityType="ProvisionStagingModel.TblDebtorNote" />
  13285. <EntitySet Name="TblDebtorReportsRecipients" EntityType="ProvisionStagingModel.TblDebtorReportsRecipient" />
  13286. <EntitySet Name="TblDebtorResaleTransfers" EntityType="ProvisionStagingModel.TblDebtorResaleTransfer" />
  13287. <EntitySet Name="TblDebtorTransactions" EntityType="ProvisionStagingModel.TblDebtorTransaction" />
  13288. <EntitySet Name="TblDebtorTransactionsCatBreakdowns" EntityType="ProvisionStagingModel.TblDebtorTransactionsCatBreakdown" />
  13289. <EntitySet Name="TblDebtorTransactionTypeReportGroups" EntityType="ProvisionStagingModel.TblDebtorTransactionTypeReportGroup" />
  13290. <EntitySet Name="TblDebtorTranTypes" EntityType="ProvisionStagingModel.TblDebtorTranType" />
  13291. <EntitySet Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" EntityType="ProvisionStagingModel.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  13292. <EntitySet Name="TblDebtorWeekModuleExceptions" EntityType="ProvisionStagingModel.TblDebtorWeekModuleException" />
  13293. <EntitySet Name="TblDefaults" EntityType="ProvisionStagingModel.TblDefault" />
  13294. <EntitySet Name="TblDepartments" EntityType="ProvisionStagingModel.TblDepartment" />
  13295. <EntitySet Name="TblDetailedInfoes" EntityType="ProvisionStagingModel.TblDetailedInfo" />
  13296. <EntitySet Name="TblDevelopers" EntityType="ProvisionStagingModel.TblDeveloper" />
  13297. <EntitySet Name="TblDialCodes" EntityType="ProvisionStagingModel.TblDialCode" />
  13298. <EntitySet Name="TblDocumentTypes" EntityType="ProvisionStagingModel.TblDocumentType" />
  13299. <EntitySet Name="TblDottedReasons" EntityType="ProvisionStagingModel.TblDottedReason" />
  13300. <EntitySet Name="TblEmailRecipiants" EntityType="ProvisionStagingModel.TblEmailRecipiant" />
  13301. <EntitySet Name="TblEquityCommissionTargets" EntityType="ProvisionStagingModel.TblEquityCommissionTarget" />
  13302. <EntitySet Name="TblEquityTargetPercentages" EntityType="ProvisionStagingModel.TblEquityTargetPercentage" />
  13303. <EntitySet Name="TblEthnicities" EntityType="ProvisionStagingModel.TblEthnicity" />
  13304. <EntitySet Name="TblEVouchers" EntityType="ProvisionStagingModel.TblEVoucher" />
  13305. <EntitySet Name="TblEVoucherCategories" EntityType="ProvisionStagingModel.TblEVoucherCategory" />
  13306. <EntitySet Name="TblEVoucherNotes" EntityType="ProvisionStagingModel.TblEVoucherNote" />
  13307. <EntitySet Name="TblEVoucherSeries" EntityType="ProvisionStagingModel.TblEVoucherSery" />
  13308. <EntitySet Name="TblEVoucherTypes" EntityType="ProvisionStagingModel.TblEVoucherType" />
  13309. <EntitySet Name="TblEVoucherWeekTypes" EntityType="ProvisionStagingModel.TblEVoucherWeekType" />
  13310. <EntitySet Name="TblExpenseCodes" EntityType="ProvisionStagingModel.TblExpenseCode" />
  13311. <EntitySet Name="TblExpenseCodesCompanies" EntityType="ProvisionStagingModel.TblExpenseCodesCompany" />
  13312. <EntitySet Name="TblExpenseCodeTransactionsDetails" EntityType="ProvisionStagingModel.TblExpenseCodeTransactionsDetail" />
  13313. <EntitySet Name="TblExpenseCodeTransactionsHeaders" EntityType="ProvisionStagingModel.TblExpenseCodeTransactionsHeader" />
  13314. <EntitySet Name="TblExternalResortCommissions" EntityType="ProvisionStagingModel.TblExternalResortCommission" />
  13315. <EntitySet Name="TblExternalResortCommissionTransactions" EntityType="ProvisionStagingModel.TblExternalResortCommissionTransaction" />
  13316. <EntitySet Name="TblExternalResortCommissionWeeks" EntityType="ProvisionStagingModel.TblExternalResortCommissionWeek" />
  13317. <EntitySet Name="TblFeedbackTypes" EntityType="ProvisionStagingModel.TblFeedbackType" />
  13318. <EntitySet Name="TblFriends" EntityType="ProvisionStagingModel.TblFriend" />
  13319. <EntitySet Name="TblGalvanizedDeals" EntityType="ProvisionStagingModel.TblGalvanizedDeal" />
  13320. <EntitySet Name="TblGalvanizedTransactions" EntityType="ProvisionStagingModel.TblGalvanizedTransaction" />
  13321. <EntitySet Name="TblGroupCategories" EntityType="ProvisionStagingModel.TblGroupCategory" />
  13322. <EntitySet Name="TblGroupCodeCommissionTypes" EntityType="ProvisionStagingModel.TblGroupCodeCommissionType" />
  13323. <EntitySet Name="TblHideDebtorTransactions" EntityType="ProvisionStagingModel.TblHideDebtorTransaction" />
  13324. <EntitySet Name="TblHyphenBankResults" EntityType="ProvisionStagingModel.TblHyphenBankResult" />
  13325. <EntitySet Name="TblImportSources" EntityType="ProvisionStagingModel.TblImportSource" />
  13326. <EntitySet Name="TblIncomeBrackets" EntityType="ProvisionStagingModel.TblIncomeBracket" />
  13327. <EntitySet Name="TblInsuranceReasons" EntityType="ProvisionStagingModel.TblInsuranceReason" />
  13328. <EntitySet Name="TblInterestAdjustments" EntityType="ProvisionStagingModel.TblInterestAdjustment" />
  13329. <EntitySet Name="TblInterestRates" EntityType="ProvisionStagingModel.TblInterestRate" />
  13330. <EntitySet Name="TblInvoiceLines" EntityType="ProvisionStagingModel.TblInvoiceLine" />
  13331. <EntitySet Name="TblInvoices" EntityType="ProvisionStagingModel.TblInvoice" />
  13332. <EntitySet Name="TblJournalBatches" EntityType="ProvisionStagingModel.TblJournalBatch" />
  13333. <EntitySet Name="TblJournalLineCatBreakdowns" EntityType="ProvisionStagingModel.TblJournalLineCatBreakdown" />
  13334. <EntitySet Name="TblJournalLines" EntityType="ProvisionStagingModel.TblJournalLine" />
  13335. <EntitySet Name="TblJournalLineTransactions" EntityType="ProvisionStagingModel.TblJournalLineTransaction" />
  13336. <EntitySet Name="TblJournalLineTransactionsCatBreakdowns" EntityType="ProvisionStagingModel.TblJournalLineTransactionsCatBreakdown" />
  13337. <EntitySet Name="TblLeadCategories" EntityType="ProvisionStagingModel.TblLeadCategory" />
  13338. <EntitySet Name="TblLeadFeedbacks" EntityType="ProvisionStagingModel.TblLeadFeedback" />
  13339. <EntitySet Name="TblLeads" EntityType="ProvisionStagingModel.TblLead" />
  13340. <EntitySet Name="TblLeadsCallHistories" EntityType="ProvisionStagingModel.TblLeadsCallHistory" />
  13341. <EntitySet Name="TblLeaseFactors" EntityType="ProvisionStagingModel.TblLeaseFactor" />
  13342. <EntitySet Name="TblLevelBasedCommPercs" EntityType="ProvisionStagingModel.TblLevelBasedCommPerc" />
  13343. <EntitySet Name="TblLevyConsoftReceiptQueries" EntityType="ProvisionStagingModel.TblLevyConsoftReceiptQuery" />
  13344. <EntitySet Name="TblLogos" EntityType="ProvisionStagingModel.TblLogo" />
  13345. <EntitySet Name="TblManagementFeeInstalments" EntityType="ProvisionStagingModel.TblManagementFeeInstalment" />
  13346. <EntitySet Name="TblManagementFeeOverrides" EntityType="ProvisionStagingModel.TblManagementFeeOverride" />
  13347. <EntitySet Name="TblManagementFeesDocuments" EntityType="ProvisionStagingModel.TblManagementFeesDocument" />
  13348. <EntitySet Name="TblManagementFeesToAdjusts" EntityType="ProvisionStagingModel.TblManagementFeesToAdjust" />
  13349. <EntitySet Name="TblMarketingCampaigns" EntityType="ProvisionStagingModel.TblMarketingCampaign" />
  13350. <EntitySet Name="TblMarketingCampaignResorts" EntityType="ProvisionStagingModel.TblMarketingCampaignResort" />
  13351. <EntitySet Name="TblMarketingConsoftComms" EntityType="ProvisionStagingModel.TblMarketingConsoftComm" />
  13352. <EntitySet Name="TblMessageCodes" EntityType="ProvisionStagingModel.TblMessageCode" />
  13353. <EntitySet Name="TblMessageCodeMessageGroup_MessageCodeGroupGroup" EntityType="ProvisionStagingModel.TblMessageCodeMessageGroup_MessageCodeGroupGroup" />
  13354. <EntitySet Name="TblMonthEndRoles" EntityType="ProvisionStagingModel.TblMonthEndRole" />
  13355. <EntitySet Name="TblMonthEndRolesObjectExceptions" EntityType="ProvisionStagingModel.TblMonthEndRolesObjectException" />
  13356. <EntitySet Name="TblOldImportSources" EntityType="ProvisionStagingModel.TblOldImportSource" />
  13357. <EntitySet Name="TblOverrideAudits" EntityType="ProvisionStagingModel.TblOverrideAudit" />
  13358. <EntitySet Name="TblPaymentPlans" EntityType="ProvisionStagingModel.TblPaymentPlan" />
  13359. <EntitySet Name="TblPaymentTypes" EntityType="ProvisionStagingModel.TblPaymentType" />
  13360. <EntitySet Name="TblPayTypes" EntityType="ProvisionStagingModel.TblPayType" />
  13361. <EntitySet Name="TblPeriodsInMonths" EntityType="ProvisionStagingModel.TblPeriodsInMonth" />
  13362. <EntitySet Name="TblPersonnels" EntityType="ProvisionStagingModel.TblPersonnel" />
  13363. <EntitySet Name="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" EntityType="ProvisionStagingModel.TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" />
  13364. <EntitySet Name="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" EntityType="ProvisionStagingModel.TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" />
  13365. <EntitySet Name="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" EntityType="ProvisionStagingModel.TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" />
  13366. <EntitySet Name="TblPersonnelDocuments" EntityType="ProvisionStagingModel.TblPersonnelDocument" />
  13367. <EntitySet Name="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" EntityType="ProvisionStagingModel.TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" />
  13368. <EntitySet Name="TblPersonnelImportSources" EntityType="ProvisionStagingModel.TblPersonnelImportSource" />
  13369. <EntitySet Name="TblPersonnelLeaves" EntityType="ProvisionStagingModel.TblPersonnelLeave" />
  13370. <EntitySet Name="TblPersonnelPersonnel_TblImportSourceImportSource" EntityType="ProvisionStagingModel.TblPersonnelPersonnel_TblImportSourceImportSource" />
  13371. <EntitySet Name="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" EntityType="ProvisionStagingModel.TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" />
  13372. <EntitySet Name="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" EntityType="ProvisionStagingModel.TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" />
  13373. <EntitySet Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" EntityType="ProvisionStagingModel.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  13374. <EntitySet Name="TblPersonnelTelephones" EntityType="ProvisionStagingModel.TblPersonnelTelephone" />
  13375. <EntitySet Name="TblPersonnelUnivateTargets" EntityType="ProvisionStagingModel.TblPersonnelUnivateTarget" />
  13376. <EntitySet Name="TblPersonnelWeeklyTargetSplits" EntityType="ProvisionStagingModel.TblPersonnelWeeklyTargetSplit" />
  13377. <EntitySet Name="TblPersonnelWeeklyTargetSplitPerSalesVenues" EntityType="ProvisionStagingModel.TblPersonnelWeeklyTargetSplitPerSalesVenue" />
  13378. <EntitySet Name="TblPersTransfigs" EntityType="ProvisionStagingModel.TblPersTransfig" />
  13379. <EntitySet Name="TblPodManagers" EntityType="ProvisionStagingModel.TblPodManager" />
  13380. <EntitySet Name="TblPortfolios" EntityType="ProvisionStagingModel.TblPortfolio" />
  13381. <EntitySet Name="TblPortfolioDocuments" EntityType="ProvisionStagingModel.TblPortfolioDocument" />
  13382. <EntitySet Name="TblPortfolioFeeInsurances" EntityType="ProvisionStagingModel.TblPortfolioFeeInsurance" />
  13383. <EntitySet Name="TblPortfolioNotes" EntityType="ProvisionStagingModel.TblPortfolioNote" />
  13384. <EntitySet Name="TblPortfolioResetEstateLates" EntityType="ProvisionStagingModel.TblPortfolioResetEstateLate" />
  13385. <EntitySet Name="TblPostCodes" EntityType="ProvisionStagingModel.TblPostCode" />
  13386. <EntitySet Name="TblPreviousAgeings" EntityType="ProvisionStagingModel.TblPreviousAgeing" />
  13387. <EntitySet Name="TblPreviousAgings" EntityType="ProvisionStagingModel.TblPreviousAging" />
  13388. <EntitySet Name="TblPromoCategories" EntityType="ProvisionStagingModel.TblPromoCategory" />
  13389. <EntitySet Name="TblPromoConfigs" EntityType="ProvisionStagingModel.TblPromoConfig" />
  13390. <EntitySet Name="TblPromoDocuments" EntityType="ProvisionStagingModel.TblPromoDocument" />
  13391. <EntitySet Name="TblPromoMembers" EntityType="ProvisionStagingModel.TblPromoMember" />
  13392. <EntitySet Name="TblPromotions" EntityType="ProvisionStagingModel.TblPromotion" />
  13393. <EntitySet Name="TblPromotionCommissions" EntityType="ProvisionStagingModel.TblPromotionCommission" />
  13394. <EntitySet Name="TblPromotionCommissionStructures" EntityType="ProvisionStagingModel.TblPromotionCommissionStructure" />
  13395. <EntitySet Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" EntityType="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" />
  13396. <EntitySet Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" EntityType="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  13397. <EntitySet Name="TblPromotionTypes" EntityType="ProvisionStagingModel.TblPromotionType" />
  13398. <EntitySet Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" EntityType="ProvisionStagingModel.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  13399. <EntitySet Name="TblPublicHolidays" EntityType="ProvisionStagingModel.TblPublicHoliday" />
  13400. <EntitySet Name="TblQNQReasons" EntityType="ProvisionStagingModel.TblQNQReason" />
  13401. <EntitySet Name="TblQueryCategories" EntityType="ProvisionStagingModel.TblQueryCategory" />
  13402. <EntitySet Name="TblQueryCategories1" EntityType="ProvisionStagingModel.TblQueryCategory1" />
  13403. <EntitySet Name="TblQueryRecipients" EntityType="ProvisionStagingModel.TblQueryRecipient" />
  13404. <EntitySet Name="TblRankingPoints" EntityType="ProvisionStagingModel.TblRankingPoint" />
  13405. <EntitySet Name="TblRankings" EntityType="ProvisionStagingModel.TblRanking" />
  13406. <EntitySet Name="TblRawSalesCommDatas" EntityType="ProvisionStagingModel.TblRawSalesCommData" />
  13407. <EntitySet Name="TblRCIDates" EntityType="ProvisionStagingModel.TblRCIDate" />
  13408. <EntitySet Name="TblRebatePaymentCategoryCodes" EntityType="ProvisionStagingModel.TblRebatePaymentCategoryCode" />
  13409. <EntitySet Name="TblReferalProfiles" EntityType="ProvisionStagingModel.TblReferalProfile" />
  13410. <EntitySet Name="TblReleaseClientBookings" EntityType="ProvisionStagingModel.TblReleaseClientBooking" />
  13411. <EntitySet Name="TblRescheduleCalls" EntityType="ProvisionStagingModel.TblRescheduleCall" />
  13412. <AssociationSet Name="FK_TblDebtor_AllocatedTo" Association="ProvisionStagingModel.FK_TblDebtor_AllocatedTo">
  13413. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13414. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13415. </AssociationSet>
  13416. <AssociationSet Name="FK_TblDebtor_Developer" Association="ProvisionStagingModel.FK_TblDebtor_Developer">
  13417. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13418. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13419. </AssociationSet>
  13420. <AssociationSet Name="FK_TblDebtor_ReportsTo" Association="ProvisionStagingModel.FK_TblDebtor_ReportsTo">
  13421. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13422. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13423. </AssociationSet>
  13424. <AssociationSet Name="FK_TblDebtor_Resort" Association="ProvisionStagingModel.FK_TblDebtor_Resort">
  13425. <End Role="TblResort" EntitySet="TblResorts" />
  13426. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13427. </AssociationSet>
  13428. <AssociationSet Name="FK_TblDebtor_UndertakingConsultant" Association="ProvisionStagingModel.FK_TblDebtor_UndertakingConsultant">
  13429. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13430. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13431. </AssociationSet>
  13432. <AssociationSet Name="FK_TblDebtorBanking_DebtorNo" Association="ProvisionStagingModel.FK_TblDebtorBanking_DebtorNo">
  13433. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13434. <End Role="TblDebtorBanking" EntitySet="TblDebtorBankings" />
  13435. </AssociationSet>
  13436. <AssociationSet Name="FK_TblDebtorCategoryBreakdown_Debtor" Association="ProvisionStagingModel.FK_TblDebtorCategoryBreakdown_Debtor">
  13437. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13438. <End Role="TblDebtorCategoryBreakdown" EntitySet="TblDebtorCategoryBreakdowns" />
  13439. </AssociationSet>
  13440. <AssociationSet Name="FK_TblDebtorDocuments_Debtor" Association="ProvisionStagingModel.FK_TblDebtorDocuments_Debtor">
  13441. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13442. <End Role="TblDebtorDocument" EntitySet="TblDebtorDocuments" />
  13443. </AssociationSet>
  13444. <AssociationSet Name="FK_TblDebtorFeedback_DebtorNo" Association="ProvisionStagingModel.FK_TblDebtorFeedback_DebtorNo">
  13445. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13446. <End Role="TblDebtorFeedback" EntitySet="TblDebtorFeedbacks" />
  13447. </AssociationSet>
  13448. <AssociationSet Name="FK_TblDebtorInterestRates_DebtorNo" Association="ProvisionStagingModel.FK_TblDebtorInterestRates_DebtorNo">
  13449. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13450. <End Role="TblDebtorInterestRate" EntitySet="TblDebtorInterestRates" />
  13451. </AssociationSet>
  13452. <AssociationSet Name="FK_TblDebtorManagementFeeValues_Debtor" Association="ProvisionStagingModel.FK_TblDebtorManagementFeeValues_Debtor">
  13453. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13454. <End Role="TblDebtorManagementFeeValue" EntitySet="TblDebtorManagementFeeValues" />
  13455. </AssociationSet>
  13456. <AssociationSet Name="FK_TblDebtorNotes_TblDebtor" Association="ProvisionStagingModel.FK_TblDebtorNotes_TblDebtor">
  13457. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13458. <End Role="TblDebtorNote" EntitySet="TblDebtorNotes" />
  13459. </AssociationSet>
  13460. <AssociationSet Name="FK_TblDebtorResaleTransfers_DebtorNumber" Association="ProvisionStagingModel.FK_TblDebtorResaleTransfers_DebtorNumber">
  13461. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13462. <End Role="TblDebtorResaleTransfer" EntitySet="TblDebtorResaleTransfers" />
  13463. </AssociationSet>
  13464. <AssociationSet Name="FK_TblDebtorTransactions_Debtor" Association="ProvisionStagingModel.FK_TblDebtorTransactions_Debtor">
  13465. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13466. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13467. </AssociationSet>
  13468. <AssociationSet Name="FK_TblDebtorWeekModuleException_Debtor" Association="ProvisionStagingModel.FK_TblDebtorWeekModuleException_Debtor">
  13469. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13470. <End Role="TblDebtorWeekModuleException" EntitySet="TblDebtorWeekModuleExceptions" />
  13471. </AssociationSet>
  13472. <AssociationSet Name="FK_TblExternalResortCommission_CapitalDebtor" Association="ProvisionStagingModel.FK_TblExternalResortCommission_CapitalDebtor">
  13473. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13474. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommissions" />
  13475. </AssociationSet>
  13476. <AssociationSet Name="FK_TblGalvanizedDeals_Debtor" Association="ProvisionStagingModel.FK_TblGalvanizedDeals_Debtor">
  13477. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13478. <End Role="TblGalvanizedDeal" EntitySet="TblGalvanizedDeals" />
  13479. </AssociationSet>
  13480. <AssociationSet Name="FK_TblHideDebtorTransaction_Debtor" Association="ProvisionStagingModel.FK_TblHideDebtorTransaction_Debtor">
  13481. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13482. <End Role="TblHideDebtorTransaction" EntitySet="TblHideDebtorTransactions" />
  13483. </AssociationSet>
  13484. <AssociationSet Name="FK_TblJournalLines_Debtor" Association="ProvisionStagingModel.FK_TblJournalLines_Debtor">
  13485. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13486. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13487. </AssociationSet>
  13488. <AssociationSet Name="FK_TblManagementFeeInstalments_Debtor" Association="ProvisionStagingModel.FK_TblManagementFeeInstalments_Debtor">
  13489. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13490. <End Role="TblManagementFeeInstalment" EntitySet="TblManagementFeeInstalments" />
  13491. </AssociationSet>
  13492. <AssociationSet Name="FK_TblManagementFeeOverride_Debtor" Association="ProvisionStagingModel.FK_TblManagementFeeOverride_Debtor">
  13493. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13494. <End Role="TblManagementFeeOverride" EntitySet="TblManagementFeeOverrides" />
  13495. </AssociationSet>
  13496. <AssociationSet Name="FK_TblManagementFeesDocuments_Debtor" Association="ProvisionStagingModel.FK_TblManagementFeesDocuments_Debtor">
  13497. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13498. <End Role="TblManagementFeesDocument" EntitySet="TblManagementFeesDocuments" />
  13499. </AssociationSet>
  13500. <AssociationSet Name="FK_TblManagementFeesDocuments_DebtorOtherFeesDocument" Association="ProvisionStagingModel.FK_TblManagementFeesDocuments_DebtorOtherFeesDocument">
  13501. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13502. <End Role="TblManagementFeesDocument" EntitySet="TblManagementFeesDocuments" />
  13503. </AssociationSet>
  13504. <AssociationSet Name="FK_TblPaymentPlan_Debtor" Association="ProvisionStagingModel.FK_TblPaymentPlan_Debtor">
  13505. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13506. <End Role="TblPaymentPlan" EntitySet="TblPaymentPlans" />
  13507. </AssociationSet>
  13508. <AssociationSet Name="FK_TblPortfolioNotes_Debtor" Association="ProvisionStagingModel.FK_TblPortfolioNotes_Debtor">
  13509. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13510. <End Role="TblPortfolioNote" EntitySet="TblPortfolioNotes" />
  13511. </AssociationSet>
  13512. <AssociationSet Name="FK_TblPortfolioNotes_TblDebtor" Association="ProvisionStagingModel.FK_TblPortfolioNotes_TblDebtor">
  13513. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13514. <End Role="TblPortfolioNote" EntitySet="TblPortfolioNotes" />
  13515. </AssociationSet>
  13516. <AssociationSet Name="FK_TblPreviousAgeing_Debtor" Association="ProvisionStagingModel.FK_TblPreviousAgeing_Debtor">
  13517. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13518. <End Role="TblPreviousAgeing" EntitySet="TblPreviousAgeings" />
  13519. </AssociationSet>
  13520. <AssociationSet Name="FK_TblPreviousAging_Debtor" Association="ProvisionStagingModel.FK_TblPreviousAging_Debtor">
  13521. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13522. <End Role="TblPreviousAging" EntitySet="TblPreviousAgings" />
  13523. </AssociationSet>
  13524. <AssociationSet Name="FK_TblSACRRAData_Debtor" Association="ProvisionStagingModel.FK_TblSACRRAData_Debtor">
  13525. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13526. <End Role="TblSACRRAData" EntitySet="TblSACRRADatas" />
  13527. </AssociationSet>
  13528. <AssociationSet Name="FK_TblSACRRADebtorGAPGAL_Debtor" Association="ProvisionStagingModel.FK_TblSACRRADebtorGAPGAL_Debtor">
  13529. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13530. <End Role="TblSACRRADebtorGAPGAL" EntitySet="TblSACRRADebtorGAPGALs" />
  13531. </AssociationSet>
  13532. <AssociationSet Name="FK_TblSACRRADebtorStatus_Debtor" Association="ProvisionStagingModel.FK_TblSACRRADebtorStatus_Debtor">
  13533. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13534. <End Role="TblSACRRADebtorStatu" EntitySet="TblSACRRADebtorStatus" />
  13535. </AssociationSet>
  13536. <AssociationSet Name="FK_TblSuspenseTransaction_AllowcatedAccount" Association="ProvisionStagingModel.FK_TblSuspenseTransaction_AllowcatedAccount">
  13537. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13538. <End Role="TblSuspenseTransaction" EntitySet="TblSuspenseTransactions" />
  13539. </AssociationSet>
  13540. <AssociationSet Name="FK_TblSuspenseTransactionSplit_Account" Association="ProvisionStagingModel.FK_TblSuspenseTransactionSplit_Account">
  13541. <End Role="TblDebtor" EntitySet="TblDebtors" />
  13542. <End Role="TblSuspenseTransactionSplit" EntitySet="TblSuspenseTransactionSplits" />
  13543. </AssociationSet>
  13544. <AssociationSet Name="FK_TblDebtorBankingAmendment_DebtorBanking" Association="ProvisionStagingModel.FK_TblDebtorBankingAmendment_DebtorBanking">
  13545. <End Role="TblDebtorBanking" EntitySet="TblDebtorBankings" />
  13546. <End Role="TblDebtorBankingAmendment" EntitySet="TblDebtorBankingAmendments" />
  13547. </AssociationSet>
  13548. <AssociationSet Name="FK_TblPortfolioNotes_DebtorBanking" Association="ProvisionStagingModel.FK_TblPortfolioNotes_DebtorBanking">
  13549. <End Role="TblDebtorBanking" EntitySet="TblDebtorBankings" />
  13550. <End Role="TblPortfolioNote" EntitySet="TblPortfolioNotes" />
  13551. </AssociationSet>
  13552. <AssociationSet Name="FK_TblRebatePaymentCategoryCode_CategoryCode" Association="ProvisionStagingModel.FK_TblRebatePaymentCategoryCode_CategoryCode">
  13553. <End Role="TblDebtorCategoryCode" EntitySet="TblDebtorCategoryCodes" />
  13554. <End Role="TblRebatePaymentCategoryCode" EntitySet="TblRebatePaymentCategoryCodes" />
  13555. </AssociationSet>
  13556. <AssociationSet Name="FK_TblDebtorTransactions_DebtorCode" Association="ProvisionStagingModel.FK_TblDebtorTransactions_DebtorCode">
  13557. <End Role="TblDebtorCoding" EntitySet="TblDebtorCodings" />
  13558. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13559. </AssociationSet>
  13560. <AssociationSet Name="FK_TblDebtorDocuments_DocumentType" Association="ProvisionStagingModel.FK_TblDebtorDocuments_DocumentType">
  13561. <End Role="TblDocumentType" EntitySet="TblDocumentTypes" />
  13562. <End Role="TblDebtorDocument" EntitySet="TblDebtorDocuments" />
  13563. </AssociationSet>
  13564. <AssociationSet Name="FK_TblDebtorFeedback_Feedback" Association="ProvisionStagingModel.FK_TblDebtorFeedback_Feedback">
  13565. <End Role="TblFeedbackType" EntitySet="TblFeedbackTypes" />
  13566. <End Role="TblDebtorFeedback" EntitySet="TblDebtorFeedbacks" />
  13567. </AssociationSet>
  13568. <AssociationSet Name="FK_TblDebtorFeedback_Name" Association="ProvisionStagingModel.FK_TblDebtorFeedback_Name">
  13569. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13570. <End Role="TblDebtorFeedback" EntitySet="TblDebtorFeedbacks" />
  13571. </AssociationSet>
  13572. <AssociationSet Name="FK_TblDebtorManagementFeeValues_WeekModule" Association="ProvisionStagingModel.FK_TblDebtorManagementFeeValues_WeekModule">
  13573. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  13574. <End Role="TblDebtorManagementFeeValue" EntitySet="TblDebtorManagementFeeValues" />
  13575. </AssociationSet>
  13576. <AssociationSet Name="FK_TblDebtorNotes_MessageCode" Association="ProvisionStagingModel.FK_TblDebtorNotes_MessageCode">
  13577. <End Role="TblMessageCode" EntitySet="TblMessageCodes" />
  13578. <End Role="TblDebtorNote" EntitySet="TblDebtorNotes" />
  13579. </AssociationSet>
  13580. <AssociationSet Name="FK_TblDebtorResaleTransfers_TransferTransaction" Association="ProvisionStagingModel.FK_TblDebtorResaleTransfers_TransferTransaction">
  13581. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13582. <End Role="TblDebtorResaleTransfer" EntitySet="TblDebtorResaleTransfers" />
  13583. </AssociationSet>
  13584. <AssociationSet Name="FK_TblDebtorTransactions_AllJournalLines" Association="ProvisionStagingModel.FK_TblDebtorTransactions_AllJournalLines">
  13585. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13586. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13587. </AssociationSet>
  13588. <AssociationSet Name="FK_TblDebtorTransactions_CollectionTran" Association="ProvisionStagingModel.FK_TblDebtorTransactions_CollectionTran">
  13589. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13590. <End Role="TblDebtorTransaction1" EntitySet="TblDebtorTransactions" />
  13591. </AssociationSet>
  13592. <AssociationSet Name="FK_TblDebtorTransactions_HideDebtorTransaction" Association="ProvisionStagingModel.FK_TblDebtorTransactions_HideDebtorTransaction">
  13593. <End Role="TblHideDebtorTransaction" EntitySet="TblHideDebtorTransactions" />
  13594. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13595. </AssociationSet>
  13596. <AssociationSet Name="FK_TblDebtorTransactions_PayType" Association="ProvisionStagingModel.FK_TblDebtorTransactions_PayType">
  13597. <End Role="TblPaymentType" EntitySet="TblPaymentTypes" />
  13598. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13599. </AssociationSet>
  13600. <AssociationSet Name="FK_TblDebtorTransactions_TblJournalLines" Association="ProvisionStagingModel.FK_TblDebtorTransactions_TblJournalLines">
  13601. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13602. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13603. </AssociationSet>
  13604. <AssociationSet Name="FK_TblDebtorTransactions_TransactionType" Association="ProvisionStagingModel.FK_TblDebtorTransactions_TransactionType">
  13605. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13606. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13607. </AssociationSet>
  13608. <AssociationSet Name="FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction" Association="ProvisionStagingModel.FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction">
  13609. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13610. <End Role="TblDebtorTransactionsCatBreakdown" EntitySet="TblDebtorTransactionsCatBreakdowns" />
  13611. </AssociationSet>
  13612. <AssociationSet Name="FK_TblJournalLineTransactions_OriginalTransaction" Association="ProvisionStagingModel.FK_TblJournalLineTransactions_OriginalTransaction">
  13613. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13614. <End Role="TblJournalLineTransaction" EntitySet="TblJournalLineTransactions" />
  13615. </AssociationSet>
  13616. <AssociationSet Name="FK_TblManagementFeesToAdjust_DebtorTransaction" Association="ProvisionStagingModel.FK_TblManagementFeesToAdjust_DebtorTransaction">
  13617. <End Role="TblDebtorTransaction" EntitySet="TblDebtorTransactions" />
  13618. <End Role="TblManagementFeesToAdjust" EntitySet="TblManagementFeesToAdjusts" />
  13619. </AssociationSet>
  13620. <AssociationSet Name="FK_TblDebtorTransactionsCatBreakdown_TransactionType" Association="ProvisionStagingModel.FK_TblDebtorTransactionsCatBreakdown_TransactionType">
  13621. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13622. <End Role="TblDebtorTransactionsCatBreakdown" EntitySet="TblDebtorTransactionsCatBreakdowns" />
  13623. </AssociationSet>
  13624. <AssociationSet Name="FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup" Association="ProvisionStagingModel.FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup">
  13625. <End Role="TblDebtorTransactionTypeReportGroup" EntitySet="TblDebtorTransactionTypeReportGroups" />
  13626. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13627. </AssociationSet>
  13628. <AssociationSet Name="FK_TblDebtorTranTypes_PaymentType" Association="ProvisionStagingModel.FK_TblDebtorTranTypes_PaymentType">
  13629. <End Role="TblPaymentType" EntitySet="TblPaymentTypes" />
  13630. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13631. </AssociationSet>
  13632. <AssociationSet Name="FK_TblDebtorTranTypes_Reversal" Association="ProvisionStagingModel.FK_TblDebtorTranTypes_Reversal">
  13633. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13634. <End Role="TblDebtorTranType1" EntitySet="TblDebtorTranTypes" />
  13635. </AssociationSet>
  13636. <AssociationSet Name="FK_TblDebtorTranTypes_ReversalTranType" Association="ProvisionStagingModel.FK_TblDebtorTranTypes_ReversalTranType">
  13637. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13638. <End Role="TblDebtorTranType1" EntitySet="TblDebtorTranTypes" />
  13639. </AssociationSet>
  13640. <AssociationSet Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals" Association="ProvisionStagingModel.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals">
  13641. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13642. <End Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" EntitySet="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  13643. </AssociationSet>
  13644. <AssociationSet Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp" Association="ProvisionStagingModel.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp">
  13645. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13646. <End Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" EntitySet="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  13647. </AssociationSet>
  13648. <AssociationSet Name="FK_TblGroupCategory_TblDebtorTranTypes" Association="ProvisionStagingModel.FK_TblGroupCategory_TblDebtorTranTypes">
  13649. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13650. <End Role="TblGroupCategory" EntitySet="TblGroupCategories" />
  13651. </AssociationSet>
  13652. <AssociationSet Name="FK_TblJournalBatch_TransactionType" Association="ProvisionStagingModel.FK_TblJournalBatch_TransactionType">
  13653. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13654. <End Role="TblJournalBatch" EntitySet="TblJournalBatches" />
  13655. </AssociationSet>
  13656. <AssociationSet Name="FK_TblJournalLines_LineTransactionType" Association="ProvisionStagingModel.FK_TblJournalLines_LineTransactionType">
  13657. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13658. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13659. </AssociationSet>
  13660. <AssociationSet Name="FK_TblJournalLineTransactions_NonReverseTranTypes" Association="ProvisionStagingModel.FK_TblJournalLineTransactions_NonReverseTranTypes">
  13661. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13662. <End Role="TblJournalLineTransaction" EntitySet="TblJournalLineTransactions" />
  13663. </AssociationSet>
  13664. <AssociationSet Name="FK_TblJournalLineTransactions_TranType" Association="ProvisionStagingModel.FK_TblJournalLineTransactions_TranType">
  13665. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13666. <End Role="TblJournalLineTransaction" EntitySet="TblJournalLineTransactions" />
  13667. </AssociationSet>
  13668. <AssociationSet Name="FK_TblPaymentPlan_TransactionType" Association="ProvisionStagingModel.FK_TblPaymentPlan_TransactionType">
  13669. <End Role="TblDebtorTranType" EntitySet="TblDebtorTranTypes" />
  13670. <End Role="TblPaymentPlan" EntitySet="TblPaymentPlans" />
  13671. </AssociationSet>
  13672. <AssociationSet Name="FK_TblPersonnel_Department" Association="ProvisionStagingModel.FK_TblPersonnel_Department">
  13673. <End Role="TblDepartment" EntitySet="TblDepartments" />
  13674. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13675. </AssociationSet>
  13676. <AssociationSet Name="FK_TblDetailedInfo_Ethnicity" Association="ProvisionStagingModel.FK_TblDetailedInfo_Ethnicity">
  13677. <End Role="TblEthnicity" EntitySet="TblEthnicities" />
  13678. <End Role="TblDetailedInfo" EntitySet="TblDetailedInfoes" />
  13679. </AssociationSet>
  13680. <AssociationSet Name="FK_TblDetailedInfo_Title" Association="ProvisionStagingModel.FK_TblDetailedInfo_Title">
  13681. <End Role="Title" EntitySet="Titles" />
  13682. <End Role="TblDetailedInfo" EntitySet="TblDetailedInfoes" />
  13683. </AssociationSet>
  13684. <AssociationSet Name="FK_TblVoucher_DetailedInfo" Association="ProvisionStagingModel.FK_TblVoucher_DetailedInfo">
  13685. <End Role="TblDetailedInfo" EntitySet="TblDetailedInfoes" />
  13686. <End Role="TblVoucher" EntitySet="TblVouchers" />
  13687. </AssociationSet>
  13688. <AssociationSet Name="FK_TblResort_DefaultDeveloper" Association="ProvisionStagingModel.FK_TblResort_DefaultDeveloper">
  13689. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13690. <End Role="TblResort" EntitySet="TblResorts" />
  13691. </AssociationSet>
  13692. <AssociationSet Name="FK_TblSACRRASettings_Developer" Association="ProvisionStagingModel.FK_TblSACRRASettings_Developer">
  13693. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13694. <End Role="TblSACRRASetting" EntitySet="TblSACRRASettings" />
  13695. </AssociationSet>
  13696. <AssociationSet Name="FK_TblSalesVenue_DefaultDeveloper" Association="ProvisionStagingModel.FK_TblSalesVenue_DefaultDeveloper">
  13697. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13698. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13699. </AssociationSet>
  13700. <AssociationSet Name="FK_TblSalesVenueClubDevelopers_Developer" Association="ProvisionStagingModel.FK_TblSalesVenueClubDevelopers_Developer">
  13701. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13702. <End Role="TblSalesVenueClubDeveloper" EntitySet="TblSalesVenueClubDevelopers" />
  13703. </AssociationSet>
  13704. <AssociationSet Name="FK_TblStreamline_Developer" Association="ProvisionStagingModel.FK_TblStreamline_Developer">
  13705. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13706. <End Role="TblStreamline" EntitySet="TblStreamlines" />
  13707. </AssociationSet>
  13708. <AssociationSet Name="FK_TblUpdateBankingDetails_Developer" Association="ProvisionStagingModel.FK_TblUpdateBankingDetails_Developer">
  13709. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13710. <End Role="TblUpdateBankingDetail" EntitySet="TblUpdateBankingDetails" />
  13711. </AssociationSet>
  13712. <AssociationSet Name="FK_Transfigurations_Developer" Association="ProvisionStagingModel.FK_Transfigurations_Developer">
  13713. <End Role="TblDeveloper" EntitySet="TblDevelopers" />
  13714. <End Role="Transfiguration" EntitySet="Transfigurations" />
  13715. </AssociationSet>
  13716. <AssociationSet Name="FK_TblPortfolioDocuments_DocumentType" Association="ProvisionStagingModel.FK_TblPortfolioDocuments_DocumentType">
  13717. <End Role="TblDocumentType" EntitySet="TblDocumentTypes" />
  13718. <End Role="TblPortfolioDocument" EntitySet="TblPortfolioDocuments" />
  13719. </AssociationSet>
  13720. <AssociationSet Name="FK_TblPromoDocuments_DocumentType" Association="ProvisionStagingModel.FK_TblPromoDocuments_DocumentType">
  13721. <End Role="TblDocumentType" EntitySet="TblDocumentTypes" />
  13722. <End Role="TblPromoDocument" EntitySet="TblPromoDocuments" />
  13723. </AssociationSet>
  13724. <AssociationSet Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf" Association="ProvisionStagingModel.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf">
  13725. <End Role="TblEmailRecipiant" EntitySet="TblEmailRecipiants" />
  13726. <End Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" EntitySet="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  13727. </AssociationSet>
  13728. <AssociationSet Name="FK_TblEquityCommissionTarget_Personnel" Association="ProvisionStagingModel.FK_TblEquityCommissionTarget_Personnel">
  13729. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13730. <End Role="TblEquityCommissionTarget" EntitySet="TblEquityCommissionTargets" />
  13731. </AssociationSet>
  13732. <AssociationSet Name="FK_TblLeads_Ethnicity" Association="ProvisionStagingModel.FK_TblLeads_Ethnicity">
  13733. <End Role="TblEthnicity" EntitySet="TblEthnicities" />
  13734. <End Role="TblLead" EntitySet="TblLeads" />
  13735. </AssociationSet>
  13736. <AssociationSet Name="FK_TblEVoucher_SalesVenue" Association="ProvisionStagingModel.FK_TblEVoucher_SalesVenue">
  13737. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13738. <End Role="TblEVoucher" EntitySet="TblEVouchers" />
  13739. </AssociationSet>
  13740. <AssociationSet Name="FK_TblEVoucher_VoucherCategory" Association="ProvisionStagingModel.FK_TblEVoucher_VoucherCategory">
  13741. <End Role="TblEVoucherCategory" EntitySet="TblEVoucherCategories" />
  13742. <End Role="TblEVoucher" EntitySet="TblEVouchers" />
  13743. </AssociationSet>
  13744. <AssociationSet Name="FK_TblEVoucher_VoucherSeries" Association="ProvisionStagingModel.FK_TblEVoucher_VoucherSeries">
  13745. <End Role="TblEVoucherSery" EntitySet="TblEVoucherSeries" />
  13746. <End Role="TblEVoucher" EntitySet="TblEVouchers" />
  13747. </AssociationSet>
  13748. <AssociationSet Name="FK_TblEVoucher_VoucherType" Association="ProvisionStagingModel.FK_TblEVoucher_VoucherType">
  13749. <End Role="TblEVoucherType" EntitySet="TblEVoucherTypes" />
  13750. <End Role="TblEVoucher" EntitySet="TblEVouchers" />
  13751. </AssociationSet>
  13752. <AssociationSet Name="FK_TblEVoucherNotes_TblEVoucher" Association="ProvisionStagingModel.FK_TblEVoucherNotes_TblEVoucher">
  13753. <End Role="TblEVoucher" EntitySet="TblEVouchers" />
  13754. <End Role="TblEVoucherNote" EntitySet="TblEVoucherNotes" />
  13755. </AssociationSet>
  13756. <AssociationSet Name="FK_TblEVoucherCategory_SalesVenue" Association="ProvisionStagingModel.FK_TblEVoucherCategory_SalesVenue">
  13757. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13758. <End Role="TblEVoucherCategory" EntitySet="TblEVoucherCategories" />
  13759. </AssociationSet>
  13760. <AssociationSet Name="FK_TblEVoucherType_RotationLinksTo" Association="ProvisionStagingModel.FK_TblEVoucherType_RotationLinksTo">
  13761. <End Role="TblEVoucherType" EntitySet="TblEVoucherTypes" />
  13762. <End Role="TblEVoucherType1" EntitySet="TblEVoucherTypes" />
  13763. </AssociationSet>
  13764. <AssociationSet Name="FK_TblEVoucherType_SalesVenue" Association="ProvisionStagingModel.FK_TblEVoucherType_SalesVenue">
  13765. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  13766. <End Role="TblEVoucherType" EntitySet="TblEVoucherTypes" />
  13767. </AssociationSet>
  13768. <AssociationSet Name="FK_TblExpenseCodesCompany_ExpenseCode" Association="ProvisionStagingModel.FK_TblExpenseCodesCompany_ExpenseCode">
  13769. <End Role="TblExpenseCode" EntitySet="TblExpenseCodes" />
  13770. <End Role="TblExpenseCodesCompany" EntitySet="TblExpenseCodesCompanies" />
  13771. </AssociationSet>
  13772. <AssociationSet Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCode" Association="ProvisionStagingModel.FK_TblExpenseCodeTransactionsDetail_ExpenseCode">
  13773. <End Role="TblExpenseCode" EntitySet="TblExpenseCodes" />
  13774. <End Role="TblExpenseCodeTransactionsDetail" EntitySet="TblExpenseCodeTransactionsDetails" />
  13775. </AssociationSet>
  13776. <AssociationSet Name="FK_TblInvoiceLines_ExpenseCode" Association="ProvisionStagingModel.FK_TblInvoiceLines_ExpenseCode">
  13777. <End Role="TblExpenseCode" EntitySet="TblExpenseCodes" />
  13778. <End Role="TblInvoiceLine" EntitySet="TblInvoiceLines" />
  13779. </AssociationSet>
  13780. <AssociationSet Name="FK_TblTransferFunds_FromExpenseCode" Association="ProvisionStagingModel.FK_TblTransferFunds_FromExpenseCode">
  13781. <End Role="TblExpenseCodesCompany" EntitySet="TblExpenseCodesCompanies" />
  13782. <End Role="TblTransferFund" EntitySet="TblTransferFunds" />
  13783. </AssociationSet>
  13784. <AssociationSet Name="FK_TblTransferFunds_ToExpenseCode" Association="ProvisionStagingModel.FK_TblTransferFunds_ToExpenseCode">
  13785. <End Role="TblExpenseCodesCompany" EntitySet="TblExpenseCodesCompanies" />
  13786. <End Role="TblTransferFund" EntitySet="TblTransferFunds" />
  13787. </AssociationSet>
  13788. <AssociationSet Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader" Association="ProvisionStagingModel.FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader">
  13789. <End Role="TblExpenseCodeTransactionsHeader" EntitySet="TblExpenseCodeTransactionsHeaders" />
  13790. <End Role="TblExpenseCodeTransactionsDetail" EntitySet="TblExpenseCodeTransactionsDetails" />
  13791. </AssociationSet>
  13792. <AssociationSet Name="FK_TblExternalResortCommission_Resort" Association="ProvisionStagingModel.FK_TblExternalResortCommission_Resort">
  13793. <End Role="TblResort" EntitySet="TblResorts" />
  13794. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommissions" />
  13795. </AssociationSet>
  13796. <AssociationSet Name="FK_TblExternalResortCommission_Week" Association="ProvisionStagingModel.FK_TblExternalResortCommission_Week">
  13797. <End Role="TblExternalResortCommissionWeek" EntitySet="TblExternalResortCommissionWeeks" />
  13798. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommissions" />
  13799. </AssociationSet>
  13800. <AssociationSet Name="FK_TblExternalResortCommission_WeekModule" Association="ProvisionStagingModel.FK_TblExternalResortCommission_WeekModule">
  13801. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  13802. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommissions" />
  13803. </AssociationSet>
  13804. <AssociationSet Name="FK_TblExternalResortCommissionTransactions_Commission" Association="ProvisionStagingModel.FK_TblExternalResortCommissionTransactions_Commission">
  13805. <End Role="TblExternalResortCommission" EntitySet="TblExternalResortCommissions" />
  13806. <End Role="TblExternalResortCommissionTransaction" EntitySet="TblExternalResortCommissionTransactions" />
  13807. </AssociationSet>
  13808. <AssociationSet Name="FK_TblExternalResortCommissionWeeks_Resort" Association="ProvisionStagingModel.FK_TblExternalResortCommissionWeeks_Resort">
  13809. <End Role="TblResort" EntitySet="TblResorts" />
  13810. <End Role="TblExternalResortCommissionWeek" EntitySet="TblExternalResortCommissionWeeks" />
  13811. </AssociationSet>
  13812. <AssociationSet Name="FK_TblExternalResortCommissionWeeks_WeekModule" Association="ProvisionStagingModel.FK_TblExternalResortCommissionWeeks_WeekModule">
  13813. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  13814. <End Role="TblExternalResortCommissionWeek" EntitySet="TblExternalResortCommissionWeeks" />
  13815. </AssociationSet>
  13816. <AssociationSet Name="FK_TblLeadFeedback_Feedback" Association="ProvisionStagingModel.FK_TblLeadFeedback_Feedback">
  13817. <End Role="TblFeedbackType" EntitySet="TblFeedbackTypes" />
  13818. <End Role="TblLeadFeedback" EntitySet="TblLeadFeedbacks" />
  13819. </AssociationSet>
  13820. <AssociationSet Name="FK_TblFriends_Profile" Association="ProvisionStagingModel.FK_TblFriends_Profile">
  13821. <End Role="TblReferalProfile" EntitySet="TblReferalProfiles" />
  13822. <End Role="TblFriend" EntitySet="TblFriends" />
  13823. </AssociationSet>
  13824. <AssociationSet Name="FK_TblGalvanizedTransactions_AccountNumber" Association="ProvisionStagingModel.FK_TblGalvanizedTransactions_AccountNumber">
  13825. <End Role="TblGalvanizedDeal" EntitySet="TblGalvanizedDeals" />
  13826. <End Role="TblGalvanizedTransaction" EntitySet="TblGalvanizedTransactions" />
  13827. </AssociationSet>
  13828. <AssociationSet Name="FK_TblHideDebtorTransaction_CreatedBy" Association="ProvisionStagingModel.FK_TblHideDebtorTransaction_CreatedBy">
  13829. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13830. <End Role="TblHideDebtorTransaction" EntitySet="TblHideDebtorTransactions" />
  13831. </AssociationSet>
  13832. <AssociationSet Name="FK_TblLeads_ImportSource" Association="ProvisionStagingModel.FK_TblLeads_ImportSource">
  13833. <End Role="TblImportSource" EntitySet="TblImportSources" />
  13834. <End Role="TblLead" EntitySet="TblLeads" />
  13835. </AssociationSet>
  13836. <AssociationSet Name="FK_TblOldImportSource_ImportSource" Association="ProvisionStagingModel.FK_TblOldImportSource_ImportSource">
  13837. <End Role="TblImportSource" EntitySet="TblImportSources" />
  13838. <End Role="TblOldImportSource" EntitySet="TblOldImportSources" />
  13839. </AssociationSet>
  13840. <AssociationSet Name="FK_TblPersonnelImportSource_ImportSource" Association="ProvisionStagingModel.FK_TblPersonnelImportSource_ImportSource">
  13841. <End Role="TblImportSource" EntitySet="TblImportSources" />
  13842. <End Role="TblPersonnelImportSource" EntitySet="TblPersonnelImportSources" />
  13843. </AssociationSet>
  13844. <AssociationSet Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource" Association="ProvisionStagingModel.FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource">
  13845. <End Role="TblImportSource" EntitySet="TblImportSources" />
  13846. <End Role="TblPersonnelPersonnel_TblImportSourceImportSource" EntitySet="TblPersonnelPersonnel_TblImportSourceImportSource" />
  13847. </AssociationSet>
  13848. <AssociationSet Name="FK_TblSalesVenueImportSource_ImportSource" Association="ProvisionStagingModel.FK_TblSalesVenueImportSource_ImportSource">
  13849. <End Role="TblImportSource" EntitySet="TblImportSources" />
  13850. <End Role="TblSalesVenueImportSource" EntitySet="TblSalesVenueImportSources" />
  13851. </AssociationSet>
  13852. <AssociationSet Name="FK_TblLeads_IncomeGroup" Association="ProvisionStagingModel.FK_TblLeads_IncomeGroup">
  13853. <End Role="TblIncomeBracket" EntitySet="TblIncomeBrackets" />
  13854. <End Role="TblLead" EntitySet="TblLeads" />
  13855. </AssociationSet>
  13856. <AssociationSet Name="FK_TblTimeOffNoVouchers_IncomeBracket" Association="ProvisionStagingModel.FK_TblTimeOffNoVouchers_IncomeBracket">
  13857. <End Role="TblIncomeBracket" EntitySet="TblIncomeBrackets" />
  13858. <End Role="TblTimeOffNoVoucher" EntitySet="TblTimeOffNoVouchers" />
  13859. </AssociationSet>
  13860. <AssociationSet Name="FK_TblTimeOffVouchers_IncomeBracket" Association="ProvisionStagingModel.FK_TblTimeOffVouchers_IncomeBracket">
  13861. <End Role="TblIncomeBracket" EntitySet="TblIncomeBrackets" />
  13862. <End Role="TblTimeOffVoucher" EntitySet="TblTimeOffVouchers" />
  13863. </AssociationSet>
  13864. <AssociationSet Name="FK_Transfigurations_InsuranceReason" Association="ProvisionStagingModel.FK_Transfigurations_InsuranceReason">
  13865. <End Role="TblInsuranceReason" EntitySet="TblInsuranceReasons" />
  13866. <End Role="Transfiguration" EntitySet="Transfigurations" />
  13867. </AssociationSet>
  13868. <AssociationSet Name="FK_TblInvoiceLines_InvoiceNumber" Association="ProvisionStagingModel.FK_TblInvoiceLines_InvoiceNumber">
  13869. <End Role="TblInvoice" EntitySet="TblInvoices" />
  13870. <End Role="TblInvoiceLine" EntitySet="TblInvoiceLines" />
  13871. </AssociationSet>
  13872. <AssociationSet Name="FK_TblInvoices_Resort" Association="ProvisionStagingModel.FK_TblInvoices_Resort">
  13873. <End Role="TblResort" EntitySet="TblResorts" />
  13874. <End Role="TblInvoice" EntitySet="TblInvoices" />
  13875. </AssociationSet>
  13876. <AssociationSet Name="FK_TblJournalLines_JournalBatch" Association="ProvisionStagingModel.FK_TblJournalLines_JournalBatch">
  13877. <End Role="TblJournalBatch" EntitySet="TblJournalBatches" />
  13878. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13879. </AssociationSet>
  13880. <AssociationSet Name="FK_TblJournalLineCatBreakdown_JournalLine" Association="ProvisionStagingModel.FK_TblJournalLineCatBreakdown_JournalLine">
  13881. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13882. <End Role="TblJournalLineCatBreakdown" EntitySet="TblJournalLineCatBreakdowns" />
  13883. </AssociationSet>
  13884. <AssociationSet Name="FK_TblJournalLines_PayType" Association="ProvisionStagingModel.FK_TblJournalLines_PayType">
  13885. <End Role="TblPaymentType" EntitySet="TblPaymentTypes" />
  13886. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13887. </AssociationSet>
  13888. <AssociationSet Name="FK_TblJournalLineTransactions_JournalLine" Association="ProvisionStagingModel.FK_TblJournalLineTransactions_JournalLine">
  13889. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13890. <End Role="TblJournalLineTransaction" EntitySet="TblJournalLineTransactions" />
  13891. </AssociationSet>
  13892. <AssociationSet Name="FK_TblSuspenseTransaction_JournalLine" Association="ProvisionStagingModel.FK_TblSuspenseTransaction_JournalLine">
  13893. <End Role="TblJournalLine" EntitySet="TblJournalLines" />
  13894. <End Role="TblSuspenseTransaction" EntitySet="TblSuspenseTransactions" />
  13895. </AssociationSet>
  13896. <AssociationSet Name="FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction" Association="ProvisionStagingModel.FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction">
  13897. <End Role="TblJournalLineTransaction" EntitySet="TblJournalLineTransactions" />
  13898. <End Role="TblJournalLineTransactionsCatBreakdown" EntitySet="TblJournalLineTransactionsCatBreakdowns" />
  13899. </AssociationSet>
  13900. <AssociationSet Name="FK_TblLeadFeedback_Telemarketer" Association="ProvisionStagingModel.FK_TblLeadFeedback_Telemarketer">
  13901. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13902. <End Role="TblLeadFeedback" EntitySet="TblLeadFeedbacks" />
  13903. </AssociationSet>
  13904. <AssociationSet Name="FK_TblLeadFeedback_TFGLeadsKey" Association="ProvisionStagingModel.FK_TblLeadFeedback_TFGLeadsKey">
  13905. <End Role="TblTFGLead" EntitySet="TblTFGLeads" />
  13906. <End Role="TblLeadFeedback" EntitySet="TblLeadFeedbacks" />
  13907. </AssociationSet>
  13908. <AssociationSet Name="FK_TblLeads_SpouseTitle" Association="ProvisionStagingModel.FK_TblLeads_SpouseTitle">
  13909. <End Role="Title" EntitySet="Titles" />
  13910. <End Role="TblLead" EntitySet="TblLeads" />
  13911. </AssociationSet>
  13912. <AssociationSet Name="FK_TblLeads_TimeOffNonVoucherNumber" Association="ProvisionStagingModel.FK_TblLeads_TimeOffNonVoucherNumber">
  13913. <End Role="TblTimeOffNoVoucher" EntitySet="TblTimeOffNoVouchers" />
  13914. <End Role="TblLead" EntitySet="TblLeads" />
  13915. </AssociationSet>
  13916. <AssociationSet Name="FK_TblLeads_TimeOffVoucherNumber" Association="ProvisionStagingModel.FK_TblLeads_TimeOffVoucherNumber">
  13917. <End Role="TblTimeOffVoucher" EntitySet="TblTimeOffVouchers" />
  13918. <End Role="TblLead" EntitySet="TblLeads" />
  13919. </AssociationSet>
  13920. <AssociationSet Name="FK_TblLeads_Title" Association="ProvisionStagingModel.FK_TblLeads_Title">
  13921. <End Role="Title" EntitySet="Titles" />
  13922. <End Role="TblLead" EntitySet="TblLeads" />
  13923. </AssociationSet>
  13924. <AssociationSet Name="FK_TblLeadsCallHistory_Podmanager" Association="ProvisionStagingModel.FK_TblLeadsCallHistory_Podmanager">
  13925. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13926. <End Role="TblLeadsCallHistory" EntitySet="TblLeadsCallHistories" />
  13927. </AssociationSet>
  13928. <AssociationSet Name="FK_TblLeadsCallHistory_Telemarketer" Association="ProvisionStagingModel.FK_TblLeadsCallHistory_Telemarketer">
  13929. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13930. <End Role="TblLeadsCallHistory" EntitySet="TblLeadsCallHistories" />
  13931. </AssociationSet>
  13932. <AssociationSet Name="FK_TblLeadsCallHistory_TelemarketerOffice" Association="ProvisionStagingModel.FK_TblLeadsCallHistory_TelemarketerOffice">
  13933. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  13934. <End Role="TblLeadsCallHistory" EntitySet="TblLeadsCallHistories" />
  13935. </AssociationSet>
  13936. <AssociationSet Name="FK_TblManagementFeeOverride_PaymentType" Association="ProvisionStagingModel.FK_TblManagementFeeOverride_PaymentType">
  13937. <End Role="TblPaymentType" EntitySet="TblPaymentTypes" />
  13938. <End Role="TblManagementFeeOverride" EntitySet="TblManagementFeeOverrides" />
  13939. </AssociationSet>
  13940. <AssociationSet Name="FK_TblManagementFeesToAdjust_Resort" Association="ProvisionStagingModel.FK_TblManagementFeesToAdjust_Resort">
  13941. <End Role="TblResort" EntitySet="TblResorts" />
  13942. <End Role="TblManagementFeesToAdjust" EntitySet="TblManagementFeesToAdjusts" />
  13943. </AssociationSet>
  13944. <AssociationSet Name="FK_TblMarketingCampaignResort_Campaign" Association="ProvisionStagingModel.FK_TblMarketingCampaignResort_Campaign">
  13945. <End Role="TblMarketingCampaign" EntitySet="TblMarketingCampaigns" />
  13946. <End Role="TblMarketingCampaignResort" EntitySet="TblMarketingCampaignResorts" />
  13947. </AssociationSet>
  13948. <AssociationSet Name="FK_TblVoucher_Campaign" Association="ProvisionStagingModel.FK_TblVoucher_Campaign">
  13949. <End Role="TblMarketingCampaign" EntitySet="TblMarketingCampaigns" />
  13950. <End Role="TblVoucher" EntitySet="TblVouchers" />
  13951. </AssociationSet>
  13952. <AssociationSet Name="FK_TblVoucherSeries_Campaign" Association="ProvisionStagingModel.FK_TblVoucherSeries_Campaign">
  13953. <End Role="TblMarketingCampaign" EntitySet="TblMarketingCampaigns" />
  13954. <End Role="TblVoucherSery" EntitySet="TblVoucherSeries" />
  13955. </AssociationSet>
  13956. <AssociationSet Name="FK_TblMarketingCampaignResort_Resort" Association="ProvisionStagingModel.FK_TblMarketingCampaignResort_Resort">
  13957. <End Role="TblResort" EntitySet="TblResorts" />
  13958. <End Role="TblMarketingCampaignResort" EntitySet="TblMarketingCampaignResorts" />
  13959. </AssociationSet>
  13960. <AssociationSet Name="FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup" Association="ProvisionStagingModel.FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup">
  13961. <End Role="TblMessageCode" EntitySet="TblMessageCodes" />
  13962. <End Role="TblMessageCodeMessageGroup_MessageCodeGroupGroup" EntitySet="TblMessageCodeMessageGroup_MessageCodeGroupGroup" />
  13963. </AssociationSet>
  13964. <AssociationSet Name="FK_TblPortfolioNotes_MessageCode" Association="ProvisionStagingModel.FK_TblPortfolioNotes_MessageCode">
  13965. <End Role="TblMessageCode" EntitySet="TblMessageCodes" />
  13966. <End Role="TblPortfolioNote" EntitySet="TblPortfolioNotes" />
  13967. </AssociationSet>
  13968. <AssociationSet Name="FK_TblOverrideAudit_OverrideUser" Association="ProvisionStagingModel.FK_TblOverrideAudit_OverrideUser">
  13969. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13970. <End Role="TblOverrideAudit" EntitySet="TblOverrideAudits" />
  13971. </AssociationSet>
  13972. <AssociationSet Name="FK_TblOverrideAudit_Portfolio" Association="ProvisionStagingModel.FK_TblOverrideAudit_Portfolio">
  13973. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  13974. <End Role="TblOverrideAudit" EntitySet="TblOverrideAudits" />
  13975. </AssociationSet>
  13976. <AssociationSet Name="FK_TblOverrideAudit_TransfigurationsKey" Association="ProvisionStagingModel.FK_TblOverrideAudit_TransfigurationsKey">
  13977. <End Role="Transfiguration" EntitySet="Transfigurations" />
  13978. <End Role="TblOverrideAudit" EntitySet="TblOverrideAudits" />
  13979. </AssociationSet>
  13980. <AssociationSet Name="FK_TblPaymentPlan_PaymentType" Association="ProvisionStagingModel.FK_TblPaymentPlan_PaymentType">
  13981. <End Role="TblPaymentType" EntitySet="TblPaymentTypes" />
  13982. <End Role="TblPaymentPlan" EntitySet="TblPaymentPlans" />
  13983. </AssociationSet>
  13984. <AssociationSet Name="FK__TblSalesV__Perso__1A3FCC1E" Association="ProvisionStagingModel.FK__TblSalesV__Perso__1A3FCC1E">
  13985. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13986. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnels" />
  13987. </AssociationSet>
  13988. <AssociationSet Name="FK__TblSalesV__PodMa__1B33F057" Association="ProvisionStagingModel.FK__TblSalesV__PodMa__1B33F057">
  13989. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13990. <End Role="TblSalesVenuePersonnel" EntitySet="TblSalesVenuePersonnels" />
  13991. </AssociationSet>
  13992. <AssociationSet Name="FK_TblPersonnel_CommissionLinkedTo" Association="ProvisionStagingModel.FK_TblPersonnel_CommissionLinkedTo">
  13993. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13994. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  13995. </AssociationSet>
  13996. <AssociationSet Name="FK_TblPersonnel_Manager" Association="ProvisionStagingModel.FK_TblPersonnel_Manager">
  13997. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  13998. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  13999. </AssociationSet>
  14000. <AssociationSet Name="FK_TblPersonnel_NewCommStructure" Association="ProvisionStagingModel.FK_TblPersonnel_NewCommStructure">
  14001. <End Role="TblTMCommStructure" EntitySet="TblTMCommStructures" />
  14002. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14003. </AssociationSet>
  14004. <AssociationSet Name="FK_TblPersonnel_PAAss" Association="ProvisionStagingModel.FK_TblPersonnel_PAAss">
  14005. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14006. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  14007. </AssociationSet>
  14008. <AssociationSet Name="FK_TblPersonnel_PitchedLeadsReportVenue" Association="ProvisionStagingModel.FK_TblPersonnel_PitchedLeadsReportVenue">
  14009. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14010. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14011. </AssociationSet>
  14012. <AssociationSet Name="FK_TblPersonnel_PrimarySalesDeck" Association="ProvisionStagingModel.FK_TblPersonnel_PrimarySalesDeck">
  14013. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14014. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14015. </AssociationSet>
  14016. <AssociationSet Name="FK_TblPersonnel_RegionalSalesManager" Association="ProvisionStagingModel.FK_TblPersonnel_RegionalSalesManager">
  14017. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14018. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  14019. </AssociationSet>
  14020. <AssociationSet Name="FK_TblPersonnel_SalesCommissionEquityCategory" Association="ProvisionStagingModel.FK_TblPersonnel_SalesCommissionEquityCategory">
  14021. <End Role="TblSalesCommissionEquity" EntitySet="TblSalesCommissionEquities" />
  14022. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14023. </AssociationSet>
  14024. <AssociationSet Name="FK_TblPersonnel_SalesCommissionStructure" Association="ProvisionStagingModel.FK_TblPersonnel_SalesCommissionStructure">
  14025. <End Role="TblSalesCommissionPercentage" EntitySet="TblSalesCommissionPercentages" />
  14026. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14027. </AssociationSet>
  14028. <AssociationSet Name="FK_TblPersonnel_SalesManager" Association="ProvisionStagingModel.FK_TblPersonnel_SalesManager">
  14029. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14030. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  14031. </AssociationSet>
  14032. <AssociationSet Name="FK_TblPersonnel_SCVStructure" Association="ProvisionStagingModel.FK_TblPersonnel_SCVStructure">
  14033. <End Role="TblSCV2CommissionStructure" EntitySet="TblSCV2CommissionStructure" />
  14034. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14035. </AssociationSet>
  14036. <AssociationSet Name="FK_TblPersonnel_SMI" Association="ProvisionStagingModel.FK_TblPersonnel_SMI">
  14037. <End Role="TblSMIIncentive" EntitySet="TblSMIIncentives" />
  14038. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14039. </AssociationSet>
  14040. <AssociationSet Name="FK_TblPersonnel_Supervisor" Association="ProvisionStagingModel.FK_TblPersonnel_Supervisor">
  14041. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14042. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  14043. </AssociationSet>
  14044. <AssociationSet Name="FK_TblPersonnel_TelemarketerOffice" Association="ProvisionStagingModel.FK_TblPersonnel_TelemarketerOffice">
  14045. <End Role="TblTelemarketerOffice" EntitySet="TblTelemarketerOffices" />
  14046. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14047. </AssociationSet>
  14048. <AssociationSet Name="FK_TblPersonnel_Title" Association="ProvisionStagingModel.FK_TblPersonnel_Title">
  14049. <End Role="Title" EntitySet="Titles" />
  14050. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14051. </AssociationSet>
  14052. <AssociationSet Name="FK_TblPersonnel_TrainingManager" Association="ProvisionStagingModel.FK_TblPersonnel_TrainingManager">
  14053. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14054. <End Role="TblPersonnel1" EntitySet="TblPersonnels" />
  14055. </AssociationSet>
  14056. <AssociationSet Name="FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants" Association="ProvisionStagingModel.FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants">
  14057. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14058. <End Role="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" EntitySet="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" />
  14059. </AssociationSet>
  14060. <AssociationSet Name="FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants" Association="ProvisionStagingModel.FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants">
  14061. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14062. <End Role="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" EntitySet="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" />
  14063. </AssociationSet>
  14064. <AssociationSet Name="FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel" Association="ProvisionStagingModel.FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel">
  14065. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14066. <End Role="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" EntitySet="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" />
  14067. </AssociationSet>
  14068. <AssociationSet Name="FK_TblPersonnelDocuments_PersonnelCode" Association="ProvisionStagingModel.FK_TblPersonnelDocuments_PersonnelCode">
  14069. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14070. <End Role="TblPersonnelDocument" EntitySet="TblPersonnelDocuments" />
  14071. </AssociationSet>
  14072. <AssociationSet Name="FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants" Association="ProvisionStagingModel.FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants">
  14073. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14074. <End Role="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" EntitySet="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" />
  14075. </AssociationSet>
  14076. <AssociationSet Name="FK_TblPersonnelImportSource_PersonnelCode" Association="ProvisionStagingModel.FK_TblPersonnelImportSource_PersonnelCode">
  14077. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14078. <End Role="TblPersonnelImportSource" EntitySet="TblPersonnelImportSources" />
  14079. </AssociationSet>
  14080. <AssociationSet Name="FK_TblPersonnelLeave_PersonnelCode" Association="ProvisionStagingModel.FK_TblPersonnelLeave_PersonnelCode">
  14081. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14082. <End Role="TblPersonnelLeave" EntitySet="TblPersonnelLeaves" />
  14083. </AssociationSet>
  14084. <AssociationSet Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel" Association="ProvisionStagingModel.FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel">
  14085. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14086. <End Role="TblPersonnelPersonnel_TblImportSourceImportSource" EntitySet="TblPersonnelPersonnel_TblImportSourceImportSource" />
  14087. </AssociationSet>
  14088. <AssociationSet Name="FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed" Association="ProvisionStagingModel.FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed">
  14089. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14090. <End Role="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" EntitySet="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" />
  14091. </AssociationSet>
  14092. <AssociationSet Name="FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify" Association="ProvisionStagingModel.FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify">
  14093. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14094. <End Role="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" EntitySet="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" />
  14095. </AssociationSet>
  14096. <AssociationSet Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants" Association="ProvisionStagingModel.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants">
  14097. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14098. <End Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" EntitySet="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  14099. </AssociationSet>
  14100. <AssociationSet Name="FK_TblPersonnelTelephone_PersonnelCode" Association="ProvisionStagingModel.FK_TblPersonnelTelephone_PersonnelCode">
  14101. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14102. <End Role="TblPersonnelTelephone" EntitySet="TblPersonnelTelephones" />
  14103. </AssociationSet>
  14104. <AssociationSet Name="FK_TblPersonnelUnivateTarget_PersonnelCode" Association="ProvisionStagingModel.FK_TblPersonnelUnivateTarget_PersonnelCode">
  14105. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14106. <End Role="TblPersonnelUnivateTarget" EntitySet="TblPersonnelUnivateTargets" />
  14107. </AssociationSet>
  14108. <AssociationSet Name="FK_TblPersonnelWeeklyTargetSplit_Personnel" Association="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplit_Personnel">
  14109. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14110. <End Role="TblPersonnelWeeklyTargetSplit" EntitySet="TblPersonnelWeeklyTargetSplits" />
  14111. </AssociationSet>
  14112. <AssociationSet Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel" Association="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel">
  14113. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14114. <End Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" EntitySet="TblPersonnelWeeklyTargetSplitPerSalesVenues" />
  14115. </AssociationSet>
  14116. <AssociationSet Name="FK_TblPersTransfig_TblPersonnellKey" Association="ProvisionStagingModel.FK_TblPersTransfig_TblPersonnellKey">
  14117. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14118. <End Role="TblPersTransfig" EntitySet="TblPersTransfigs" />
  14119. </AssociationSet>
  14120. <AssociationSet Name="FK_TblPodManager_PersonnelCode" Association="ProvisionStagingModel.FK_TblPodManager_PersonnelCode">
  14121. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14122. <End Role="TblPodManager" EntitySet="TblPodManagers" />
  14123. </AssociationSet>
  14124. <AssociationSet Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel" Association="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel">
  14125. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14126. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" EntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  14127. </AssociationSet>
  14128. <AssociationSet Name="FK_TblQueryRecipient_BCCRecipient" Association="ProvisionStagingModel.FK_TblQueryRecipient_BCCRecipient">
  14129. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14130. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipients" />
  14131. </AssociationSet>
  14132. <AssociationSet Name="FK_TblQueryRecipient_CCRecipient" Association="ProvisionStagingModel.FK_TblQueryRecipient_CCRecipient">
  14133. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14134. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipients" />
  14135. </AssociationSet>
  14136. <AssociationSet Name="FK_TblQueryRecipient_MainRecipient" Association="ProvisionStagingModel.FK_TblQueryRecipient_MainRecipient">
  14137. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14138. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipients" />
  14139. </AssociationSet>
  14140. <AssociationSet Name="FK_TblRawSalesCommData_SalesConsultant" Association="ProvisionStagingModel.FK_TblRawSalesCommData_SalesConsultant">
  14141. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14142. <End Role="TblRawSalesCommData" EntitySet="TblRawSalesCommDatas" />
  14143. </AssociationSet>
  14144. <AssociationSet Name="FK_TblRawSalesCommData_SalesManager" Association="ProvisionStagingModel.FK_TblRawSalesCommData_SalesManager">
  14145. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14146. <End Role="TblRawSalesCommData" EntitySet="TblRawSalesCommDatas" />
  14147. </AssociationSet>
  14148. <AssociationSet Name="FK_TblRescheduleCalls_PersonnelCode" Association="ProvisionStagingModel.FK_TblRescheduleCalls_PersonnelCode">
  14149. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14150. <End Role="TblRescheduleCall" EntitySet="TblRescheduleCalls" />
  14151. </AssociationSet>
  14152. <AssociationSet Name="FK_TblResort__ResortManager" Association="ProvisionStagingModel.FK_TblResort__ResortManager">
  14153. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14154. <End Role="TblResort" EntitySet="TblResorts" />
  14155. </AssociationSet>
  14156. <AssociationSet Name="FK_TblResort_ResortManager" Association="ProvisionStagingModel.FK_TblResort_ResortManager">
  14157. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14158. <End Role="TblResort" EntitySet="TblResorts" />
  14159. </AssociationSet>
  14160. <AssociationSet Name="FK_TblSalesCommEarnerType_SpecificPersonnel" Association="ProvisionStagingModel.FK_TblSalesCommEarnerType_SpecificPersonnel">
  14161. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14162. <End Role="TblSalesCommEarnerType" EntitySet="TblSalesCommEarnerTypes" />
  14163. </AssociationSet>
  14164. <AssociationSet Name="FK_TblSalesCommissionInfo_CommissionOwner" Association="ProvisionStagingModel.FK_TblSalesCommissionInfo_CommissionOwner">
  14165. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14166. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfoes" />
  14167. </AssociationSet>
  14168. <AssociationSet Name="FK_TblSalesCommissionTransaction_SalesPersonnel" Association="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesPersonnel">
  14169. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14170. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransactions" />
  14171. </AssociationSet>
  14172. <AssociationSet Name="FK_TblSalesCommissionTransaction_SignedOffBy" Association="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SignedOffBy">
  14173. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14174. <End Role="TblSalesCommissionTransaction" EntitySet="TblSalesCommissionTransactions" />
  14175. </AssociationSet>
  14176. <AssociationSet Name="FK_TblSalesCommSkippedCommissions_PersonnelCode" Association="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_PersonnelCode">
  14177. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14178. <End Role="TblSalesCommSkippedCommission" EntitySet="TblSalesCommSkippedCommissions" />
  14179. </AssociationSet>
  14180. <AssociationSet Name="FK_TblSalesCommStatement_PersonnelCode" Association="ProvisionStagingModel.FK_TblSalesCommStatement_PersonnelCode">
  14181. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14182. <End Role="TblSalesCommStatement" EntitySet="TblSalesCommStatements" />
  14183. </AssociationSet>
  14184. <AssociationSet Name="FK_TblSalesVenue_ClientArrivalManager" Association="ProvisionStagingModel.FK_TblSalesVenue_ClientArrivalManager">
  14185. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14186. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14187. </AssociationSet>
  14188. <AssociationSet Name="FK_TblSalesVenue_RegionalSalesManager" Association="ProvisionStagingModel.FK_TblSalesVenue_RegionalSalesManager">
  14189. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14190. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14191. </AssociationSet>
  14192. <AssociationSet Name="FK_TblSalesVenue_RegionalSalesManager2" Association="ProvisionStagingModel.FK_TblSalesVenue_RegionalSalesManager2">
  14193. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14194. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14195. </AssociationSet>
  14196. <AssociationSet Name="FK_TblSalesVenue_SalesManager" Association="ProvisionStagingModel.FK_TblSalesVenue_SalesManager">
  14197. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14198. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14199. </AssociationSet>
  14200. <AssociationSet Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride" Association="ProvisionStagingModel.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride">
  14201. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14202. <End Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" EntitySet="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  14203. </AssociationSet>
  14204. <AssociationSet Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients" Association="ProvisionStagingModel.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients">
  14205. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14206. <End Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" EntitySet="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  14207. </AssociationSet>
  14208. <AssociationSet Name="FK_TblSCV2CommissionContract_SalesPerson" Association="ProvisionStagingModel.FK_TblSCV2CommissionContract_SalesPerson">
  14209. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14210. <End Role="TblSCV2CommissionContract" EntitySet="TblSCV2CommissionContract" />
  14211. </AssociationSet>
  14212. <AssociationSet Name="FK_TblSCV2SpecialStructure_Personnel" Association="ProvisionStagingModel.FK_TblSCV2SpecialStructure_Personnel">
  14213. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14214. <End Role="TblSCV2SpecialStructure" EntitySet="TblSCV2SpecialStructure" />
  14215. </AssociationSet>
  14216. <AssociationSet Name="FK_TblSCV2Transaction_SignOffBy" Association="ProvisionStagingModel.FK_TblSCV2Transaction_SignOffBy">
  14217. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14218. <End Role="TblSCV2Transaction" EntitySet="TblSCV2Transaction" />
  14219. </AssociationSet>
  14220. <AssociationSet Name="FK_TblSMICommissionInfo_SalesPerson" Association="ProvisionStagingModel.FK_TblSMICommissionInfo_SalesPerson">
  14221. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14222. <End Role="TblSMICommissionInfo" EntitySet="TblSMICommissionInfoes" />
  14223. </AssociationSet>
  14224. <AssociationSet Name="FK_TblSMITransaction_SignOffBy" Association="ProvisionStagingModel.FK_TblSMITransaction_SignOffBy">
  14225. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14226. <End Role="TblSMITransaction" EntitySet="TblSMITransactions" />
  14227. </AssociationSet>
  14228. <AssociationSet Name="FK_TblStreamline_SalesAgent" Association="ProvisionStagingModel.FK_TblStreamline_SalesAgent">
  14229. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14230. <End Role="TblStreamline" EntitySet="TblStreamlines" />
  14231. </AssociationSet>
  14232. <AssociationSet Name="FK_TblTelemarketerRegister_PersonnelCode" Association="ProvisionStagingModel.FK_TblTelemarketerRegister_PersonnelCode">
  14233. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14234. <End Role="TblTelemarketerRegister" EntitySet="TblTelemarketerRegisters" />
  14235. </AssociationSet>
  14236. <AssociationSet Name="FK_TblTFGLeads_OwnedBy" Association="ProvisionStagingModel.FK_TblTFGLeads_OwnedBy">
  14237. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14238. <End Role="TblTFGLead" EntitySet="TblTFGLeads" />
  14239. </AssociationSet>
  14240. <AssociationSet Name="FK_TblTMCommBasicTransactions_Personnel" Association="ProvisionStagingModel.FK_TblTMCommBasicTransactions_Personnel">
  14241. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14242. <End Role="TblTMCommBasicTransaction" EntitySet="TblTMCommBasicTransactions" />
  14243. </AssociationSet>
  14244. <AssociationSet Name="FK_TblTMCommDeals_Person" Association="ProvisionStagingModel.FK_TblTMCommDeals_Person">
  14245. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14246. <End Role="TblTMCommDeal" EntitySet="TblTMCommDeals" />
  14247. </AssociationSet>
  14248. <AssociationSet Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList" Association="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList">
  14249. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14250. <End Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" EntitySet="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  14251. </AssociationSet>
  14252. <AssociationSet Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList" Association="ProvisionStagingModel.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList">
  14253. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14254. <End Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" EntitySet="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  14255. </AssociationSet>
  14256. <AssociationSet Name="FK_TblTMCommTransactions_Personnel" Association="ProvisionStagingModel.FK_TblTMCommTransactions_Personnel">
  14257. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14258. <End Role="TblTMCommTransaction" EntitySet="TblTMCommTransactions" />
  14259. </AssociationSet>
  14260. <AssociationSet Name="FK_TblTransferFunds_AllocatedToNorm" Association="ProvisionStagingModel.FK_TblTransferFunds_AllocatedToNorm">
  14261. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14262. <End Role="TblTransferFund" EntitySet="TblTransferFunds" />
  14263. </AssociationSet>
  14264. <AssociationSet Name="FK_TblUpdateBankingDetails_Personnel" Association="ProvisionStagingModel.FK_TblUpdateBankingDetails_Personnel">
  14265. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14266. <End Role="TblUpdateBankingDetail" EntitySet="TblUpdateBankingDetails" />
  14267. </AssociationSet>
  14268. <AssociationSet Name="FK_Transfigurations_SalesAgent" Association="ProvisionStagingModel.FK_Transfigurations_SalesAgent">
  14269. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14270. <End Role="Transfiguration" EntitySet="Transfigurations" />
  14271. </AssociationSet>
  14272. <AssociationSet Name="FK_Transfigurations_SalesManager" Association="ProvisionStagingModel.FK_Transfigurations_SalesManager">
  14273. <End Role="TblPersonnel" EntitySet="TblPersonnels" />
  14274. <End Role="Transfiguration" EntitySet="Transfigurations" />
  14275. </AssociationSet>
  14276. <AssociationSet Name="FK_TblPersonnelTelephone_TelephoneType" Association="ProvisionStagingModel.FK_TblPersonnelTelephone_TelephoneType">
  14277. <End Role="TblTelephoneType" EntitySet="TblTelephoneTypes" />
  14278. <End Role="TblPersonnelTelephone" EntitySet="TblPersonnelTelephones" />
  14279. </AssociationSet>
  14280. <AssociationSet Name="FK_TblPersonnelUnivateTarget_SalesVenue" Association="ProvisionStagingModel.FK_TblPersonnelUnivateTarget_SalesVenue">
  14281. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14282. <End Role="TblPersonnelUnivateTarget" EntitySet="TblPersonnelUnivateTargets" />
  14283. </AssociationSet>
  14284. <AssociationSet Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue" Association="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue">
  14285. <End Role="TblSalesVenue" EntitySet="TblSalesVenues" />
  14286. <End Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" EntitySet="TblPersonnelWeeklyTargetSplitPerSalesVenues" />
  14287. </AssociationSet>
  14288. <AssociationSet Name="FK_TblPortfolio_EstateLateSent" Association="ProvisionStagingModel.FK_TblPortfolio_EstateLateSent">
  14289. <End Role="TblSACRRAData" EntitySet="TblSACRRADatas" />
  14290. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14291. </AssociationSet>
  14292. <AssociationSet Name="FK_TblPortfolio_EstateLateSpouseSent" Association="ProvisionStagingModel.FK_TblPortfolio_EstateLateSpouseSent">
  14293. <End Role="TblSACRRAData" EntitySet="TblSACRRADatas" />
  14294. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14295. </AssociationSet>
  14296. <AssociationSet Name="FK_TblPortfolio_SpouseTitle" Association="ProvisionStagingModel.FK_TblPortfolio_SpouseTitle">
  14297. <End Role="Title" EntitySet="Titles" />
  14298. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14299. </AssociationSet>
  14300. <AssociationSet Name="FK_TblPortfolio_Title" Association="ProvisionStagingModel.FK_TblPortfolio_Title">
  14301. <End Role="Title" EntitySet="Titles" />
  14302. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14303. </AssociationSet>
  14304. <AssociationSet Name="FK_TblPortfolioDocuments_PortFolio" Association="ProvisionStagingModel.FK_TblPortfolioDocuments_PortFolio">
  14305. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14306. <End Role="TblPortfolioDocument" EntitySet="TblPortfolioDocuments" />
  14307. </AssociationSet>
  14308. <AssociationSet Name="FK_TblPortfolioNotes_Portfolio" Association="ProvisionStagingModel.FK_TblPortfolioNotes_Portfolio">
  14309. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14310. <End Role="TblPortfolioNote" EntitySet="TblPortfolioNotes" />
  14311. </AssociationSet>
  14312. <AssociationSet Name="FK_TblPortfolioNotes_TblPortfolio" Association="ProvisionStagingModel.FK_TblPortfolioNotes_TblPortfolio">
  14313. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14314. <End Role="TblPortfolioNote" EntitySet="TblPortfolioNotes" />
  14315. </AssociationSet>
  14316. <AssociationSet Name="FK_TblPortfolioResetEstateLate_Portfolio" Association="ProvisionStagingModel.FK_TblPortfolioResetEstateLate_Portfolio">
  14317. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14318. <End Role="TblPortfolioResetEstateLate" EntitySet="TblPortfolioResetEstateLates" />
  14319. </AssociationSet>
  14320. <AssociationSet Name="FK_TblSMSCampaignMessages_Portfolio" Association="ProvisionStagingModel.FK_TblSMSCampaignMessages_Portfolio">
  14321. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14322. <End Role="TblSMSCampaignMessage" EntitySet="TblSMSCampaignMessages" />
  14323. </AssociationSet>
  14324. <AssociationSet Name="FK_TblStreamline_Portfolio" Association="ProvisionStagingModel.FK_TblStreamline_Portfolio">
  14325. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14326. <End Role="TblStreamline" EntitySet="TblStreamlines" />
  14327. </AssociationSet>
  14328. <AssociationSet Name="FK_TblTelephones_PortfolioNumber" Association="ProvisionStagingModel.FK_TblTelephones_PortfolioNumber">
  14329. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14330. <End Role="TblTelephone" EntitySet="TblTelephones" />
  14331. </AssociationSet>
  14332. <AssociationSet Name="FK_TblUnipointBookings_Portfolio" Association="ProvisionStagingModel.FK_TblUnipointBookings_Portfolio">
  14333. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14334. <End Role="TblUnipointBooking" EntitySet="TblUnipointBookings" />
  14335. </AssociationSet>
  14336. <AssociationSet Name="FK_TblUnipointBookingWeeks_Portfolio" Association="ProvisionStagingModel.FK_TblUnipointBookingWeeks_Portfolio">
  14337. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14338. <End Role="TblUnipointBookingWeek" EntitySet="TblUnipointBookingWeeks" />
  14339. </AssociationSet>
  14340. <AssociationSet Name="FK_TblUpdateBankingDetails_Portfolio" Association="ProvisionStagingModel.FK_TblUpdateBankingDetails_Portfolio">
  14341. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14342. <End Role="TblUpdateBankingDetail" EntitySet="TblUpdateBankingDetails" />
  14343. </AssociationSet>
  14344. <AssociationSet Name="FK_TblWeekBanking_Portfolio" Association="ProvisionStagingModel.FK_TblWeekBanking_Portfolio">
  14345. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14346. <End Role="TblWeekBanking" EntitySet="TblWeekBankings" />
  14347. </AssociationSet>
  14348. <AssociationSet Name="FK_Transfigurations_Portfolio" Association="ProvisionStagingModel.FK_Transfigurations_Portfolio">
  14349. <End Role="TblPortfolio" EntitySet="TblPortfolios" />
  14350. <End Role="Transfiguration" EntitySet="Transfigurations" />
  14351. </AssociationSet>
  14352. <AssociationSet Name="FK_TblPromoConfig_Category" Association="ProvisionStagingModel.FK_TblPromoConfig_Category">
  14353. <End Role="TblPromoCategory" EntitySet="TblPromoCategories" />
  14354. <End Role="TblPromoConfig" EntitySet="TblPromoConfigs" />
  14355. </AssociationSet>
  14356. <AssociationSet Name="FK_TblPromoConfig_PromoResort" Association="ProvisionStagingModel.FK_TblPromoConfig_PromoResort">
  14357. <End Role="TblResort" EntitySet="TblResorts" />
  14358. <End Role="TblPromoConfig" EntitySet="TblPromoConfigs" />
  14359. </AssociationSet>
  14360. <AssociationSet Name="FK_TblPromoConfig_Resort" Association="ProvisionStagingModel.FK_TblPromoConfig_Resort">
  14361. <End Role="TblResort" EntitySet="TblResorts" />
  14362. <End Role="TblPromoConfig" EntitySet="TblPromoConfigs" />
  14363. </AssociationSet>
  14364. <AssociationSet Name="FK_TblPromoDocuments_PromoConfig" Association="ProvisionStagingModel.FK_TblPromoDocuments_PromoConfig">
  14365. <End Role="TblPromoConfig" EntitySet="TblPromoConfigs" />
  14366. <End Role="TblPromoDocument" EntitySet="TblPromoDocuments" />
  14367. </AssociationSet>
  14368. <AssociationSet Name="FK_TblPromoMembers_Campaign" Association="ProvisionStagingModel.FK_TblPromoMembers_Campaign">
  14369. <End Role="TblPromoConfig" EntitySet="TblPromoConfigs" />
  14370. <End Role="TblPromoMember" EntitySet="TblPromoMembers" />
  14371. </AssociationSet>
  14372. <AssociationSet Name="FK_TblPromotion_PromotionType" Association="ProvisionStagingModel.FK_TblPromotion_PromotionType">
  14373. <End Role="TblPromotionType" EntitySet="TblPromotionTypes" />
  14374. <End Role="TblPromotion" EntitySet="TblPromotions" />
  14375. </AssociationSet>
  14376. <AssociationSet Name="FK_TblPromotion_Resort" Association="ProvisionStagingModel.FK_TblPromotion_Resort">
  14377. <End Role="TblResort" EntitySet="TblResorts" />
  14378. <End Role="TblPromotion" EntitySet="TblPromotions" />
  14379. </AssociationSet>
  14380. <AssociationSet Name="FK_TblPromotion_WeekModule" Association="ProvisionStagingModel.FK_TblPromotion_WeekModule">
  14381. <End Role="TblWeekModule" EntitySet="TblWeekModules" />
  14382. <End Role="TblPromotion" EntitySet="TblPromotions" />
  14383. </AssociationSet>
  14384. <AssociationSet Name="FK_TblPromotionCommission_PromotionCommissionStructure" Association="ProvisionStagingModel.FK_TblPromotionCommission_PromotionCommissionStructure">
  14385. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14386. <End Role="TblPromotionCommission" EntitySet="TblPromotionCommissions" />
  14387. </AssociationSet>
  14388. <AssociationSet Name="FK_TblPromotionCommission_SalesCommissionInfo" Association="ProvisionStagingModel.FK_TblPromotionCommission_SalesCommissionInfo">
  14389. <End Role="TblSalesCommissionInfo" EntitySet="TblSalesCommissionInfoes" />
  14390. <End Role="TblPromotionCommission" EntitySet="TblPromotionCommissions" />
  14391. </AssociationSet>
  14392. <AssociationSet Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures" Association="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures">
  14393. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14394. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" EntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" />
  14395. </AssociationSet>
  14396. <AssociationSet Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures" Association="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures">
  14397. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14398. <End Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" EntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  14399. </AssociationSet>
  14400. <AssociationSet Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" Association="ProvisionStagingModel.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  14401. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14402. <End Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  14403. </AssociationSet>
  14404. <AssociationSet Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" Association="ProvisionStagingModel.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  14405. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14406. <End Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  14407. </AssociationSet>
  14408. <AssociationSet Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" Association="ProvisionStagingModel.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  14409. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14410. <End Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  14411. </AssociationSet>
  14412. <AssociationSet Name="FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure" Association="ProvisionStagingModel.FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure">
  14413. <End Role="TblPromotionCommissionStructure" EntitySet="TblPromotionCommissionStructures" />
  14414. <End Role="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" EntitySet="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" />
  14415. </AssociationSet>
  14416. <AssociationSet Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes" Association="ProvisionStagingModel.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes">
  14417. <End Role="TblPromotionType" EntitySet="TblPromotionTypes" />
  14418. <End Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" EntitySet="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  14419. </AssociationSet>
  14420. <AssociationSet Name="FK_TblQueryCategory_QueryCategory" Association="ProvisionStagingModel.FK_TblQueryCategory_QueryCategory">
  14421. <End Role="TblQueryCategory" EntitySet="TblQueryCategories" />
  14422. <End Role="TblQueryCategory1" EntitySet="TblQueryCategories1" />
  14423. </AssociationSet>
  14424. <AssociationSet Name="FK_TblQueryCategory_System" Association="ProvisionStagingModel.FK_TblQueryCategory_System">
  14425. <End Role="TblSystem" EntitySet="TblSystems" />
  14426. <End Role="TblQueryCategory1" EntitySet="TblQueryCategories1" />
  14427. </AssociationSet>
  14428. <AssociationSet Name="FK_TblQueryRecipient_System" Association="ProvisionStagingModel.FK_TblQueryRecipient_System">
  14429. <End Role="TblSystem" EntitySet="TblSystems" />
  14430. <End Role="TblQueryRecipient" EntitySet="TblQueryRecipients" />
  14431. </AssociationSet>
  14432. <AssociationSet Name="FK_TblRankingPoints_Rankings" Association="ProvisionStagingModel.FK_TblRankingPoints_Rankings">
  14433. <End Role="TblRanking" EntitySet="TblRankings" />
  14434. <End Role="TblRankingPoint" EntitySet="TblRankingPoints" />
  14435. </AssociationSet>
  14436. <AssociationSet Name="FK_TblSeasonsRankings_Rankings" Association="ProvisionStagingModel.FK_TblSeasonsRankings_Rankings">
  14437. <End Role="TblRanking" EntitySet="TblRankings" />
  14438. <End Role="TblSeasonsRanking" EntitySet="TblSeasonsRankings" />
  14439. </AssociationSet>
  14440. <AssociationSet Name="FK_TblSleeperRankings_Rankings" Association="ProvisionStagingModel.FK_TblSleeperRankings_Rankings">
  14441. <End Role="TblRanking" EntitySet="TblRankings" />
  14442. <End Role="TblSleeperRanking" EntitySet="TblSleeperRankings" />
  14443. </AssociationSet>
  14444. <AssociationSet Name="FK_TblRCIDates_Resort" Association="ProvisionStagingModel.FK_TblRCIDates_Resort">
  14445. <End Role="TblResort" EntitySet="TblResorts" />
  14446. <End Role="TblRCIDate" EntitySet="TblRCIDates" />
  14447. </AssociationSet>
  14448. </EntityContainer>
  14449. <EntityType Name="TblResort">
  14450. <Key>
  14451. <PropertyRef Name="OID" />
  14452. </Key>
  14453. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14454. <Property Name="ResortName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14455. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  14456. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14457. <Property Name="OptimisticLockField" Type="Int32" />
  14458. <Property Name="GCRecord" Type="Int32" />
  14459. <Property Name="DeliveryAddress" Type="Guid" />
  14460. <Property Name="StockLocation" Type="Int32" />
  14461. <Property Name="ResortCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14462. <Property Name="Area" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14463. <Property Name="OldResortCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14464. <Property Name="C_ResortManager" Type="Int32" />
  14465. <Property Name="Region" Type="Int32" />
  14466. <Property Name="CheckInTime" Type="Double" />
  14467. <Property Name="CheckOutTime" Type="Double" />
  14468. <Property Name="CheckInDay" Type="Int32" />
  14469. <Property Name="ManagingAgent" Type="Int32" />
  14470. <Property Name="ResortManager" Type="Int32" />
  14471. <Property Name="RCIAffiliated" Type="Boolean" />
  14472. <Property Name="PurchaseFactor" Type="Double" />
  14473. <Property Name="DefaultDeveloper" Type="Int32" />
  14474. <Property Name="ResortRanking" Type="Int32" />
  14475. <Property Name="MayNotView" Type="Boolean" />
  14476. <Property Name="NoRebate" Type="Boolean" />
  14477. <Property Name="ConsoftWeeksStock" Type="Int32" />
  14478. <Property Name="TimeOffMaxPercentageOfStock" Type="Int32" />
  14479. <Property Name="ExternalResortCommission" Type="Boolean" />
  14480. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  14481. <Property Name="DripPeriod" Type="Int32" />
  14482. <Property Name="PayableToResort" Type="Decimal" Precision="19" Scale="4" />
  14483. <Property Name="ExcludeForPromotions" Type="Boolean" />
  14484. <Property Name="ExternalResortCommYear" Type="Int32" />
  14485. <Property Name="TimeshareResort" Type="Boolean" />
  14486. <Property Name="TimeoffResort" Type="Boolean" />
  14487. <Property Name="Available" Type="Int32" />
  14488. <Property Name="InnKeeperMap" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14489. <Property Name="TradeInFullWeek" Type="Boolean" />
  14490. <Property Name="TradeInMidWeek" Type="Boolean" />
  14491. <Property Name="TradeInWeekend" Type="Boolean" />
  14492. <Property Name="Website" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14493. <NavigationProperty Name="TblResortManagingAgent" Relationship="ProvisionStagingModel.FK_TblResort_ManagingAgent" FromRole="TblResort" ToRole="TblResortManagingAgent" />
  14494. <NavigationProperty Name="TblResortExternalSalesPeriods" Relationship="ProvisionStagingModel.FK_TblResortExternalSalesPeriod_Resort" FromRole="TblResort" ToRole="TblResortExternalSalesPeriod" />
  14495. <NavigationProperty Name="TblResortNotes" Relationship="ProvisionStagingModel.FK_TblResortNotes_ResortKey" FromRole="TblResort" ToRole="TblResortNote" />
  14496. <NavigationProperty Name="TblResortRebateBlocks" Relationship="ProvisionStagingModel.FK_TblResortRebateBlock_Resort" FromRole="TblResort" ToRole="TblResortRebateBlock" />
  14497. <NavigationProperty Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Relationship="ProvisionStagingModel.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts" FromRole="TblResort" ToRole="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  14498. <NavigationProperty Name="TblResortSalesPeriods" Relationship="ProvisionStagingModel.FK_TblResortSalesPeriod_Resort" FromRole="TblResort" ToRole="TblResortSalesPeriod" />
  14499. <NavigationProperty Name="TblSalesVenues" Relationship="ProvisionStagingModel.FK_TblSalesVenue_Resort" FromRole="TblResort" ToRole="TblSalesVenue" />
  14500. <NavigationProperty Name="TblTimeOffVouchers" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_Resort" FromRole="TblResort" ToRole="TblTimeOffVoucher" />
  14501. <NavigationProperty Name="TblVouchers" Relationship="ProvisionStagingModel.FK_TblVoucher_Resort" FromRole="TblResort" ToRole="TblVoucher" />
  14502. <NavigationProperty Name="TblWeekBankings" Relationship="ProvisionStagingModel.FK_TblWeekBanking_Resort" FromRole="TblResort" ToRole="TblWeekBanking" />
  14503. <NavigationProperty Name="TblWeekModules" Relationship="ProvisionStagingModel.FK_TblWeekModule_Resort" FromRole="TblResort" ToRole="TblWeekModule" />
  14504. <NavigationProperty Name="TblDebtors" Relationship="ProvisionStagingModel.FK_TblDebtor_Resort" FromRole="TblResort" ToRole="TblDebtor" />
  14505. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblResort_DefaultDeveloper" FromRole="TblResort" ToRole="TblDeveloper" />
  14506. <NavigationProperty Name="TblExternalResortCommissions" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_Resort" FromRole="TblResort" ToRole="TblExternalResortCommission" />
  14507. <NavigationProperty Name="TblExternalResortCommissionWeeks" Relationship="ProvisionStagingModel.FK_TblExternalResortCommissionWeeks_Resort" FromRole="TblResort" ToRole="TblExternalResortCommissionWeek" />
  14508. <NavigationProperty Name="TblInvoices" Relationship="ProvisionStagingModel.FK_TblInvoices_Resort" FromRole="TblResort" ToRole="TblInvoice" />
  14509. <NavigationProperty Name="TblManagementFeesToAdjusts" Relationship="ProvisionStagingModel.FK_TblManagementFeesToAdjust_Resort" FromRole="TblResort" ToRole="TblManagementFeesToAdjust" />
  14510. <NavigationProperty Name="TblMarketingCampaignResorts" Relationship="ProvisionStagingModel.FK_TblMarketingCampaignResort_Resort" FromRole="TblResort" ToRole="TblMarketingCampaignResort" />
  14511. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblResort__ResortManager" FromRole="TblResort" ToRole="TblPersonnel" />
  14512. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblResort_ResortManager" FromRole="TblResort" ToRole="TblPersonnel" />
  14513. <NavigationProperty Name="TblPromoConfigs" Relationship="ProvisionStagingModel.FK_TblPromoConfig_PromoResort" FromRole="TblResort" ToRole="TblPromoConfig" />
  14514. <NavigationProperty Name="TblPromoConfigs1" Relationship="ProvisionStagingModel.FK_TblPromoConfig_Resort" FromRole="TblResort" ToRole="TblPromoConfig" />
  14515. <NavigationProperty Name="TblPromotions" Relationship="ProvisionStagingModel.FK_TblPromotion_Resort" FromRole="TblResort" ToRole="TblPromotion" />
  14516. <NavigationProperty Name="TblRCIDates" Relationship="ProvisionStagingModel.FK_TblRCIDates_Resort" FromRole="TblResort" ToRole="TblRCIDate" />
  14517. </EntityType>
  14518. <EntityType Name="TblResortExternalSalesPeriod">
  14519. <Key>
  14520. <PropertyRef Name="OID" />
  14521. </Key>
  14522. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14523. <Property Name="Resort" Type="Int32" />
  14524. <Property Name="StartDate" Type="DateTime" Precision="3" />
  14525. <Property Name="EndDate" Type="DateTime" Precision="3" />
  14526. <Property Name="AlienationPeriod" Type="Int32" />
  14527. <Property Name="OptimisticLockField" Type="Int32" />
  14528. <Property Name="GCRecord" Type="Int32" />
  14529. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblResortExternalSalesPeriod_Resort" FromRole="TblResortExternalSalesPeriod" ToRole="TblResort" />
  14530. <NavigationProperty Name="TblResortExternalSalesPeriodRules" Relationship="ProvisionStagingModel.FK_TblResortExternalSalesPeriodRules_SalesPeriod" FromRole="TblResortExternalSalesPeriod" ToRole="TblResortExternalSalesPeriodRule" />
  14531. </EntityType>
  14532. <EntityType Name="TblResortExternalSalesPeriodRule">
  14533. <Key>
  14534. <PropertyRef Name="OID" />
  14535. </Key>
  14536. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14537. <Property Name="SalesPeriod" Type="Int32" />
  14538. <Property Name="Year" Type="Int32" />
  14539. <Property Name="TermLeft" Type="Int32" />
  14540. <Property Name="InstalmentPeriod" Type="Int32" />
  14541. <Property Name="RebateProrata" Type="Decimal" Precision="19" Scale="4" />
  14542. <Property Name="LeasePriceProrata" Type="Decimal" Precision="19" Scale="4" />
  14543. <Property Name="OptimisticLockField" Type="Int32" />
  14544. <Property Name="GCRecord" Type="Int32" />
  14545. <NavigationProperty Name="TblResortExternalSalesPeriod" Relationship="ProvisionStagingModel.FK_TblResortExternalSalesPeriodRules_SalesPeriod" FromRole="TblResortExternalSalesPeriodRule" ToRole="TblResortExternalSalesPeriod" />
  14546. </EntityType>
  14547. <EntityType Name="TblResortManagingAgent">
  14548. <Key>
  14549. <PropertyRef Name="OID" />
  14550. </Key>
  14551. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14552. <Property Name="ManagingAgentName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14553. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14554. <Property Name="TelephoneNumber" Type="Int32" />
  14555. <Property Name="OptimisticLockField" Type="Int32" />
  14556. <Property Name="GCRecord" Type="Int32" />
  14557. <NavigationProperty Name="TblResorts" Relationship="ProvisionStagingModel.FK_TblResort_ManagingAgent" FromRole="TblResortManagingAgent" ToRole="TblResort" />
  14558. </EntityType>
  14559. <EntityType Name="TblResortNote">
  14560. <Key>
  14561. <PropertyRef Name="OID" />
  14562. </Key>
  14563. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14564. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  14565. <Property Name="CreatedBy" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  14566. <Property Name="ExpiryDate" Type="DateTime" Precision="3" />
  14567. <Property Name="ResortKey" Type="Int32" />
  14568. <Property Name="Notes" Type="String" MaxLength="400" FixedLength="false" Unicode="true" />
  14569. <Property Name="OptimisticLockField" Type="Int32" />
  14570. <Property Name="GCRecord" Type="Int32" />
  14571. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblResortNotes_ResortKey" FromRole="TblResortNote" ToRole="TblResort" />
  14572. </EntityType>
  14573. <EntityType Name="TblResortRebateBlock">
  14574. <Key>
  14575. <PropertyRef Name="Oid" />
  14576. </Key>
  14577. <Property Name="Oid" Type="Guid" Nullable="false" />
  14578. <Property Name="Resort" Type="Int32" />
  14579. <Property Name="Club" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  14580. <Property Name="SalesType" Type="Int32" />
  14581. <Property Name="BlockRebate" Type="Boolean" />
  14582. <Property Name="BlockRebateForOutBal" Type="Boolean" />
  14583. <Property Name="OptimisticLockField" Type="Int32" />
  14584. <Property Name="GCRecord" Type="Int32" />
  14585. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14586. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  14587. <Property Name="Season" Type="Int32" />
  14588. <Property Name="AssetType" Type="Int32" />
  14589. <Property Name="Asset" Type="Int32" />
  14590. <Property Name="WeekModule" Type="Int32" />
  14591. <Property Name="AllowedPercentage" Type="Decimal" Precision="19" Scale="4" />
  14592. <Property Name="MaxRebate" Type="Decimal" Precision="19" Scale="4" />
  14593. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblResortRebateBlock_Resort" FromRole="TblResortRebateBlock" ToRole="TblResort" />
  14594. <NavigationProperty Name="TblWeekModule" Relationship="ProvisionStagingModel.FK_TblResortRebateBlock_WeekModule" FromRole="TblResortRebateBlock" ToRole="TblWeekModule" />
  14595. </EntityType>
  14596. <EntityType Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  14597. <Key>
  14598. <PropertyRef Name="OID" />
  14599. </Key>
  14600. <Property Name="PromotionCommissionStructures" Type="Guid" />
  14601. <Property Name="Resorts" Type="Int32" />
  14602. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14603. <Property Name="OptimisticLockField" Type="Int32" />
  14604. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts" FromRole="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" ToRole="TblResort" />
  14605. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" FromRole="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" ToRole="TblPromotionCommissionStructure" />
  14606. </EntityType>
  14607. <EntityType Name="TblResortSalesPeriod">
  14608. <Key>
  14609. <PropertyRef Name="OID" />
  14610. </Key>
  14611. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14612. <Property Name="Resort" Type="Int32" />
  14613. <Property Name="StartDate" Type="DateTime" Precision="3" />
  14614. <Property Name="EndDate" Type="DateTime" Precision="3" />
  14615. <Property Name="OptimisticLockField" Type="Int32" />
  14616. <Property Name="GCRecord" Type="Int32" />
  14617. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblResortSalesPeriod_Resort" FromRole="TblResortSalesPeriod" ToRole="TblResort" />
  14618. <NavigationProperty Name="TblResortSalesPeriodRules" Relationship="ProvisionStagingModel.FK_TblResortSalesPeriodRules_SalesPeriod" FromRole="TblResortSalesPeriod" ToRole="TblResortSalesPeriodRule" />
  14619. </EntityType>
  14620. <EntityType Name="TblResortSalesPeriodRule">
  14621. <Key>
  14622. <PropertyRef Name="OID" />
  14623. </Key>
  14624. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14625. <Property Name="SalesPeriod" Type="Int32" />
  14626. <Property Name="Year" Type="Decimal" Precision="19" Scale="4" />
  14627. <Property Name="TermLeft" Type="Decimal" Precision="19" Scale="4" />
  14628. <Property Name="InstalmentPeriod" Type="Int32" />
  14629. <Property Name="RebateProrata" Type="Decimal" Precision="19" Scale="4" />
  14630. <Property Name="LeasePriceProrata" Type="Decimal" Precision="19" Scale="4" />
  14631. <Property Name="Variance" Type="Decimal" Precision="19" Scale="4" />
  14632. <Property Name="OptimisticLockField" Type="Int32" />
  14633. <Property Name="GCRecord" Type="Int32" />
  14634. <NavigationProperty Name="TblResortSalesPeriod" Relationship="ProvisionStagingModel.FK_TblResortSalesPeriodRules_SalesPeriod" FromRole="TblResortSalesPeriodRule" ToRole="TblResortSalesPeriod" />
  14635. </EntityType>
  14636. <EntityType Name="TblSACRRABatch">
  14637. <Key>
  14638. <PropertyRef Name="OID" />
  14639. </Key>
  14640. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14641. <Property Name="BatchNumber" Type="Int32" />
  14642. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14643. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  14644. <Property Name="TestRun" Type="Boolean" />
  14645. <Property Name="Settings" Type="Int32" />
  14646. <Property Name="Type" Type="Int32" />
  14647. <Property Name="MonthEndDate" Type="DateTime" Precision="3" />
  14648. <Property Name="Header" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  14649. <Property Name="Trailer" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  14650. <Property Name="Step1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14651. <Property Name="Step2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14652. <Property Name="Step3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14653. <Property Name="Step4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14654. <Property Name="DeleteReason" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14655. <Property Name="IsProcessRunning" Type="Boolean" />
  14656. <Property Name="OptimisticLockField" Type="Int32" />
  14657. <Property Name="GCRecord" Type="Int32" />
  14658. <NavigationProperty Name="TblSACRRASetting" Relationship="ProvisionStagingModel.FK_TblSACRRABatch_Settings" FromRole="TblSACRRABatch" ToRole="TblSACRRASetting" />
  14659. <NavigationProperty Name="TblSACRRADatas" Relationship="ProvisionStagingModel.FK_TblSACRRAData_Batch" FromRole="TblSACRRABatch" ToRole="TblSACRRAData" />
  14660. <NavigationProperty Name="TblSACRRAFiles" Relationship="ProvisionStagingModel.FK_TblSACRRAFiles_Batch" FromRole="TblSACRRABatch" ToRole="TblSACRRAFile" />
  14661. <NavigationProperty Name="TblSACRRAFilesToEncrypts" Relationship="ProvisionStagingModel.FK_TblSACRRAFilesToEncrypt_Batch" FromRole="TblSACRRABatch" ToRole="TblSACRRAFilesToEncrypt" />
  14662. </EntityType>
  14663. <EntityType Name="TblSACRRAConsoftDataCheck">
  14664. <Key>
  14665. <PropertyRef Name="OID" />
  14666. </Key>
  14667. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14668. <Property Name="Value" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14669. <Property Name="OptimisticLockField" Type="Int32" />
  14670. <Property Name="GCRecord" Type="Int32" />
  14671. </EntityType>
  14672. <EntityType Name="TblSACRRAConsoftGlobalData">
  14673. <Key>
  14674. <PropertyRef Name="Oid" />
  14675. </Key>
  14676. <Property Name="Oid" Type="Guid" Nullable="false" />
  14677. <Property Name="Error" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  14678. <Property Name="Dev" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14679. <Property Name="ID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14680. <Property Name="IsForeigner" Type="Boolean" />
  14681. <Property Name="Passport" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14682. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  14683. <Property Name="AccountNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14684. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14685. <Property Name="Forename" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14686. <Property Name="OwnershipType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14687. <Property Name="DateAccountOpened" Type="DateTime" Precision="3" />
  14688. <Property Name="DeferredPaymentDate" Type="DateTime" Precision="3" />
  14689. <Property Name="DateOfLastPayment" Type="DateTime" Precision="3" />
  14690. <Property Name="OpeningBalance" Type="Decimal" Precision="19" Scale="4" />
  14691. <Property Name="CurrentBalance" Type="Decimal" Precision="19" Scale="4" />
  14692. <Property Name="AmountOverdue" Type="Decimal" Precision="19" Scale="4" />
  14693. <Property Name="InstalmentAmount" Type="Decimal" Precision="19" Scale="4" />
  14694. <Property Name="MonthsInArrears" Type="Int32" />
  14695. <Property Name="StatusCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14696. <Property Name="Terms" Type="Int32" />
  14697. <Property Name="StatusDate" Type="DateTime" Precision="3" />
  14698. <Property Name="NoOfParticipantsInJointLoan" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14699. <Property Name="MemberNumber" Type="Int32" />
  14700. <Property Name="IsCompany" Type="Boolean" />
  14701. <Property Name="IsSoleProprietor" Type="Boolean" />
  14702. <Property Name="IsEstateLate" Type="Boolean" />
  14703. <Property Name="EstateLateDate" Type="DateTime" Precision="3" />
  14704. <Property Name="SendOnceOff" Type="Boolean" />
  14705. <Property Name="SACRRAData" Type="Int32" />
  14706. <Property Name="LockDemographics" Type="Boolean" />
  14707. <Property Name="DoNotSend" Type="Boolean" />
  14708. <Property Name="CompanyName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14709. <Property Name="OptimisticLockField" Type="Int32" />
  14710. <Property Name="GCRecord" Type="Int32" />
  14711. <Property Name="SendName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14712. <Property Name="DaysOpen" Type="Int32" />
  14713. <Property Name="UID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14714. <NavigationProperty Name="TblSACRRAData" Relationship="ProvisionStagingModel.FK_TblSACRRAConsoftGlobalData_SACRRAData" FromRole="TblSACRRAConsoftGlobalData" ToRole="TblSACRRAData" />
  14715. </EntityType>
  14716. <EntityType Name="TblSACRRAConsoftStatus">
  14717. <Key>
  14718. <PropertyRef Name="OID" />
  14719. </Key>
  14720. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14721. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14722. <Property Name="OptimisticLockField" Type="Int32" />
  14723. <Property Name="GCRecord" Type="Int32" />
  14724. <Property Name="Type" Type="Int32" />
  14725. </EntityType>
  14726. <EntityType Name="TblSACRRAData">
  14727. <Key>
  14728. <PropertyRef Name="OID" />
  14729. </Key>
  14730. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14731. <Property Name="Batch" Type="Int32" />
  14732. <Property Name="Debtor" Type="Int32" />
  14733. <Property Name="Error" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  14734. <Property Name="Data" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14735. <Property Name="SAID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14736. <Property Name="NonSAID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14737. <Property Name="Gender" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14738. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  14739. <Property Name="BranchCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14740. <Property Name="AccountNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14741. <Property Name="SubAccoutNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14742. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14743. <Property Name="Title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14744. <Property Name="Forename1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14745. <Property Name="Forename2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14746. <Property Name="Forename3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14747. <Property Name="ResAddress1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14748. <Property Name="ResAddress2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14749. <Property Name="ResAddress3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14750. <Property Name="ResAddress4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14751. <Property Name="ResPostalCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14752. <Property Name="OwnerTenant" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14753. <Property Name="PostAddress1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14754. <Property Name="PostAddress2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14755. <Property Name="PostAddress3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14756. <Property Name="PostAddress4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14757. <Property Name="PostPostalCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14758. <Property Name="OwnershipType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14759. <Property Name="LoanReasonCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14760. <Property Name="PaymentType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14761. <Property Name="TypeOfAccount" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14762. <Property Name="DateAccountOpened" Type="DateTime" Precision="3" />
  14763. <Property Name="DeferredPaymentDate" Type="DateTime" Precision="3" />
  14764. <Property Name="DateOfLastPayment" Type="DateTime" Precision="3" />
  14765. <Property Name="OpeningBalance" Type="Int32" />
  14766. <Property Name="CurrentBalance" Type="Int32" />
  14767. <Property Name="CurrentBalanceIndicator" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14768. <Property Name="AmountOverdue" Type="Int32" />
  14769. <Property Name="InstalmentAmount" Type="Int32" />
  14770. <Property Name="MonthsInArrears" Type="Int32" />
  14771. <Property Name="StatusCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14772. <Property Name="RepaymentFrequency" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14773. <Property Name="Terms" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14774. <Property Name="StatusDate" Type="DateTime" Precision="3" />
  14775. <Property Name="OldSupplierBranchCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14776. <Property Name="OldAccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14777. <Property Name="OldSubAccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14778. <Property Name="OldSupplierReferenceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14779. <Property Name="HomeTelephone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14780. <Property Name="Cellular" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14781. <Property Name="WorkTelephone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14782. <Property Name="EmployerDetail" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14783. <Property Name="Income" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14784. <Property Name="IncomeFrequency" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14785. <Property Name="Occupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14786. <Property Name="ThirdPartyName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14787. <Property Name="AccountSoldToThirdParty" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14788. <Property Name="NoOfParticipantsInJointLoan" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14789. <Property Name="SupplierReferenceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14790. <Property Name="TransactionDate" Type="DateTime" Precision="3" />
  14791. <Property Name="IsConsoftOnceOff" Type="Boolean" />
  14792. <Property Name="OptimisticLockField" Type="Int32" />
  14793. <Property Name="GCRecord" Type="Int32" />
  14794. <Property Name="MemberNumber" Type="Int32" />
  14795. <NavigationProperty Name="TblSACRRABatch" Relationship="ProvisionStagingModel.FK_TblSACRRAData_Batch" FromRole="TblSACRRAData" ToRole="TblSACRRABatch" />
  14796. <NavigationProperty Name="TblSACRRAConsoftGlobalDatas" Relationship="ProvisionStagingModel.FK_TblSACRRAConsoftGlobalData_SACRRAData" FromRole="TblSACRRAData" ToRole="TblSACRRAConsoftGlobalData" />
  14797. <NavigationProperty Name="TblSACRRADebtorStatus" Relationship="ProvisionStagingModel.FK_TblSACRRADebtorStatus_SentToSACRRA" FromRole="TblSACRRAData" ToRole="TblSACRRADebtorStatu" />
  14798. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblSACRRAData_Debtor" FromRole="TblSACRRAData" ToRole="TblDebtor" />
  14799. <NavigationProperty Name="TblPortfolios" Relationship="ProvisionStagingModel.FK_TblPortfolio_EstateLateSent" FromRole="TblSACRRAData" ToRole="TblPortfolio" />
  14800. <NavigationProperty Name="TblPortfolios1" Relationship="ProvisionStagingModel.FK_TblPortfolio_EstateLateSpouseSent" FromRole="TblSACRRAData" ToRole="TblPortfolio" />
  14801. </EntityType>
  14802. <EntityType Name="TblSACRRADebtorGAPGAL">
  14803. <Key>
  14804. <PropertyRef Name="OID" />
  14805. </Key>
  14806. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14807. <Property Name="Debtor" Type="Int32" />
  14808. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  14809. <Property Name="SentToSACRRA" Type="Boolean" />
  14810. <Property Name="OptimisticLockField" Type="Int32" />
  14811. <Property Name="GCRecord" Type="Int32" />
  14812. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblSACRRADebtorGAPGAL_Debtor" FromRole="TblSACRRADebtorGAPGAL" ToRole="TblDebtor" />
  14813. </EntityType>
  14814. <EntityType Name="TblSACRRADebtorStatu">
  14815. <Key>
  14816. <PropertyRef Name="OID" />
  14817. </Key>
  14818. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14819. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14820. <Property Name="Debtor" Type="Int32" />
  14821. <Property Name="Date" Type="DateTime" Precision="3" />
  14822. <Property Name="SentToSACRRA" Type="Int32" />
  14823. <Property Name="Status" Type="Int32" />
  14824. <Property Name="DateSent" Type="DateTime" Precision="3" />
  14825. <Property Name="OptimisticLockField" Type="Int32" />
  14826. <Property Name="GCRecord" Type="Int32" />
  14827. <NavigationProperty Name="TblSACRRAData" Relationship="ProvisionStagingModel.FK_TblSACRRADebtorStatus_SentToSACRRA" FromRole="TblSACRRADebtorStatu" ToRole="TblSACRRAData" />
  14828. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblSACRRADebtorStatus_Debtor" FromRole="TblSACRRADebtorStatu" ToRole="TblDebtor" />
  14829. </EntityType>
  14830. <EntityType Name="TblSACRRAFile">
  14831. <Key>
  14832. <PropertyRef Name="OID" />
  14833. </Key>
  14834. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14835. <Property Name="Batch" Type="Int32" />
  14836. <Property Name="File" Type="Int32" />
  14837. <Property Name="ToSendToSACRRA" Type="Boolean" />
  14838. <Property Name="OptimisticLockField" Type="Int32" />
  14839. <Property Name="GCRecord" Type="Int32" />
  14840. <NavigationProperty Name="TblSACRRABatch" Relationship="ProvisionStagingModel.FK_TblSACRRAFiles_Batch" FromRole="TblSACRRAFile" ToRole="TblSACRRABatch" />
  14841. </EntityType>
  14842. <EntityType Name="TblSACRRAFileSetting">
  14843. <Key>
  14844. <PropertyRef Name="OID" />
  14845. </Key>
  14846. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14847. <Property Name="Type" Type="Int32" />
  14848. <Property Name="TestRun" Type="Boolean" />
  14849. <Property Name="FileType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14850. <Property Name="OptimisticLockField" Type="Int32" />
  14851. <Property Name="GCRecord" Type="Int32" />
  14852. </EntityType>
  14853. <EntityType Name="TblSACRRAFilesToEncrypt">
  14854. <Key>
  14855. <PropertyRef Name="OID" />
  14856. </Key>
  14857. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14858. <Property Name="Batch" Type="Int32" />
  14859. <Property Name="FileName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14860. <Property Name="NewFileName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14861. <Property Name="DateEncrypted" Type="DateTime" Precision="3" />
  14862. <Property Name="OptimisticLockField" Type="Int32" />
  14863. <Property Name="GCRecord" Type="Int32" />
  14864. <NavigationProperty Name="TblSACRRABatch" Relationship="ProvisionStagingModel.FK_TblSACRRAFilesToEncrypt_Batch" FromRole="TblSACRRAFilesToEncrypt" ToRole="TblSACRRABatch" />
  14865. </EntityType>
  14866. <EntityType Name="TblSACRRAOnceOffStatusSetting">
  14867. <Key>
  14868. <PropertyRef Name="OID" />
  14869. </Key>
  14870. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14871. <Property Name="Status" Type="Int32" />
  14872. <Property Name="SACRRAStatusCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14873. <Property Name="OptimisticLockField" Type="Int32" />
  14874. <Property Name="GCRecord" Type="Int32" />
  14875. </EntityType>
  14876. <EntityType Name="TblSACRRASetting">
  14877. <Key>
  14878. <PropertyRef Name="OID" />
  14879. </Key>
  14880. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14881. <Property Name="Developer" Type="Int32" />
  14882. <Property Name="SupplierReference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14883. <Property Name="BranchCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14884. <Property Name="SenderID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14885. <Property Name="OptimisticLockField" Type="Int32" />
  14886. <Property Name="GCRecord" Type="Int32" />
  14887. <NavigationProperty Name="TblSACRRABatches" Relationship="ProvisionStagingModel.FK_TblSACRRABatch_Settings" FromRole="TblSACRRASetting" ToRole="TblSACRRABatch" />
  14888. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblSACRRASettings_Developer" FromRole="TblSACRRASetting" ToRole="TblDeveloper" />
  14889. </EntityType>
  14890. <EntityType Name="TblSACRRAStatusException">
  14891. <Key>
  14892. <PropertyRef Name="OID" />
  14893. </Key>
  14894. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14895. <Property Name="Type" Type="Int32" />
  14896. <Property Name="Status" Type="Int32" />
  14897. <Property Name="OptimisticLockField" Type="Int32" />
  14898. <Property Name="GCRecord" Type="Int32" />
  14899. </EntityType>
  14900. <EntityType Name="TblSACRRAStatusSetting">
  14901. <Key>
  14902. <PropertyRef Name="OID" />
  14903. </Key>
  14904. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14905. <Property Name="Type" Type="Int32" />
  14906. <Property Name="Status" Type="Int32" />
  14907. <Property Name="SACRRACode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14908. <Property Name="OptimisticLockField" Type="Int32" />
  14909. <Property Name="GCRecord" Type="Int32" />
  14910. </EntityType>
  14911. <EntityType Name="TblSACRRAValidStatus">
  14912. <Key>
  14913. <PropertyRef Name="OID" />
  14914. </Key>
  14915. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  14916. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14917. <Property Name="OptimisticLockField" Type="Int32" />
  14918. <Property Name="GCRecord" Type="Int32" />
  14919. </EntityType>
  14920. <EntityType Name="TblSalesCommAmountScale">
  14921. <Key>
  14922. <PropertyRef Name="Oid" />
  14923. </Key>
  14924. <Property Name="Oid" Type="Guid" Nullable="false" />
  14925. <Property Name="From" Type="Decimal" Precision="19" Scale="4" />
  14926. <Property Name="To" Type="Decimal" Precision="19" Scale="4" />
  14927. <Property Name="Percentage" Type="Decimal" Precision="19" Scale="4" />
  14928. <Property Name="Week" Type="Guid" />
  14929. <Property Name="EarnerType" Type="Guid" />
  14930. <Property Name="OptimisticLockField" Type="Int32" />
  14931. <Property Name="GCRecord" Type="Int32" />
  14932. <NavigationProperty Name="TblSalesCommEarnerType" Relationship="ProvisionStagingModel.FK_TblSalesCommAmountScale_EarnerType" FromRole="TblSalesCommAmountScale" ToRole="TblSalesCommEarnerType" />
  14933. <NavigationProperty Name="TblSalesCommWeek" Relationship="ProvisionStagingModel.FK_TblSalesCommAmountScale_Week" FromRole="TblSalesCommAmountScale" ToRole="TblSalesCommWeek" />
  14934. </EntityType>
  14935. <EntityType Name="TblSalesCommCountScale">
  14936. <Key>
  14937. <PropertyRef Name="Oid" />
  14938. </Key>
  14939. <Property Name="Oid" Type="Guid" Nullable="false" />
  14940. <Property Name="From" Type="Int32" />
  14941. <Property Name="To" Type="Int32" />
  14942. <Property Name="ConvertedAmount" Type="Decimal" Precision="19" Scale="4" />
  14943. <Property Name="ConvertedRTAmount" Type="Decimal" Precision="19" Scale="4" />
  14944. <Property Name="Week" Type="Guid" />
  14945. <Property Name="EarnerType" Type="Guid" />
  14946. <Property Name="OptimisticLockField" Type="Int32" />
  14947. <Property Name="GCRecord" Type="Int32" />
  14948. <Property Name="DailyLimit" Type="Int32" />
  14949. <NavigationProperty Name="TblSalesCommEarnerType" Relationship="ProvisionStagingModel.FK_TblSalesCommCountScale_EarnerType" FromRole="TblSalesCommCountScale" ToRole="TblSalesCommEarnerType" />
  14950. <NavigationProperty Name="TblSalesCommWeek" Relationship="ProvisionStagingModel.FK_TblSalesCommCountScale_Week" FromRole="TblSalesCommCountScale" ToRole="TblSalesCommWeek" />
  14951. </EntityType>
  14952. <EntityType Name="TblSalesCommDataStore">
  14953. <Key>
  14954. <PropertyRef Name="Oid" />
  14955. </Key>
  14956. <Property Name="Oid" Type="Guid" Nullable="false" />
  14957. <Property Name="IsFinalizedQShow" Type="Boolean" />
  14958. <Property Name="IsFinalizedDeal" Type="Boolean" />
  14959. <Property Name="Lead" Type="Int32" />
  14960. <Property Name="Booking" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  14961. <Property Name="OptimisticLockField" Type="Int32" />
  14962. <Property Name="GCRecord" Type="Int32" />
  14963. <NavigationProperty Name="TblSalesCommSkippedCommissions" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_DataStore" FromRole="TblSalesCommDataStore" ToRole="TblSalesCommSkippedCommission" />
  14964. <NavigationProperty Name="TblSalesCommStatements" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_DataStore" FromRole="TblSalesCommDataStore" ToRole="TblSalesCommStatement" />
  14965. </EntityType>
  14966. <EntityType Name="TblSalesCommEarnerType">
  14967. <Key>
  14968. <PropertyRef Name="Oid" />
  14969. </Key>
  14970. <Property Name="Oid" Type="Guid" Nullable="false" />
  14971. <Property Name="Type" Type="Int32" />
  14972. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  14973. <Property Name="SalesRegion" Type="Int32" />
  14974. <Property Name="SpecificPersonnel" Type="Int32" />
  14975. <Property Name="OptimisticLockField" Type="Int32" />
  14976. <Property Name="GCRecord" Type="Int32" />
  14977. <NavigationProperty Name="TblSalesCommAmountScales" Relationship="ProvisionStagingModel.FK_TblSalesCommAmountScale_EarnerType" FromRole="TblSalesCommEarnerType" ToRole="TblSalesCommAmountScale" />
  14978. <NavigationProperty Name="TblSalesCommCountScales" Relationship="ProvisionStagingModel.FK_TblSalesCommCountScale_EarnerType" FromRole="TblSalesCommEarnerType" ToRole="TblSalesCommCountScale" />
  14979. <NavigationProperty Name="TblSalesCommFixedAmounts" Relationship="ProvisionStagingModel.FK_TblSalesCommFixedAmount_EarnerType" FromRole="TblSalesCommEarnerType" ToRole="TblSalesCommFixedAmount" />
  14980. <NavigationProperty Name="TblSalesCommSkippedCommissions" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_EarnerType" FromRole="TblSalesCommEarnerType" ToRole="TblSalesCommSkippedCommission" />
  14981. <NavigationProperty Name="TblSalesCommStatements" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_EarnerType" FromRole="TblSalesCommEarnerType" ToRole="TblSalesCommStatement" />
  14982. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesCommEarnerType_SpecificPersonnel" FromRole="TblSalesCommEarnerType" ToRole="TblPersonnel" />
  14983. </EntityType>
  14984. <EntityType Name="TblSalesCommFixedAmount">
  14985. <Key>
  14986. <PropertyRef Name="Oid" />
  14987. </Key>
  14988. <Property Name="Oid" Type="Guid" Nullable="false" />
  14989. <Property Name="Level" Type="Int32" />
  14990. <Property Name="From" Type="Int32" />
  14991. <Property Name="To" Type="Int32" />
  14992. <Property Name="ConvertedAmount" Type="Decimal" Precision="19" Scale="4" />
  14993. <Property Name="NowahalaConvertedAmount" Type="Decimal" Precision="19" Scale="4" />
  14994. <Property Name="RTConvertedAmount" Type="Decimal" Precision="19" Scale="4" />
  14995. <Property Name="Week" Type="Guid" />
  14996. <Property Name="IsSolid" Type="Boolean" />
  14997. <Property Name="IsWeeklyAmount" Type="Boolean" />
  14998. <Property Name="IsMonthlyAmount" Type="Boolean" />
  14999. <Property Name="EarnerType" Type="Guid" />
  15000. <Property Name="OptimisticLockField" Type="Int32" />
  15001. <Property Name="GCRecord" Type="Int32" />
  15002. <NavigationProperty Name="TblSalesCommEarnerType" Relationship="ProvisionStagingModel.FK_TblSalesCommFixedAmount_EarnerType" FromRole="TblSalesCommFixedAmount" ToRole="TblSalesCommEarnerType" />
  15003. <NavigationProperty Name="TblSalesCommWeek" Relationship="ProvisionStagingModel.FK_TblSalesCommFixedAmount_Week" FromRole="TblSalesCommFixedAmount" ToRole="TblSalesCommWeek" />
  15004. </EntityType>
  15005. <EntityType Name="TblSalesCommissionAdditional">
  15006. <Key>
  15007. <PropertyRef Name="Oid" />
  15008. </Key>
  15009. <Property Name="Oid" Type="Guid" Nullable="false" />
  15010. <Property Name="SalesCommissionInfo" Type="Guid" />
  15011. <Property Name="AdditionalAmount" Type="Decimal" Precision="19" Scale="4" />
  15012. <Property Name="AdditionalAmountPaid" Type="Decimal" Precision="19" Scale="4" />
  15013. <Property Name="NoOfInstalments" Type="Int32" />
  15014. <Property Name="SkipInstalments" Type="Int32" />
  15015. <Property Name="OptimisticLockField" Type="Int32" />
  15016. <Property Name="GCRecord" Type="Int32" />
  15017. <NavigationProperty Name="TblSalesCommissionInfo" Relationship="ProvisionStagingModel.FK_TblSalesCommissionAdditional_SalesCommissionInfo" FromRole="TblSalesCommissionAdditional" ToRole="TblSalesCommissionInfo" />
  15018. <NavigationProperty Name="TblSalesCommissionTransactions" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionAdditional" FromRole="TblSalesCommissionAdditional" ToRole="TblSalesCommissionTransaction" />
  15019. </EntityType>
  15020. <EntityType Name="TblSalesCommissionClawback">
  15021. <Key>
  15022. <PropertyRef Name="Oid" />
  15023. </Key>
  15024. <Property Name="Oid" Type="Guid" Nullable="false" />
  15025. <Property Name="SalesCommissionInfo" Type="Guid" />
  15026. <Property Name="ClawbackAmount" Type="Decimal" Precision="19" Scale="4" />
  15027. <Property Name="ClawbackPaid" Type="Decimal" Precision="19" Scale="4" />
  15028. <Property Name="NoOfInstalments" Type="Int32" />
  15029. <Property Name="SkipInstalments" Type="Int32" />
  15030. <Property Name="OptimisticLockField" Type="Int32" />
  15031. <Property Name="GCRecord" Type="Int32" />
  15032. <NavigationProperty Name="TblSalesCommissionInfo" Relationship="ProvisionStagingModel.FK_TblSalesCommissionClawback_SalesCommissionInfo" FromRole="TblSalesCommissionClawback" ToRole="TblSalesCommissionInfo" />
  15033. <NavigationProperty Name="TblSalesCommissionTransactions" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionClawback" FromRole="TblSalesCommissionClawback" ToRole="TblSalesCommissionTransaction" />
  15034. </EntityType>
  15035. <EntityType Name="TblSalesCommissionEquity">
  15036. <Key>
  15037. <PropertyRef Name="Oid" />
  15038. </Key>
  15039. <Property Name="Oid" Type="Guid" Nullable="false" />
  15040. <Property Name="Category" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15041. <Property Name="Rotation" Type="Int32" />
  15042. <Property Name="NewSalePercentage" Type="Decimal" Precision="19" Scale="4" />
  15043. <Property Name="MemberPercentage" Type="Decimal" Precision="19" Scale="4" />
  15044. <Property Name="InstalmentPercentage" Type="Decimal" Precision="19" Scale="4" />
  15045. <Property Name="StartOnInstalment" Type="Int32" />
  15046. <Property Name="OptimisticLockField" Type="Int32" />
  15047. <Property Name="GCRecord" Type="Int32" />
  15048. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_SalesCommissionEquityCategory" FromRole="TblSalesCommissionEquity" ToRole="TblPersonnel" />
  15049. </EntityType>
  15050. <EntityType Name="TblSalesCommissionInfo">
  15051. <Key>
  15052. <PropertyRef Name="Oid" />
  15053. </Key>
  15054. <Property Name="Oid" Type="Guid" Nullable="false" />
  15055. <Property Name="Contract" Type="Int32" />
  15056. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15057. <Property Name="UpfrontCommission" Type="Decimal" Precision="19" Scale="4" />
  15058. <Property Name="UpfrontCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15059. <Property Name="DripCommission" Type="Decimal" Precision="19" Scale="4" />
  15060. <Property Name="DripCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15061. <Property Name="NoOfDrips" Type="Int32" />
  15062. <Property Name="DripsStartOnInstalment" Type="Int32" />
  15063. <Property Name="NewLeadCommission" Type="Decimal" Precision="19" Scale="4" />
  15064. <Property Name="NewLeadCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15065. <Property Name="HousesitCommission" Type="Decimal" Precision="19" Scale="4" />
  15066. <Property Name="HousesitCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15067. <Property Name="EquityCommission" Type="Decimal" Precision="19" Scale="4" />
  15068. <Property Name="EquityCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15069. <Property Name="EquityCommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15070. <Property Name="NoOfEquiyDrips" Type="Int32" />
  15071. <Property Name="EquityStartOnInstalment" Type="Int32" />
  15072. <Property Name="EquityPayoutPercentage" Type="Decimal" Precision="19" Scale="4" />
  15073. <Property Name="CommissionOwner" Type="Int32" />
  15074. <Property Name="CommissionPersonType" Type="Int32" />
  15075. <Property Name="CommissionPeriod" Type="Int32" />
  15076. <Property Name="RotationCounter" Type="Int32" />
  15077. <Property Name="OptimisticLockField" Type="Int32" />
  15078. <Property Name="GCRecord" Type="Int32" />
  15079. <Property Name="Frozen" Type="Boolean" />
  15080. <Property Name="EquityCommissionTargetPercentage" Type="Decimal" Precision="19" Scale="4" />
  15081. <Property Name="Season" Type="Int32" />
  15082. <Property Name="ResaleContract" Type="Int32" />
  15083. <Property Name="NewBusinessBonusPercentage" Type="Decimal" Precision="19" Scale="4" />
  15084. <NavigationProperty Name="TblSalesCommissionAdditionals" Relationship="ProvisionStagingModel.FK_TblSalesCommissionAdditional_SalesCommissionInfo" FromRole="TblSalesCommissionInfo" ToRole="TblSalesCommissionAdditional" />
  15085. <NavigationProperty Name="TblSalesCommissionClawbacks" Relationship="ProvisionStagingModel.FK_TblSalesCommissionClawback_SalesCommissionInfo" FromRole="TblSalesCommissionInfo" ToRole="TblSalesCommissionClawback" />
  15086. <NavigationProperty Name="TblSalesCommissionTransactions" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionInfo" FromRole="TblSalesCommissionInfo" ToRole="TblSalesCommissionTransaction" />
  15087. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesCommissionInfo_CommissionOwner" FromRole="TblSalesCommissionInfo" ToRole="TblPersonnel" />
  15088. <NavigationProperty Name="TblPromotionCommissions" Relationship="ProvisionStagingModel.FK_TblPromotionCommission_SalesCommissionInfo" FromRole="TblSalesCommissionInfo" ToRole="TblPromotionCommission" />
  15089. </EntityType>
  15090. <EntityType Name="TblSalesCommissionPercentage">
  15091. <Key>
  15092. <PropertyRef Name="Oid" />
  15093. </Key>
  15094. <Property Name="Oid" Type="Guid" Nullable="false" />
  15095. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15096. <Property Name="CommissionType" Type="Int32" />
  15097. <Property Name="DSDealPercentage" Type="Decimal" Precision="19" Scale="4" />
  15098. <Property Name="NoOfDSDealCommissionInstalments" Type="Int32" />
  15099. <Property Name="FlatRatePercentage" Type="Decimal" Precision="19" Scale="4" />
  15100. <Property Name="NewLeadAmount" Type="Decimal" Precision="19" Scale="4" />
  15101. <Property Name="HousesitAmount" Type="Decimal" Precision="19" Scale="4" />
  15102. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  15103. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  15104. <Property Name="DripStartOnInstalment" Type="Int32" />
  15105. <Property Name="BonusForNewSalePercentage" Type="Decimal" Precision="19" Scale="4" />
  15106. <Property Name="NoOfDripInstalments" Type="Int32" />
  15107. <Property Name="OptimisticLockField" Type="Int32" />
  15108. <Property Name="GCRecord" Type="Int32" />
  15109. <NavigationProperty Name="TblSalesCommissionSeasons" Relationship="ProvisionStagingModel.FK_TblSalesCommissionSeasons_SalesCommissionPercentages" FromRole="TblSalesCommissionPercentage" ToRole="TblSalesCommissionSeason" />
  15110. <NavigationProperty Name="TblTrainingManagerCommissionSeasonPercentages" Relationship="ProvisionStagingModel.FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages" FromRole="TblSalesCommissionPercentage" ToRole="TblTrainingManagerCommissionSeasonPercentage" />
  15111. <NavigationProperty Name="TblTrainngManagerCommissionPercentages" Relationship="ProvisionStagingModel.FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages" FromRole="TblSalesCommissionPercentage" ToRole="TblTrainngManagerCommissionPercentage" />
  15112. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_SalesCommissionStructure" FromRole="TblSalesCommissionPercentage" ToRole="TblPersonnel" />
  15113. </EntityType>
  15114. <EntityType Name="TblSalesCommissionPeriod">
  15115. <Key>
  15116. <PropertyRef Name="Oid" />
  15117. </Key>
  15118. <Property Name="Oid" Type="Guid" Nullable="false" />
  15119. <Property Name="StartDate" Type="DateTime" Precision="3" />
  15120. <Property Name="EndDate" Type="DateTime" Precision="3" />
  15121. <Property Name="CutOffDate" Type="DateTime" Precision="3" />
  15122. <Property Name="SalesPeriod" Type="Int32" />
  15123. <Property Name="ReadyForSignOff" Type="Boolean" />
  15124. <Property Name="OptimisticLockField" Type="Int32" />
  15125. <Property Name="GCRecord" Type="Int32" />
  15126. </EntityType>
  15127. <EntityType Name="TblSalesCommissionSeason">
  15128. <Key>
  15129. <PropertyRef Name="Oid" />
  15130. </Key>
  15131. <Property Name="Oid" Type="Guid" Nullable="false" />
  15132. <Property Name="Season" Type="Int32" />
  15133. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15134. <Property Name="SalesCommissionPercentages" Type="Guid" />
  15135. <Property Name="OptimisticLockField" Type="Int32" />
  15136. <Property Name="GCRecord" Type="Int32" />
  15137. <NavigationProperty Name="TblSalesCommissionPercentage" Relationship="ProvisionStagingModel.FK_TblSalesCommissionSeasons_SalesCommissionPercentages" FromRole="TblSalesCommissionSeason" ToRole="TblSalesCommissionPercentage" />
  15138. </EntityType>
  15139. <EntityType Name="TblSalesCommissionTransaction">
  15140. <Key>
  15141. <PropertyRef Name="Oid" />
  15142. </Key>
  15143. <Property Name="Oid" Type="Guid" Nullable="false" />
  15144. <Property Name="Contract" Type="Int32" />
  15145. <Property Name="TransactionDate" Type="DateTime" Precision="3" />
  15146. <Property Name="TransactionType" Type="Int32" />
  15147. <Property Name="SalesPersonnel" Type="Int32" />
  15148. <Property Name="SalesPeriod" Type="Int32" />
  15149. <Property Name="UpfrontCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15150. <Property Name="DripCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15151. <Property Name="EquityCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15152. <Property Name="HousesitCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15153. <Property Name="NewLeadCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15154. <Property Name="SignOffDate" Type="DateTime" Precision="3" />
  15155. <Property Name="SignedOffBy" Type="Int32" />
  15156. <Property Name="Paid" Type="Boolean" />
  15157. <Property Name="CommissionPersonType" Type="Int32" />
  15158. <Property Name="SalesCommissionInfo" Type="Guid" />
  15159. <Property Name="SalesCommissionClawback" Type="Guid" />
  15160. <Property Name="SalesCommissionAdditional" Type="Guid" />
  15161. <Property Name="OptimisticLockField" Type="Int32" />
  15162. <Property Name="GCRecord" Type="Int32" />
  15163. <Property Name="ResaleContract" Type="Int32" />
  15164. <Property Name="UpfrontPromotionCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15165. <Property Name="DripPromotionCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  15166. <Property Name="AdditionalAmountDue" Type="Decimal" Precision="19" Scale="4" />
  15167. <Property Name="ClawbackAmountDue" Type="Decimal" Precision="19" Scale="4" />
  15168. <NavigationProperty Name="TblSalesCommissionAdditional" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionAdditional" FromRole="TblSalesCommissionTransaction" ToRole="TblSalesCommissionAdditional" />
  15169. <NavigationProperty Name="TblSalesCommissionClawback" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionClawback" FromRole="TblSalesCommissionTransaction" ToRole="TblSalesCommissionClawback" />
  15170. <NavigationProperty Name="TblSalesCommissionInfo" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesCommissionInfo" FromRole="TblSalesCommissionTransaction" ToRole="TblSalesCommissionInfo" />
  15171. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesPersonnel" FromRole="TblSalesCommissionTransaction" ToRole="TblPersonnel" />
  15172. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SignedOffBy" FromRole="TblSalesCommissionTransaction" ToRole="TblPersonnel" />
  15173. </EntityType>
  15174. <EntityType Name="TblSalesCommMonth">
  15175. <Key>
  15176. <PropertyRef Name="Oid" />
  15177. </Key>
  15178. <Property Name="Oid" Type="Guid" Nullable="false" />
  15179. <Property Name="StartDate" Type="DateTime" Precision="3" />
  15180. <Property Name="EndDate" Type="DateTime" Precision="3" />
  15181. <Property Name="MonthName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15182. <Property Name="OptimisticLockField" Type="Int32" />
  15183. <Property Name="GCRecord" Type="Int32" />
  15184. <NavigationProperty Name="TblSalesCommRegionBasedMonths" Relationship="ProvisionStagingModel.FK_TblSalesCommRegionBasedMonth_Month" FromRole="TblSalesCommMonth" ToRole="TblSalesCommRegionBasedMonth" />
  15185. <NavigationProperty Name="TblSalesCommWeeks" Relationship="ProvisionStagingModel.FK_TblSalesCommWeek_Month" FromRole="TblSalesCommMonth" ToRole="TblSalesCommWeek" />
  15186. </EntityType>
  15187. <EntityType Name="TblSalesCommRegionBasedMonth">
  15188. <Key>
  15189. <PropertyRef Name="Oid" />
  15190. </Key>
  15191. <Property Name="Oid" Type="Guid" Nullable="false" />
  15192. <Property Name="Month" Type="Guid" />
  15193. <Property Name="Region" Type="Int32" />
  15194. <Property Name="IsStatementsGenerated" Type="Boolean" />
  15195. <Property Name="IsFinalized" Type="Boolean" />
  15196. <Property Name="OptimisticLockField" Type="Int32" />
  15197. <Property Name="GCRecord" Type="Int32" />
  15198. <Property Name="IsStatementsSent" Type="Boolean" />
  15199. <NavigationProperty Name="TblSalesCommMonth" Relationship="ProvisionStagingModel.FK_TblSalesCommRegionBasedMonth_Month" FromRole="TblSalesCommRegionBasedMonth" ToRole="TblSalesCommMonth" />
  15200. </EntityType>
  15201. <EntityType Name="TblSalesCommSkippedCommission">
  15202. <Key>
  15203. <PropertyRef Name="Oid" />
  15204. </Key>
  15205. <Property Name="Oid" Type="Guid" Nullable="false" />
  15206. <Property Name="PersonnelCode" Type="Int32" />
  15207. <Property Name="DataStore" Type="Guid" />
  15208. <Property Name="Week" Type="Guid" />
  15209. <Property Name="EarnerType" Type="Guid" />
  15210. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15211. <Property Name="Reason" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15212. <Property Name="OptimisticLockField" Type="Int32" />
  15213. <Property Name="GCRecord" Type="Int32" />
  15214. <NavigationProperty Name="TblSalesCommDataStore" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_DataStore" FromRole="TblSalesCommSkippedCommission" ToRole="TblSalesCommDataStore" />
  15215. <NavigationProperty Name="TblSalesCommEarnerType" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_EarnerType" FromRole="TblSalesCommSkippedCommission" ToRole="TblSalesCommEarnerType" />
  15216. <NavigationProperty Name="TblSalesCommWeek" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_Week" FromRole="TblSalesCommSkippedCommission" ToRole="TblSalesCommWeek" />
  15217. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_PersonnelCode" FromRole="TblSalesCommSkippedCommission" ToRole="TblPersonnel" />
  15218. </EntityType>
  15219. <EntityType Name="TblSalesCommStatement">
  15220. <Key>
  15221. <PropertyRef Name="Oid" />
  15222. </Key>
  15223. <Property Name="Oid" Type="Guid" Nullable="false" />
  15224. <Property Name="Percentage" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15225. <Property Name="PersonnelCode" Type="Int32" />
  15226. <Property Name="DataStore" Type="Guid" />
  15227. <Property Name="EarnerType" Type="Guid" />
  15228. <Property Name="Week" Type="Guid" />
  15229. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  15230. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15231. <Property Name="DateSignedOff" Type="DateTime" Precision="3" />
  15232. <Property Name="Reason" Type="Int32" />
  15233. <Property Name="OptimisticLockField" Type="Int32" />
  15234. <Property Name="GCRecord" Type="Int32" />
  15235. <NavigationProperty Name="TblSalesCommDataStore" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_DataStore" FromRole="TblSalesCommStatement" ToRole="TblSalesCommDataStore" />
  15236. <NavigationProperty Name="TblSalesCommEarnerType" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_EarnerType" FromRole="TblSalesCommStatement" ToRole="TblSalesCommEarnerType" />
  15237. <NavigationProperty Name="TblSalesCommWeek" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_Week" FromRole="TblSalesCommStatement" ToRole="TblSalesCommWeek" />
  15238. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_PersonnelCode" FromRole="TblSalesCommStatement" ToRole="TblPersonnel" />
  15239. </EntityType>
  15240. <EntityType Name="TblSalesCommWeek">
  15241. <Key>
  15242. <PropertyRef Name="Oid" />
  15243. </Key>
  15244. <Property Name="Oid" Type="Guid" Nullable="false" />
  15245. <Property Name="StartDate" Type="DateTime" Precision="3" />
  15246. <Property Name="EndDate" Type="DateTime" Precision="3" />
  15247. <Property Name="DollarToNaira" Type="Decimal" Precision="19" Scale="4" />
  15248. <Property Name="DollarToKwacha" Type="Decimal" Precision="19" Scale="4" />
  15249. <Property Name="DollarToShilling" Type="Decimal" Precision="19" Scale="4" />
  15250. <Property Name="Month" Type="Guid" />
  15251. <Property Name="OptimisticLockField" Type="Int32" />
  15252. <Property Name="GCRecord" Type="Int32" />
  15253. <NavigationProperty Name="TblSalesCommAmountScales" Relationship="ProvisionStagingModel.FK_TblSalesCommAmountScale_Week" FromRole="TblSalesCommWeek" ToRole="TblSalesCommAmountScale" />
  15254. <NavigationProperty Name="TblSalesCommCountScales" Relationship="ProvisionStagingModel.FK_TblSalesCommCountScale_Week" FromRole="TblSalesCommWeek" ToRole="TblSalesCommCountScale" />
  15255. <NavigationProperty Name="TblSalesCommFixedAmounts" Relationship="ProvisionStagingModel.FK_TblSalesCommFixedAmount_Week" FromRole="TblSalesCommWeek" ToRole="TblSalesCommFixedAmount" />
  15256. <NavigationProperty Name="TblSalesCommMonth" Relationship="ProvisionStagingModel.FK_TblSalesCommWeek_Month" FromRole="TblSalesCommWeek" ToRole="TblSalesCommMonth" />
  15257. <NavigationProperty Name="TblSalesCommSkippedCommissions" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_Week" FromRole="TblSalesCommWeek" ToRole="TblSalesCommSkippedCommission" />
  15258. <NavigationProperty Name="TblSalesCommStatements" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_Week" FromRole="TblSalesCommWeek" ToRole="TblSalesCommStatement" />
  15259. </EntityType>
  15260. <EntityType Name="TblSalesPeriod">
  15261. <Key>
  15262. <PropertyRef Name="OID" />
  15263. </Key>
  15264. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15265. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15266. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15267. <Property Name="CutOffDate" Type="DateTime" Precision="3" />
  15268. <Property Name="SalesPeriod" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15269. <Property Name="OptimisticLockField" Type="Int32" />
  15270. <Property Name="GCRecord" Type="Int32" />
  15271. <Property Name="CommRunDate" Type="DateTime" Precision="3" />
  15272. <Property Name="FranchisePeriodStart" Type="DateTime" Precision="3" />
  15273. <Property Name="FranchisePeriodEnd" Type="DateTime" Precision="3" />
  15274. <NavigationProperty Name="TblSalesPeriodWeekEndings" Relationship="ProvisionStagingModel.FK_TblSalesPeriodWeekEnding_SalesPeriod" FromRole="TblSalesPeriod" ToRole="TblSalesPeriodWeekEnding" />
  15275. </EntityType>
  15276. <EntityType Name="TblSalesPeriodWeekEnding">
  15277. <Key>
  15278. <PropertyRef Name="OID" />
  15279. </Key>
  15280. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15281. <Property Name="SalesPeriod" Type="Int32" />
  15282. <Property Name="WeekEndingDate" Type="DateTime" Precision="3" />
  15283. <Property Name="OptimisticLockField" Type="Int32" />
  15284. <Property Name="GCRecord" Type="Int32" />
  15285. <Property Name="TargetFactor" Type="Int32" />
  15286. <NavigationProperty Name="TblSalesPeriod" Relationship="ProvisionStagingModel.FK_TblSalesPeriodWeekEnding_SalesPeriod" FromRole="TblSalesPeriodWeekEnding" ToRole="TblSalesPeriod" />
  15287. </EntityType>
  15288. <EntityType Name="TblSalesRegister">
  15289. <Key>
  15290. <PropertyRef Name="OID" />
  15291. </Key>
  15292. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15293. <Property Name="SalesPeople" Type="Int32" />
  15294. <Property Name="Personnel" Type="Int32" />
  15295. <Property Name="OptimisticLockField" Type="Int32" />
  15296. <Property Name="GCRecord" Type="Int32" />
  15297. <NavigationProperty Name="TblSalesVenuePersonnel" Relationship="ProvisionStagingModel.FK_TblSalesRegister_Personnel" FromRole="TblSalesRegister" ToRole="TblSalesVenuePersonnel" />
  15298. <NavigationProperty Name="TblSalesRegisterHdr" Relationship="ProvisionStagingModel.FK_TblSalesRegister_SalesPeople" FromRole="TblSalesRegister" ToRole="TblSalesRegisterHdr" />
  15299. </EntityType>
  15300. <EntityType Name="TblSalesRegisterHdr">
  15301. <Key>
  15302. <PropertyRef Name="OID" />
  15303. </Key>
  15304. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15305. <Property Name="WorkDate" Type="DateTime" Precision="3" />
  15306. <Property Name="SalesVenue" Type="Int32" />
  15307. <Property Name="OptimisticLockField" Type="Int32" />
  15308. <Property Name="GCRecord" Type="Int32" />
  15309. <NavigationProperty Name="TblSalesRegisters" Relationship="ProvisionStagingModel.FK_TblSalesRegister_SalesPeople" FromRole="TblSalesRegisterHdr" ToRole="TblSalesRegister" />
  15310. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesRegisterHdr_SalesVenue" FromRole="TblSalesRegisterHdr" ToRole="TblSalesVenue" />
  15311. </EntityType>
  15312. <EntityType Name="TblSalesVenue">
  15313. <Key>
  15314. <PropertyRef Name="OID" />
  15315. </Key>
  15316. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15317. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15318. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15319. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15320. <Property Name="DirectionsText" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  15321. <Property Name="ImageUrl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15322. <Property Name="MondaySessions" Type="Int32" />
  15323. <Property Name="TuesdaySessions" Type="Int32" />
  15324. <Property Name="WednesdaySessions" Type="Int32" />
  15325. <Property Name="ThursdaySessions" Type="Int32" />
  15326. <Property Name="FridaySessions" Type="Int32" />
  15327. <Property Name="SaturdaySessions" Type="Int32" />
  15328. <Property Name="OptimisticLockField" Type="Int32" />
  15329. <Property Name="GCRecord" Type="Int32" />
  15330. <Property Name="Campaign" Type="Int32" />
  15331. <Property Name="LeadSheetDocumentPath" Type="Int32" />
  15332. <Property Name="PrizeDrawActive" Type="Boolean" />
  15333. <Property Name="MealVoucherDocumentPath" Type="Int32" />
  15334. <Property Name="PrizeDrawDocumentPath" Type="Int32" />
  15335. <Property Name="MonSession1" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15336. <Property Name="MonSession2" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15337. <Property Name="MonSession3" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15338. <Property Name="MonSession4" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15339. <Property Name="TueSession1" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15340. <Property Name="TueSession2" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15341. <Property Name="TueSession3" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15342. <Property Name="TueSession4" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15343. <Property Name="WedSession1" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15344. <Property Name="WedSession2" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15345. <Property Name="WedSession3" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15346. <Property Name="WedSession4" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15347. <Property Name="ThuSession1" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15348. <Property Name="ThuSession2" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15349. <Property Name="ThuSession3" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15350. <Property Name="ThuSession4" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15351. <Property Name="FriSession1" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15352. <Property Name="FriSession2" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15353. <Property Name="FriSession3" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15354. <Property Name="FriSession4" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15355. <Property Name="SatSession1" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15356. <Property Name="SatSession2" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15357. <Property Name="SatSession3" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15358. <Property Name="SatSession4" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15359. <Property Name="DefaultSalesClub" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15360. <Property Name="ContractPrefix" Type="String" MaxLength="8" FixedLength="false" Unicode="true" />
  15361. <Property Name="NoOfPeopleSession1" Type="Int16" />
  15362. <Property Name="NoOfPeopleSession2" Type="Int16" />
  15363. <Property Name="NoOfPeopleSession3" Type="Int16" />
  15364. <Property Name="NoOfPeopleSession4" Type="Int16" />
  15365. <Property Name="ConfirmationEmailDocument" Type="Int32" />
  15366. <Property Name="TelephoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15367. <Property Name="FaxNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15368. <Property Name="GpsCoOrdinates" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15369. <Property Name="StockLocation" Type="Int32" />
  15370. <Property Name="DefaultDeveloper" Type="Int32" />
  15371. <Property Name="Address" Type="Guid" />
  15372. <Property Name="VisibleByFranchisee" Type="Boolean" />
  15373. <Property Name="DefaultCurrency" Type="Int32" />
  15374. <Property Name="UnivateTarget" Type="Int32" />
  15375. <Property Name="Workdays" Type="Int32" />
  15376. <Property Name="SalesManager" Type="Int32" />
  15377. <Property Name="SpecifyClub" Type="Boolean" />
  15378. <Property Name="ManuallyAllocateConfirmationClerk" Type="Boolean" />
  15379. <Property Name="CannotSellInsurance" Type="Boolean" />
  15380. <Property Name="SalesRegion" Type="Int32" />
  15381. <Property Name="Country" Type="Guid" />
  15382. <Property Name="SundaySessions" Type="Int32" />
  15383. <Property Name="SunSession1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15384. <Property Name="RegionalSalesManager" Type="Int32" />
  15385. <Property Name="CommonName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15386. <Property Name="Company" Type="Int16" />
  15387. <Property Name="SendConfirmationLetter" Type="Boolean" />
  15388. <Property Name="SalesVenuePrefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15389. <Property Name="IsAgency" Type="Boolean" />
  15390. <Property Name="TimeOffBookingConfirmationDocumentPath" Type="Int32" />
  15391. <Property Name="TimeOffDescription" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15392. <Property Name="CommissionSplitGroup" Type="Int32" />
  15393. <Property Name="Inactive" Type="Boolean" />
  15394. <Property Name="GroupCode" Type="Int32" />
  15395. <Property Name="SalesVenueGroup" Type="Guid" />
  15396. <Property Name="Session1Target" Type="Int32" />
  15397. <Property Name="Session2Target" Type="Int32" />
  15398. <Property Name="Session3Target" Type="Int32" />
  15399. <Property Name="Session4Target" Type="Int32" />
  15400. <Property Name="Session5Target" Type="Int32" />
  15401. <Property Name="RegionalSalesManager2" Type="Int32" />
  15402. <Property Name="SalesVenueCommissionGroup" Type="Guid" />
  15403. <Property Name="ClientArrivalManager" Type="Int32" />
  15404. <Property Name="CanIssueOYG" Type="Boolean" />
  15405. <Property Name="Resort" Type="Int32" />
  15406. <Property Name="DontSendBKConfSMS" Type="Boolean" />
  15407. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblSalesVenue_Resort" FromRole="TblSalesVenue" ToRole="TblResort" />
  15408. <NavigationProperty Name="TblSalesRegisterHdrs" Relationship="ProvisionStagingModel.FK_TblSalesRegisterHdr_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesRegisterHdr" />
  15409. <NavigationProperty Name="TblSalesVenueTelemarketerOffices" Relationship="ProvisionStagingModel.FK__TblSalesV__Sales__2799C73C" FromRole="TblSalesVenue" ToRole="TblSalesVenueTelemarketerOffice" />
  15410. <NavigationProperty Name="TblSalesVenuePersonnels" Relationship="ProvisionStagingModel.FK__TblSalesV__TblSa__1C281490" FromRole="TblSalesVenue" ToRole="TblSalesVenuePersonnel" />
  15411. <NavigationProperty Name="TblSalesVenueRegions" Relationship="ProvisionStagingModel.FK__TblSalesV__TblSa__21E0EDE6" FromRole="TblSalesVenue" ToRole="TblSalesVenueRegion" />
  15412. <NavigationProperty Name="TblSalesVenueCommissionGroup" Relationship="ProvisionStagingModel.FK_TblSalesVenue_SalesVenueCommissionGroup" FromRole="TblSalesVenue" ToRole="TblSalesVenueCommissionGroup" />
  15413. <NavigationProperty Name="TblSalesVenueGroup" Relationship="ProvisionStagingModel.FK_TblSalesVenue_SalesVenueGroup" FromRole="TblSalesVenue" ToRole="TblSalesVenueGroup" />
  15414. <NavigationProperty Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Relationship="ProvisionStagingModel.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers" FromRole="TblSalesVenue" ToRole="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  15415. <NavigationProperty Name="TblSalesVenueClubAdjustments" Relationship="ProvisionStagingModel.FK_TblSalesVenueClubAdjustments_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueClubAdjustment" />
  15416. <NavigationProperty Name="TblSalesVenueClubDevelopers" Relationship="ProvisionStagingModel.FK_TblSalesVenueClubDevelopers_TblSalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueClubDeveloper" />
  15417. <NavigationProperty Name="TblSalesVenueCommissionsSplits" Relationship="ProvisionStagingModel.FK_TblSalesVenueCommissionsSplit_SalesAgency" FromRole="TblSalesVenue" ToRole="TblSalesVenueCommissionsSplit" />
  15418. <NavigationProperty Name="TblSalesVenueImportSources" Relationship="ProvisionStagingModel.FK_TblSalesVenueImportSource_TblSalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueImportSource" />
  15419. <NavigationProperty Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Relationship="ProvisionStagingModel.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  15420. <NavigationProperty Name="TblSalesVenueRegFees" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegFee_TblSalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueRegFee" />
  15421. <NavigationProperty Name="TblSalesVenueRegisterHdrs" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegisterHdr_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueRegisterHdr" />
  15422. <NavigationProperty Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Relationship="ProvisionStagingModel.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues" FromRole="TblSalesVenue" ToRole="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  15423. <NavigationProperty Name="TblSalesVenueTelemarketerOffice_bak" Relationship="ProvisionStagingModel.FK_TblSalesVenueTelemarketerOffice_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueTelemarketerOffice_bak" />
  15424. <NavigationProperty Name="TblSalesVenueWeeklyTargetSplits" Relationship="ProvisionStagingModel.FK_TblSalesVenueWeeklyTargetSplit_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSalesVenueWeeklyTargetSplit" />
  15425. <NavigationProperty Name="TblSCV2SalesVenueScale" Relationship="ProvisionStagingModel.FK_TblSCV2SalesVenueScale_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSCV2SalesVenueScale" />
  15426. <NavigationProperty Name="TblSessionOverrides" Relationship="ProvisionStagingModel.FK_TblSessionOverride_SalesVenue" FromRole="TblSalesVenue" ToRole="TblSessionOverride" />
  15427. <NavigationProperty Name="TblTelemarketerRegisterHdrs" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegisterHdr_SalesVenue" FromRole="TblSalesVenue" ToRole="TblTelemarketerRegisterHdr" />
  15428. <NavigationProperty Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues" FromRole="TblSalesVenue" ToRole="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  15429. <NavigationProperty Name="TblTMCommStructures" Relationship="ProvisionStagingModel.FK_TblTMCommStructure_SalesVenue" FromRole="TblSalesVenue" ToRole="TblTMCommStructure" />
  15430. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblSalesVenue_DefaultDeveloper" FromRole="TblSalesVenue" ToRole="TblDeveloper" />
  15431. <NavigationProperty Name="TblEVouchers" Relationship="ProvisionStagingModel.FK_TblEVoucher_SalesVenue" FromRole="TblSalesVenue" ToRole="TblEVoucher" />
  15432. <NavigationProperty Name="TblEVoucherCategories" Relationship="ProvisionStagingModel.FK_TblEVoucherCategory_SalesVenue" FromRole="TblSalesVenue" ToRole="TblEVoucherCategory" />
  15433. <NavigationProperty Name="TblEVoucherTypes" Relationship="ProvisionStagingModel.FK_TblEVoucherType_SalesVenue" FromRole="TblSalesVenue" ToRole="TblEVoucherType" />
  15434. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_PitchedLeadsReportVenue" FromRole="TblSalesVenue" ToRole="TblPersonnel" />
  15435. <NavigationProperty Name="TblPersonnels1" Relationship="ProvisionStagingModel.FK_TblPersonnel_PrimarySalesDeck" FromRole="TblSalesVenue" ToRole="TblPersonnel" />
  15436. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesVenue_ClientArrivalManager" FromRole="TblSalesVenue" ToRole="TblPersonnel" />
  15437. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblSalesVenue_RegionalSalesManager" FromRole="TblSalesVenue" ToRole="TblPersonnel" />
  15438. <NavigationProperty Name="TblPersonnel2" Relationship="ProvisionStagingModel.FK_TblSalesVenue_RegionalSalesManager2" FromRole="TblSalesVenue" ToRole="TblPersonnel" />
  15439. <NavigationProperty Name="TblPersonnel3" Relationship="ProvisionStagingModel.FK_TblSalesVenue_SalesManager" FromRole="TblSalesVenue" ToRole="TblPersonnel" />
  15440. <NavigationProperty Name="TblPersonnelUnivateTargets" Relationship="ProvisionStagingModel.FK_TblPersonnelUnivateTarget_SalesVenue" FromRole="TblSalesVenue" ToRole="TblPersonnelUnivateTarget" />
  15441. <NavigationProperty Name="TblPersonnelWeeklyTargetSplitPerSalesVenues" Relationship="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue" FromRole="TblSalesVenue" ToRole="TblPersonnelWeeklyTargetSplitPerSalesVenue" />
  15442. </EntityType>
  15443. <EntityType Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  15444. <Key>
  15445. <PropertyRef Name="OID" />
  15446. </Key>
  15447. <Property Name="CAOverride" Type="Int32" />
  15448. <Property Name="CAOverrideUsers" Type="Int32" />
  15449. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15450. <Property Name="OptimisticLockField" Type="Int32" />
  15451. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers" FromRole="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" ToRole="TblSalesVenue" />
  15452. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride" FromRole="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" ToRole="TblPersonnel" />
  15453. </EntityType>
  15454. <EntityType Name="TblSalesVenueClubAdjustment">
  15455. <Key>
  15456. <PropertyRef Name="OID" />
  15457. </Key>
  15458. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15459. <Property Name="SalesVenue" Type="Int32" />
  15460. <Property Name="SalesClub" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15461. <Property Name="IntrestAdjustment" Type="Decimal" Precision="19" Scale="4" />
  15462. <Property Name="OptimisticLockField" Type="Int32" />
  15463. <Property Name="GCRecord" Type="Int32" />
  15464. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueClubAdjustments_SalesVenue" FromRole="TblSalesVenueClubAdjustment" ToRole="TblSalesVenue" />
  15465. </EntityType>
  15466. <EntityType Name="TblSalesVenueClubDeveloper">
  15467. <Key>
  15468. <PropertyRef Name="OID" />
  15469. </Key>
  15470. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15471. <Property Name="Club" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15472. <Property Name="Developer" Type="Int32" />
  15473. <Property Name="TblSalesVenue" Type="Int32" />
  15474. <Property Name="OptimisticLockField" Type="Int32" />
  15475. <Property Name="GCRecord" Type="Int32" />
  15476. <NavigationProperty Name="TblSalesVenue1" Relationship="ProvisionStagingModel.FK_TblSalesVenueClubDevelopers_TblSalesVenue" FromRole="TblSalesVenueClubDeveloper" ToRole="TblSalesVenue" />
  15477. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblSalesVenueClubDevelopers_Developer" FromRole="TblSalesVenueClubDeveloper" ToRole="TblDeveloper" />
  15478. </EntityType>
  15479. <EntityType Name="TblSalesVenueCommissionGroup">
  15480. <Key>
  15481. <PropertyRef Name="Oid" />
  15482. </Key>
  15483. <Property Name="Oid" Type="Guid" Nullable="false" />
  15484. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15485. <Property Name="OptimisticLockField" Type="Int32" />
  15486. <Property Name="GCRecord" Type="Int32" />
  15487. <NavigationProperty Name="TblSalesVenues" Relationship="ProvisionStagingModel.FK_TblSalesVenue_SalesVenueCommissionGroup" FromRole="TblSalesVenueCommissionGroup" ToRole="TblSalesVenue" />
  15488. <NavigationProperty Name="TblSCV2SpecialStructure" Relationship="ProvisionStagingModel.FK_TblSCV2SpecialStructure_SalesCommissionGroup" FromRole="TblSalesVenueCommissionGroup" ToRole="TblSCV2SpecialStructure" />
  15489. </EntityType>
  15490. <EntityType Name="TblSalesVenueCommissionsSplit">
  15491. <Key>
  15492. <PropertyRef Name="OID" />
  15493. </Key>
  15494. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15495. <Property Name="SalesAgency" Type="Int32" />
  15496. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15497. <Property Name="PointBuyPrice" Type="Decimal" Precision="19" Scale="4" />
  15498. <Property Name="PointSellPrice" Type="Decimal" Precision="19" Scale="4" />
  15499. <Property Name="CommissionPerc" Type="Double" />
  15500. <Property Name="DepositPerc" Type="Double" />
  15501. <Property Name="IncludeInterest" Type="Boolean" />
  15502. <Property Name="DepositOnContract" Type="Boolean" />
  15503. <Property Name="OptimisticLockField" Type="Int32" />
  15504. <Property Name="GCRecord" Type="Int32" />
  15505. <Property Name="InstallmentPerc" Type="Double" />
  15506. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueCommissionsSplit_SalesAgency" FromRole="TblSalesVenueCommissionsSplit" ToRole="TblSalesVenue" />
  15507. <NavigationProperty Name="TblSalesVenueComSplitLines" Relationship="ProvisionStagingModel.FK_TblSalesVenueComSplitLines_CommissionSplit" FromRole="TblSalesVenueCommissionsSplit" ToRole="TblSalesVenueComSplitLine" />
  15508. </EntityType>
  15509. <EntityType Name="TblSalesVenueCommissionsSplitCommissionType">
  15510. <Key>
  15511. <PropertyRef Name="OID" />
  15512. </Key>
  15513. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15514. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15515. <Property Name="OptimisticLockField" Type="Int32" />
  15516. <Property Name="GCRecord" Type="Int32" />
  15517. </EntityType>
  15518. <EntityType Name="TblSalesVenueComSplitLine">
  15519. <Key>
  15520. <PropertyRef Name="OID" />
  15521. </Key>
  15522. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15523. <Property Name="CommissionSplit" Type="Int32" />
  15524. <Property Name="Category" Type="Int32" />
  15525. <Property Name="SubType" Type="Int32" />
  15526. <Property Name="SubTypePercentage" Type="Double" />
  15527. <Property Name="OptimisticLockField" Type="Int32" />
  15528. <Property Name="GCRecord" Type="Int32" />
  15529. <NavigationProperty Name="TblSalesVenueCommissionsSplit" Relationship="ProvisionStagingModel.FK_TblSalesVenueComSplitLines_CommissionSplit" FromRole="TblSalesVenueComSplitLine" ToRole="TblSalesVenueCommissionsSplit" />
  15530. </EntityType>
  15531. <EntityType Name="TblSalesVenueGroup">
  15532. <Key>
  15533. <PropertyRef Name="Oid" />
  15534. </Key>
  15535. <Property Name="Oid" Type="Guid" Nullable="false" />
  15536. <Property Name="GroupName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15537. <Property Name="OptimisticLockField" Type="Int32" />
  15538. <Property Name="GCRecord" Type="Int32" />
  15539. <NavigationProperty Name="TblSalesVenues" Relationship="ProvisionStagingModel.FK_TblSalesVenue_SalesVenueGroup" FromRole="TblSalesVenueGroup" ToRole="TblSalesVenue" />
  15540. </EntityType>
  15541. <EntityType Name="TblSalesVenueImportSource">
  15542. <Key>
  15543. <PropertyRef Name="OID" />
  15544. </Key>
  15545. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15546. <Property Name="TblSalesVenue" Type="Int32" />
  15547. <Property Name="ImportSource" Type="Int32" />
  15548. <Property Name="ExcludeThis" Type="Boolean" />
  15549. <Property Name="OptimisticLockField" Type="Int32" />
  15550. <Property Name="GCRecord" Type="Int32" />
  15551. <NavigationProperty Name="TblSalesVenue1" Relationship="ProvisionStagingModel.FK_TblSalesVenueImportSource_TblSalesVenue" FromRole="TblSalesVenueImportSource" ToRole="TblSalesVenue" />
  15552. <NavigationProperty Name="TblImportSource" Relationship="ProvisionStagingModel.FK_TblSalesVenueImportSource_ImportSource" FromRole="TblSalesVenueImportSource" ToRole="TblImportSource" />
  15553. </EntityType>
  15554. <EntityType Name="TblSalesVenuePersonnel">
  15555. <Key>
  15556. <PropertyRef Name="OID" />
  15557. </Key>
  15558. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15559. <Property Name="TblSalesVenue" Type="Int32" />
  15560. <Property Name="PersonnelCode" Type="Int32" />
  15561. <Property Name="OptimisticLockField" Type="Int32" />
  15562. <Property Name="GCRecord" Type="Int32" />
  15563. <Property Name="PodManager" Type="Int32" />
  15564. <Property Name="CallsPerHourTarget" Type="Int32" />
  15565. <Property Name="CallsMinSeconds" Type="Int32" />
  15566. <Property Name="BookingTarget" Type="Int32" />
  15567. <Property Name="ShowsTarget" Type="Int32" />
  15568. <NavigationProperty Name="TblSalesRegisters" Relationship="ProvisionStagingModel.FK_TblSalesRegister_Personnel" FromRole="TblSalesVenuePersonnel" ToRole="TblSalesRegister" />
  15569. <NavigationProperty Name="TblSalesVenue1" Relationship="ProvisionStagingModel.FK__TblSalesV__TblSa__1C281490" FromRole="TblSalesVenuePersonnel" ToRole="TblSalesVenue" />
  15570. <NavigationProperty Name="TblSalesVenueRegisters" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegister_Personnel" FromRole="TblSalesVenuePersonnel" ToRole="TblSalesVenueRegister" />
  15571. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK__TblSalesV__Perso__1A3FCC1E" FromRole="TblSalesVenuePersonnel" ToRole="TblPersonnel" />
  15572. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK__TblSalesV__PodMa__1B33F057" FromRole="TblSalesVenuePersonnel" ToRole="TblPersonnel" />
  15573. </EntityType>
  15574. <EntityType Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  15575. <Key>
  15576. <PropertyRef Name="OID" />
  15577. </Key>
  15578. <Property Name="PitchedLeadsReportRecipients" Type="Int32" />
  15579. <Property Name="PitchedLeadsReportVenue" Type="Int32" />
  15580. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15581. <Property Name="OptimisticLockField" Type="Int32" />
  15582. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue" FromRole="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" ToRole="TblSalesVenue" />
  15583. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients" FromRole="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" ToRole="TblPersonnel" />
  15584. </EntityType>
  15585. <EntityType Name="TblSalesVenueRegFee">
  15586. <Key>
  15587. <PropertyRef Name="OID" />
  15588. </Key>
  15589. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15590. <Property Name="Club" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  15591. <Property Name="ContractType" Type="Int32" />
  15592. <Property Name="TblSalesVenue" Type="Int32" />
  15593. <Property Name="Registrationfee" Type="Decimal" Precision="19" Scale="4" />
  15594. <Property Name="OptimisticLockField" Type="Int32" />
  15595. <Property Name="GCRecord" Type="Int32" />
  15596. <NavigationProperty Name="TblSalesVenue1" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegFee_TblSalesVenue" FromRole="TblSalesVenueRegFee" ToRole="TblSalesVenue" />
  15597. </EntityType>
  15598. <EntityType Name="TblSalesVenueRegion">
  15599. <Key>
  15600. <PropertyRef Name="OID" />
  15601. </Key>
  15602. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15603. <Property Name="Region" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15604. <Property Name="TblSalesVenue" Type="Int32" />
  15605. <Property Name="OptimisticLockField" Type="Int32" />
  15606. <Property Name="GCRecord" Type="Int32" />
  15607. <NavigationProperty Name="TblSalesVenue1" Relationship="ProvisionStagingModel.FK__TblSalesV__TblSa__21E0EDE6" FromRole="TblSalesVenueRegion" ToRole="TblSalesVenue" />
  15608. </EntityType>
  15609. <EntityType Name="TblSalesVenueRegister">
  15610. <Key>
  15611. <PropertyRef Name="OID" />
  15612. </Key>
  15613. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15614. <Property Name="Personnel" Type="Int32" />
  15615. <Property Name="SalesConsultants" Type="Int32" />
  15616. <Property Name="OptimisticLockField" Type="Int32" />
  15617. <Property Name="GCRecord" Type="Int32" />
  15618. <Property Name="AtWork" Type="Int32" />
  15619. <Property Name="Time" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15620. <Property Name="Remarks" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15621. <NavigationProperty Name="TblSalesVenuePersonnel" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegister_Personnel" FromRole="TblSalesVenueRegister" ToRole="TblSalesVenuePersonnel" />
  15622. <NavigationProperty Name="TblSalesVenueRegisterHdr" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegister_SalesConsultants" FromRole="TblSalesVenueRegister" ToRole="TblSalesVenueRegisterHdr" />
  15623. </EntityType>
  15624. <EntityType Name="TblSalesVenueRegisterHdr">
  15625. <Key>
  15626. <PropertyRef Name="OID" />
  15627. </Key>
  15628. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15629. <Property Name="WorkDate" Type="DateTime" Precision="3" />
  15630. <Property Name="SalesVenue" Type="Int32" />
  15631. <Property Name="OptimisticLockField" Type="Int32" />
  15632. <Property Name="GCRecord" Type="Int32" />
  15633. <Property Name="SalesTeamManager" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15634. <Property Name="RegionalManager" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15635. <Property Name="AtWork" Type="Int32" />
  15636. <Property Name="NotAtWork" Type="Int32" />
  15637. <Property Name="TimeChecked" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15638. <Property Name="EmailSent" Type="DateTime" Precision="3" />
  15639. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegisterHdr_SalesVenue" FromRole="TblSalesVenueRegisterHdr" ToRole="TblSalesVenue" />
  15640. <NavigationProperty Name="TblSalesVenueRegisters" Relationship="ProvisionStagingModel.FK_TblSalesVenueRegister_SalesConsultants" FromRole="TblSalesVenueRegisterHdr" ToRole="TblSalesVenueRegister" />
  15641. </EntityType>
  15642. <EntityType Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  15643. <Key>
  15644. <PropertyRef Name="OID" />
  15645. </Key>
  15646. <Property Name="PromotionCommissionStructures" Type="Guid" />
  15647. <Property Name="SalesVenues" Type="Int32" />
  15648. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15649. <Property Name="OptimisticLockField" Type="Int32" />
  15650. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues" FromRole="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" ToRole="TblSalesVenue" />
  15651. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" FromRole="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" ToRole="TblPromotionCommissionStructure" />
  15652. </EntityType>
  15653. <EntityType Name="TblSalesVenueTelemarketerOffice">
  15654. <Key>
  15655. <PropertyRef Name="OID" />
  15656. </Key>
  15657. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15658. <Property Name="SalesVenue" Type="Int32" />
  15659. <Property Name="TelemarketerOffice" Type="Int32" />
  15660. <Property Name="ConfirmationEmailDocument" Type="Int32" />
  15661. <Property Name="OptimisticLockField" Type="Int32" />
  15662. <Property Name="GCRecord" Type="Int32" />
  15663. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK__TblSalesV__Sales__2799C73C" FromRole="TblSalesVenueTelemarketerOffice" ToRole="TblSalesVenue" />
  15664. <NavigationProperty Name="TblTelemarketerOffice" Relationship="ProvisionStagingModel.FK__TblSalesV__Telem__288DEB75" FromRole="TblSalesVenueTelemarketerOffice" ToRole="TblTelemarketerOffice" />
  15665. </EntityType>
  15666. <EntityType Name="TblSalesVenueTelemarketerOffice_bak">
  15667. <Key>
  15668. <PropertyRef Name="OID" />
  15669. </Key>
  15670. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15671. <Property Name="SalesVenue" Type="Int32" />
  15672. <Property Name="TelemarketerOffice" Type="Int32" />
  15673. <Property Name="ConfirmationEmailDocument" Type="Int32" />
  15674. <Property Name="OptimisticLockField" Type="Int32" />
  15675. <Property Name="GCRecord" Type="Int32" />
  15676. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueTelemarketerOffice_SalesVenue" FromRole="TblSalesVenueTelemarketerOffice_bak" ToRole="TblSalesVenue" />
  15677. <NavigationProperty Name="TblTelemarketerOffice" Relationship="ProvisionStagingModel.FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice" FromRole="TblSalesVenueTelemarketerOffice_bak" ToRole="TblTelemarketerOffice" />
  15678. </EntityType>
  15679. <EntityType Name="TblSalesVenueWeeklyTargetSplit">
  15680. <Key>
  15681. <PropertyRef Name="OID" />
  15682. </Key>
  15683. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15684. <Property Name="SalesVenue" Type="Int32" />
  15685. <Property Name="Year" Type="Int32" />
  15686. <Property Name="WeekNumber" Type="Int32" />
  15687. <Property Name="FromDate" Type="DateTime" Precision="3" />
  15688. <Property Name="ToDate" Type="DateTime" Precision="3" />
  15689. <Property Name="UnivateTarget" Type="Int32" />
  15690. <Property Name="OptimisticLockField" Type="Int32" />
  15691. <Property Name="GCRecord" Type="Int32" />
  15692. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSalesVenueWeeklyTargetSplit_SalesVenue" FromRole="TblSalesVenueWeeklyTargetSplit" ToRole="TblSalesVenue" />
  15693. </EntityType>
  15694. <EntityType Name="TblSCV2CommissionContract">
  15695. <Key>
  15696. <PropertyRef Name="Oid" />
  15697. </Key>
  15698. <Property Name="Oid" Type="Guid" Nullable="false" />
  15699. <Property Name="Contract" Type="Int32" />
  15700. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15701. <Property Name="HousesitCommission" Type="Decimal" Precision="19" Scale="4" />
  15702. <Property Name="HousesitCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15703. <Property Name="NewLeadCommission" Type="Decimal" Precision="19" Scale="4" />
  15704. <Property Name="NewLeadCommissionPaid" Type="Decimal" Precision="19" Scale="4" />
  15705. <Property Name="UpfrontCommission" Type="Decimal" Precision="19" Scale="4" />
  15706. <Property Name="DripCommission" Type="Decimal" Precision="19" Scale="4" />
  15707. <Property Name="UpfrontPaid" Type="Decimal" Precision="19" Scale="4" />
  15708. <Property Name="DripPaid" Type="Decimal" Precision="19" Scale="4" />
  15709. <Property Name="SalesPerson" Type="Int32" />
  15710. <Property Name="SalesPersonType" Type="Int32" />
  15711. <Property Name="CommissionWeek" Type="Guid" />
  15712. <Property Name="StopPayout" Type="Boolean" />
  15713. <Property Name="IsEquityDeal" Type="Boolean" />
  15714. <Property Name="BCInstalment" Type="Decimal" Precision="19" Scale="4" />
  15715. <Property Name="Factor" Type="Double" />
  15716. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  15717. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  15718. <Property Name="DripStartsOnInstalment" Type="Int32" />
  15719. <Property Name="NoOfDrips" Type="Int32" />
  15720. <Property Name="DSDealPayoutPercentage" Type="Decimal" Precision="19" Scale="4" />
  15721. <Property Name="EquityPayoutPercentage" Type="Decimal" Precision="19" Scale="4" />
  15722. <Property Name="EquityTargetPercentage" Type="Decimal" Precision="19" Scale="4" />
  15723. <Property Name="BusinessFutureValue" Type="Decimal" Precision="19" Scale="4" />
  15724. <Property Name="QualifyForBonus" Type="Boolean" />
  15725. <Property Name="OptimisticLockField" Type="Int32" />
  15726. <Property Name="GCRecord" Type="Int32" />
  15727. <Property Name="ResaleContract" Type="Int32" />
  15728. <Property Name="Rotation" Type="Int32" />
  15729. <Property Name="ReducedAmount" Type="Decimal" Precision="19" Scale="4" />
  15730. <NavigationProperty Name="TblSCV2CommissionWeek" Relationship="ProvisionStagingModel.FK_TblSCV2CommissionContract_CommissionWeek" FromRole="TblSCV2CommissionContract" ToRole="TblSCV2CommissionWeek" />
  15731. <NavigationProperty Name="TblSCV2Transaction" Relationship="ProvisionStagingModel.FK_TblSCV2Transaction_CommissionContract" FromRole="TblSCV2CommissionContract" ToRole="TblSCV2Transaction" />
  15732. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSCV2CommissionContract_SalesPerson" FromRole="TblSCV2CommissionContract" ToRole="TblPersonnel" />
  15733. </EntityType>
  15734. <EntityType Name="TblSCV2CommissionPeriod">
  15735. <Key>
  15736. <PropertyRef Name="Oid" />
  15737. </Key>
  15738. <Property Name="Oid" Type="Guid" Nullable="false" />
  15739. <Property Name="FromDate" Type="DateTime" Precision="3" />
  15740. <Property Name="ToDate" Type="DateTime" Precision="3" />
  15741. <Property Name="DotCutOff" Type="DateTime" Precision="3" />
  15742. <Property Name="PayDate" Type="DateTime" Precision="3" />
  15743. <Property Name="CommissionPeriod" Type="Int32" />
  15744. <Property Name="ReadyForSignOff" Type="Boolean" />
  15745. <Property Name="OptimisticLockField" Type="Int32" />
  15746. <Property Name="GCRecord" Type="Int32" />
  15747. <NavigationProperty Name="TblSCV2CommissionWeek" Relationship="ProvisionStagingModel.FK_TblSCV2CommissionWeek_CommissionPeriod" FromRole="TblSCV2CommissionPeriod" ToRole="TblSCV2CommissionWeek" />
  15748. </EntityType>
  15749. <EntityType Name="TblSCV2CommissionStructure">
  15750. <Key>
  15751. <PropertyRef Name="Oid" />
  15752. </Key>
  15753. <Property Name="Oid" Type="Guid" Nullable="false" />
  15754. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15755. <Property Name="BonusPercentage" Type="Decimal" Precision="19" Scale="4" />
  15756. <Property Name="NoOfDealsForBonus" Type="Int32" />
  15757. <Property Name="OptimisticLockField" Type="Int32" />
  15758. <Property Name="GCRecord" Type="Int32" />
  15759. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  15760. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  15761. <Property Name="NoOfDrips" Type="Int32" />
  15762. <Property Name="DripStartsOnInstalment" Type="Int32" />
  15763. <Property Name="DSDealPayoutPercentage" Type="Decimal" Precision="19" Scale="4" />
  15764. <Property Name="DSDealDripStartOnInstalment" Type="Int32" />
  15765. <Property Name="NoOfDSDrips" Type="Int32" />
  15766. <Property Name="IsRegional" Type="Boolean" />
  15767. <Property Name="DSDealPercentage" Type="Decimal" Precision="19" Scale="4" />
  15768. <Property Name="NonLPAPercentage" Type="Decimal" Precision="19" Scale="4" />
  15769. <Property Name="RegionalSalesManagerType" Type="Int32" />
  15770. <NavigationProperty Name="TblSCV2RegionalManagerContractTypeOverride" Relationship="ProvisionStagingModel.FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure" FromRole="TblSCV2CommissionStructure" ToRole="TblSCV2RegionalManagerContractTypeOverride" />
  15771. <NavigationProperty Name="TblSCV2Scales" Relationship="ProvisionStagingModel.FK_TblSCV2Scales_CommissionStructure" FromRole="TblSCV2CommissionStructure" ToRole="TblSCV2Scales" />
  15772. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_SCVStructure" FromRole="TblSCV2CommissionStructure" ToRole="TblPersonnel" />
  15773. </EntityType>
  15774. <EntityType Name="TblSCV2CommissionWeek">
  15775. <Key>
  15776. <PropertyRef Name="Oid" />
  15777. </Key>
  15778. <Property Name="Oid" Type="Guid" Nullable="false" />
  15779. <Property Name="FromDate" Type="DateTime" Precision="3" />
  15780. <Property Name="ToDate" Type="DateTime" Precision="3" />
  15781. <Property Name="CommissionPeriod" Type="Guid" />
  15782. <Property Name="OptimisticLockField" Type="Int32" />
  15783. <Property Name="GCRecord" Type="Int32" />
  15784. <Property Name="WeekNumber" Type="Int32" />
  15785. <NavigationProperty Name="TblSCV2CommissionContract" Relationship="ProvisionStagingModel.FK_TblSCV2CommissionContract_CommissionWeek" FromRole="TblSCV2CommissionWeek" ToRole="TblSCV2CommissionContract" />
  15786. <NavigationProperty Name="TblSCV2CommissionPeriod" Relationship="ProvisionStagingModel.FK_TblSCV2CommissionWeek_CommissionPeriod" FromRole="TblSCV2CommissionWeek" ToRole="TblSCV2CommissionPeriod" />
  15787. </EntityType>
  15788. <EntityType Name="TblSCV2ErrorLog">
  15789. <Key>
  15790. <PropertyRef Name="Oid" />
  15791. </Key>
  15792. <Property Name="Oid" Type="Guid" Nullable="false" />
  15793. <Property Name="Contract" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15794. <Property Name="SalesPersonType" Type="Int32" />
  15795. <Property Name="Date" Type="DateTime" Precision="3" />
  15796. <Property Name="Description" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
  15797. <Property Name="OptimisticLockField" Type="Int32" />
  15798. <Property Name="GCRecord" Type="Int32" />
  15799. </EntityType>
  15800. <EntityType Name="TblSCV2RegionalManagerContractTypeOverride">
  15801. <Key>
  15802. <PropertyRef Name="Oid" />
  15803. </Key>
  15804. <Property Name="Oid" Type="Guid" Nullable="false" />
  15805. <Property Name="ContractType" Type="Int32" />
  15806. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  15807. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  15808. <Property Name="CommissionStructure" Type="Guid" />
  15809. <Property Name="OptimisticLockField" Type="Int32" />
  15810. <Property Name="GCRecord" Type="Int32" />
  15811. <Property Name="SpecialStructure" Type="Guid" />
  15812. <NavigationProperty Name="TblSCV2CommissionStructure" Relationship="ProvisionStagingModel.FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure" FromRole="TblSCV2RegionalManagerContractTypeOverride" ToRole="TblSCV2CommissionStructure" />
  15813. <NavigationProperty Name="TblSCV2SpecialStructure" Relationship="ProvisionStagingModel.FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure" FromRole="TblSCV2RegionalManagerContractTypeOverride" ToRole="TblSCV2SpecialStructure" />
  15814. </EntityType>
  15815. <EntityType Name="TblSCV2SalesVenueScale">
  15816. <Key>
  15817. <PropertyRef Name="Oid" />
  15818. </Key>
  15819. <Property Name="Oid" Type="Guid" Nullable="false" />
  15820. <Property Name="SalesVenue" Type="Int32" />
  15821. <Property Name="From" Type="Decimal" Precision="19" Scale="4" />
  15822. <Property Name="To" Type="Decimal" Precision="19" Scale="4" />
  15823. <Property Name="Percentage" Type="Decimal" Precision="19" Scale="4" />
  15824. <Property Name="RegionalSalesManagerType" Type="Int32" />
  15825. <Property Name="OptimisticLockField" Type="Int32" />
  15826. <Property Name="GCRecord" Type="Int32" />
  15827. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSCV2SalesVenueScale_SalesVenue" FromRole="TblSCV2SalesVenueScale" ToRole="TblSalesVenue" />
  15828. </EntityType>
  15829. <EntityType Name="TblSCV2Scales">
  15830. <Key>
  15831. <PropertyRef Name="Oid" />
  15832. </Key>
  15833. <Property Name="Oid" Type="Guid" Nullable="false" />
  15834. <Property Name="From" Type="Decimal" Precision="19" Scale="4" />
  15835. <Property Name="To" Type="Decimal" Precision="19" Scale="4" />
  15836. <Property Name="Percentage" Type="Decimal" Precision="19" Scale="4" />
  15837. <Property Name="PaidUpPercentage" Type="Decimal" Precision="19" Scale="4" />
  15838. <Property Name="Factor" Type="Double" />
  15839. <Property Name="ContractType" Type="Int32" />
  15840. <Property Name="IsDSDeal" Type="Boolean" />
  15841. <Property Name="DSDealPercentagePayout" Type="Decimal" Precision="19" Scale="4" />
  15842. <Property Name="NewLeadAmount" Type="Decimal" Precision="19" Scale="4" />
  15843. <Property Name="HousesitAmount" Type="Decimal" Precision="19" Scale="4" />
  15844. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  15845. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  15846. <Property Name="DripsStartsOnInstalment" Type="Int32" />
  15847. <Property Name="NoOfDrips" Type="Int32" />
  15848. <Property Name="CommissionStructure" Type="Guid" />
  15849. <Property Name="OptimisticLockField" Type="Int32" />
  15850. <Property Name="GCRecord" Type="Int32" />
  15851. <NavigationProperty Name="TblSCV2CommissionStructure" Relationship="ProvisionStagingModel.FK_TblSCV2Scales_CommissionStructure" FromRole="TblSCV2Scales" ToRole="TblSCV2CommissionStructure" />
  15852. </EntityType>
  15853. <EntityType Name="TblSCV2SpecialScales">
  15854. <Key>
  15855. <PropertyRef Name="Oid" />
  15856. </Key>
  15857. <Property Name="Oid" Type="Guid" Nullable="false" />
  15858. <Property Name="Structure" Type="Guid" />
  15859. <Property Name="MonthlyBusinessCredit" Type="Decimal" Precision="19" Scale="4" />
  15860. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15861. <Property Name="OptimisticLockField" Type="Int32" />
  15862. <Property Name="GCRecord" Type="Int32" />
  15863. <NavigationProperty Name="TblSCV2SpecialStructure" Relationship="ProvisionStagingModel.FK_TblSCV2SpecialScales_Structure" FromRole="TblSCV2SpecialScales" ToRole="TblSCV2SpecialStructure" />
  15864. </EntityType>
  15865. <EntityType Name="TblSCV2SpecialStructure">
  15866. <Key>
  15867. <PropertyRef Name="Oid" />
  15868. </Key>
  15869. <Property Name="Oid" Type="Guid" Nullable="false" />
  15870. <Property Name="Personnel" Type="Int32" />
  15871. <Property Name="SalesCommissionGroup" Type="Guid" />
  15872. <Property Name="DLDealCommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15873. <Property Name="DLDealPayoutPercentage" Type="Decimal" Precision="19" Scale="4" />
  15874. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  15875. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  15876. <Property Name="DripStartOnInstalment" Type="Int32" />
  15877. <Property Name="NumberOfDrips" Type="Int32" />
  15878. <Property Name="DSDealDripStartsOnInstalment" Type="Int32" />
  15879. <Property Name="OptimisticLockField" Type="Int32" />
  15880. <Property Name="GCRecord" Type="Int32" />
  15881. <NavigationProperty Name="TblSalesVenueCommissionGroup" Relationship="ProvisionStagingModel.FK_TblSCV2SpecialStructure_SalesCommissionGroup" FromRole="TblSCV2SpecialStructure" ToRole="TblSalesVenueCommissionGroup" />
  15882. <NavigationProperty Name="TblSCV2RegionalManagerContractTypeOverride" Relationship="ProvisionStagingModel.FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure" FromRole="TblSCV2SpecialStructure" ToRole="TblSCV2RegionalManagerContractTypeOverride" />
  15883. <NavigationProperty Name="TblSCV2SpecialScales" Relationship="ProvisionStagingModel.FK_TblSCV2SpecialScales_Structure" FromRole="TblSCV2SpecialStructure" ToRole="TblSCV2SpecialScales" />
  15884. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSCV2SpecialStructure_Personnel" FromRole="TblSCV2SpecialStructure" ToRole="TblPersonnel" />
  15885. </EntityType>
  15886. <EntityType Name="TblSCV2Transaction">
  15887. <Key>
  15888. <PropertyRef Name="Oid" />
  15889. </Key>
  15890. <Property Name="Oid" Type="Guid" Nullable="false" />
  15891. <Property Name="CommissionContract" Type="Guid" />
  15892. <Property Name="UpfrontCommission" Type="Decimal" Precision="19" Scale="4" />
  15893. <Property Name="DripCommission" Type="Decimal" Precision="19" Scale="4" />
  15894. <Property Name="NewLeadCommission" Type="Decimal" Precision="19" Scale="4" />
  15895. <Property Name="HousesitCommission" Type="Decimal" Precision="19" Scale="4" />
  15896. <Property Name="SignOffDate" Type="DateTime" Precision="3" />
  15897. <Property Name="SignOffBy" Type="Int32" />
  15898. <Property Name="TransactionDate" Type="DateTime" Precision="3" />
  15899. <Property Name="CommissionPeriod" Type="Int32" />
  15900. <Property Name="Paid" Type="Boolean" />
  15901. <Property Name="OptimisticLockField" Type="Int32" />
  15902. <Property Name="GCRecord" Type="Int32" />
  15903. <NavigationProperty Name="TblSCV2CommissionContract" Relationship="ProvisionStagingModel.FK_TblSCV2Transaction_CommissionContract" FromRole="TblSCV2Transaction" ToRole="TblSCV2CommissionContract" />
  15904. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSCV2Transaction_SignOffBy" FromRole="TblSCV2Transaction" ToRole="TblPersonnel" />
  15905. </EntityType>
  15906. <EntityType Name="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  15907. <Key>
  15908. <PropertyRef Name="OID" />
  15909. </Key>
  15910. <Property Name="PromotionCommissionStructure" Type="Guid" />
  15911. <Property Name="Seasons" Type="Int32" />
  15912. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15913. <Property Name="OptimisticLockField" Type="Int32" />
  15914. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure" FromRole="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" ToRole="TblPromotionCommissionStructure" />
  15915. </EntityType>
  15916. <EntityType Name="TblSeasonsRanking">
  15917. <Key>
  15918. <PropertyRef Name="OID" />
  15919. </Key>
  15920. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15921. <Property Name="Rankings" Type="Int32" />
  15922. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15923. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15924. <Property Name="Season" Type="Int32" />
  15925. <Property Name="Ranking" Type="Decimal" Precision="19" Scale="4" />
  15926. <Property Name="OptimisticLockField" Type="Int32" />
  15927. <Property Name="GCRecord" Type="Int32" />
  15928. <NavigationProperty Name="TblRanking" Relationship="ProvisionStagingModel.FK_TblSeasonsRankings_Rankings" FromRole="TblSeasonsRanking" ToRole="TblRanking" />
  15929. </EntityType>
  15930. <EntityType Name="TblSessionOverride">
  15931. <Key>
  15932. <PropertyRef Name="OID" />
  15933. </Key>
  15934. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15935. <Property Name="ShowDate" Type="DateTime" Precision="3" />
  15936. <Property Name="SalesVenue" Type="Int32" />
  15937. <Property Name="Reason" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15938. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15939. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15940. <Property Name="NumberOfSessions" Type="Int32" />
  15941. <Property Name="Session1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15942. <Property Name="Session2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15943. <Property Name="Session3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15944. <Property Name="Session4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15945. <Property Name="OptimisticLockField" Type="Int32" />
  15946. <Property Name="GCRecord" Type="Int32" />
  15947. <Property Name="ShowDateTo" Type="DateTime" Precision="3" />
  15948. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblSessionOverride_SalesVenue" FromRole="TblSessionOverride" ToRole="TblSalesVenue" />
  15949. </EntityType>
  15950. <EntityType Name="TblSleeperRanking">
  15951. <Key>
  15952. <PropertyRef Name="OID" />
  15953. </Key>
  15954. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  15955. <Property Name="Rankings" Type="Int32" />
  15956. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  15957. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  15958. <Property Name="Sleeper" Type="Int32" />
  15959. <Property Name="Ranking" Type="Decimal" Precision="19" Scale="4" />
  15960. <Property Name="OptimisticLockField" Type="Int32" />
  15961. <Property Name="GCRecord" Type="Int32" />
  15962. <NavigationProperty Name="TblRanking" Relationship="ProvisionStagingModel.FK_TblSleeperRankings_Rankings" FromRole="TblSleeperRanking" ToRole="TblRanking" />
  15963. </EntityType>
  15964. <EntityType Name="TblSMICommissionContract">
  15965. <Key>
  15966. <PropertyRef Name="Oid" />
  15967. </Key>
  15968. <Property Name="Oid" Type="Guid" Nullable="false" />
  15969. <Property Name="Contract" Type="Int32" />
  15970. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  15971. <Property Name="UpfrontCommission" Type="Decimal" Precision="19" Scale="4" />
  15972. <Property Name="DripCommission" Type="Decimal" Precision="19" Scale="4" />
  15973. <Property Name="UpfrontPaid" Type="Decimal" Precision="19" Scale="4" />
  15974. <Property Name="DripPaid" Type="Decimal" Precision="19" Scale="4" />
  15975. <Property Name="SalesWeek" Type="Guid" />
  15976. <Property Name="NoOfDrips" Type="Int32" />
  15977. <Property Name="DripStartsOnInstallment" Type="Int32" />
  15978. <Property Name="OptimisticLockField" Type="Int32" />
  15979. <Property Name="GCRecord" Type="Int32" />
  15980. <Property Name="StopPayout" Type="Boolean" />
  15981. <NavigationProperty Name="TblSMISalesPersonWeek" Relationship="ProvisionStagingModel.FK_TblSMICommissionContract_SalesWeek" FromRole="TblSMICommissionContract" ToRole="TblSMISalesPersonWeek" />
  15982. <NavigationProperty Name="TblSMITransactions" Relationship="ProvisionStagingModel.FK_TblSMITransaction_CommissionContract" FromRole="TblSMICommissionContract" ToRole="TblSMITransaction" />
  15983. </EntityType>
  15984. <EntityType Name="TblSMICommissionInfo">
  15985. <Key>
  15986. <PropertyRef Name="Oid" />
  15987. </Key>
  15988. <Property Name="Oid" Type="Guid" Nullable="false" />
  15989. <Property Name="CommissionPeriod" Type="Guid" />
  15990. <Property Name="SalesPerson" Type="Int32" />
  15991. <Property Name="OptimisticLockField" Type="Int32" />
  15992. <Property Name="GCRecord" Type="Int32" />
  15993. <NavigationProperty Name="TblSMICommissionPeriod" Relationship="ProvisionStagingModel.FK_TblSMICommissionInfo_CommissionPeriod" FromRole="TblSMICommissionInfo" ToRole="TblSMICommissionPeriod" />
  15994. <NavigationProperty Name="TblSMISalesPersonWeeks" Relationship="ProvisionStagingModel.FK_TblSMISalesPersonWeek_CommissionInfo" FromRole="TblSMICommissionInfo" ToRole="TblSMISalesPersonWeek" />
  15995. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSMICommissionInfo_SalesPerson" FromRole="TblSMICommissionInfo" ToRole="TblPersonnel" />
  15996. </EntityType>
  15997. <EntityType Name="TblSMICommissionPeriod">
  15998. <Key>
  15999. <PropertyRef Name="Oid" />
  16000. </Key>
  16001. <Property Name="Oid" Type="Guid" Nullable="false" />
  16002. <Property Name="FromDate" Type="DateTime" Precision="3" />
  16003. <Property Name="ToDate" Type="DateTime" Precision="3" />
  16004. <Property Name="DotCutOff" Type="DateTime" Precision="3" />
  16005. <Property Name="PayDate" Type="DateTime" Precision="3" />
  16006. <Property Name="CommissionPeriod" Type="Int32" />
  16007. <Property Name="ReadyForSignOff" Type="Boolean" />
  16008. <Property Name="OptimisticLockField" Type="Int32" />
  16009. <Property Name="GCRecord" Type="Int32" />
  16010. <NavigationProperty Name="TblSMICommissionInfoes" Relationship="ProvisionStagingModel.FK_TblSMICommissionInfo_CommissionPeriod" FromRole="TblSMICommissionPeriod" ToRole="TblSMICommissionInfo" />
  16011. <NavigationProperty Name="TblSMICommissionWeeks" Relationship="ProvisionStagingModel.FK_TblSMICommissionWeek_CommissionPeriod" FromRole="TblSMICommissionPeriod" ToRole="TblSMICommissionWeek" />
  16012. <NavigationProperty Name="TblSMITransactions" Relationship="ProvisionStagingModel.FK_TblSMITransaction_CommissionPeriod" FromRole="TblSMICommissionPeriod" ToRole="TblSMITransaction" />
  16013. </EntityType>
  16014. <EntityType Name="TblSMICommissionWeek">
  16015. <Key>
  16016. <PropertyRef Name="Oid" />
  16017. </Key>
  16018. <Property Name="Oid" Type="Guid" Nullable="false" />
  16019. <Property Name="FromDate" Type="DateTime" Precision="3" />
  16020. <Property Name="ToDate" Type="DateTime" Precision="3" />
  16021. <Property Name="CommissionPeriod" Type="Guid" />
  16022. <Property Name="OptimisticLockField" Type="Int32" />
  16023. <Property Name="GCRecord" Type="Int32" />
  16024. <NavigationProperty Name="TblSMICommissionPeriod" Relationship="ProvisionStagingModel.FK_TblSMICommissionWeek_CommissionPeriod" FromRole="TblSMICommissionWeek" ToRole="TblSMICommissionPeriod" />
  16025. <NavigationProperty Name="TblSMISalesPersonWeeks" Relationship="ProvisionStagingModel.FK_TblSMISalesPersonWeek_CommissionWeek" FromRole="TblSMICommissionWeek" ToRole="TblSMISalesPersonWeek" />
  16026. </EntityType>
  16027. <EntityType Name="TblSMIIncentive">
  16028. <Key>
  16029. <PropertyRef Name="Oid" />
  16030. </Key>
  16031. <Property Name="Oid" Type="Guid" Nullable="false" />
  16032. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16033. <Property Name="NewBusinessPercentage" Type="Decimal" Precision="19" Scale="4" />
  16034. <Property Name="IncludePromotions" Type="Boolean" />
  16035. <Property Name="SalesPersonType" Type="Int32" />
  16036. <Property Name="UpfrontPayout" Type="Decimal" Precision="19" Scale="4" />
  16037. <Property Name="DripPayout" Type="Decimal" Precision="19" Scale="4" />
  16038. <Property Name="NumberOfDrips" Type="Int32" />
  16039. <Property Name="DripStartsOnInstallment" Type="Int32" />
  16040. <Property Name="OptimisticLockField" Type="Int32" />
  16041. <Property Name="GCRecord" Type="Int32" />
  16042. <NavigationProperty Name="TblSMIIncentiveLevels" Relationship="ProvisionStagingModel.FK_TblSMIIncentiveLevel_Incentive" FromRole="TblSMIIncentive" ToRole="TblSMIIncentiveLevel" />
  16043. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_SMI" FromRole="TblSMIIncentive" ToRole="TblPersonnel" />
  16044. </EntityType>
  16045. <EntityType Name="TblSMIIncentiveLevel">
  16046. <Key>
  16047. <PropertyRef Name="Oid" />
  16048. </Key>
  16049. <Property Name="Oid" Type="Guid" Nullable="false" />
  16050. <Property Name="Level" Type="Int32" />
  16051. <Property Name="WeeklyBusinessCreditTarget" Type="Decimal" Precision="19" Scale="4" />
  16052. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  16053. <Property Name="Incentive" Type="Guid" />
  16054. <Property Name="OptimisticLockField" Type="Int32" />
  16055. <Property Name="GCRecord" Type="Int32" />
  16056. <NavigationProperty Name="TblSMIIncentive" Relationship="ProvisionStagingModel.FK_TblSMIIncentiveLevel_Incentive" FromRole="TblSMIIncentiveLevel" ToRole="TblSMIIncentive" />
  16057. </EntityType>
  16058. <EntityType Name="TblSMISalesPersonWeek">
  16059. <Key>
  16060. <PropertyRef Name="Oid" />
  16061. </Key>
  16062. <Property Name="Oid" Type="Guid" Nullable="false" />
  16063. <Property Name="CommissionWeek" Type="Guid" />
  16064. <Property Name="CommissionInfo" Type="Guid" />
  16065. <Property Name="TargetMade" Type="Boolean" />
  16066. <Property Name="NewBusinessPercentage" Type="Decimal" Precision="19" Scale="4" />
  16067. <Property Name="Turnover" Type="Decimal" Precision="19" Scale="4" />
  16068. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  16069. <Property Name="Comments" Type="Int32" />
  16070. <Property Name="OptimisticLockField" Type="Int32" />
  16071. <Property Name="GCRecord" Type="Int32" />
  16072. <NavigationProperty Name="TblSMICommissionContracts" Relationship="ProvisionStagingModel.FK_TblSMICommissionContract_SalesWeek" FromRole="TblSMISalesPersonWeek" ToRole="TblSMICommissionContract" />
  16073. <NavigationProperty Name="TblSMICommissionInfo" Relationship="ProvisionStagingModel.FK_TblSMISalesPersonWeek_CommissionInfo" FromRole="TblSMISalesPersonWeek" ToRole="TblSMICommissionInfo" />
  16074. <NavigationProperty Name="TblSMICommissionWeek" Relationship="ProvisionStagingModel.FK_TblSMISalesPersonWeek_CommissionWeek" FromRole="TblSMISalesPersonWeek" ToRole="TblSMICommissionWeek" />
  16075. </EntityType>
  16076. <EntityType Name="TblSMITransaction">
  16077. <Key>
  16078. <PropertyRef Name="Oid" />
  16079. </Key>
  16080. <Property Name="Oid" Type="Guid" Nullable="false" />
  16081. <Property Name="CommissionContract" Type="Guid" />
  16082. <Property Name="TransactionDate" Type="DateTime" Precision="3" />
  16083. <Property Name="CommissionPeriod" Type="Guid" />
  16084. <Property Name="UpfrontCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  16085. <Property Name="DripCommissionDue" Type="Decimal" Precision="19" Scale="4" />
  16086. <Property Name="Paid" Type="Boolean" />
  16087. <Property Name="SignOffDate" Type="DateTime" Precision="3" />
  16088. <Property Name="SignOffBy" Type="Int32" />
  16089. <Property Name="OptimisticLockField" Type="Int32" />
  16090. <Property Name="GCRecord" Type="Int32" />
  16091. <NavigationProperty Name="TblSMICommissionContract" Relationship="ProvisionStagingModel.FK_TblSMITransaction_CommissionContract" FromRole="TblSMITransaction" ToRole="TblSMICommissionContract" />
  16092. <NavigationProperty Name="TblSMICommissionPeriod" Relationship="ProvisionStagingModel.FK_TblSMITransaction_CommissionPeriod" FromRole="TblSMITransaction" ToRole="TblSMICommissionPeriod" />
  16093. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblSMITransaction_SignOffBy" FromRole="TblSMITransaction" ToRole="TblPersonnel" />
  16094. </EntityType>
  16095. <EntityType Name="TblSMSCampaignMessage">
  16096. <Key>
  16097. <PropertyRef Name="OID" />
  16098. </Key>
  16099. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16100. <Property Name="DateSent" Type="DateTime" Precision="3" />
  16101. <Property Name="Message" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  16102. <Property Name="Portfolio" Type="Int32" />
  16103. <Property Name="Contract" Type="Int32" />
  16104. <Property Name="SMSType" Type="Int32" />
  16105. <Property Name="CellPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16106. <Property Name="SMSResult" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16107. <Property Name="MemberNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16108. <Property Name="ActionDate" Type="DateTime" Precision="3" />
  16109. <Property Name="Sent" Type="Boolean" />
  16110. <Property Name="Guest" Type="Int32" />
  16111. <Property Name="IsSpouse" Type="Boolean" />
  16112. <Property Name="OptimisticLockField" Type="Int32" />
  16113. <Property Name="GCRecord" Type="Int32" />
  16114. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblSMSCampaignMessages_Portfolio" FromRole="TblSMSCampaignMessage" ToRole="TblPortfolio" />
  16115. </EntityType>
  16116. <EntityType Name="TblSMSCampaignTemplate">
  16117. <Key>
  16118. <PropertyRef Name="OID" />
  16119. </Key>
  16120. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16121. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16122. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16123. <Property Name="Type" Type="Int32" />
  16124. <Property Name="Message" Type="String" MaxLength="250" FixedLength="false" Unicode="true" />
  16125. <Property Name="OptimisticLockField" Type="Int32" />
  16126. <Property Name="GCRecord" Type="Int32" />
  16127. <Property Name="DoNotSendSMS" Type="Boolean" />
  16128. </EntityType>
  16129. <EntityType Name="TblStreamline">
  16130. <Key>
  16131. <PropertyRef Name="OID" />
  16132. </Key>
  16133. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16134. <Property Name="ContractNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16135. <Property Name="PreviousContractNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16136. <Property Name="Flow" Type="Int32" />
  16137. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16138. <Property Name="SpouseEmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16139. <Property Name="Portfolio" Type="Int32" />
  16140. <Property Name="PhysicalAddress" Type="Guid" />
  16141. <Property Name="PostalAddress" Type="Guid" />
  16142. <Property Name="PaymentMethod" Type="Int32" />
  16143. <Property Name="BalCla" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16144. <Property Name="MthInCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16145. <Property Name="NoMthCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16146. <Property Name="DepCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16147. <Property Name="CommDCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16148. <Property Name="CurMFCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16149. <Property Name="MFInCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16150. <Property Name="OccYrCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16151. <Property Name="OFMthCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16152. <Property Name="MFCommDCl" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16153. <Property Name="RegFYN" Type="Boolean" />
  16154. <Property Name="AmendedBalanceDue" Type="Decimal" Precision="19" Scale="4" />
  16155. <Property Name="AmendedMonthlyInstalment" Type="Decimal" Precision="19" Scale="4" />
  16156. <Property Name="DepositPayable" Type="Decimal" Precision="19" Scale="4" />
  16157. <Property Name="CurrentAnnualMangement" Type="Decimal" Precision="19" Scale="4" />
  16158. <Property Name="CurrentMonthlyManagement" Type="Decimal" Precision="19" Scale="4" />
  16159. <Property Name="MonthlyACB" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16160. <Property Name="RegistrationFeePayable" Type="Decimal" Precision="19" Scale="4" />
  16161. <Property Name="NoMonthsFromComm" Type="Int32" />
  16162. <Property Name="OccupationYear" Type="Int32" />
  16163. <Property Name="MonthlyInstalmentCommDate" Type="DateTime" Precision="3" />
  16164. <Property Name="MonthlyManFeeInstalmentCommDate" Type="DateTime" Precision="3" />
  16165. <Property Name="HomePhone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16166. <Property Name="WorkPhone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16167. <Property Name="CellPhone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16168. <Property Name="CellPhoneAlt" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16169. <Property Name="SignedAt" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16170. <Property Name="SignedDate" Type="DateTime" Precision="3" />
  16171. <Property Name="Club" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  16172. <Property Name="Developer" Type="Int32" />
  16173. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  16174. <Property Name="FirstName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16175. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16176. <Property Name="IdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16177. <Property Name="JointPurchase" Type="Boolean" />
  16178. <Property Name="MarriedType" Type="Int32" />
  16179. <Property Name="SpouseTitle" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  16180. <Property Name="SpouseFirstName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16181. <Property Name="SpouseSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16182. <Property Name="SpouseIdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16183. <Property Name="PrevContract" Type="Int32" />
  16184. <Property Name="InstalmentFee" Type="Decimal" Precision="19" Scale="4" />
  16185. <Property Name="Deposit" Type="Decimal" Precision="19" Scale="4" />
  16186. <Property Name="CommencementDate" Type="DateTime" Precision="3" />
  16187. <Property Name="NoMonths" Type="Int32" />
  16188. <Property Name="ManagementFee" Type="Decimal" Precision="19" Scale="4" />
  16189. <Property Name="GeneratedFile" Type="Int32" />
  16190. <Property Name="OptimisticLockField" Type="Int32" />
  16191. <Property Name="GCRecord" Type="Int32" />
  16192. <Property Name="AmendedBalanceDueDate" Type="DateTime" Precision="3" />
  16193. <Property Name="PointsPurchased" Type="Int32" />
  16194. <Property Name="PreviousDateOfSale" Type="DateTime" Precision="3" />
  16195. <Property Name="PrevOutstandingDebtor" Type="Decimal" Precision="19" Scale="4" />
  16196. <Property Name="SalesAgent" Type="Int32" />
  16197. <Property Name="DateOfSale" Type="DateTime" Precision="3" />
  16198. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblStreamline_SpouseTitle" FromRole="TblStreamline" ToRole="Title" />
  16199. <NavigationProperty Name="Title2" Relationship="ProvisionStagingModel.FK_TblStreamline_Title" FromRole="TblStreamline" ToRole="Title" />
  16200. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblStreamline_Developer" FromRole="TblStreamline" ToRole="TblDeveloper" />
  16201. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblStreamline_SalesAgent" FromRole="TblStreamline" ToRole="TblPersonnel" />
  16202. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblStreamline_Portfolio" FromRole="TblStreamline" ToRole="TblPortfolio" />
  16203. </EntityType>
  16204. <EntityType Name="TblSubStatu">
  16205. <Key>
  16206. <PropertyRef Name="OID" />
  16207. </Key>
  16208. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16209. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16210. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16211. <Property Name="LookupDisplay" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16212. <Property Name="OptimisticLockField" Type="Int32" />
  16213. <Property Name="GCRecord" Type="Int32" />
  16214. <NavigationProperty Name="TblSubStatusSubStatus_TblCCDStatusCCDStatus" Relationship="ProvisionStagingModel.FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus" FromRole="TblSubStatu" ToRole="TblSubStatusSubStatus_TblCCDStatusCCDStatus" />
  16215. <NavigationProperty Name="TblSubStatusSubStatuses_StatusStatus" Relationship="ProvisionStagingModel.FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses" FromRole="TblSubStatu" ToRole="TblSubStatusSubStatuses_StatusStatus" />
  16216. </EntityType>
  16217. <EntityType Name="TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  16218. <Key>
  16219. <PropertyRef Name="OID" />
  16220. </Key>
  16221. <Property Name="CCDStatus" Type="Int32" />
  16222. <Property Name="SubStatus" Type="Int32" />
  16223. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16224. <Property Name="OptimisticLockField" Type="Int32" />
  16225. <NavigationProperty Name="TblSubStatu" Relationship="ProvisionStagingModel.FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus" FromRole="TblSubStatusSubStatus_TblCCDStatusCCDStatus" ToRole="TblSubStatu" />
  16226. </EntityType>
  16227. <EntityType Name="TblSubStatusSubStatuses_StatusStatus">
  16228. <Key>
  16229. <PropertyRef Name="OID" />
  16230. </Key>
  16231. <Property Name="Status" Type="Int32" />
  16232. <Property Name="SubStatuses" Type="Int32" />
  16233. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16234. <Property Name="OptimisticLockField" Type="Int32" />
  16235. <NavigationProperty Name="TblSubStatu" Relationship="ProvisionStagingModel.FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses" FromRole="TblSubStatusSubStatuses_StatusStatus" ToRole="TblSubStatu" />
  16236. </EntityType>
  16237. <EntityType Name="TblSuspenseTransaction">
  16238. <Key>
  16239. <PropertyRef Name="OID" />
  16240. </Key>
  16241. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16242. <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  16243. <Property Name="TransactionDate" Type="DateTime" Precision="3" />
  16244. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16245. <Property Name="BankAccount" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16246. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16247. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  16248. <Property Name="DollarAmount" Type="Decimal" Precision="19" Scale="4" />
  16249. <Property Name="BankSMTNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16250. <Property Name="AllowcatedDate" Type="DateTime" Precision="3" />
  16251. <Property Name="TransferBankReference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16252. <Property Name="AllowcatedAccount" Type="Int32" />
  16253. <Property Name="StatementLine" Type="Int32" />
  16254. <Property Name="OptimisticLockField" Type="Int32" />
  16255. <Property Name="GCRecord" Type="Int32" />
  16256. <Property Name="SupportingDocument" Type="Int32" />
  16257. <Property Name="AllocatedBankAccount" Type="Int32" />
  16258. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16259. <Property Name="OtherEntity" Type="Boolean" />
  16260. <Property Name="JournalLine" Type="Int32" />
  16261. <NavigationProperty Name="TblSuspenseTransactionSplits" Relationship="ProvisionStagingModel.FK_TblSuspenseTransactionSplit_SuspenseLine" FromRole="TblSuspenseTransaction" ToRole="TblSuspenseTransactionSplit" />
  16262. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblSuspenseTransaction_AllowcatedAccount" FromRole="TblSuspenseTransaction" ToRole="TblDebtor" />
  16263. <NavigationProperty Name="TblJournalLine" Relationship="ProvisionStagingModel.FK_TblSuspenseTransaction_JournalLine" FromRole="TblSuspenseTransaction" ToRole="TblJournalLine" />
  16264. </EntityType>
  16265. <EntityType Name="TblSuspenseTransactionSplit">
  16266. <Key>
  16267. <PropertyRef Name="OID" />
  16268. </Key>
  16269. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16270. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  16271. <Property Name="DollarAmount" Type="Decimal" Precision="19" Scale="4" />
  16272. <Property Name="Account" Type="Int32" />
  16273. <Property Name="SuspenseLine" Type="Int32" />
  16274. <Property Name="OptimisticLockField" Type="Int32" />
  16275. <Property Name="GCRecord" Type="Int32" />
  16276. <Property Name="Suspense" Type="Boolean" />
  16277. <Property Name="AllocatedBankAccount" Type="Int32" />
  16278. <Property Name="Comments" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  16279. <Property Name="OtherEntity" Type="Boolean" />
  16280. <NavigationProperty Name="TblSuspenseTransaction" Relationship="ProvisionStagingModel.FK_TblSuspenseTransactionSplit_SuspenseLine" FromRole="TblSuspenseTransactionSplit" ToRole="TblSuspenseTransaction" />
  16281. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblSuspenseTransactionSplit_Account" FromRole="TblSuspenseTransactionSplit" ToRole="TblDebtor" />
  16282. </EntityType>
  16283. <EntityType Name="TblSystem">
  16284. <Key>
  16285. <PropertyRef Name="OID" />
  16286. </Key>
  16287. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16288. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16289. <Property Name="OptimisticLockField" Type="Int32" />
  16290. <Property Name="GCRecord" Type="Int32" />
  16291. <NavigationProperty Name="TblQueryCategories" Relationship="ProvisionStagingModel.FK_TblQueryCategory_System" FromRole="TblSystem" ToRole="TblQueryCategory1" />
  16292. <NavigationProperty Name="TblQueryRecipients" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_System" FromRole="TblSystem" ToRole="TblQueryRecipient" />
  16293. </EntityType>
  16294. <EntityType Name="TblTelemarketerOffice">
  16295. <Key>
  16296. <PropertyRef Name="OID" />
  16297. </Key>
  16298. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16299. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16300. <Property Name="province" Type="Guid" />
  16301. <Property Name="Company" Type="Int32" />
  16302. <Property Name="StartTime" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  16303. <Property Name="EndTime" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  16304. <Property Name="OptimisticLockField" Type="Int32" />
  16305. <Property Name="GCRecord" Type="Int32" />
  16306. <Property Name="SMSUserCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16307. <Property Name="SMSPassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16308. <Property Name="SendingEmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16309. <Property Name="Franchisee" Type="Guid" />
  16310. <Property Name="SmsBookingMessage" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  16311. <Property Name="SmsConfirmationMessage" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  16312. <Property Name="TelephoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16313. <Property Name="FaxNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16314. <Property Name="isInactive" Type="Boolean" />
  16315. <Property Name="WeeklyTarget" Type="Int32" />
  16316. <Property Name="ShowInDailyReport" Type="Boolean" />
  16317. <Property Name="ShowInWeeklyReport" Type="Boolean" />
  16318. <Property Name="ShowInMonthlyReport" Type="Boolean" />
  16319. <Property Name="External" Type="Boolean" />
  16320. <Property Name="SMSSettings" Type="Guid" />
  16321. <Property Name="SalesRegion" Type="Int32" />
  16322. <Property Name="Commissionable" Type="Boolean" />
  16323. <Property Name="HighlightInReport" Type="Boolean" />
  16324. <NavigationProperty Name="TblSalesVenueTelemarketerOffices" Relationship="ProvisionStagingModel.FK__TblSalesV__Telem__288DEB75" FromRole="TblTelemarketerOffice" ToRole="TblSalesVenueTelemarketerOffice" />
  16325. <NavigationProperty Name="TblSalesVenueTelemarketerOffice_bak" Relationship="ProvisionStagingModel.FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice" FromRole="TblTelemarketerOffice" ToRole="TblSalesVenueTelemarketerOffice_bak" />
  16326. <NavigationProperty Name="TblTelemarketingCompany" Relationship="ProvisionStagingModel.FK_TblTelemarketerOffice_Company" FromRole="TblTelemarketerOffice" ToRole="TblTelemarketingCompany" />
  16327. <NavigationProperty Name="TelemarketingSMSSetting" Relationship="ProvisionStagingModel.FK_TblTelemarketerOffice_SMSSettings" FromRole="TblTelemarketerOffice" ToRole="TelemarketingSMSSetting" />
  16328. <NavigationProperty Name="TblTelemarketerRegisterHdrs" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegisterHdr_TelemarketerOffice" FromRole="TblTelemarketerOffice" ToRole="TblTelemarketerRegisterHdr" />
  16329. <NavigationProperty Name="TelemarketingSMSSettings" Relationship="ProvisionStagingModel.FK_TelemarketingSMSSettings_TelemarketerOffice" FromRole="TblTelemarketerOffice" ToRole="TelemarketingSMSSetting" />
  16330. <NavigationProperty Name="TblLeadsCallHistories" Relationship="ProvisionStagingModel.FK_TblLeadsCallHistory_TelemarketerOffice" FromRole="TblTelemarketerOffice" ToRole="TblLeadsCallHistory" />
  16331. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_TelemarketerOffice" FromRole="TblTelemarketerOffice" ToRole="TblPersonnel" />
  16332. </EntityType>
  16333. <EntityType Name="TblTelemarketerRegister">
  16334. <Key>
  16335. <PropertyRef Name="OID" />
  16336. </Key>
  16337. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16338. <Property Name="Telemarketers" Type="Int32" />
  16339. <Property Name="PersonnelCode" Type="Int32" />
  16340. <Property Name="StartTime" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16341. <Property Name="EndTime" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16342. <Property Name="SeatPosition" Type="Int16" />
  16343. <Property Name="OptimisticLockField" Type="Int32" />
  16344. <Property Name="GCRecord" Type="Int32" />
  16345. <Property Name="Type" Type="Int32" />
  16346. <NavigationProperty Name="TblTelemarketerRegisterHdr" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegister_Telemarketers" FromRole="TblTelemarketerRegister" ToRole="TblTelemarketerRegisterHdr" />
  16347. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegister_PersonnelCode" FromRole="TblTelemarketerRegister" ToRole="TblPersonnel" />
  16348. </EntityType>
  16349. <EntityType Name="TblTelemarketerRegisterHdr">
  16350. <Key>
  16351. <PropertyRef Name="OID" />
  16352. </Key>
  16353. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16354. <Property Name="WorkDate" Type="DateTime" Precision="3" />
  16355. <Property Name="TelemarketerOffice" Type="Int32" />
  16356. <Property Name="OptimisticLockField" Type="Int32" />
  16357. <Property Name="GCRecord" Type="Int32" />
  16358. <Property Name="NoOfPeopleSession1" Type="Int16" />
  16359. <Property Name="NoOfPeopleSession2" Type="Int16" />
  16360. <Property Name="NoOfPeopleSession3" Type="Int16" />
  16361. <Property Name="NoOfPeopleSession4" Type="Int16" />
  16362. <Property Name="Type" Type="Int32" />
  16363. <Property Name="SalesVenue" Type="Int32" />
  16364. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegisterHdr_SalesVenue" FromRole="TblTelemarketerRegisterHdr" ToRole="TblSalesVenue" />
  16365. <NavigationProperty Name="TblTelemarketerOffice" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegisterHdr_TelemarketerOffice" FromRole="TblTelemarketerRegisterHdr" ToRole="TblTelemarketerOffice" />
  16366. <NavigationProperty Name="TblTelemarketerRegisters" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegister_Telemarketers" FromRole="TblTelemarketerRegisterHdr" ToRole="TblTelemarketerRegister" />
  16367. </EntityType>
  16368. <EntityType Name="TblTelemarketerSlidingScale">
  16369. <Key>
  16370. <PropertyRef Name="Oid" />
  16371. </Key>
  16372. <Property Name="Oid" Type="Guid" Nullable="false" />
  16373. <Property Name="CommisionMonth" Type="Guid" />
  16374. <Property Name="FromQShowCount" Type="Int32" />
  16375. <Property Name="ToQShowCount" Type="Int32" />
  16376. <Property Name="AmountPerQShow" Type="Decimal" Precision="19" Scale="4" />
  16377. <Property Name="MaxQShowPerWeek" Type="Int32" />
  16378. <Property Name="CommisonPerSolidClearedDeal" Type="Decimal" Precision="19" Scale="4" />
  16379. <Property Name="OptimisticLockField" Type="Int32" />
  16380. <Property Name="GCRecord" Type="Int32" />
  16381. </EntityType>
  16382. <EntityType Name="TblTelemarketingCompany">
  16383. <Key>
  16384. <PropertyRef Name="OID" />
  16385. </Key>
  16386. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16387. <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  16388. <Property Name="OptimisticLockField" Type="Int32" />
  16389. <Property Name="GCRecord" Type="Int32" />
  16390. <NavigationProperty Name="TblTelemarketerOffices" Relationship="ProvisionStagingModel.FK_TblTelemarketerOffice_Company" FromRole="TblTelemarketingCompany" ToRole="TblTelemarketerOffice" />
  16391. </EntityType>
  16392. <EntityType Name="TblTelephoneCode">
  16393. <Key>
  16394. <PropertyRef Name="OID" />
  16395. </Key>
  16396. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16397. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16398. <Property Name="IsLandline" Type="Boolean" />
  16399. <Property Name="IsCellphone" Type="Boolean" />
  16400. <Property Name="OptimisticLockField" Type="Int32" />
  16401. <Property Name="GCRecord" Type="Int32" />
  16402. </EntityType>
  16403. <EntityType Name="TblTelephone">
  16404. <Key>
  16405. <PropertyRef Name="OID" />
  16406. </Key>
  16407. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16408. <Property Name="PortfolioNumber" Type="Int32" />
  16409. <Property Name="TelephoneType" Type="Int32" />
  16410. <Property Name="TelephoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16411. <Property Name="DefaultNumber" Type="Boolean" />
  16412. <Property Name="Invalid" Type="Boolean" />
  16413. <Property Name="InvalidDate" Type="DateTime" Precision="3" />
  16414. <Property Name="InvalidUser" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16415. <Property Name="InvalidInfo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16416. <Property Name="OptimisticLockField" Type="Int32" />
  16417. <Property Name="GCRecord" Type="Int32" />
  16418. <Property Name="TelephoneNum" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16419. <NavigationProperty Name="TblTelephoneType" Relationship="ProvisionStagingModel.FK_TblTelephones_TelephoneType" FromRole="TblTelephone" ToRole="TblTelephoneType" />
  16420. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblTelephones_PortfolioNumber" FromRole="TblTelephone" ToRole="TblPortfolio" />
  16421. </EntityType>
  16422. <EntityType Name="TblTelephoneType">
  16423. <Key>
  16424. <PropertyRef Name="OID" />
  16425. </Key>
  16426. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16427. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16428. <Property Name="OptimisticLockField" Type="Int32" />
  16429. <Property Name="GCRecord" Type="Int32" />
  16430. <NavigationProperty Name="TblTelephones" Relationship="ProvisionStagingModel.FK_TblTelephones_TelephoneType" FromRole="TblTelephoneType" ToRole="TblTelephone" />
  16431. <NavigationProperty Name="TblPersonnelTelephones" Relationship="ProvisionStagingModel.FK_TblPersonnelTelephone_TelephoneType" FromRole="TblTelephoneType" ToRole="TblPersonnelTelephone" />
  16432. </EntityType>
  16433. <EntityType Name="TblTFGLead">
  16434. <Key>
  16435. <PropertyRef Name="OID" />
  16436. </Key>
  16437. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16438. <Property Name="Club" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16439. <Property Name="Code" Type="Int32" />
  16440. <Property Name="ContractNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16441. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  16442. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16443. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16444. <Property Name="HomePhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16445. <Property Name="WorkPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16446. <Property Name="CellphoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16447. <Property Name="IDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16448. <Property Name="InitialSellingDate" Type="DateTime" Precision="3" />
  16449. <Property Name="Points" Type="Int32" />
  16450. <Property Name="AddendumCount" Type="Int32" />
  16451. <Property Name="AddendumPoints" Type="Int32" />
  16452. <Property Name="FinitePoints" Type="Int32" />
  16453. <Property Name="LatestSellingDate" Type="DateTime" Precision="3" />
  16454. <Property Name="InitialSaleAgent" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16455. <Property Name="LatestSaleAgent" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16456. <Property Name="Developer" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16457. <Property Name="CancelledDate" Type="DateTime" Precision="3" />
  16458. <Property Name="OutstandingBalance" Type="Decimal" Precision="19" Scale="4" />
  16459. <Property Name="CapitalArrears" Type="Decimal" Precision="19" Scale="4" />
  16460. <Property Name="DataDated" Type="DateTime" Precision="3" />
  16461. <Property Name="OwnedBy" Type="Int32" />
  16462. <Property Name="DateAllocated" Type="DateTime" Precision="3" />
  16463. <Property Name="LastCalled" Type="DateTime" Precision="3" />
  16464. <Property Name="LastNumberCalled" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16465. <Property Name="DoNotContact" Type="Boolean" />
  16466. <Property Name="AllocatedTo" Type="Guid" />
  16467. <Property Name="AllocatedDateTime" Type="DateTime" Precision="3" />
  16468. <Property Name="OptimisticLockField" Type="Int32" />
  16469. <Property Name="GCRecord" Type="Int32" />
  16470. <Property Name="Adr1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16471. <Property Name="Adr2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16472. <Property Name="Adr3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16473. <Property Name="Adr4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16474. <Property Name="PostalCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16475. <Property Name="ContractStatus" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
  16476. <Property Name="BondArrearsPeriod" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16477. <Property Name="CertName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16478. <Property Name="AccType" Type="Int32" />
  16479. <Property Name="AccHolder" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16480. <Property Name="BankName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16481. <Property Name="BranchName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16482. <Property Name="BranchCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16483. <Property Name="AccNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16484. <Property Name="Typeoftransfig" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16485. <Property Name="ManagementFeesBalance" Type="Decimal" Precision="19" Scale="4" />
  16486. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  16487. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  16488. <Property Name="AssotiationFee" Type="Decimal" Precision="19" Scale="4" />
  16489. <Property Name="Adr5" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16490. <Property Name="Weekmodule" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16491. <Property Name="Configuration" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16492. <Property Name="MaxSLP" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16493. <Property Name="Season" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16494. <Property Name="PurchasePrice" Type="Decimal" Precision="19" Scale="4" />
  16495. <Property Name="Email" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16496. <Property Name="AccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16497. <Property Name="Weektype" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16498. <Property Name="IsCrystal" Type="Boolean" />
  16499. <Property Name="Unit" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16500. <Property Name="Levy2014" Type="Decimal" Precision="19" Scale="4" />
  16501. <Property Name="Levy2015" Type="Decimal" Precision="19" Scale="4" />
  16502. <Property Name="Levy2016" Type="Decimal" Precision="19" Scale="4" />
  16503. <Property Name="Levy2017" Type="Decimal" Precision="19" Scale="4" />
  16504. <Property Name="PriorArrears2013" Type="Decimal" Precision="19" Scale="4" />
  16505. <Property Name="Arrears2014" Type="Decimal" Precision="19" Scale="4" />
  16506. <Property Name="Rebate" Type="Decimal" Precision="19" Scale="4" />
  16507. <Property Name="CallBack" Type="Boolean" />
  16508. <Property Name="CallBackTime" Type="DateTime" Precision="3" />
  16509. <Property Name="ReleasedDate" Type="DateTime" Precision="3" />
  16510. <Property Name="Blocked" Type="Boolean" />
  16511. <Property Name="OldContractStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16512. <Property Name="DateTimeUpdated" Type="DateTime" Precision="3" />
  16513. <Property Name="IsLease" Type="Boolean" />
  16514. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblTFGLeads_Title" FromRole="TblTFGLead" ToRole="Title" />
  16515. <NavigationProperty Name="TblLeadFeedbacks" Relationship="ProvisionStagingModel.FK_TblLeadFeedback_TFGLeadsKey" FromRole="TblTFGLead" ToRole="TblLeadFeedback" />
  16516. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTFGLeads_OwnedBy" FromRole="TblTFGLead" ToRole="TblPersonnel" />
  16517. </EntityType>
  16518. <EntityType Name="TblTimeOffCampaign">
  16519. <Key>
  16520. <PropertyRef Name="OID" />
  16521. </Key>
  16522. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16523. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16524. <Property Name="CampaignName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16525. <Property Name="OptimisticLockField" Type="Int32" />
  16526. <Property Name="GCRecord" Type="Int32" />
  16527. <NavigationProperty Name="TblTimeOffCompetitions" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetition_Campaign" FromRole="TblTimeOffCampaign" ToRole="TblTimeOffCompetition" />
  16528. </EntityType>
  16529. <EntityType Name="TblTimeOffCompetition">
  16530. <Key>
  16531. <PropertyRef Name="OID" />
  16532. </Key>
  16533. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16534. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16535. <Property Name="Campaign" Type="Int32" />
  16536. <Property Name="CompetitionName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16537. <Property Name="DateStart" Type="DateTime" Precision="3" />
  16538. <Property Name="DateEnd" Type="DateTime" Precision="3" />
  16539. <Property Name="Winner" Type="Int32" />
  16540. <Property Name="OptimisticLockField" Type="Int32" />
  16541. <Property Name="GCRecord" Type="Int32" />
  16542. <NavigationProperty Name="TblTimeOffCampaign" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetition_Campaign" FromRole="TblTimeOffCompetition" ToRole="TblTimeOffCampaign" />
  16543. <NavigationProperty Name="TblTimeOffCompetitionEntry" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetition_Winner" FromRole="TblTimeOffCompetition" ToRole="TblTimeOffCompetitionEntry" />
  16544. <NavigationProperty Name="TblTimeOffCompetitionEntries" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetitionEntry_Competition" FromRole="TblTimeOffCompetition" ToRole="TblTimeOffCompetitionEntry" />
  16545. </EntityType>
  16546. <EntityType Name="TblTimeOffCompetitionCampaign">
  16547. <Key>
  16548. <PropertyRef Name="OID" />
  16549. </Key>
  16550. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16551. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16552. <Property Name="CampaignName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16553. <Property Name="DateStart" Type="DateTime" Precision="3" />
  16554. <Property Name="DateEnd" Type="DateTime" Precision="3" />
  16555. <Property Name="Winner" Type="Int32" />
  16556. <Property Name="OptimisticLockField" Type="Int32" />
  16557. <Property Name="GCRecord" Type="Int32" />
  16558. <NavigationProperty Name="TblTimeOffCompetitionEntry" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetitionCampaign_Winner" FromRole="TblTimeOffCompetitionCampaign" ToRole="TblTimeOffCompetitionEntry" />
  16559. <NavigationProperty Name="TblTimeOffCompetitionEntries" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetitionEntry_Campaign" FromRole="TblTimeOffCompetitionCampaign" ToRole="TblTimeOffCompetitionEntry" />
  16560. </EntityType>
  16561. <EntityType Name="TblTimeOffCompetitionEntry">
  16562. <Key>
  16563. <PropertyRef Name="OID" />
  16564. </Key>
  16565. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16566. <Property Name="Lead" Type="Int32" />
  16567. <Property Name="School" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16568. <Property Name="NameAndSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16569. <Property Name="CellphoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16570. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16571. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16572. <Property Name="OptimisticLockField" Type="Int32" />
  16573. <Property Name="GCRecord" Type="Int32" />
  16574. <Property Name="Suburb" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16575. <Property Name="Campaign" Type="Int32" />
  16576. <Property Name="Competition" Type="Int32" />
  16577. <NavigationProperty Name="TblTimeOffCompetitions" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetition_Winner" FromRole="TblTimeOffCompetitionEntry" ToRole="TblTimeOffCompetition" />
  16578. <NavigationProperty Name="TblTimeOffCompetition" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetitionEntry_Competition" FromRole="TblTimeOffCompetitionEntry" ToRole="TblTimeOffCompetition" />
  16579. <NavigationProperty Name="TblTimeOffCompetitionCampaigns" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetitionCampaign_Winner" FromRole="TblTimeOffCompetitionEntry" ToRole="TblTimeOffCompetitionCampaign" />
  16580. <NavigationProperty Name="TblTimeOffCompetitionCampaign" Relationship="ProvisionStagingModel.FK_TblTimeOffCompetitionEntry_Campaign" FromRole="TblTimeOffCompetitionEntry" ToRole="TblTimeOffCompetitionCampaign" />
  16581. </EntityType>
  16582. <EntityType Name="TblTimeOffConsoftComm">
  16583. <Key>
  16584. <PropertyRef Name="OID" />
  16585. </Key>
  16586. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16587. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16588. <Property Name="SendTo" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  16589. <Property Name="ReceivedFrom" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  16590. <Property Name="VoucherNr" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16591. <Property Name="OptimisticLockField" Type="Int32" />
  16592. <Property Name="GCRecord" Type="Int32" />
  16593. </EntityType>
  16594. <EntityType Name="TblTimeOffFriend">
  16595. <Key>
  16596. <PropertyRef Name="Oid" />
  16597. </Key>
  16598. <Property Name="Oid" Type="Guid" Nullable="false" />
  16599. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16600. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16601. <Property Name="Lead" Type="Int32" />
  16602. <Property Name="Arrived" Type="Boolean" />
  16603. <Property Name="Profile" Type="Guid" />
  16604. <Property Name="OptimisticLockField" Type="Int32" />
  16605. <Property Name="GCRecord" Type="Int32" />
  16606. <NavigationProperty Name="TblTimeOffReferalProfile" Relationship="ProvisionStagingModel.FK_TblTimeOffFriends_Profile" FromRole="TblTimeOffFriend" ToRole="TblTimeOffReferalProfile" />
  16607. </EntityType>
  16608. <EntityType Name="TblTimeOffNoVoucher">
  16609. <Key>
  16610. <PropertyRef Name="OID" />
  16611. </Key>
  16612. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16613. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16614. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  16615. <Property Name="FirstNames" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16616. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16617. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16618. <Property Name="IDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16619. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16620. <Property Name="Occupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16621. <Property Name="MaritalStatus" Type="Int32" />
  16622. <Property Name="SpouseOccupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16623. <Property Name="IncomeBracket" Type="Int32" />
  16624. <Property Name="HolidayHome" Type="Boolean" />
  16625. <Property Name="TimeShare" Type="Boolean" />
  16626. <Property Name="OtherOwnedHolidayAccomodation" Type="Boolean" />
  16627. <Property Name="OtherOwnedHolidayAccomodationDescription" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16628. <Property Name="CellPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16629. <Property Name="OneTimePassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16630. <Property Name="Password" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16631. <Property Name="PasswordByte" Type="Binary" MaxLength="Max" FixedLength="false" />
  16632. <Property Name="Lead" Type="Int32" />
  16633. <Property Name="BookingReference" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  16634. <Property Name="OptimisticLockField" Type="Int32" />
  16635. <Property Name="GCRecord" Type="Int32" />
  16636. <Property Name="WelcomeMessageSent" Type="Boolean" />
  16637. <Property Name="Contacted" Type="Boolean" />
  16638. <Property Name="HowDidYouHearAboutUs" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16639. <Property Name="WantingToAttend" Type="Boolean" />
  16640. <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  16641. <Property Name="CallbackOption" Type="Int32" />
  16642. <Property Name="CallbackTime" Type="DateTime" Precision="3" />
  16643. <Property Name="Age" Type="Int32" />
  16644. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  16645. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblTimeOffNoVouchers_Title" FromRole="TblTimeOffNoVoucher" ToRole="Title" />
  16646. <NavigationProperty Name="TblIncomeBracket" Relationship="ProvisionStagingModel.FK_TblTimeOffNoVouchers_IncomeBracket" FromRole="TblTimeOffNoVoucher" ToRole="TblIncomeBracket" />
  16647. <NavigationProperty Name="TblLeads" Relationship="ProvisionStagingModel.FK_TblLeads_TimeOffNonVoucherNumber" FromRole="TblTimeOffNoVoucher" ToRole="TblLead" />
  16648. </EntityType>
  16649. <EntityType Name="TblTimeOffReferalProfile">
  16650. <Key>
  16651. <PropertyRef Name="Oid" />
  16652. </Key>
  16653. <Property Name="Oid" Type="Guid" Nullable="false" />
  16654. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16655. <Property Name="TotalShows" Type="Int32" />
  16656. <Property Name="MemberNo" Type="Int32" />
  16657. <Property Name="Qualify" Type="Boolean" />
  16658. <Property Name="OptimisticLockField" Type="Int32" />
  16659. <Property Name="GCRecord" Type="Int32" />
  16660. <NavigationProperty Name="TblTimeOffFriends" Relationship="ProvisionStagingModel.FK_TblTimeOffFriends_Profile" FromRole="TblTimeOffReferalProfile" ToRole="TblTimeOffFriend" />
  16661. </EntityType>
  16662. <EntityType Name="TblTimeOffVoucher">
  16663. <Key>
  16664. <PropertyRef Name="OID" />
  16665. </Key>
  16666. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16667. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16668. <Property Name="Retailer" Type="Int32" />
  16669. <Property Name="VoucherType" Type="Int32" />
  16670. <Property Name="VoucherNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16671. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  16672. <Property Name="FirstNames" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16673. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16674. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16675. <Property Name="IDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16676. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16677. <Property Name="Occupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16678. <Property Name="MaritalStatus" Type="Int32" />
  16679. <Property Name="SpouseOccupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16680. <Property Name="IncomeBracket" Type="Int32" />
  16681. <Property Name="HolidayHome" Type="Boolean" />
  16682. <Property Name="TimeShare" Type="Boolean" />
  16683. <Property Name="OtherOwnedHolidayAccomodation" Type="Boolean" />
  16684. <Property Name="OtherOwnedHolidayAccomodationDescription" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16685. <Property Name="CellPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16686. <Property Name="OneTimePassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16687. <Property Name="Password" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16688. <Property Name="PasswordByte" Type="Binary" MaxLength="Max" FixedLength="false" />
  16689. <Property Name="Lead" Type="Int32" />
  16690. <Property Name="Resort" Type="Int32" />
  16691. <Property Name="BookingReference" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  16692. <Property Name="Contract" Type="Int32" />
  16693. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  16694. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  16695. <Property Name="Rating" Type="Int32" />
  16696. <Property Name="UnitNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16697. <Property Name="Arrived" Type="Boolean" />
  16698. <Property Name="Contacted" Type="Boolean" />
  16699. <Property Name="OptimisticLockField" Type="Int32" />
  16700. <Property Name="GCRecord" Type="Int32" />
  16701. <Property Name="Guest1Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16702. <Property Name="Guest1Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16703. <Property Name="Guest1IdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16704. <Property Name="Guest2Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16705. <Property Name="Guest2Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16706. <Property Name="Guest2IdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16707. <Property Name="Child1Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16708. <Property Name="Child2Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16709. <Property Name="Child3Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16710. <Property Name="Disabilities" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16711. <Property Name="SpecialDietaryRequirements" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16712. <Property Name="VehicleRegNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16713. <Property Name="WelcomeMessageSent" Type="Boolean" />
  16714. <Property Name="DayOfArrivalMessageSent" Type="Boolean" />
  16715. <Property Name="WeekReminderEmailSent" Type="Boolean" />
  16716. <Property Name="ConfigurationCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16717. <Property Name="DayOfDepartureMessageSent" Type="Boolean" />
  16718. <Property Name="SurveyEmailSent" Type="Boolean" />
  16719. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  16720. <Property Name="ResortBookingDate" Type="DateTime" Precision="3" />
  16721. <Property Name="VoucherRegDate" Type="DateTime" Precision="3" />
  16722. <Property Name="AdditionalCellPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16723. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_Resort" FromRole="TblTimeOffVoucher" ToRole="TblResort" />
  16724. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_Title" FromRole="TblTimeOffVoucher" ToRole="Title" />
  16725. <NavigationProperty Name="TblVoucherType" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_VoucherType" FromRole="TblTimeOffVoucher" ToRole="TblVoucherType" />
  16726. <NavigationProperty Name="TblIncomeBracket" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_IncomeBracket" FromRole="TblTimeOffVoucher" ToRole="TblIncomeBracket" />
  16727. <NavigationProperty Name="TblLeads" Relationship="ProvisionStagingModel.FK_TblLeads_TimeOffVoucherNumber" FromRole="TblTimeOffVoucher" ToRole="TblLead" />
  16728. </EntityType>
  16729. <EntityType Name="TblTMCommBasicTransaction">
  16730. <Key>
  16731. <PropertyRef Name="OID" />
  16732. </Key>
  16733. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16734. <Property Name="CommMonth" Type="Int32" />
  16735. <Property Name="DaysInPeriod" Type="Int32" />
  16736. <Property Name="DaysPaidFor" Type="Int32" />
  16737. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  16738. <Property Name="ProRata" Type="Boolean" />
  16739. <Property Name="Personnel" Type="Int32" />
  16740. <Property Name="OptimisticLockField" Type="Int32" />
  16741. <Property Name="GCRecord" Type="Int32" />
  16742. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTMCommBasicTransactions_Personnel" FromRole="TblTMCommBasicTransaction" ToRole="TblPersonnel" />
  16743. </EntityType>
  16744. <EntityType Name="TblTMCommDeal">
  16745. <Key>
  16746. <PropertyRef Name="OID" />
  16747. </Key>
  16748. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16749. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16750. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16751. <Property Name="Type" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16752. <Property Name="Person" Type="Int32" />
  16753. <Property Name="Contract" Type="Int32" />
  16754. <Property Name="DatePaid" Type="DateTime" Precision="3" />
  16755. <Property Name="SalesPeriod" Type="Int32" />
  16756. <Property Name="PeriodPaidIn" Type="Int32" />
  16757. <Property Name="Week" Type="Int32" />
  16758. <Property Name="OptimisticLockField" Type="Int32" />
  16759. <Property Name="GCRecord" Type="Int32" />
  16760. <Property Name="StatusActiveDate" Type="DateTime" Precision="3" />
  16761. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTMCommDeals_Person" FromRole="TblTMCommDeal" ToRole="TblPersonnel" />
  16762. </EntityType>
  16763. <EntityType Name="TblTMCommDealTarget">
  16764. <Key>
  16765. <PropertyRef Name="OID" />
  16766. </Key>
  16767. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16768. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16769. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16770. <Property Name="TMTable" Type="Int32" />
  16771. <Property Name="Target" Type="Int32" />
  16772. <Property Name="TargetBonus" Type="Int32" />
  16773. <Property Name="OptimisticLockField" Type="Int32" />
  16774. <Property Name="GCRecord" Type="Int32" />
  16775. <NavigationProperty Name="TblTMCommStructure" Relationship="ProvisionStagingModel.FK_TblTMCommDealTargets_TMTable" FromRole="TblTMCommDealTarget" ToRole="TblTMCommStructure" />
  16776. </EntityType>
  16777. <EntityType Name="TblTMCommGroup">
  16778. <Key>
  16779. <PropertyRef Name="OID" />
  16780. </Key>
  16781. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16782. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16783. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16784. <Property Name="GroupName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16785. <Property Name="Structure" Type="Int32" />
  16786. <Property Name="OptimisticLockField" Type="Int32" />
  16787. <Property Name="GCRecord" Type="Int32" />
  16788. <NavigationProperty Name="TblTMCommStructure" Relationship="ProvisionStagingModel.FK_TblTMCommGroups_Structure" FromRole="TblTMCommGroup" ToRole="TblTMCommStructure" />
  16789. <NavigationProperty Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups" FromRole="TblTMCommGroup" ToRole="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  16790. <NavigationProperty Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups" FromRole="TblTMCommGroup" ToRole="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" />
  16791. </EntityType>
  16792. <EntityType Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  16793. <Key>
  16794. <PropertyRef Name="OID" />
  16795. </Key>
  16796. <Property Name="PersonnelList" Type="Int32" />
  16797. <Property Name="TMCommGroups" Type="Int32" />
  16798. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16799. <Property Name="OptimisticLockField" Type="Int32" />
  16800. <NavigationProperty Name="TblTMCommGroup" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups" FromRole="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" ToRole="TblTMCommGroup" />
  16801. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList" FromRole="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" ToRole="TblPersonnel" />
  16802. </EntityType>
  16803. <EntityType Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  16804. <Key>
  16805. <PropertyRef Name="OID" />
  16806. </Key>
  16807. <Property Name="SalesVenues" Type="Int32" />
  16808. <Property Name="TMCommGroups" Type="Int32" />
  16809. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16810. <Property Name="OptimisticLockField" Type="Int32" />
  16811. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues" FromRole="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" ToRole="TblSalesVenue" />
  16812. <NavigationProperty Name="TblTMCommGroup" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups" FromRole="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" ToRole="TblTMCommGroup" />
  16813. </EntityType>
  16814. <EntityType Name="TblTMCommsAudit">
  16815. <Key>
  16816. <PropertyRef Name="OID" />
  16817. </Key>
  16818. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16819. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16820. <Property Name="SalesPeriod" Type="Int32" />
  16821. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16822. <Property Name="Type" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16823. <Property Name="OptimisticLockField" Type="Int32" />
  16824. <Property Name="GCRecord" Type="Int32" />
  16825. </EntityType>
  16826. <EntityType Name="TblTMCommsMonth">
  16827. <Key>
  16828. <PropertyRef Name="OID" />
  16829. </Key>
  16830. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16831. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16832. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16833. <Property Name="StartDate" Type="DateTime" Precision="3" />
  16834. <Property Name="EndDate" Type="DateTime" Precision="3" />
  16835. <Property Name="SalesPeriod" Type="Int32" />
  16836. <Property Name="IsCurrent" Type="Boolean" />
  16837. <Property Name="CommClosed" Type="Boolean" />
  16838. <Property Name="OptimisticLockField" Type="Int32" />
  16839. <Property Name="GCRecord" Type="Int32" />
  16840. <Property Name="TMCutOff" Type="DateTime" Precision="3" />
  16841. <NavigationProperty Name="TblTMCommsWeeks" Relationship="ProvisionStagingModel.FK_TblTMCommsWeek_TMMonth" FromRole="TblTMCommsMonth" ToRole="TblTMCommsWeek" />
  16842. </EntityType>
  16843. <EntityType Name="TblTMCommStructure">
  16844. <Key>
  16845. <PropertyRef Name="OID" />
  16846. </Key>
  16847. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16848. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16849. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16850. <Property Name="StructureName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16851. <Property Name="BonusTarget" Type="Int32" />
  16852. <Property Name="BonusPercentage" Type="Int32" />
  16853. <Property Name="SalesVenue" Type="Int32" />
  16854. <Property Name="OptimisticLockField" Type="Int32" />
  16855. <Property Name="GCRecord" Type="Int32" />
  16856. <Property Name="DealTargetOne" Type="Int32" />
  16857. <Property Name="DealTargetTwo" Type="Int32" />
  16858. <Property Name="DealTargetThree" Type="Int32" />
  16859. <Property Name="AddSomeAmount" Type="Decimal" Precision="19" Scale="4" />
  16860. <Property Name="PublicHolidayAmount" Type="Decimal" Precision="19" Scale="4" />
  16861. <Property Name="DealTargetFour" Type="Int32" />
  16862. <Property Name="AddsomeDaysMissedForLevel2" Type="Int32" />
  16863. <Property Name="AddsomeLevel2Amount" Type="Decimal" Precision="19" Scale="4" />
  16864. <Property Name="DoNotPayOnThisStructure" Type="Boolean" />
  16865. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblTMCommStructure_SalesVenue" FromRole="TblTMCommStructure" ToRole="TblSalesVenue" />
  16866. <NavigationProperty Name="TblTMCommDealTargets" Relationship="ProvisionStagingModel.FK_TblTMCommDealTargets_TMTable" FromRole="TblTMCommStructure" ToRole="TblTMCommDealTarget" />
  16867. <NavigationProperty Name="TblTMCommGroups" Relationship="ProvisionStagingModel.FK_TblTMCommGroups_Structure" FromRole="TblTMCommStructure" ToRole="TblTMCommGroup" />
  16868. <NavigationProperty Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Relationship="ProvisionStagingModel.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures" FromRole="TblTMCommStructure" ToRole="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  16869. <NavigationProperty Name="TblTMCommTables" Relationship="ProvisionStagingModel.FK_TblTMCommTable_Structure" FromRole="TblTMCommStructure" ToRole="TblTMCommTable" />
  16870. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_NewCommStructure" FromRole="TblTMCommStructure" ToRole="TblPersonnel" />
  16871. </EntityType>
  16872. <EntityType Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  16873. <Key>
  16874. <PropertyRef Name="OID" />
  16875. </Key>
  16876. <Property Name="PersonnelList" Type="Int32" />
  16877. <Property Name="TMCommStructures" Type="Int32" />
  16878. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16879. <Property Name="OptimisticLockField" Type="Int32" />
  16880. <NavigationProperty Name="TblTMCommStructure" Relationship="ProvisionStagingModel.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures" FromRole="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" ToRole="TblTMCommStructure" />
  16881. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList" FromRole="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" ToRole="TblPersonnel" />
  16882. </EntityType>
  16883. <EntityType Name="TblTMCommsWeek">
  16884. <Key>
  16885. <PropertyRef Name="OID" />
  16886. </Key>
  16887. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16888. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16889. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16890. <Property Name="WeekStart" Type="DateTime" Precision="3" />
  16891. <Property Name="WeekEnd" Type="DateTime" Precision="3" />
  16892. <Property Name="TargetFactor" Type="Int32" />
  16893. <Property Name="WeekNumber" Type="Int32" />
  16894. <Property Name="TMMonth" Type="Int32" />
  16895. <Property Name="OptimisticLockField" Type="Int32" />
  16896. <Property Name="GCRecord" Type="Int32" />
  16897. <NavigationProperty Name="TblTMCommsMonth" Relationship="ProvisionStagingModel.FK_TblTMCommsWeek_TMMonth" FromRole="TblTMCommsWeek" ToRole="TblTMCommsMonth" />
  16898. </EntityType>
  16899. <EntityType Name="TblTMCommTable">
  16900. <Key>
  16901. <PropertyRef Name="OID" />
  16902. </Key>
  16903. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16904. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16905. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16906. <Property Name="Day" Type="Int32" />
  16907. <Property Name="SessionNo" Type="Int32" />
  16908. <Property Name="QShowRate" Type="Decimal" Precision="19" Scale="4" />
  16909. <Property Name="Structure" Type="Int32" />
  16910. <Property Name="OptimisticLockField" Type="Int32" />
  16911. <Property Name="GCRecord" Type="Int32" />
  16912. <Property Name="OneDealRate" Type="Decimal" Precision="19" Scale="4" />
  16913. <Property Name="TwoDealRate" Type="Decimal" Precision="19" Scale="4" />
  16914. <Property Name="ThreeDealRate" Type="Decimal" Precision="19" Scale="4" />
  16915. <Property Name="FourDealRate" Type="Decimal" Precision="19" Scale="4" />
  16916. <NavigationProperty Name="TblTMCommStructure" Relationship="ProvisionStagingModel.FK_TblTMCommTable_Structure" FromRole="TblTMCommTable" ToRole="TblTMCommStructure" />
  16917. </EntityType>
  16918. <EntityType Name="TblTMCommTransaction">
  16919. <Key>
  16920. <PropertyRef Name="OID" />
  16921. </Key>
  16922. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16923. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16924. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16925. <Property Name="SalesPeriod" Type="Int32" />
  16926. <Property Name="WeekNo" Type="Int32" />
  16927. <Property Name="PresentationDate" Type="DateTime" Precision="3" />
  16928. <Property Name="Personnel" Type="Int32" />
  16929. <Property Name="Booking" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  16930. <Property Name="ContractNo" Type="Int32" />
  16931. <Property Name="CommAmount" Type="Decimal" Precision="19" Scale="4" />
  16932. <Property Name="Type" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16933. <Property Name="SalesVenue" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16934. <Property Name="Day" Type="Int32" />
  16935. <Property Name="SessionNo" Type="Int32" />
  16936. <Property Name="ContractStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16937. <Property Name="OptimisticLockField" Type="Int32" />
  16938. <Property Name="GCRecord" Type="Int32" />
  16939. <Property Name="Username" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16940. <Property Name="CommissionType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16941. <Property Name="StatusLastChange" Type="DateTime" Precision="3" />
  16942. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblTMCommTransactions_Personnel" FromRole="TblTMCommTransaction" ToRole="TblPersonnel" />
  16943. </EntityType>
  16944. <EntityType Name="TblTMCommType">
  16945. <Key>
  16946. <PropertyRef Name="OID" />
  16947. </Key>
  16948. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  16949. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  16950. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16951. <Property Name="Type" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16952. <Property Name="OptimisticLockField" Type="Int32" />
  16953. <Property Name="GCRecord" Type="Int32" />
  16954. </EntityType>
  16955. <EntityType Name="TblTrainingManagerCommissionSeasonPercentage">
  16956. <Key>
  16957. <PropertyRef Name="Oid" />
  16958. </Key>
  16959. <Property Name="Oid" Type="Guid" Nullable="false" />
  16960. <Property Name="Season" Type="Int32" />
  16961. <Property Name="EmploymentDuration" Type="Int32" />
  16962. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  16963. <Property Name="SalesCommissionPercentages" Type="Guid" />
  16964. <Property Name="OptimisticLockField" Type="Int32" />
  16965. <Property Name="GCRecord" Type="Int32" />
  16966. <NavigationProperty Name="TblSalesCommissionPercentage" Relationship="ProvisionStagingModel.FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages" FromRole="TblTrainingManagerCommissionSeasonPercentage" ToRole="TblSalesCommissionPercentage" />
  16967. </EntityType>
  16968. <EntityType Name="TblTrainingManual">
  16969. <Key>
  16970. <PropertyRef Name="Oid" />
  16971. </Key>
  16972. <Property Name="Oid" Type="Guid" Nullable="false" />
  16973. <Property Name="CategoryName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16974. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  16975. <Property Name="TrainingDocuments" Type="Int32" />
  16976. <Property Name="OptimisticLockField" Type="Int32" />
  16977. <Property Name="GCRecord" Type="Int32" />
  16978. </EntityType>
  16979. <EntityType Name="TblTrainngManagerCommissionPercentage">
  16980. <Key>
  16981. <PropertyRef Name="Oid" />
  16982. </Key>
  16983. <Property Name="Oid" Type="Guid" Nullable="false" />
  16984. <Property Name="PercentageType" Type="Int32" />
  16985. <Property Name="EmploymentDuration" Type="Int32" />
  16986. <Property Name="CommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  16987. <Property Name="SalesCommissionPercentages" Type="Guid" />
  16988. <Property Name="OptimisticLockField" Type="Int32" />
  16989. <Property Name="GCRecord" Type="Int32" />
  16990. <NavigationProperty Name="TblSalesCommissionPercentage" Relationship="ProvisionStagingModel.FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages" FromRole="TblTrainngManagerCommissionPercentage" ToRole="TblSalesCommissionPercentage" />
  16991. </EntityType>
  16992. <Association Name="FK_TblResort_ManagingAgent">
  16993. <End Type="ProvisionStagingModel.TblResortManagingAgent" Role="TblResortManagingAgent" Multiplicity="0..1" />
  16994. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="*" />
  16995. <ReferentialConstraint>
  16996. <Principal Role="TblResortManagingAgent">
  16997. <PropertyRef Name="OID" />
  16998. </Principal>
  16999. <Dependent Role="TblResort">
  17000. <PropertyRef Name="ManagingAgent" />
  17001. </Dependent>
  17002. </ReferentialConstraint>
  17003. </Association>
  17004. <Association Name="FK_TblResortExternalSalesPeriod_Resort">
  17005. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17006. <End Type="ProvisionStagingModel.TblResortExternalSalesPeriod" Role="TblResortExternalSalesPeriod" Multiplicity="*" />
  17007. <ReferentialConstraint>
  17008. <Principal Role="TblResort">
  17009. <PropertyRef Name="OID" />
  17010. </Principal>
  17011. <Dependent Role="TblResortExternalSalesPeriod">
  17012. <PropertyRef Name="Resort" />
  17013. </Dependent>
  17014. </ReferentialConstraint>
  17015. </Association>
  17016. <Association Name="FK_TblResortNotes_ResortKey">
  17017. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17018. <End Type="ProvisionStagingModel.TblResortNote" Role="TblResortNote" Multiplicity="*" />
  17019. <ReferentialConstraint>
  17020. <Principal Role="TblResort">
  17021. <PropertyRef Name="OID" />
  17022. </Principal>
  17023. <Dependent Role="TblResortNote">
  17024. <PropertyRef Name="ResortKey" />
  17025. </Dependent>
  17026. </ReferentialConstraint>
  17027. </Association>
  17028. <Association Name="FK_TblResortRebateBlock_Resort">
  17029. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17030. <End Type="ProvisionStagingModel.TblResortRebateBlock" Role="TblResortRebateBlock" Multiplicity="*" />
  17031. <ReferentialConstraint>
  17032. <Principal Role="TblResort">
  17033. <PropertyRef Name="OID" />
  17034. </Principal>
  17035. <Dependent Role="TblResortRebateBlock">
  17036. <PropertyRef Name="Resort" />
  17037. </Dependent>
  17038. </ReferentialConstraint>
  17039. </Association>
  17040. <Association Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_Resorts">
  17041. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17042. <End Type="ProvisionStagingModel.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  17043. <ReferentialConstraint>
  17044. <Principal Role="TblResort">
  17045. <PropertyRef Name="OID" />
  17046. </Principal>
  17047. <Dependent Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  17048. <PropertyRef Name="Resorts" />
  17049. </Dependent>
  17050. </ReferentialConstraint>
  17051. </Association>
  17052. <Association Name="FK_TblResortSalesPeriod_Resort">
  17053. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17054. <End Type="ProvisionStagingModel.TblResortSalesPeriod" Role="TblResortSalesPeriod" Multiplicity="*" />
  17055. <ReferentialConstraint>
  17056. <Principal Role="TblResort">
  17057. <PropertyRef Name="OID" />
  17058. </Principal>
  17059. <Dependent Role="TblResortSalesPeriod">
  17060. <PropertyRef Name="Resort" />
  17061. </Dependent>
  17062. </ReferentialConstraint>
  17063. </Association>
  17064. <Association Name="FK_TblSalesVenue_Resort">
  17065. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17066. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  17067. <ReferentialConstraint>
  17068. <Principal Role="TblResort">
  17069. <PropertyRef Name="OID" />
  17070. </Principal>
  17071. <Dependent Role="TblSalesVenue">
  17072. <PropertyRef Name="Resort" />
  17073. </Dependent>
  17074. </ReferentialConstraint>
  17075. </Association>
  17076. <Association Name="FK_TblTimeOffVouchers_Resort">
  17077. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17078. <End Type="ProvisionStagingModel.TblTimeOffVoucher" Role="TblTimeOffVoucher" Multiplicity="*" />
  17079. <ReferentialConstraint>
  17080. <Principal Role="TblResort">
  17081. <PropertyRef Name="OID" />
  17082. </Principal>
  17083. <Dependent Role="TblTimeOffVoucher">
  17084. <PropertyRef Name="Resort" />
  17085. </Dependent>
  17086. </ReferentialConstraint>
  17087. </Association>
  17088. <Association Name="FK_TblVoucher_Resort">
  17089. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17090. <End Type="ProvisionStagingModel.TblVoucher" Role="TblVoucher" Multiplicity="*" />
  17091. <ReferentialConstraint>
  17092. <Principal Role="TblResort">
  17093. <PropertyRef Name="OID" />
  17094. </Principal>
  17095. <Dependent Role="TblVoucher">
  17096. <PropertyRef Name="Resort" />
  17097. </Dependent>
  17098. </ReferentialConstraint>
  17099. </Association>
  17100. <Association Name="FK_TblWeekBanking_Resort">
  17101. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17102. <End Type="ProvisionStagingModel.TblWeekBanking" Role="TblWeekBanking" Multiplicity="*" />
  17103. <ReferentialConstraint>
  17104. <Principal Role="TblResort">
  17105. <PropertyRef Name="OID" />
  17106. </Principal>
  17107. <Dependent Role="TblWeekBanking">
  17108. <PropertyRef Name="Resort" />
  17109. </Dependent>
  17110. </ReferentialConstraint>
  17111. </Association>
  17112. <Association Name="FK_TblWeekModule_Resort">
  17113. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  17114. <End Type="ProvisionStagingModel.TblWeekModule" Role="TblWeekModule" Multiplicity="*" />
  17115. <ReferentialConstraint>
  17116. <Principal Role="TblResort">
  17117. <PropertyRef Name="OID" />
  17118. </Principal>
  17119. <Dependent Role="TblWeekModule">
  17120. <PropertyRef Name="Resort" />
  17121. </Dependent>
  17122. </ReferentialConstraint>
  17123. </Association>
  17124. <Association Name="FK_TblResortExternalSalesPeriodRules_SalesPeriod">
  17125. <End Type="ProvisionStagingModel.TblResortExternalSalesPeriod" Role="TblResortExternalSalesPeriod" Multiplicity="0..1" />
  17126. <End Type="ProvisionStagingModel.TblResortExternalSalesPeriodRule" Role="TblResortExternalSalesPeriodRule" Multiplicity="*" />
  17127. <ReferentialConstraint>
  17128. <Principal Role="TblResortExternalSalesPeriod">
  17129. <PropertyRef Name="OID" />
  17130. </Principal>
  17131. <Dependent Role="TblResortExternalSalesPeriodRule">
  17132. <PropertyRef Name="SalesPeriod" />
  17133. </Dependent>
  17134. </ReferentialConstraint>
  17135. </Association>
  17136. <Association Name="FK_TblResortRebateBlock_WeekModule">
  17137. <End Type="ProvisionStagingModel.TblWeekModule" Role="TblWeekModule" Multiplicity="0..1" />
  17138. <End Type="ProvisionStagingModel.TblResortRebateBlock" Role="TblResortRebateBlock" Multiplicity="*" />
  17139. <ReferentialConstraint>
  17140. <Principal Role="TblWeekModule">
  17141. <PropertyRef Name="OID" />
  17142. </Principal>
  17143. <Dependent Role="TblResortRebateBlock">
  17144. <PropertyRef Name="WeekModule" />
  17145. </Dependent>
  17146. </ReferentialConstraint>
  17147. </Association>
  17148. <Association Name="FK_TblResortSalesPeriodRules_SalesPeriod">
  17149. <End Type="ProvisionStagingModel.TblResortSalesPeriod" Role="TblResortSalesPeriod" Multiplicity="0..1" />
  17150. <End Type="ProvisionStagingModel.TblResortSalesPeriodRule" Role="TblResortSalesPeriodRule" Multiplicity="*" />
  17151. <ReferentialConstraint>
  17152. <Principal Role="TblResortSalesPeriod">
  17153. <PropertyRef Name="OID" />
  17154. </Principal>
  17155. <Dependent Role="TblResortSalesPeriodRule">
  17156. <PropertyRef Name="SalesPeriod" />
  17157. </Dependent>
  17158. </ReferentialConstraint>
  17159. </Association>
  17160. <Association Name="FK_TblSACRRABatch_Settings">
  17161. <End Type="ProvisionStagingModel.TblSACRRASetting" Role="TblSACRRASetting" Multiplicity="0..1" />
  17162. <End Type="ProvisionStagingModel.TblSACRRABatch" Role="TblSACRRABatch" Multiplicity="*" />
  17163. <ReferentialConstraint>
  17164. <Principal Role="TblSACRRASetting">
  17165. <PropertyRef Name="OID" />
  17166. </Principal>
  17167. <Dependent Role="TblSACRRABatch">
  17168. <PropertyRef Name="Settings" />
  17169. </Dependent>
  17170. </ReferentialConstraint>
  17171. </Association>
  17172. <Association Name="FK_TblSACRRAData_Batch">
  17173. <End Type="ProvisionStagingModel.TblSACRRABatch" Role="TblSACRRABatch" Multiplicity="0..1" />
  17174. <End Type="ProvisionStagingModel.TblSACRRAData" Role="TblSACRRAData" Multiplicity="*" />
  17175. <ReferentialConstraint>
  17176. <Principal Role="TblSACRRABatch">
  17177. <PropertyRef Name="OID" />
  17178. </Principal>
  17179. <Dependent Role="TblSACRRAData">
  17180. <PropertyRef Name="Batch" />
  17181. </Dependent>
  17182. </ReferentialConstraint>
  17183. </Association>
  17184. <Association Name="FK_TblSACRRAFiles_Batch">
  17185. <End Type="ProvisionStagingModel.TblSACRRABatch" Role="TblSACRRABatch" Multiplicity="0..1" />
  17186. <End Type="ProvisionStagingModel.TblSACRRAFile" Role="TblSACRRAFile" Multiplicity="*" />
  17187. <ReferentialConstraint>
  17188. <Principal Role="TblSACRRABatch">
  17189. <PropertyRef Name="OID" />
  17190. </Principal>
  17191. <Dependent Role="TblSACRRAFile">
  17192. <PropertyRef Name="Batch" />
  17193. </Dependent>
  17194. </ReferentialConstraint>
  17195. </Association>
  17196. <Association Name="FK_TblSACRRAFilesToEncrypt_Batch">
  17197. <End Type="ProvisionStagingModel.TblSACRRABatch" Role="TblSACRRABatch" Multiplicity="0..1" />
  17198. <End Type="ProvisionStagingModel.TblSACRRAFilesToEncrypt" Role="TblSACRRAFilesToEncrypt" Multiplicity="*" />
  17199. <ReferentialConstraint>
  17200. <Principal Role="TblSACRRABatch">
  17201. <PropertyRef Name="OID" />
  17202. </Principal>
  17203. <Dependent Role="TblSACRRAFilesToEncrypt">
  17204. <PropertyRef Name="Batch" />
  17205. </Dependent>
  17206. </ReferentialConstraint>
  17207. </Association>
  17208. <Association Name="FK_TblSACRRAConsoftGlobalData_SACRRAData">
  17209. <End Type="ProvisionStagingModel.TblSACRRAData" Role="TblSACRRAData" Multiplicity="0..1" />
  17210. <End Type="ProvisionStagingModel.TblSACRRAConsoftGlobalData" Role="TblSACRRAConsoftGlobalData" Multiplicity="*" />
  17211. <ReferentialConstraint>
  17212. <Principal Role="TblSACRRAData">
  17213. <PropertyRef Name="OID" />
  17214. </Principal>
  17215. <Dependent Role="TblSACRRAConsoftGlobalData">
  17216. <PropertyRef Name="SACRRAData" />
  17217. </Dependent>
  17218. </ReferentialConstraint>
  17219. </Association>
  17220. <Association Name="FK_TblSACRRADebtorStatus_SentToSACRRA">
  17221. <End Type="ProvisionStagingModel.TblSACRRAData" Role="TblSACRRAData" Multiplicity="0..1" />
  17222. <End Type="ProvisionStagingModel.TblSACRRADebtorStatu" Role="TblSACRRADebtorStatu" Multiplicity="*" />
  17223. <ReferentialConstraint>
  17224. <Principal Role="TblSACRRAData">
  17225. <PropertyRef Name="OID" />
  17226. </Principal>
  17227. <Dependent Role="TblSACRRADebtorStatu">
  17228. <PropertyRef Name="SentToSACRRA" />
  17229. </Dependent>
  17230. </ReferentialConstraint>
  17231. </Association>
  17232. <Association Name="FK_TblSalesCommAmountScale_EarnerType">
  17233. <End Type="ProvisionStagingModel.TblSalesCommEarnerType" Role="TblSalesCommEarnerType" Multiplicity="0..1" />
  17234. <End Type="ProvisionStagingModel.TblSalesCommAmountScale" Role="TblSalesCommAmountScale" Multiplicity="*" />
  17235. <ReferentialConstraint>
  17236. <Principal Role="TblSalesCommEarnerType">
  17237. <PropertyRef Name="Oid" />
  17238. </Principal>
  17239. <Dependent Role="TblSalesCommAmountScale">
  17240. <PropertyRef Name="EarnerType" />
  17241. </Dependent>
  17242. </ReferentialConstraint>
  17243. </Association>
  17244. <Association Name="FK_TblSalesCommAmountScale_Week">
  17245. <End Type="ProvisionStagingModel.TblSalesCommWeek" Role="TblSalesCommWeek" Multiplicity="0..1" />
  17246. <End Type="ProvisionStagingModel.TblSalesCommAmountScale" Role="TblSalesCommAmountScale" Multiplicity="*" />
  17247. <ReferentialConstraint>
  17248. <Principal Role="TblSalesCommWeek">
  17249. <PropertyRef Name="Oid" />
  17250. </Principal>
  17251. <Dependent Role="TblSalesCommAmountScale">
  17252. <PropertyRef Name="Week" />
  17253. </Dependent>
  17254. </ReferentialConstraint>
  17255. </Association>
  17256. <Association Name="FK_TblSalesCommCountScale_EarnerType">
  17257. <End Type="ProvisionStagingModel.TblSalesCommEarnerType" Role="TblSalesCommEarnerType" Multiplicity="0..1" />
  17258. <End Type="ProvisionStagingModel.TblSalesCommCountScale" Role="TblSalesCommCountScale" Multiplicity="*" />
  17259. <ReferentialConstraint>
  17260. <Principal Role="TblSalesCommEarnerType">
  17261. <PropertyRef Name="Oid" />
  17262. </Principal>
  17263. <Dependent Role="TblSalesCommCountScale">
  17264. <PropertyRef Name="EarnerType" />
  17265. </Dependent>
  17266. </ReferentialConstraint>
  17267. </Association>
  17268. <Association Name="FK_TblSalesCommCountScale_Week">
  17269. <End Type="ProvisionStagingModel.TblSalesCommWeek" Role="TblSalesCommWeek" Multiplicity="0..1" />
  17270. <End Type="ProvisionStagingModel.TblSalesCommCountScale" Role="TblSalesCommCountScale" Multiplicity="*" />
  17271. <ReferentialConstraint>
  17272. <Principal Role="TblSalesCommWeek">
  17273. <PropertyRef Name="Oid" />
  17274. </Principal>
  17275. <Dependent Role="TblSalesCommCountScale">
  17276. <PropertyRef Name="Week" />
  17277. </Dependent>
  17278. </ReferentialConstraint>
  17279. </Association>
  17280. <Association Name="FK_TblSalesCommSkippedCommissions_DataStore">
  17281. <End Type="ProvisionStagingModel.TblSalesCommDataStore" Role="TblSalesCommDataStore" Multiplicity="0..1" />
  17282. <End Type="ProvisionStagingModel.TblSalesCommSkippedCommission" Role="TblSalesCommSkippedCommission" Multiplicity="*" />
  17283. <ReferentialConstraint>
  17284. <Principal Role="TblSalesCommDataStore">
  17285. <PropertyRef Name="Oid" />
  17286. </Principal>
  17287. <Dependent Role="TblSalesCommSkippedCommission">
  17288. <PropertyRef Name="DataStore" />
  17289. </Dependent>
  17290. </ReferentialConstraint>
  17291. </Association>
  17292. <Association Name="FK_TblSalesCommStatement_DataStore">
  17293. <End Type="ProvisionStagingModel.TblSalesCommDataStore" Role="TblSalesCommDataStore" Multiplicity="0..1" />
  17294. <End Type="ProvisionStagingModel.TblSalesCommStatement" Role="TblSalesCommStatement" Multiplicity="*" />
  17295. <ReferentialConstraint>
  17296. <Principal Role="TblSalesCommDataStore">
  17297. <PropertyRef Name="Oid" />
  17298. </Principal>
  17299. <Dependent Role="TblSalesCommStatement">
  17300. <PropertyRef Name="DataStore" />
  17301. </Dependent>
  17302. </ReferentialConstraint>
  17303. </Association>
  17304. <Association Name="FK_TblSalesCommFixedAmount_EarnerType">
  17305. <End Type="ProvisionStagingModel.TblSalesCommEarnerType" Role="TblSalesCommEarnerType" Multiplicity="0..1" />
  17306. <End Type="ProvisionStagingModel.TblSalesCommFixedAmount" Role="TblSalesCommFixedAmount" Multiplicity="*" />
  17307. <ReferentialConstraint>
  17308. <Principal Role="TblSalesCommEarnerType">
  17309. <PropertyRef Name="Oid" />
  17310. </Principal>
  17311. <Dependent Role="TblSalesCommFixedAmount">
  17312. <PropertyRef Name="EarnerType" />
  17313. </Dependent>
  17314. </ReferentialConstraint>
  17315. </Association>
  17316. <Association Name="FK_TblSalesCommSkippedCommissions_EarnerType">
  17317. <End Type="ProvisionStagingModel.TblSalesCommEarnerType" Role="TblSalesCommEarnerType" Multiplicity="0..1" />
  17318. <End Type="ProvisionStagingModel.TblSalesCommSkippedCommission" Role="TblSalesCommSkippedCommission" Multiplicity="*" />
  17319. <ReferentialConstraint>
  17320. <Principal Role="TblSalesCommEarnerType">
  17321. <PropertyRef Name="Oid" />
  17322. </Principal>
  17323. <Dependent Role="TblSalesCommSkippedCommission">
  17324. <PropertyRef Name="EarnerType" />
  17325. </Dependent>
  17326. </ReferentialConstraint>
  17327. </Association>
  17328. <Association Name="FK_TblSalesCommStatement_EarnerType">
  17329. <End Type="ProvisionStagingModel.TblSalesCommEarnerType" Role="TblSalesCommEarnerType" Multiplicity="0..1" />
  17330. <End Type="ProvisionStagingModel.TblSalesCommStatement" Role="TblSalesCommStatement" Multiplicity="*" />
  17331. <ReferentialConstraint>
  17332. <Principal Role="TblSalesCommEarnerType">
  17333. <PropertyRef Name="Oid" />
  17334. </Principal>
  17335. <Dependent Role="TblSalesCommStatement">
  17336. <PropertyRef Name="EarnerType" />
  17337. </Dependent>
  17338. </ReferentialConstraint>
  17339. </Association>
  17340. <Association Name="FK_TblSalesCommFixedAmount_Week">
  17341. <End Type="ProvisionStagingModel.TblSalesCommWeek" Role="TblSalesCommWeek" Multiplicity="0..1" />
  17342. <End Type="ProvisionStagingModel.TblSalesCommFixedAmount" Role="TblSalesCommFixedAmount" Multiplicity="*" />
  17343. <ReferentialConstraint>
  17344. <Principal Role="TblSalesCommWeek">
  17345. <PropertyRef Name="Oid" />
  17346. </Principal>
  17347. <Dependent Role="TblSalesCommFixedAmount">
  17348. <PropertyRef Name="Week" />
  17349. </Dependent>
  17350. </ReferentialConstraint>
  17351. </Association>
  17352. <Association Name="FK_TblSalesCommissionAdditional_SalesCommissionInfo">
  17353. <End Type="ProvisionStagingModel.TblSalesCommissionInfo" Role="TblSalesCommissionInfo" Multiplicity="0..1" />
  17354. <End Type="ProvisionStagingModel.TblSalesCommissionAdditional" Role="TblSalesCommissionAdditional" Multiplicity="*" />
  17355. <ReferentialConstraint>
  17356. <Principal Role="TblSalesCommissionInfo">
  17357. <PropertyRef Name="Oid" />
  17358. </Principal>
  17359. <Dependent Role="TblSalesCommissionAdditional">
  17360. <PropertyRef Name="SalesCommissionInfo" />
  17361. </Dependent>
  17362. </ReferentialConstraint>
  17363. </Association>
  17364. <Association Name="FK_TblSalesCommissionTransaction_SalesCommissionAdditional">
  17365. <End Type="ProvisionStagingModel.TblSalesCommissionAdditional" Role="TblSalesCommissionAdditional" Multiplicity="0..1" />
  17366. <End Type="ProvisionStagingModel.TblSalesCommissionTransaction" Role="TblSalesCommissionTransaction" Multiplicity="*" />
  17367. <ReferentialConstraint>
  17368. <Principal Role="TblSalesCommissionAdditional">
  17369. <PropertyRef Name="Oid" />
  17370. </Principal>
  17371. <Dependent Role="TblSalesCommissionTransaction">
  17372. <PropertyRef Name="SalesCommissionAdditional" />
  17373. </Dependent>
  17374. </ReferentialConstraint>
  17375. </Association>
  17376. <Association Name="FK_TblSalesCommissionClawback_SalesCommissionInfo">
  17377. <End Type="ProvisionStagingModel.TblSalesCommissionInfo" Role="TblSalesCommissionInfo" Multiplicity="0..1" />
  17378. <End Type="ProvisionStagingModel.TblSalesCommissionClawback" Role="TblSalesCommissionClawback" Multiplicity="*" />
  17379. <ReferentialConstraint>
  17380. <Principal Role="TblSalesCommissionInfo">
  17381. <PropertyRef Name="Oid" />
  17382. </Principal>
  17383. <Dependent Role="TblSalesCommissionClawback">
  17384. <PropertyRef Name="SalesCommissionInfo" />
  17385. </Dependent>
  17386. </ReferentialConstraint>
  17387. </Association>
  17388. <Association Name="FK_TblSalesCommissionTransaction_SalesCommissionClawback">
  17389. <End Type="ProvisionStagingModel.TblSalesCommissionClawback" Role="TblSalesCommissionClawback" Multiplicity="0..1" />
  17390. <End Type="ProvisionStagingModel.TblSalesCommissionTransaction" Role="TblSalesCommissionTransaction" Multiplicity="*" />
  17391. <ReferentialConstraint>
  17392. <Principal Role="TblSalesCommissionClawback">
  17393. <PropertyRef Name="Oid" />
  17394. </Principal>
  17395. <Dependent Role="TblSalesCommissionTransaction">
  17396. <PropertyRef Name="SalesCommissionClawback" />
  17397. </Dependent>
  17398. </ReferentialConstraint>
  17399. </Association>
  17400. <Association Name="FK_TblSalesCommissionTransaction_SalesCommissionInfo">
  17401. <End Type="ProvisionStagingModel.TblSalesCommissionInfo" Role="TblSalesCommissionInfo" Multiplicity="0..1" />
  17402. <End Type="ProvisionStagingModel.TblSalesCommissionTransaction" Role="TblSalesCommissionTransaction" Multiplicity="*" />
  17403. <ReferentialConstraint>
  17404. <Principal Role="TblSalesCommissionInfo">
  17405. <PropertyRef Name="Oid" />
  17406. </Principal>
  17407. <Dependent Role="TblSalesCommissionTransaction">
  17408. <PropertyRef Name="SalesCommissionInfo" />
  17409. </Dependent>
  17410. </ReferentialConstraint>
  17411. </Association>
  17412. <Association Name="FK_TblSalesCommissionSeasons_SalesCommissionPercentages">
  17413. <End Type="ProvisionStagingModel.TblSalesCommissionPercentage" Role="TblSalesCommissionPercentage" Multiplicity="0..1" />
  17414. <End Type="ProvisionStagingModel.TblSalesCommissionSeason" Role="TblSalesCommissionSeason" Multiplicity="*" />
  17415. <ReferentialConstraint>
  17416. <Principal Role="TblSalesCommissionPercentage">
  17417. <PropertyRef Name="Oid" />
  17418. </Principal>
  17419. <Dependent Role="TblSalesCommissionSeason">
  17420. <PropertyRef Name="SalesCommissionPercentages" />
  17421. </Dependent>
  17422. </ReferentialConstraint>
  17423. </Association>
  17424. <Association Name="FK_TblTrainingManagerCommissionSeasonPercentage_SalesCommissionPercentages">
  17425. <End Type="ProvisionStagingModel.TblSalesCommissionPercentage" Role="TblSalesCommissionPercentage" Multiplicity="0..1" />
  17426. <End Type="ProvisionStagingModel.TblTrainingManagerCommissionSeasonPercentage" Role="TblTrainingManagerCommissionSeasonPercentage" Multiplicity="*" />
  17427. <ReferentialConstraint>
  17428. <Principal Role="TblSalesCommissionPercentage">
  17429. <PropertyRef Name="Oid" />
  17430. </Principal>
  17431. <Dependent Role="TblTrainingManagerCommissionSeasonPercentage">
  17432. <PropertyRef Name="SalesCommissionPercentages" />
  17433. </Dependent>
  17434. </ReferentialConstraint>
  17435. </Association>
  17436. <Association Name="FK_TblTrainngManagerCommissionPercentage_SalesCommissionPercentages">
  17437. <End Type="ProvisionStagingModel.TblSalesCommissionPercentage" Role="TblSalesCommissionPercentage" Multiplicity="0..1" />
  17438. <End Type="ProvisionStagingModel.TblTrainngManagerCommissionPercentage" Role="TblTrainngManagerCommissionPercentage" Multiplicity="*" />
  17439. <ReferentialConstraint>
  17440. <Principal Role="TblSalesCommissionPercentage">
  17441. <PropertyRef Name="Oid" />
  17442. </Principal>
  17443. <Dependent Role="TblTrainngManagerCommissionPercentage">
  17444. <PropertyRef Name="SalesCommissionPercentages" />
  17445. </Dependent>
  17446. </ReferentialConstraint>
  17447. </Association>
  17448. <Association Name="FK_TblSalesCommRegionBasedMonth_Month">
  17449. <End Type="ProvisionStagingModel.TblSalesCommMonth" Role="TblSalesCommMonth" Multiplicity="0..1" />
  17450. <End Type="ProvisionStagingModel.TblSalesCommRegionBasedMonth" Role="TblSalesCommRegionBasedMonth" Multiplicity="*" />
  17451. <ReferentialConstraint>
  17452. <Principal Role="TblSalesCommMonth">
  17453. <PropertyRef Name="Oid" />
  17454. </Principal>
  17455. <Dependent Role="TblSalesCommRegionBasedMonth">
  17456. <PropertyRef Name="Month" />
  17457. </Dependent>
  17458. </ReferentialConstraint>
  17459. </Association>
  17460. <Association Name="FK_TblSalesCommWeek_Month">
  17461. <End Type="ProvisionStagingModel.TblSalesCommMonth" Role="TblSalesCommMonth" Multiplicity="0..1" />
  17462. <End Type="ProvisionStagingModel.TblSalesCommWeek" Role="TblSalesCommWeek" Multiplicity="*" />
  17463. <ReferentialConstraint>
  17464. <Principal Role="TblSalesCommMonth">
  17465. <PropertyRef Name="Oid" />
  17466. </Principal>
  17467. <Dependent Role="TblSalesCommWeek">
  17468. <PropertyRef Name="Month" />
  17469. </Dependent>
  17470. </ReferentialConstraint>
  17471. </Association>
  17472. <Association Name="FK_TblSalesCommSkippedCommissions_Week">
  17473. <End Type="ProvisionStagingModel.TblSalesCommWeek" Role="TblSalesCommWeek" Multiplicity="0..1" />
  17474. <End Type="ProvisionStagingModel.TblSalesCommSkippedCommission" Role="TblSalesCommSkippedCommission" Multiplicity="*" />
  17475. <ReferentialConstraint>
  17476. <Principal Role="TblSalesCommWeek">
  17477. <PropertyRef Name="Oid" />
  17478. </Principal>
  17479. <Dependent Role="TblSalesCommSkippedCommission">
  17480. <PropertyRef Name="Week" />
  17481. </Dependent>
  17482. </ReferentialConstraint>
  17483. </Association>
  17484. <Association Name="FK_TblSalesCommStatement_Week">
  17485. <End Type="ProvisionStagingModel.TblSalesCommWeek" Role="TblSalesCommWeek" Multiplicity="0..1" />
  17486. <End Type="ProvisionStagingModel.TblSalesCommStatement" Role="TblSalesCommStatement" Multiplicity="*" />
  17487. <ReferentialConstraint>
  17488. <Principal Role="TblSalesCommWeek">
  17489. <PropertyRef Name="Oid" />
  17490. </Principal>
  17491. <Dependent Role="TblSalesCommStatement">
  17492. <PropertyRef Name="Week" />
  17493. </Dependent>
  17494. </ReferentialConstraint>
  17495. </Association>
  17496. <Association Name="FK_TblSalesPeriodWeekEnding_SalesPeriod">
  17497. <End Type="ProvisionStagingModel.TblSalesPeriod" Role="TblSalesPeriod" Multiplicity="0..1" />
  17498. <End Type="ProvisionStagingModel.TblSalesPeriodWeekEnding" Role="TblSalesPeriodWeekEnding" Multiplicity="*" />
  17499. <ReferentialConstraint>
  17500. <Principal Role="TblSalesPeriod">
  17501. <PropertyRef Name="OID" />
  17502. </Principal>
  17503. <Dependent Role="TblSalesPeriodWeekEnding">
  17504. <PropertyRef Name="SalesPeriod" />
  17505. </Dependent>
  17506. </ReferentialConstraint>
  17507. </Association>
  17508. <Association Name="FK_TblSalesRegister_Personnel">
  17509. <End Type="ProvisionStagingModel.TblSalesVenuePersonnel" Role="TblSalesVenuePersonnel" Multiplicity="0..1" />
  17510. <End Type="ProvisionStagingModel.TblSalesRegister" Role="TblSalesRegister" Multiplicity="*" />
  17511. <ReferentialConstraint>
  17512. <Principal Role="TblSalesVenuePersonnel">
  17513. <PropertyRef Name="OID" />
  17514. </Principal>
  17515. <Dependent Role="TblSalesRegister">
  17516. <PropertyRef Name="Personnel" />
  17517. </Dependent>
  17518. </ReferentialConstraint>
  17519. </Association>
  17520. <Association Name="FK_TblSalesRegister_SalesPeople">
  17521. <End Type="ProvisionStagingModel.TblSalesRegisterHdr" Role="TblSalesRegisterHdr" Multiplicity="0..1" />
  17522. <End Type="ProvisionStagingModel.TblSalesRegister" Role="TblSalesRegister" Multiplicity="*" />
  17523. <ReferentialConstraint>
  17524. <Principal Role="TblSalesRegisterHdr">
  17525. <PropertyRef Name="OID" />
  17526. </Principal>
  17527. <Dependent Role="TblSalesRegister">
  17528. <PropertyRef Name="SalesPeople" />
  17529. </Dependent>
  17530. </ReferentialConstraint>
  17531. </Association>
  17532. <Association Name="FK_TblSalesRegisterHdr_SalesVenue">
  17533. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17534. <End Type="ProvisionStagingModel.TblSalesRegisterHdr" Role="TblSalesRegisterHdr" Multiplicity="*" />
  17535. <ReferentialConstraint>
  17536. <Principal Role="TblSalesVenue">
  17537. <PropertyRef Name="OID" />
  17538. </Principal>
  17539. <Dependent Role="TblSalesRegisterHdr">
  17540. <PropertyRef Name="SalesVenue" />
  17541. </Dependent>
  17542. </ReferentialConstraint>
  17543. </Association>
  17544. <Association Name="FK__TblSalesV__Sales__2799C73C">
  17545. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17546. <End Type="ProvisionStagingModel.TblSalesVenueTelemarketerOffice" Role="TblSalesVenueTelemarketerOffice" Multiplicity="*" />
  17547. <ReferentialConstraint>
  17548. <Principal Role="TblSalesVenue">
  17549. <PropertyRef Name="OID" />
  17550. </Principal>
  17551. <Dependent Role="TblSalesVenueTelemarketerOffice">
  17552. <PropertyRef Name="SalesVenue" />
  17553. </Dependent>
  17554. </ReferentialConstraint>
  17555. </Association>
  17556. <Association Name="FK__TblSalesV__TblSa__1C281490">
  17557. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17558. <End Type="ProvisionStagingModel.TblSalesVenuePersonnel" Role="TblSalesVenuePersonnel" Multiplicity="*" />
  17559. <ReferentialConstraint>
  17560. <Principal Role="TblSalesVenue">
  17561. <PropertyRef Name="OID" />
  17562. </Principal>
  17563. <Dependent Role="TblSalesVenuePersonnel">
  17564. <PropertyRef Name="TblSalesVenue" />
  17565. </Dependent>
  17566. </ReferentialConstraint>
  17567. </Association>
  17568. <Association Name="FK__TblSalesV__TblSa__21E0EDE6">
  17569. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17570. <End Type="ProvisionStagingModel.TblSalesVenueRegion" Role="TblSalesVenueRegion" Multiplicity="*" />
  17571. <ReferentialConstraint>
  17572. <Principal Role="TblSalesVenue">
  17573. <PropertyRef Name="OID" />
  17574. </Principal>
  17575. <Dependent Role="TblSalesVenueRegion">
  17576. <PropertyRef Name="TblSalesVenue" />
  17577. </Dependent>
  17578. </ReferentialConstraint>
  17579. </Association>
  17580. <Association Name="FK_TblSalesVenue_SalesVenueCommissionGroup">
  17581. <End Type="ProvisionStagingModel.TblSalesVenueCommissionGroup" Role="TblSalesVenueCommissionGroup" Multiplicity="0..1" />
  17582. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  17583. <ReferentialConstraint>
  17584. <Principal Role="TblSalesVenueCommissionGroup">
  17585. <PropertyRef Name="Oid" />
  17586. </Principal>
  17587. <Dependent Role="TblSalesVenue">
  17588. <PropertyRef Name="SalesVenueCommissionGroup" />
  17589. </Dependent>
  17590. </ReferentialConstraint>
  17591. </Association>
  17592. <Association Name="FK_TblSalesVenue_SalesVenueGroup">
  17593. <End Type="ProvisionStagingModel.TblSalesVenueGroup" Role="TblSalesVenueGroup" Multiplicity="0..1" />
  17594. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  17595. <ReferentialConstraint>
  17596. <Principal Role="TblSalesVenueGroup">
  17597. <PropertyRef Name="Oid" />
  17598. </Principal>
  17599. <Dependent Role="TblSalesVenue">
  17600. <PropertyRef Name="SalesVenueGroup" />
  17601. </Dependent>
  17602. </ReferentialConstraint>
  17603. </Association>
  17604. <Association Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverrideUsers">
  17605. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17606. <End Type="ProvisionStagingModel.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Multiplicity="*" />
  17607. <ReferentialConstraint>
  17608. <Principal Role="TblSalesVenue">
  17609. <PropertyRef Name="OID" />
  17610. </Principal>
  17611. <Dependent Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  17612. <PropertyRef Name="CAOverrideUsers" />
  17613. </Dependent>
  17614. </ReferentialConstraint>
  17615. </Association>
  17616. <Association Name="FK_TblSalesVenueClubAdjustments_SalesVenue">
  17617. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17618. <End Type="ProvisionStagingModel.TblSalesVenueClubAdjustment" Role="TblSalesVenueClubAdjustment" Multiplicity="*" />
  17619. <ReferentialConstraint>
  17620. <Principal Role="TblSalesVenue">
  17621. <PropertyRef Name="OID" />
  17622. </Principal>
  17623. <Dependent Role="TblSalesVenueClubAdjustment">
  17624. <PropertyRef Name="SalesVenue" />
  17625. </Dependent>
  17626. </ReferentialConstraint>
  17627. </Association>
  17628. <Association Name="FK_TblSalesVenueClubDevelopers_TblSalesVenue">
  17629. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17630. <End Type="ProvisionStagingModel.TblSalesVenueClubDeveloper" Role="TblSalesVenueClubDeveloper" Multiplicity="*" />
  17631. <ReferentialConstraint>
  17632. <Principal Role="TblSalesVenue">
  17633. <PropertyRef Name="OID" />
  17634. </Principal>
  17635. <Dependent Role="TblSalesVenueClubDeveloper">
  17636. <PropertyRef Name="TblSalesVenue" />
  17637. </Dependent>
  17638. </ReferentialConstraint>
  17639. </Association>
  17640. <Association Name="FK_TblSalesVenueCommissionsSplit_SalesAgency">
  17641. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17642. <End Type="ProvisionStagingModel.TblSalesVenueCommissionsSplit" Role="TblSalesVenueCommissionsSplit" Multiplicity="*" />
  17643. <ReferentialConstraint>
  17644. <Principal Role="TblSalesVenue">
  17645. <PropertyRef Name="OID" />
  17646. </Principal>
  17647. <Dependent Role="TblSalesVenueCommissionsSplit">
  17648. <PropertyRef Name="SalesAgency" />
  17649. </Dependent>
  17650. </ReferentialConstraint>
  17651. </Association>
  17652. <Association Name="FK_TblSalesVenueImportSource_TblSalesVenue">
  17653. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17654. <End Type="ProvisionStagingModel.TblSalesVenueImportSource" Role="TblSalesVenueImportSource" Multiplicity="*" />
  17655. <ReferentialConstraint>
  17656. <Principal Role="TblSalesVenue">
  17657. <PropertyRef Name="OID" />
  17658. </Principal>
  17659. <Dependent Role="TblSalesVenueImportSource">
  17660. <PropertyRef Name="TblSalesVenue" />
  17661. </Dependent>
  17662. </ReferentialConstraint>
  17663. </Association>
  17664. <Association Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportVenue">
  17665. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17666. <End Type="ProvisionStagingModel.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Multiplicity="*" />
  17667. <ReferentialConstraint>
  17668. <Principal Role="TblSalesVenue">
  17669. <PropertyRef Name="OID" />
  17670. </Principal>
  17671. <Dependent Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  17672. <PropertyRef Name="PitchedLeadsReportVenue" />
  17673. </Dependent>
  17674. </ReferentialConstraint>
  17675. </Association>
  17676. <Association Name="FK_TblSalesVenueRegFee_TblSalesVenue">
  17677. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17678. <End Type="ProvisionStagingModel.TblSalesVenueRegFee" Role="TblSalesVenueRegFee" Multiplicity="*" />
  17679. <ReferentialConstraint>
  17680. <Principal Role="TblSalesVenue">
  17681. <PropertyRef Name="OID" />
  17682. </Principal>
  17683. <Dependent Role="TblSalesVenueRegFee">
  17684. <PropertyRef Name="TblSalesVenue" />
  17685. </Dependent>
  17686. </ReferentialConstraint>
  17687. </Association>
  17688. <Association Name="FK_TblSalesVenueRegisterHdr_SalesVenue">
  17689. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17690. <End Type="ProvisionStagingModel.TblSalesVenueRegisterHdr" Role="TblSalesVenueRegisterHdr" Multiplicity="*" />
  17691. <ReferentialConstraint>
  17692. <Principal Role="TblSalesVenue">
  17693. <PropertyRef Name="OID" />
  17694. </Principal>
  17695. <Dependent Role="TblSalesVenueRegisterHdr">
  17696. <PropertyRef Name="SalesVenue" />
  17697. </Dependent>
  17698. </ReferentialConstraint>
  17699. </Association>
  17700. <Association Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_SalesVenues">
  17701. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17702. <End Type="ProvisionStagingModel.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  17703. <ReferentialConstraint>
  17704. <Principal Role="TblSalesVenue">
  17705. <PropertyRef Name="OID" />
  17706. </Principal>
  17707. <Dependent Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  17708. <PropertyRef Name="SalesVenues" />
  17709. </Dependent>
  17710. </ReferentialConstraint>
  17711. </Association>
  17712. <Association Name="FK_TblSalesVenueTelemarketerOffice_SalesVenue">
  17713. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17714. <End Type="ProvisionStagingModel.TblSalesVenueTelemarketerOffice_bak" Role="TblSalesVenueTelemarketerOffice_bak" Multiplicity="*" />
  17715. <ReferentialConstraint>
  17716. <Principal Role="TblSalesVenue">
  17717. <PropertyRef Name="OID" />
  17718. </Principal>
  17719. <Dependent Role="TblSalesVenueTelemarketerOffice_bak">
  17720. <PropertyRef Name="SalesVenue" />
  17721. </Dependent>
  17722. </ReferentialConstraint>
  17723. </Association>
  17724. <Association Name="FK_TblSalesVenueWeeklyTargetSplit_SalesVenue">
  17725. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17726. <End Type="ProvisionStagingModel.TblSalesVenueWeeklyTargetSplit" Role="TblSalesVenueWeeklyTargetSplit" Multiplicity="*" />
  17727. <ReferentialConstraint>
  17728. <Principal Role="TblSalesVenue">
  17729. <PropertyRef Name="OID" />
  17730. </Principal>
  17731. <Dependent Role="TblSalesVenueWeeklyTargetSplit">
  17732. <PropertyRef Name="SalesVenue" />
  17733. </Dependent>
  17734. </ReferentialConstraint>
  17735. </Association>
  17736. <Association Name="FK_TblSCV2SalesVenueScale_SalesVenue">
  17737. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17738. <End Type="ProvisionStagingModel.TblSCV2SalesVenueScale" Role="TblSCV2SalesVenueScale" Multiplicity="*" />
  17739. <ReferentialConstraint>
  17740. <Principal Role="TblSalesVenue">
  17741. <PropertyRef Name="OID" />
  17742. </Principal>
  17743. <Dependent Role="TblSCV2SalesVenueScale">
  17744. <PropertyRef Name="SalesVenue" />
  17745. </Dependent>
  17746. </ReferentialConstraint>
  17747. </Association>
  17748. <Association Name="FK_TblSessionOverride_SalesVenue">
  17749. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17750. <End Type="ProvisionStagingModel.TblSessionOverride" Role="TblSessionOverride" Multiplicity="*" />
  17751. <ReferentialConstraint>
  17752. <Principal Role="TblSalesVenue">
  17753. <PropertyRef Name="OID" />
  17754. </Principal>
  17755. <Dependent Role="TblSessionOverride">
  17756. <PropertyRef Name="SalesVenue" />
  17757. </Dependent>
  17758. </ReferentialConstraint>
  17759. </Association>
  17760. <Association Name="FK_TblTelemarketerRegisterHdr_SalesVenue">
  17761. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17762. <End Type="ProvisionStagingModel.TblTelemarketerRegisterHdr" Role="TblTelemarketerRegisterHdr" Multiplicity="*" />
  17763. <ReferentialConstraint>
  17764. <Principal Role="TblSalesVenue">
  17765. <PropertyRef Name="OID" />
  17766. </Principal>
  17767. <Dependent Role="TblTelemarketerRegisterHdr">
  17768. <PropertyRef Name="SalesVenue" />
  17769. </Dependent>
  17770. </ReferentialConstraint>
  17771. </Association>
  17772. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_SalesVenues">
  17773. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17774. <End Type="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Multiplicity="*" />
  17775. <ReferentialConstraint>
  17776. <Principal Role="TblSalesVenue">
  17777. <PropertyRef Name="OID" />
  17778. </Principal>
  17779. <Dependent Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  17780. <PropertyRef Name="SalesVenues" />
  17781. </Dependent>
  17782. </ReferentialConstraint>
  17783. </Association>
  17784. <Association Name="FK_TblTMCommStructure_SalesVenue">
  17785. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  17786. <End Type="ProvisionStagingModel.TblTMCommStructure" Role="TblTMCommStructure" Multiplicity="*" />
  17787. <ReferentialConstraint>
  17788. <Principal Role="TblSalesVenue">
  17789. <PropertyRef Name="OID" />
  17790. </Principal>
  17791. <Dependent Role="TblTMCommStructure">
  17792. <PropertyRef Name="SalesVenue" />
  17793. </Dependent>
  17794. </ReferentialConstraint>
  17795. </Association>
  17796. <Association Name="FK_TblSCV2SpecialStructure_SalesCommissionGroup">
  17797. <End Type="ProvisionStagingModel.TblSalesVenueCommissionGroup" Role="TblSalesVenueCommissionGroup" Multiplicity="0..1" />
  17798. <End Type="ProvisionStagingModel.TblSCV2SpecialStructure" Role="TblSCV2SpecialStructure" Multiplicity="*" />
  17799. <ReferentialConstraint>
  17800. <Principal Role="TblSalesVenueCommissionGroup">
  17801. <PropertyRef Name="Oid" />
  17802. </Principal>
  17803. <Dependent Role="TblSCV2SpecialStructure">
  17804. <PropertyRef Name="SalesCommissionGroup" />
  17805. </Dependent>
  17806. </ReferentialConstraint>
  17807. </Association>
  17808. <Association Name="FK_TblSalesVenueComSplitLines_CommissionSplit">
  17809. <End Type="ProvisionStagingModel.TblSalesVenueCommissionsSplit" Role="TblSalesVenueCommissionsSplit" Multiplicity="0..1" />
  17810. <End Type="ProvisionStagingModel.TblSalesVenueComSplitLine" Role="TblSalesVenueComSplitLine" Multiplicity="*" />
  17811. <ReferentialConstraint>
  17812. <Principal Role="TblSalesVenueCommissionsSplit">
  17813. <PropertyRef Name="OID" />
  17814. </Principal>
  17815. <Dependent Role="TblSalesVenueComSplitLine">
  17816. <PropertyRef Name="CommissionSplit" />
  17817. </Dependent>
  17818. </ReferentialConstraint>
  17819. </Association>
  17820. <Association Name="FK_TblSalesVenueRegister_Personnel">
  17821. <End Type="ProvisionStagingModel.TblSalesVenuePersonnel" Role="TblSalesVenuePersonnel" Multiplicity="0..1" />
  17822. <End Type="ProvisionStagingModel.TblSalesVenueRegister" Role="TblSalesVenueRegister" Multiplicity="*" />
  17823. <ReferentialConstraint>
  17824. <Principal Role="TblSalesVenuePersonnel">
  17825. <PropertyRef Name="OID" />
  17826. </Principal>
  17827. <Dependent Role="TblSalesVenueRegister">
  17828. <PropertyRef Name="Personnel" />
  17829. </Dependent>
  17830. </ReferentialConstraint>
  17831. </Association>
  17832. <Association Name="FK_TblSalesVenueRegister_SalesConsultants">
  17833. <End Type="ProvisionStagingModel.TblSalesVenueRegisterHdr" Role="TblSalesVenueRegisterHdr" Multiplicity="0..1" />
  17834. <End Type="ProvisionStagingModel.TblSalesVenueRegister" Role="TblSalesVenueRegister" Multiplicity="*" />
  17835. <ReferentialConstraint>
  17836. <Principal Role="TblSalesVenueRegisterHdr">
  17837. <PropertyRef Name="OID" />
  17838. </Principal>
  17839. <Dependent Role="TblSalesVenueRegister">
  17840. <PropertyRef Name="SalesConsultants" />
  17841. </Dependent>
  17842. </ReferentialConstraint>
  17843. </Association>
  17844. <Association Name="FK__TblSalesV__Telem__288DEB75">
  17845. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="0..1" />
  17846. <End Type="ProvisionStagingModel.TblSalesVenueTelemarketerOffice" Role="TblSalesVenueTelemarketerOffice" Multiplicity="*" />
  17847. <ReferentialConstraint>
  17848. <Principal Role="TblTelemarketerOffice">
  17849. <PropertyRef Name="OID" />
  17850. </Principal>
  17851. <Dependent Role="TblSalesVenueTelemarketerOffice">
  17852. <PropertyRef Name="TelemarketerOffice" />
  17853. </Dependent>
  17854. </ReferentialConstraint>
  17855. </Association>
  17856. <Association Name="FK_TblSalesVenueTelemarketerOffice_TelemarketerOffice">
  17857. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="0..1" />
  17858. <End Type="ProvisionStagingModel.TblSalesVenueTelemarketerOffice_bak" Role="TblSalesVenueTelemarketerOffice_bak" Multiplicity="*" />
  17859. <ReferentialConstraint>
  17860. <Principal Role="TblTelemarketerOffice">
  17861. <PropertyRef Name="OID" />
  17862. </Principal>
  17863. <Dependent Role="TblSalesVenueTelemarketerOffice_bak">
  17864. <PropertyRef Name="TelemarketerOffice" />
  17865. </Dependent>
  17866. </ReferentialConstraint>
  17867. </Association>
  17868. <Association Name="FK_TblSCV2CommissionContract_CommissionWeek">
  17869. <End Type="ProvisionStagingModel.TblSCV2CommissionWeek" Role="TblSCV2CommissionWeek" Multiplicity="0..1" />
  17870. <End Type="ProvisionStagingModel.TblSCV2CommissionContract" Role="TblSCV2CommissionContract" Multiplicity="*" />
  17871. <ReferentialConstraint>
  17872. <Principal Role="TblSCV2CommissionWeek">
  17873. <PropertyRef Name="Oid" />
  17874. </Principal>
  17875. <Dependent Role="TblSCV2CommissionContract">
  17876. <PropertyRef Name="CommissionWeek" />
  17877. </Dependent>
  17878. </ReferentialConstraint>
  17879. </Association>
  17880. <Association Name="FK_TblSCV2Transaction_CommissionContract">
  17881. <End Type="ProvisionStagingModel.TblSCV2CommissionContract" Role="TblSCV2CommissionContract" Multiplicity="0..1" />
  17882. <End Type="ProvisionStagingModel.TblSCV2Transaction" Role="TblSCV2Transaction" Multiplicity="*" />
  17883. <ReferentialConstraint>
  17884. <Principal Role="TblSCV2CommissionContract">
  17885. <PropertyRef Name="Oid" />
  17886. </Principal>
  17887. <Dependent Role="TblSCV2Transaction">
  17888. <PropertyRef Name="CommissionContract" />
  17889. </Dependent>
  17890. </ReferentialConstraint>
  17891. </Association>
  17892. <Association Name="FK_TblSCV2CommissionWeek_CommissionPeriod">
  17893. <End Type="ProvisionStagingModel.TblSCV2CommissionPeriod" Role="TblSCV2CommissionPeriod" Multiplicity="0..1" />
  17894. <End Type="ProvisionStagingModel.TblSCV2CommissionWeek" Role="TblSCV2CommissionWeek" Multiplicity="*" />
  17895. <ReferentialConstraint>
  17896. <Principal Role="TblSCV2CommissionPeriod">
  17897. <PropertyRef Name="Oid" />
  17898. </Principal>
  17899. <Dependent Role="TblSCV2CommissionWeek">
  17900. <PropertyRef Name="CommissionPeriod" />
  17901. </Dependent>
  17902. </ReferentialConstraint>
  17903. </Association>
  17904. <Association Name="FK_TblSCV2RegionalManagerContractTypeOverride_CommissionStructure">
  17905. <End Type="ProvisionStagingModel.TblSCV2CommissionStructure" Role="TblSCV2CommissionStructure" Multiplicity="0..1" />
  17906. <End Type="ProvisionStagingModel.TblSCV2RegionalManagerContractTypeOverride" Role="TblSCV2RegionalManagerContractTypeOverride" Multiplicity="*" />
  17907. <ReferentialConstraint>
  17908. <Principal Role="TblSCV2CommissionStructure">
  17909. <PropertyRef Name="Oid" />
  17910. </Principal>
  17911. <Dependent Role="TblSCV2RegionalManagerContractTypeOverride">
  17912. <PropertyRef Name="CommissionStructure" />
  17913. </Dependent>
  17914. </ReferentialConstraint>
  17915. </Association>
  17916. <Association Name="FK_TblSCV2Scales_CommissionStructure">
  17917. <End Type="ProvisionStagingModel.TblSCV2CommissionStructure" Role="TblSCV2CommissionStructure" Multiplicity="0..1" />
  17918. <End Type="ProvisionStagingModel.TblSCV2Scales" Role="TblSCV2Scales" Multiplicity="*" />
  17919. <ReferentialConstraint>
  17920. <Principal Role="TblSCV2CommissionStructure">
  17921. <PropertyRef Name="Oid" />
  17922. </Principal>
  17923. <Dependent Role="TblSCV2Scales">
  17924. <PropertyRef Name="CommissionStructure" />
  17925. </Dependent>
  17926. </ReferentialConstraint>
  17927. </Association>
  17928. <Association Name="FK_TblSCV2RegionalManagerContractTypeOverride_SpecialStructure">
  17929. <End Type="ProvisionStagingModel.TblSCV2SpecialStructure" Role="TblSCV2SpecialStructure" Multiplicity="0..1" />
  17930. <End Type="ProvisionStagingModel.TblSCV2RegionalManagerContractTypeOverride" Role="TblSCV2RegionalManagerContractTypeOverride" Multiplicity="*" />
  17931. <ReferentialConstraint>
  17932. <Principal Role="TblSCV2SpecialStructure">
  17933. <PropertyRef Name="Oid" />
  17934. </Principal>
  17935. <Dependent Role="TblSCV2RegionalManagerContractTypeOverride">
  17936. <PropertyRef Name="SpecialStructure" />
  17937. </Dependent>
  17938. </ReferentialConstraint>
  17939. </Association>
  17940. <Association Name="FK_TblSCV2SpecialScales_Structure">
  17941. <End Type="ProvisionStagingModel.TblSCV2SpecialStructure" Role="TblSCV2SpecialStructure" Multiplicity="0..1" />
  17942. <End Type="ProvisionStagingModel.TblSCV2SpecialScales" Role="TblSCV2SpecialScales" Multiplicity="*" />
  17943. <ReferentialConstraint>
  17944. <Principal Role="TblSCV2SpecialStructure">
  17945. <PropertyRef Name="Oid" />
  17946. </Principal>
  17947. <Dependent Role="TblSCV2SpecialScales">
  17948. <PropertyRef Name="Structure" />
  17949. </Dependent>
  17950. </ReferentialConstraint>
  17951. </Association>
  17952. <Association Name="FK_TblSMICommissionContract_SalesWeek">
  17953. <End Type="ProvisionStagingModel.TblSMISalesPersonWeek" Role="TblSMISalesPersonWeek" Multiplicity="0..1" />
  17954. <End Type="ProvisionStagingModel.TblSMICommissionContract" Role="TblSMICommissionContract" Multiplicity="*" />
  17955. <ReferentialConstraint>
  17956. <Principal Role="TblSMISalesPersonWeek">
  17957. <PropertyRef Name="Oid" />
  17958. </Principal>
  17959. <Dependent Role="TblSMICommissionContract">
  17960. <PropertyRef Name="SalesWeek" />
  17961. </Dependent>
  17962. </ReferentialConstraint>
  17963. </Association>
  17964. <Association Name="FK_TblSMITransaction_CommissionContract">
  17965. <End Type="ProvisionStagingModel.TblSMICommissionContract" Role="TblSMICommissionContract" Multiplicity="0..1" />
  17966. <End Type="ProvisionStagingModel.TblSMITransaction" Role="TblSMITransaction" Multiplicity="*" />
  17967. <ReferentialConstraint>
  17968. <Principal Role="TblSMICommissionContract">
  17969. <PropertyRef Name="Oid" />
  17970. </Principal>
  17971. <Dependent Role="TblSMITransaction">
  17972. <PropertyRef Name="CommissionContract" />
  17973. </Dependent>
  17974. </ReferentialConstraint>
  17975. </Association>
  17976. <Association Name="FK_TblSMICommissionInfo_CommissionPeriod">
  17977. <End Type="ProvisionStagingModel.TblSMICommissionPeriod" Role="TblSMICommissionPeriod" Multiplicity="0..1" />
  17978. <End Type="ProvisionStagingModel.TblSMICommissionInfo" Role="TblSMICommissionInfo" Multiplicity="*" />
  17979. <ReferentialConstraint>
  17980. <Principal Role="TblSMICommissionPeriod">
  17981. <PropertyRef Name="Oid" />
  17982. </Principal>
  17983. <Dependent Role="TblSMICommissionInfo">
  17984. <PropertyRef Name="CommissionPeriod" />
  17985. </Dependent>
  17986. </ReferentialConstraint>
  17987. </Association>
  17988. <Association Name="FK_TblSMISalesPersonWeek_CommissionInfo">
  17989. <End Type="ProvisionStagingModel.TblSMICommissionInfo" Role="TblSMICommissionInfo" Multiplicity="0..1" />
  17990. <End Type="ProvisionStagingModel.TblSMISalesPersonWeek" Role="TblSMISalesPersonWeek" Multiplicity="*" />
  17991. <ReferentialConstraint>
  17992. <Principal Role="TblSMICommissionInfo">
  17993. <PropertyRef Name="Oid" />
  17994. </Principal>
  17995. <Dependent Role="TblSMISalesPersonWeek">
  17996. <PropertyRef Name="CommissionInfo" />
  17997. </Dependent>
  17998. </ReferentialConstraint>
  17999. </Association>
  18000. <Association Name="FK_TblSMICommissionWeek_CommissionPeriod">
  18001. <End Type="ProvisionStagingModel.TblSMICommissionPeriod" Role="TblSMICommissionPeriod" Multiplicity="0..1" />
  18002. <End Type="ProvisionStagingModel.TblSMICommissionWeek" Role="TblSMICommissionWeek" Multiplicity="*" />
  18003. <ReferentialConstraint>
  18004. <Principal Role="TblSMICommissionPeriod">
  18005. <PropertyRef Name="Oid" />
  18006. </Principal>
  18007. <Dependent Role="TblSMICommissionWeek">
  18008. <PropertyRef Name="CommissionPeriod" />
  18009. </Dependent>
  18010. </ReferentialConstraint>
  18011. </Association>
  18012. <Association Name="FK_TblSMITransaction_CommissionPeriod">
  18013. <End Type="ProvisionStagingModel.TblSMICommissionPeriod" Role="TblSMICommissionPeriod" Multiplicity="0..1" />
  18014. <End Type="ProvisionStagingModel.TblSMITransaction" Role="TblSMITransaction" Multiplicity="*" />
  18015. <ReferentialConstraint>
  18016. <Principal Role="TblSMICommissionPeriod">
  18017. <PropertyRef Name="Oid" />
  18018. </Principal>
  18019. <Dependent Role="TblSMITransaction">
  18020. <PropertyRef Name="CommissionPeriod" />
  18021. </Dependent>
  18022. </ReferentialConstraint>
  18023. </Association>
  18024. <Association Name="FK_TblSMISalesPersonWeek_CommissionWeek">
  18025. <End Type="ProvisionStagingModel.TblSMICommissionWeek" Role="TblSMICommissionWeek" Multiplicity="0..1" />
  18026. <End Type="ProvisionStagingModel.TblSMISalesPersonWeek" Role="TblSMISalesPersonWeek" Multiplicity="*" />
  18027. <ReferentialConstraint>
  18028. <Principal Role="TblSMICommissionWeek">
  18029. <PropertyRef Name="Oid" />
  18030. </Principal>
  18031. <Dependent Role="TblSMISalesPersonWeek">
  18032. <PropertyRef Name="CommissionWeek" />
  18033. </Dependent>
  18034. </ReferentialConstraint>
  18035. </Association>
  18036. <Association Name="FK_TblSMIIncentiveLevel_Incentive">
  18037. <End Type="ProvisionStagingModel.TblSMIIncentive" Role="TblSMIIncentive" Multiplicity="0..1" />
  18038. <End Type="ProvisionStagingModel.TblSMIIncentiveLevel" Role="TblSMIIncentiveLevel" Multiplicity="*" />
  18039. <ReferentialConstraint>
  18040. <Principal Role="TblSMIIncentive">
  18041. <PropertyRef Name="Oid" />
  18042. </Principal>
  18043. <Dependent Role="TblSMIIncentiveLevel">
  18044. <PropertyRef Name="Incentive" />
  18045. </Dependent>
  18046. </ReferentialConstraint>
  18047. </Association>
  18048. <Association Name="FK_TblStreamline_SpouseTitle">
  18049. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  18050. <End Type="ProvisionStagingModel.TblStreamline" Role="TblStreamline" Multiplicity="*" />
  18051. <ReferentialConstraint>
  18052. <Principal Role="Title">
  18053. <PropertyRef Name="Title1" />
  18054. </Principal>
  18055. <Dependent Role="TblStreamline">
  18056. <PropertyRef Name="SpouseTitle" />
  18057. </Dependent>
  18058. </ReferentialConstraint>
  18059. </Association>
  18060. <Association Name="FK_TblStreamline_Title">
  18061. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  18062. <End Type="ProvisionStagingModel.TblStreamline" Role="TblStreamline" Multiplicity="*" />
  18063. <ReferentialConstraint>
  18064. <Principal Role="Title">
  18065. <PropertyRef Name="Title1" />
  18066. </Principal>
  18067. <Dependent Role="TblStreamline">
  18068. <PropertyRef Name="Title" />
  18069. </Dependent>
  18070. </ReferentialConstraint>
  18071. </Association>
  18072. <Association Name="FK_TblSubStatusSubStatus_TblCCDStatusCCDStatus_SubStatus">
  18073. <End Type="ProvisionStagingModel.TblSubStatu" Role="TblSubStatu" Multiplicity="0..1" />
  18074. <End Type="ProvisionStagingModel.TblSubStatusSubStatus_TblCCDStatusCCDStatus" Role="TblSubStatusSubStatus_TblCCDStatusCCDStatus" Multiplicity="*" />
  18075. <ReferentialConstraint>
  18076. <Principal Role="TblSubStatu">
  18077. <PropertyRef Name="OID" />
  18078. </Principal>
  18079. <Dependent Role="TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  18080. <PropertyRef Name="SubStatus" />
  18081. </Dependent>
  18082. </ReferentialConstraint>
  18083. </Association>
  18084. <Association Name="FK_TblSubStatusSubStatuses_StatusStatus_SubStatuses">
  18085. <End Type="ProvisionStagingModel.TblSubStatu" Role="TblSubStatu" Multiplicity="0..1" />
  18086. <End Type="ProvisionStagingModel.TblSubStatusSubStatuses_StatusStatus" Role="TblSubStatusSubStatuses_StatusStatus" Multiplicity="*" />
  18087. <ReferentialConstraint>
  18088. <Principal Role="TblSubStatu">
  18089. <PropertyRef Name="OID" />
  18090. </Principal>
  18091. <Dependent Role="TblSubStatusSubStatuses_StatusStatus">
  18092. <PropertyRef Name="SubStatuses" />
  18093. </Dependent>
  18094. </ReferentialConstraint>
  18095. </Association>
  18096. <Association Name="FK_TblSuspenseTransactionSplit_SuspenseLine">
  18097. <End Type="ProvisionStagingModel.TblSuspenseTransaction" Role="TblSuspenseTransaction" Multiplicity="0..1" />
  18098. <End Type="ProvisionStagingModel.TblSuspenseTransactionSplit" Role="TblSuspenseTransactionSplit" Multiplicity="*" />
  18099. <ReferentialConstraint>
  18100. <Principal Role="TblSuspenseTransaction">
  18101. <PropertyRef Name="OID" />
  18102. </Principal>
  18103. <Dependent Role="TblSuspenseTransactionSplit">
  18104. <PropertyRef Name="SuspenseLine" />
  18105. </Dependent>
  18106. </ReferentialConstraint>
  18107. </Association>
  18108. <Association Name="FK_TblTelemarketerOffice_Company">
  18109. <End Type="ProvisionStagingModel.TblTelemarketingCompany" Role="TblTelemarketingCompany" Multiplicity="0..1" />
  18110. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="*" />
  18111. <ReferentialConstraint>
  18112. <Principal Role="TblTelemarketingCompany">
  18113. <PropertyRef Name="OID" />
  18114. </Principal>
  18115. <Dependent Role="TblTelemarketerOffice">
  18116. <PropertyRef Name="Company" />
  18117. </Dependent>
  18118. </ReferentialConstraint>
  18119. </Association>
  18120. <Association Name="FK_TblTelemarketerOffice_SMSSettings">
  18121. <End Type="ProvisionStagingModel.TelemarketingSMSSetting" Role="TelemarketingSMSSetting" Multiplicity="0..1" />
  18122. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="*" />
  18123. <ReferentialConstraint>
  18124. <Principal Role="TelemarketingSMSSetting">
  18125. <PropertyRef Name="Oid" />
  18126. </Principal>
  18127. <Dependent Role="TblTelemarketerOffice">
  18128. <PropertyRef Name="SMSSettings" />
  18129. </Dependent>
  18130. </ReferentialConstraint>
  18131. </Association>
  18132. <Association Name="FK_TblTelemarketerRegisterHdr_TelemarketerOffice">
  18133. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="0..1" />
  18134. <End Type="ProvisionStagingModel.TblTelemarketerRegisterHdr" Role="TblTelemarketerRegisterHdr" Multiplicity="*" />
  18135. <ReferentialConstraint>
  18136. <Principal Role="TblTelemarketerOffice">
  18137. <PropertyRef Name="OID" />
  18138. </Principal>
  18139. <Dependent Role="TblTelemarketerRegisterHdr">
  18140. <PropertyRef Name="TelemarketerOffice" />
  18141. </Dependent>
  18142. </ReferentialConstraint>
  18143. </Association>
  18144. <Association Name="FK_TelemarketingSMSSettings_TelemarketerOffice">
  18145. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="0..1" />
  18146. <End Type="ProvisionStagingModel.TelemarketingSMSSetting" Role="TelemarketingSMSSetting" Multiplicity="*" />
  18147. <ReferentialConstraint>
  18148. <Principal Role="TblTelemarketerOffice">
  18149. <PropertyRef Name="OID" />
  18150. </Principal>
  18151. <Dependent Role="TelemarketingSMSSetting">
  18152. <PropertyRef Name="TelemarketerOffice" />
  18153. </Dependent>
  18154. </ReferentialConstraint>
  18155. </Association>
  18156. <Association Name="FK_TblTelemarketerRegister_Telemarketers">
  18157. <End Type="ProvisionStagingModel.TblTelemarketerRegisterHdr" Role="TblTelemarketerRegisterHdr" Multiplicity="0..1" />
  18158. <End Type="ProvisionStagingModel.TblTelemarketerRegister" Role="TblTelemarketerRegister" Multiplicity="*" />
  18159. <ReferentialConstraint>
  18160. <Principal Role="TblTelemarketerRegisterHdr">
  18161. <PropertyRef Name="OID" />
  18162. </Principal>
  18163. <Dependent Role="TblTelemarketerRegister">
  18164. <PropertyRef Name="Telemarketers" />
  18165. </Dependent>
  18166. </ReferentialConstraint>
  18167. </Association>
  18168. <Association Name="FK_TblTelephones_TelephoneType">
  18169. <End Type="ProvisionStagingModel.TblTelephoneType" Role="TblTelephoneType" Multiplicity="0..1" />
  18170. <End Type="ProvisionStagingModel.TblTelephone" Role="TblTelephone" Multiplicity="*" />
  18171. <ReferentialConstraint>
  18172. <Principal Role="TblTelephoneType">
  18173. <PropertyRef Name="OID" />
  18174. </Principal>
  18175. <Dependent Role="TblTelephone">
  18176. <PropertyRef Name="TelephoneType" />
  18177. </Dependent>
  18178. </ReferentialConstraint>
  18179. </Association>
  18180. <Association Name="FK_TblTFGLeads_Title">
  18181. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  18182. <End Type="ProvisionStagingModel.TblTFGLead" Role="TblTFGLead" Multiplicity="*" />
  18183. <ReferentialConstraint>
  18184. <Principal Role="Title">
  18185. <PropertyRef Name="Title1" />
  18186. </Principal>
  18187. <Dependent Role="TblTFGLead">
  18188. <PropertyRef Name="Title" />
  18189. </Dependent>
  18190. </ReferentialConstraint>
  18191. </Association>
  18192. <Association Name="FK_TblTimeOffCompetition_Campaign">
  18193. <End Type="ProvisionStagingModel.TblTimeOffCampaign" Role="TblTimeOffCampaign" Multiplicity="0..1" />
  18194. <End Type="ProvisionStagingModel.TblTimeOffCompetition" Role="TblTimeOffCompetition" Multiplicity="*" />
  18195. <ReferentialConstraint>
  18196. <Principal Role="TblTimeOffCampaign">
  18197. <PropertyRef Name="OID" />
  18198. </Principal>
  18199. <Dependent Role="TblTimeOffCompetition">
  18200. <PropertyRef Name="Campaign" />
  18201. </Dependent>
  18202. </ReferentialConstraint>
  18203. </Association>
  18204. <Association Name="FK_TblTimeOffCompetition_Winner">
  18205. <End Type="ProvisionStagingModel.TblTimeOffCompetitionEntry" Role="TblTimeOffCompetitionEntry" Multiplicity="0..1" />
  18206. <End Type="ProvisionStagingModel.TblTimeOffCompetition" Role="TblTimeOffCompetition" Multiplicity="*" />
  18207. <ReferentialConstraint>
  18208. <Principal Role="TblTimeOffCompetitionEntry">
  18209. <PropertyRef Name="OID" />
  18210. </Principal>
  18211. <Dependent Role="TblTimeOffCompetition">
  18212. <PropertyRef Name="Winner" />
  18213. </Dependent>
  18214. </ReferentialConstraint>
  18215. </Association>
  18216. <Association Name="FK_TblTimeOffCompetitionEntry_Competition">
  18217. <End Type="ProvisionStagingModel.TblTimeOffCompetition" Role="TblTimeOffCompetition" Multiplicity="0..1" />
  18218. <End Type="ProvisionStagingModel.TblTimeOffCompetitionEntry" Role="TblTimeOffCompetitionEntry" Multiplicity="*" />
  18219. <ReferentialConstraint>
  18220. <Principal Role="TblTimeOffCompetition">
  18221. <PropertyRef Name="OID" />
  18222. </Principal>
  18223. <Dependent Role="TblTimeOffCompetitionEntry">
  18224. <PropertyRef Name="Competition" />
  18225. </Dependent>
  18226. </ReferentialConstraint>
  18227. </Association>
  18228. <Association Name="FK_TblTimeOffCompetitionCampaign_Winner">
  18229. <End Type="ProvisionStagingModel.TblTimeOffCompetitionEntry" Role="TblTimeOffCompetitionEntry" Multiplicity="0..1" />
  18230. <End Type="ProvisionStagingModel.TblTimeOffCompetitionCampaign" Role="TblTimeOffCompetitionCampaign" Multiplicity="*" />
  18231. <ReferentialConstraint>
  18232. <Principal Role="TblTimeOffCompetitionEntry">
  18233. <PropertyRef Name="OID" />
  18234. </Principal>
  18235. <Dependent Role="TblTimeOffCompetitionCampaign">
  18236. <PropertyRef Name="Winner" />
  18237. </Dependent>
  18238. </ReferentialConstraint>
  18239. </Association>
  18240. <Association Name="FK_TblTimeOffCompetitionEntry_Campaign">
  18241. <End Type="ProvisionStagingModel.TblTimeOffCompetitionCampaign" Role="TblTimeOffCompetitionCampaign" Multiplicity="0..1" />
  18242. <End Type="ProvisionStagingModel.TblTimeOffCompetitionEntry" Role="TblTimeOffCompetitionEntry" Multiplicity="*" />
  18243. <ReferentialConstraint>
  18244. <Principal Role="TblTimeOffCompetitionCampaign">
  18245. <PropertyRef Name="OID" />
  18246. </Principal>
  18247. <Dependent Role="TblTimeOffCompetitionEntry">
  18248. <PropertyRef Name="Campaign" />
  18249. </Dependent>
  18250. </ReferentialConstraint>
  18251. </Association>
  18252. <Association Name="FK_TblTimeOffFriends_Profile">
  18253. <End Type="ProvisionStagingModel.TblTimeOffReferalProfile" Role="TblTimeOffReferalProfile" Multiplicity="0..1" />
  18254. <End Type="ProvisionStagingModel.TblTimeOffFriend" Role="TblTimeOffFriend" Multiplicity="*" />
  18255. <ReferentialConstraint>
  18256. <Principal Role="TblTimeOffReferalProfile">
  18257. <PropertyRef Name="Oid" />
  18258. </Principal>
  18259. <Dependent Role="TblTimeOffFriend">
  18260. <PropertyRef Name="Profile" />
  18261. </Dependent>
  18262. </ReferentialConstraint>
  18263. </Association>
  18264. <Association Name="FK_TblTimeOffNoVouchers_Title">
  18265. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  18266. <End Type="ProvisionStagingModel.TblTimeOffNoVoucher" Role="TblTimeOffNoVoucher" Multiplicity="*" />
  18267. <ReferentialConstraint>
  18268. <Principal Role="Title">
  18269. <PropertyRef Name="Title1" />
  18270. </Principal>
  18271. <Dependent Role="TblTimeOffNoVoucher">
  18272. <PropertyRef Name="Title" />
  18273. </Dependent>
  18274. </ReferentialConstraint>
  18275. </Association>
  18276. <Association Name="FK_TblTimeOffVouchers_Title">
  18277. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  18278. <End Type="ProvisionStagingModel.TblTimeOffVoucher" Role="TblTimeOffVoucher" Multiplicity="*" />
  18279. <ReferentialConstraint>
  18280. <Principal Role="Title">
  18281. <PropertyRef Name="Title1" />
  18282. </Principal>
  18283. <Dependent Role="TblTimeOffVoucher">
  18284. <PropertyRef Name="Title" />
  18285. </Dependent>
  18286. </ReferentialConstraint>
  18287. </Association>
  18288. <Association Name="FK_TblTimeOffVouchers_VoucherType">
  18289. <End Type="ProvisionStagingModel.TblVoucherType" Role="TblVoucherType" Multiplicity="0..1" />
  18290. <End Type="ProvisionStagingModel.TblTimeOffVoucher" Role="TblTimeOffVoucher" Multiplicity="*" />
  18291. <ReferentialConstraint>
  18292. <Principal Role="TblVoucherType">
  18293. <PropertyRef Name="OID" />
  18294. </Principal>
  18295. <Dependent Role="TblTimeOffVoucher">
  18296. <PropertyRef Name="VoucherType" />
  18297. </Dependent>
  18298. </ReferentialConstraint>
  18299. </Association>
  18300. <Association Name="FK_TblTMCommDealTargets_TMTable">
  18301. <End Type="ProvisionStagingModel.TblTMCommStructure" Role="TblTMCommStructure" Multiplicity="0..1" />
  18302. <End Type="ProvisionStagingModel.TblTMCommDealTarget" Role="TblTMCommDealTarget" Multiplicity="*" />
  18303. <ReferentialConstraint>
  18304. <Principal Role="TblTMCommStructure">
  18305. <PropertyRef Name="OID" />
  18306. </Principal>
  18307. <Dependent Role="TblTMCommDealTarget">
  18308. <PropertyRef Name="TMTable" />
  18309. </Dependent>
  18310. </ReferentialConstraint>
  18311. </Association>
  18312. <Association Name="FK_TblTMCommGroups_Structure">
  18313. <End Type="ProvisionStagingModel.TblTMCommStructure" Role="TblTMCommStructure" Multiplicity="0..1" />
  18314. <End Type="ProvisionStagingModel.TblTMCommGroup" Role="TblTMCommGroup" Multiplicity="*" />
  18315. <ReferentialConstraint>
  18316. <Principal Role="TblTMCommStructure">
  18317. <PropertyRef Name="OID" />
  18318. </Principal>
  18319. <Dependent Role="TblTMCommGroup">
  18320. <PropertyRef Name="Structure" />
  18321. </Dependent>
  18322. </ReferentialConstraint>
  18323. </Association>
  18324. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_TMCommGroups">
  18325. <End Type="ProvisionStagingModel.TblTMCommGroup" Role="TblTMCommGroup" Multiplicity="0..1" />
  18326. <End Type="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Multiplicity="*" />
  18327. <ReferentialConstraint>
  18328. <Principal Role="TblTMCommGroup">
  18329. <PropertyRef Name="OID" />
  18330. </Principal>
  18331. <Dependent Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  18332. <PropertyRef Name="TMCommGroups" />
  18333. </Dependent>
  18334. </ReferentialConstraint>
  18335. </Association>
  18336. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues_TMCommGroups">
  18337. <End Type="ProvisionStagingModel.TblTMCommGroup" Role="TblTMCommGroup" Multiplicity="0..1" />
  18338. <End Type="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues" Multiplicity="*" />
  18339. <ReferentialConstraint>
  18340. <Principal Role="TblTMCommGroup">
  18341. <PropertyRef Name="OID" />
  18342. </Principal>
  18343. <Dependent Role="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  18344. <PropertyRef Name="TMCommGroups" />
  18345. </Dependent>
  18346. </ReferentialConstraint>
  18347. </Association>
  18348. <Association Name="FK_TblTMCommsWeek_TMMonth">
  18349. <End Type="ProvisionStagingModel.TblTMCommsMonth" Role="TblTMCommsMonth" Multiplicity="0..1" />
  18350. <End Type="ProvisionStagingModel.TblTMCommsWeek" Role="TblTMCommsWeek" Multiplicity="*" />
  18351. <ReferentialConstraint>
  18352. <Principal Role="TblTMCommsMonth">
  18353. <PropertyRef Name="OID" />
  18354. </Principal>
  18355. <Dependent Role="TblTMCommsWeek">
  18356. <PropertyRef Name="TMMonth" />
  18357. </Dependent>
  18358. </ReferentialConstraint>
  18359. </Association>
  18360. <Association Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_TMCommStructures">
  18361. <End Type="ProvisionStagingModel.TblTMCommStructure" Role="TblTMCommStructure" Multiplicity="0..1" />
  18362. <End Type="ProvisionStagingModel.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Multiplicity="*" />
  18363. <ReferentialConstraint>
  18364. <Principal Role="TblTMCommStructure">
  18365. <PropertyRef Name="OID" />
  18366. </Principal>
  18367. <Dependent Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  18368. <PropertyRef Name="TMCommStructures" />
  18369. </Dependent>
  18370. </ReferentialConstraint>
  18371. </Association>
  18372. <Association Name="FK_TblTMCommTable_Structure">
  18373. <End Type="ProvisionStagingModel.TblTMCommStructure" Role="TblTMCommStructure" Multiplicity="0..1" />
  18374. <End Type="ProvisionStagingModel.TblTMCommTable" Role="TblTMCommTable" Multiplicity="*" />
  18375. <ReferentialConstraint>
  18376. <Principal Role="TblTMCommStructure">
  18377. <PropertyRef Name="OID" />
  18378. </Principal>
  18379. <Dependent Role="TblTMCommTable">
  18380. <PropertyRef Name="Structure" />
  18381. </Dependent>
  18382. </ReferentialConstraint>
  18383. </Association>
  18384. <EntityType Name="TblDebtor">
  18385. <Key>
  18386. <PropertyRef Name="OID" />
  18387. </Key>
  18388. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18389. <Property Name="DebtorNo" Type="Int32" />
  18390. <Property Name="Balance" Type="Decimal" Precision="19" Scale="4" />
  18391. <Property Name="Sundries" Type="Decimal" Precision="19" Scale="4" />
  18392. <Property Name="Days30" Type="Decimal" Precision="19" Scale="4" />
  18393. <Property Name="Days60" Type="Decimal" Precision="19" Scale="4" />
  18394. <Property Name="Days90" Type="Decimal" Precision="19" Scale="4" />
  18395. <Property Name="Days120" Type="Decimal" Precision="19" Scale="4" />
  18396. <Property Name="Days150" Type="Decimal" Precision="19" Scale="4" />
  18397. <Property Name="Days180" Type="Decimal" Precision="19" Scale="4" />
  18398. <Property Name="AmountDue" Type="Decimal" Precision="19" Scale="4" />
  18399. <Property Name="Installment" Type="Decimal" Precision="19" Scale="4" />
  18400. <Property Name="CurrentAge" Type="Byte" />
  18401. <Property Name="AccountType" Type="Int32" />
  18402. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18403. <Property Name="Contract" Type="Int32" />
  18404. <Property Name="OptimisticLockField" Type="Int32" />
  18405. <Property Name="GCRecord" Type="Int32" />
  18406. <Property Name="InvoiceAmount" Type="Decimal" Precision="19" Scale="4" />
  18407. <Property Name="DepositAmount" Type="Decimal" Precision="19" Scale="4" />
  18408. <Property Name="DepositOutstanding" Type="Decimal" Precision="19" Scale="4" />
  18409. <Property Name="Current" Type="Decimal" Precision="19" Scale="4" />
  18410. <Property Name="Club" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  18411. <Property Name="FixedInterestRate" Type="Decimal" Precision="19" Scale="4" />
  18412. <Property Name="PrimeAdjustment" Type="Decimal" Precision="19" Scale="4" />
  18413. <Property Name="LinkedToPrime" Type="Boolean" />
  18414. <Property Name="InstalmentStartDate" Type="DateTime" Precision="3" />
  18415. <Property Name="Instalment" Type="Decimal" Precision="19" Scale="4" />
  18416. <Property Name="LookupDisplaytext" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18417. <Property Name="Currency" Type="Int32" />
  18418. <Property Name="ZeroInterestDeal" Type="Boolean" />
  18419. <Property Name="DateDepositPaid" Type="DateTime" Precision="3" />
  18420. <Property Name="ConsoftReference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18421. <Property Name="Capital" Type="Decimal" Precision="19" Scale="4" />
  18422. <Property Name="Fees" Type="Decimal" Precision="19" Scale="4" />
  18423. <Property Name="Interest" Type="Decimal" Precision="19" Scale="4" />
  18424. <Property Name="LastPaidAmount" Type="Decimal" Precision="19" Scale="4" />
  18425. <Property Name="LastPaidDate" Type="DateTime" Precision="3" />
  18426. <Property Name="LastUpdated" Type="DateTime" Precision="3" />
  18427. <Property Name="DebtorString" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18428. <Property Name="Status" Type="Int32" />
  18429. <Property Name="MembershipExpiryDate" Type="DateTime" Precision="3" />
  18430. <Property Name="TotalArrears" Type="Decimal" Precision="19" Scale="4" />
  18431. <Property Name="MembershipNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18432. <Property Name="CurrentMonthlyInstalment" Type="Decimal" Precision="19" Scale="4" />
  18433. <Property Name="Resort" Type="Int32" />
  18434. <Property Name="WeekModule" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18435. <Property Name="AssetType" Type="Int32" />
  18436. <Property Name="ContractType" Type="Int32" />
  18437. <Property Name="PointsPurchased" Type="Int32" />
  18438. <Property Name="LastYearManagementFeeRaised" Type="Int32" />
  18439. <Property Name="TempConsoftTakeOnStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18440. <Property Name="ConsoftNo" Type="Int32" />
  18441. <Property Name="SendToCollectionSystem" Type="Boolean" />
  18442. <Property Name="DateLastSentToCollectionSystem" Type="DateTime" Precision="3" />
  18443. <Property Name="PendingCredit" Type="Decimal" Precision="19" Scale="4" />
  18444. <Property Name="RemainingTerm" Type="Int32" />
  18445. <Property Name="InsurancePremium" Type="Decimal" Precision="19" Scale="4" />
  18446. <Property Name="Override" Type="Boolean" />
  18447. <Property Name="IsCancelledLease" Type="Boolean" />
  18448. <Property Name="CollectionStatus" Type="Int32" />
  18449. <Property Name="DateAllocated" Type="DateTime" Precision="3" />
  18450. <Property Name="ReportsTo" Type="Int32" />
  18451. <Property Name="AllocatedTo" Type="Int32" />
  18452. <Property Name="IsAllocated" Type="Boolean" />
  18453. <Property Name="IsSent" Type="Boolean" />
  18454. <Property Name="OccupationYear" Type="Int32" />
  18455. <Property Name="DormantEffectiveTo" Type="DateTime" Precision="3" />
  18456. <Property Name="LevyNextArrivalDate" Type="DateTime" Precision="3" />
  18457. <Property Name="PaymentMethod" Type="Int32" />
  18458. <Property Name="LastStatusUpdate" Type="DateTime" Precision="3" />
  18459. <Property Name="MatrixDepositAmount" Type="Decimal" Precision="19" Scale="4" />
  18460. <Property Name="MatrixDepositOutstanding" Type="Decimal" Precision="19" Scale="4" />
  18461. <Property Name="ConversionRate" Type="Decimal" Precision="19" Scale="4" />
  18462. <Property Name="AssetNumber" Type="Int32" />
  18463. <Property Name="NumberOfMonthsRemaining" Type="Int32" />
  18464. <Property Name="Developer" Type="Int32" />
  18465. <Property Name="CancelInsurance" Type="Boolean" />
  18466. <Property Name="DateCancelled" Type="DateTime" Precision="3" />
  18467. <Property Name="PeriodInMonths" Type="Int32" />
  18468. <Property Name="DateFirstPortfolioFeeRaised" Type="DateTime" Precision="3" />
  18469. <Property Name="PaymentDay" Type="Int32" />
  18470. <Property Name="NextOccupationDate" Type="DateTime" Precision="3" />
  18471. <Property Name="LevyInstalmentDue" Type="DateTime" Precision="3" />
  18472. <Property Name="NextLevyInstalmentDue" Type="DateTime" Precision="3" />
  18473. <Property Name="SettlementAmount" Type="Decimal" Precision="19" Scale="4" />
  18474. <Property Name="LeaseBalance" Type="Decimal" Precision="19" Scale="4" />
  18475. <Property Name="ServiceFee" Type="Decimal" Precision="19" Scale="4" />
  18476. <Property Name="ExitUndertaking" Type="Boolean" />
  18477. <Property Name="NewExpiryDate" Type="DateTime" Precision="3" />
  18478. <Property Name="AgeStatus" Type="Int32" />
  18479. <Property Name="CapitalOutstanding" Type="Decimal" Precision="19" Scale="4" />
  18480. <Property Name="PrescribedAmount" Type="Decimal" Precision="19" Scale="4" />
  18481. <Property Name="RestructuredDate" Type="DateTime" Precision="3" />
  18482. <Property Name="UndertakingConsultant" Type="Int32" />
  18483. <Property Name="FinancedAmount" Type="Decimal" Precision="19" Scale="4" />
  18484. <Property Name="AmountPaid" Type="Decimal" Precision="19" Scale="4" />
  18485. <Property Name="LastUnpaidTransactionDate" Type="DateTime" Precision="3" />
  18486. <Property Name="LastUnpaidAmount" Type="Decimal" Precision="19" Scale="4" />
  18487. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblDebtor_AllocatedTo" FromRole="TblDebtor" ToRole="TblPersonnel" />
  18488. <NavigationProperty Name="TblDeveloper" Relationship="ProvisionStagingModel.FK_TblDebtor_Developer" FromRole="TblDebtor" ToRole="TblDeveloper" />
  18489. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblDebtor_ReportsTo" FromRole="TblDebtor" ToRole="TblPersonnel" />
  18490. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblDebtor_Resort" FromRole="TblDebtor" ToRole="TblResort" />
  18491. <NavigationProperty Name="TblPersonnel2" Relationship="ProvisionStagingModel.FK_TblDebtor_UndertakingConsultant" FromRole="TblDebtor" ToRole="TblPersonnel" />
  18492. <NavigationProperty Name="TblDebtorBankings" Relationship="ProvisionStagingModel.FK_TblDebtorBanking_DebtorNo" FromRole="TblDebtor" ToRole="TblDebtorBanking" />
  18493. <NavigationProperty Name="TblDebtorCategoryBreakdowns" Relationship="ProvisionStagingModel.FK_TblDebtorCategoryBreakdown_Debtor" FromRole="TblDebtor" ToRole="TblDebtorCategoryBreakdown" />
  18494. <NavigationProperty Name="TblDebtorDocuments" Relationship="ProvisionStagingModel.FK_TblDebtorDocuments_Debtor" FromRole="TblDebtor" ToRole="TblDebtorDocument" />
  18495. <NavigationProperty Name="TblDebtorFeedbacks" Relationship="ProvisionStagingModel.FK_TblDebtorFeedback_DebtorNo" FromRole="TblDebtor" ToRole="TblDebtorFeedback" />
  18496. <NavigationProperty Name="TblDebtorInterestRates" Relationship="ProvisionStagingModel.FK_TblDebtorInterestRates_DebtorNo" FromRole="TblDebtor" ToRole="TblDebtorInterestRate" />
  18497. <NavigationProperty Name="TblDebtorManagementFeeValues" Relationship="ProvisionStagingModel.FK_TblDebtorManagementFeeValues_Debtor" FromRole="TblDebtor" ToRole="TblDebtorManagementFeeValue" />
  18498. <NavigationProperty Name="TblDebtorNotes" Relationship="ProvisionStagingModel.FK_TblDebtorNotes_TblDebtor" FromRole="TblDebtor" ToRole="TblDebtorNote" />
  18499. <NavigationProperty Name="TblDebtorResaleTransfers" Relationship="ProvisionStagingModel.FK_TblDebtorResaleTransfers_DebtorNumber" FromRole="TblDebtor" ToRole="TblDebtorResaleTransfer" />
  18500. <NavigationProperty Name="TblDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_Debtor" FromRole="TblDebtor" ToRole="TblDebtorTransaction" />
  18501. <NavigationProperty Name="TblDebtorWeekModuleExceptions" Relationship="ProvisionStagingModel.FK_TblDebtorWeekModuleException_Debtor" FromRole="TblDebtor" ToRole="TblDebtorWeekModuleException" />
  18502. <NavigationProperty Name="TblExternalResortCommissions" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_CapitalDebtor" FromRole="TblDebtor" ToRole="TblExternalResortCommission" />
  18503. <NavigationProperty Name="TblGalvanizedDeals" Relationship="ProvisionStagingModel.FK_TblGalvanizedDeals_Debtor" FromRole="TblDebtor" ToRole="TblGalvanizedDeal" />
  18504. <NavigationProperty Name="TblHideDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblHideDebtorTransaction_Debtor" FromRole="TblDebtor" ToRole="TblHideDebtorTransaction" />
  18505. <NavigationProperty Name="TblJournalLines" Relationship="ProvisionStagingModel.FK_TblJournalLines_Debtor" FromRole="TblDebtor" ToRole="TblJournalLine" />
  18506. <NavigationProperty Name="TblManagementFeeInstalments" Relationship="ProvisionStagingModel.FK_TblManagementFeeInstalments_Debtor" FromRole="TblDebtor" ToRole="TblManagementFeeInstalment" />
  18507. <NavigationProperty Name="TblManagementFeeOverrides" Relationship="ProvisionStagingModel.FK_TblManagementFeeOverride_Debtor" FromRole="TblDebtor" ToRole="TblManagementFeeOverride" />
  18508. <NavigationProperty Name="TblManagementFeesDocuments" Relationship="ProvisionStagingModel.FK_TblManagementFeesDocuments_Debtor" FromRole="TblDebtor" ToRole="TblManagementFeesDocument" />
  18509. <NavigationProperty Name="TblManagementFeesDocuments1" Relationship="ProvisionStagingModel.FK_TblManagementFeesDocuments_DebtorOtherFeesDocument" FromRole="TblDebtor" ToRole="TblManagementFeesDocument" />
  18510. <NavigationProperty Name="TblPaymentPlans" Relationship="ProvisionStagingModel.FK_TblPaymentPlan_Debtor" FromRole="TblDebtor" ToRole="TblPaymentPlan" />
  18511. <NavigationProperty Name="TblPortfolioNotes" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_Debtor" FromRole="TblDebtor" ToRole="TblPortfolioNote" />
  18512. <NavigationProperty Name="TblPortfolioNotes1" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_TblDebtor" FromRole="TblDebtor" ToRole="TblPortfolioNote" />
  18513. <NavigationProperty Name="TblPreviousAgeings" Relationship="ProvisionStagingModel.FK_TblPreviousAgeing_Debtor" FromRole="TblDebtor" ToRole="TblPreviousAgeing" />
  18514. <NavigationProperty Name="TblPreviousAgings" Relationship="ProvisionStagingModel.FK_TblPreviousAging_Debtor" FromRole="TblDebtor" ToRole="TblPreviousAging" />
  18515. <NavigationProperty Name="TblSACRRADatas" Relationship="ProvisionStagingModel.FK_TblSACRRAData_Debtor" FromRole="TblDebtor" ToRole="TblSACRRAData" />
  18516. <NavigationProperty Name="TblSACRRADebtorGAPGALs" Relationship="ProvisionStagingModel.FK_TblSACRRADebtorGAPGAL_Debtor" FromRole="TblDebtor" ToRole="TblSACRRADebtorGAPGAL" />
  18517. <NavigationProperty Name="TblSACRRADebtorStatus" Relationship="ProvisionStagingModel.FK_TblSACRRADebtorStatus_Debtor" FromRole="TblDebtor" ToRole="TblSACRRADebtorStatu" />
  18518. <NavigationProperty Name="TblSuspenseTransactions" Relationship="ProvisionStagingModel.FK_TblSuspenseTransaction_AllowcatedAccount" FromRole="TblDebtor" ToRole="TblSuspenseTransaction" />
  18519. <NavigationProperty Name="TblSuspenseTransactionSplits" Relationship="ProvisionStagingModel.FK_TblSuspenseTransactionSplit_Account" FromRole="TblDebtor" ToRole="TblSuspenseTransactionSplit" />
  18520. </EntityType>
  18521. <EntityType Name="TblDebtorBanking">
  18522. <Key>
  18523. <PropertyRef Name="OID" />
  18524. </Key>
  18525. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18526. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18527. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18528. <Property Name="DebtorNo" Type="Int32" />
  18529. <Property Name="BankDetail" Type="Guid" />
  18530. <Property Name="StartDate" Type="DateTime" Precision="3" />
  18531. <Property Name="AcbType" Type="Int32" />
  18532. <Property Name="StrikeDay" Type="Int32" />
  18533. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  18534. <Property Name="Percentage" Type="Decimal" Precision="19" Scale="4" />
  18535. <Property Name="InvalidDate" Type="DateTime" Precision="3" />
  18536. <Property Name="RejectionCode" Type="Guid" />
  18537. <Property Name="OptimisticLockField" Type="Int32" />
  18538. <Property Name="GCRecord" Type="Int32" />
  18539. <Property Name="CancelledDate" Type="DateTime" Precision="3" />
  18540. <Property Name="LastGenerated" Type="DateTime" Precision="3" />
  18541. <Property Name="EndDate" Type="DateTime" Precision="3" />
  18542. <Property Name="Status" Type="Int32" />
  18543. <Property Name="LastUpdated" Type="DateTime" Precision="3" />
  18544. <Property Name="RunASAP" Type="Boolean" />
  18545. <Property Name="CreditCard" Type="Boolean" />
  18546. <Property Name="CCToken" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18547. <Property Name="Amendment" Type="Boolean" />
  18548. <Property Name="SendToCollectionSystem" Type="Boolean" />
  18549. <Property Name="DateLastSentToCollectionSystem" Type="DateTime" Precision="3" />
  18550. <Property Name="NumberOfMonths" Type="Int32" />
  18551. <Property Name="MonthsRemaining" Type="Int32" />
  18552. <Property Name="CreditCardDetails" Type="Int32" />
  18553. <Property Name="ClubBanking" Type="Int32" />
  18554. <Property Name="ACBDefaultBanking" Type="Int32" />
  18555. <Property Name="OnHoldUpUntil" Type="DateTime" Precision="3" />
  18556. <Property Name="ACBStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18557. <Property Name="OverrideDefaultBanking" Type="Int32" />
  18558. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorBanking_DebtorNo" FromRole="TblDebtorBanking" ToRole="TblDebtor" />
  18559. <NavigationProperty Name="TblDebtorBankingAmendments" Relationship="ProvisionStagingModel.FK_TblDebtorBankingAmendment_DebtorBanking" FromRole="TblDebtorBanking" ToRole="TblDebtorBankingAmendment" />
  18560. <NavigationProperty Name="TblPortfolioNotes" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_DebtorBanking" FromRole="TblDebtorBanking" ToRole="TblPortfolioNote" />
  18561. </EntityType>
  18562. <EntityType Name="TblDebtorBankingAmendment">
  18563. <Key>
  18564. <PropertyRef Name="OID" />
  18565. </Key>
  18566. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18567. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18568. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18569. <Property Name="AmendmentCode" Type="Int32" />
  18570. <Property Name="DebtorBanking" Type="Int32" />
  18571. <Property Name="OptimisticLockField" Type="Int32" />
  18572. <Property Name="GCRecord" Type="Int32" />
  18573. <NavigationProperty Name="TblDebtorBanking" Relationship="ProvisionStagingModel.FK_TblDebtorBankingAmendment_DebtorBanking" FromRole="TblDebtorBankingAmendment" ToRole="TblDebtorBanking" />
  18574. </EntityType>
  18575. <EntityType Name="TblDebtorCategoryBreakdown">
  18576. <Key>
  18577. <PropertyRef Name="Sequence" />
  18578. </Key>
  18579. <Property Name="Debtor" Type="Int32" />
  18580. <Property Name="Sequence" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18581. <Property Name="Category" Type="Int32" />
  18582. <Property Name="AmountRaised" Type="Decimal" Precision="19" Scale="4" />
  18583. <Property Name="AmountAllocated" Type="Decimal" Precision="19" Scale="4" />
  18584. <Property Name="OptimisticLockField" Type="Int32" />
  18585. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18586. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorCategoryBreakdown_Debtor" FromRole="TblDebtorCategoryBreakdown" ToRole="TblDebtor" />
  18587. </EntityType>
  18588. <EntityType Name="TblDebtorCategoryCode">
  18589. <Key>
  18590. <PropertyRef Name="OID" />
  18591. </Key>
  18592. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18593. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18594. <Property Name="Category" Type="Int32" />
  18595. <Property Name="SplitReversals" Type="Boolean" />
  18596. <Property Name="SplitRaiseMonthlyInvoice" Type="Boolean" />
  18597. <Property Name="OptimisticLockField" Type="Int32" />
  18598. <Property Name="GCRecord" Type="Int32" />
  18599. <Property Name="AllocateAgingOnNegativeAmount" Type="Boolean" />
  18600. <Property Name="IsCapitalCategory" Type="Boolean" />
  18601. <NavigationProperty Name="TblRebatePaymentCategoryCodes" Relationship="ProvisionStagingModel.FK_TblRebatePaymentCategoryCode_CategoryCode" FromRole="TblDebtorCategoryCode" ToRole="TblRebatePaymentCategoryCode" />
  18602. </EntityType>
  18603. <EntityType Name="TblDebtorCoding">
  18604. <Key>
  18605. <PropertyRef Name="Oid" />
  18606. </Key>
  18607. <Property Name="Oid" Type="Guid" Nullable="false" />
  18608. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18609. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18610. <Property Name="OptimisticLockField" Type="Int32" />
  18611. <Property Name="GCRecord" Type="Int32" />
  18612. <Property Name="OracleExpenseCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18613. <NavigationProperty Name="TblDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_DebtorCode" FromRole="TblDebtorCoding" ToRole="TblDebtorTransaction" />
  18614. </EntityType>
  18615. <EntityType Name="TblDebtorConsoftTakeonValue">
  18616. <Key>
  18617. <PropertyRef Name="Oid" />
  18618. </Key>
  18619. <Property Name="Oid" Type="Guid" Nullable="false" />
  18620. <Property Name="MembershipNumber" Type="String" MaxLength="15" FixedLength="false" Unicode="true" />
  18621. <Property Name="AccountType" Type="Int32" />
  18622. <Property Name="Balance" Type="Decimal" Precision="19" Scale="4" />
  18623. <Property Name="Current" Type="Decimal" Precision="19" Scale="4" />
  18624. <Property Name="Days30" Type="Decimal" Precision="19" Scale="4" />
  18625. <Property Name="Days60" Type="Decimal" Precision="19" Scale="4" />
  18626. <Property Name="Days90" Type="Decimal" Precision="19" Scale="4" />
  18627. <Property Name="Days120" Type="Decimal" Precision="19" Scale="4" />
  18628. <Property Name="Days150" Type="Decimal" Precision="19" Scale="4" />
  18629. <Property Name="Days180" Type="Decimal" Precision="19" Scale="4" />
  18630. <Property Name="OptimisticLockField" Type="Int32" />
  18631. <Property Name="GCRecord" Type="Int32" />
  18632. </EntityType>
  18633. <EntityType Name="TblDebtorDocument">
  18634. <Key>
  18635. <PropertyRef Name="OID" />
  18636. </Key>
  18637. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18638. <Property Name="Debtor" Type="Int32" />
  18639. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18640. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18641. <Property Name="DocumentType" Type="Int32" />
  18642. <Property Name="Document" Type="Int32" />
  18643. <Property Name="OptimisticLockField" Type="Int32" />
  18644. <Property Name="GCRecord" Type="Int32" />
  18645. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorDocuments_Debtor" FromRole="TblDebtorDocument" ToRole="TblDebtor" />
  18646. <NavigationProperty Name="TblDocumentType" Relationship="ProvisionStagingModel.FK_TblDebtorDocuments_DocumentType" FromRole="TblDebtorDocument" ToRole="TblDocumentType" />
  18647. </EntityType>
  18648. <EntityType Name="TblDebtorFeedback">
  18649. <Key>
  18650. <PropertyRef Name="OID" />
  18651. </Key>
  18652. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18653. <Property Name="Date" Type="DateTime" Precision="3" />
  18654. <Property Name="Name" Type="Int32" />
  18655. <Property Name="Feedback" Type="Int32" />
  18656. <Property Name="Notes" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  18657. <Property Name="DebtorNo" Type="Int32" />
  18658. <Property Name="OptimisticLockField" Type="Int32" />
  18659. <Property Name="GCRecord" Type="Int32" />
  18660. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorFeedback_DebtorNo" FromRole="TblDebtorFeedback" ToRole="TblDebtor" />
  18661. <NavigationProperty Name="TblFeedbackType" Relationship="ProvisionStagingModel.FK_TblDebtorFeedback_Feedback" FromRole="TblDebtorFeedback" ToRole="TblFeedbackType" />
  18662. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblDebtorFeedback_Name" FromRole="TblDebtorFeedback" ToRole="TblPersonnel" />
  18663. </EntityType>
  18664. <EntityType Name="TblDebtorInterestRate">
  18665. <Key>
  18666. <PropertyRef Name="OID" />
  18667. </Key>
  18668. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18669. <Property Name="DebtorNo" Type="Int32" />
  18670. <Property Name="InterestRate" Type="Decimal" Precision="19" Scale="4" />
  18671. <Property Name="InterestEffectiveDate" Type="DateTime" Precision="3" />
  18672. <Property Name="OptimisticLockField" Type="Int32" />
  18673. <Property Name="GCRecord" Type="Int32" />
  18674. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorInterestRates_DebtorNo" FromRole="TblDebtorInterestRate" ToRole="TblDebtor" />
  18675. </EntityType>
  18676. <EntityType Name="TblDebtorManagementFeeValue">
  18677. <Key>
  18678. <PropertyRef Name="OID" />
  18679. </Key>
  18680. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18681. <Property Name="Debtor" Type="Int32" />
  18682. <Property Name="StartDate" Type="DateTime" Precision="3" />
  18683. <Property Name="StartDateAdjusted" Type="DateTime" Precision="3" />
  18684. <Property Name="Estimate" Type="Boolean" />
  18685. <Property Name="ManagementFee" Type="Decimal" Precision="19" Scale="4" />
  18686. <Property Name="LevyInstalmentDue" Type="DateTime" Precision="3" />
  18687. <Property Name="MaxLevyMonths" Type="Int32" />
  18688. <Property Name="FeeYear" Type="Int32" />
  18689. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  18690. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  18691. <Property Name="LastUpdated" Type="DateTime" Precision="3" />
  18692. <Property Name="WeekModule" Type="Int32" />
  18693. <Property Name="OptimisticLockField" Type="Int32" />
  18694. <Property Name="GCRecord" Type="Int32" />
  18695. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorManagementFeeValues_Debtor" FromRole="TblDebtorManagementFeeValue" ToRole="TblDebtor" />
  18696. <NavigationProperty Name="TblWeekModule" Relationship="ProvisionStagingModel.FK_TblDebtorManagementFeeValues_WeekModule" FromRole="TblDebtorManagementFeeValue" ToRole="TblWeekModule" />
  18697. </EntityType>
  18698. <EntityType Name="TblDebtorNote">
  18699. <Key>
  18700. <PropertyRef Name="OID" />
  18701. </Key>
  18702. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18703. <Property Name="TblDebtor" Type="Int32" />
  18704. <Property Name="MessageCode" Type="Int32" />
  18705. <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  18706. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18707. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18708. <Property Name="OptimisticLockField" Type="Int32" />
  18709. <Property Name="GCRecord" Type="Int32" />
  18710. <Property Name="MessageNo" Type="Int32" />
  18711. <Property Name="Category" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18712. <Property Name="Company" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18713. <Property Name="Account" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18714. <Property Name="MsgType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18715. <Property Name="MessageCat" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18716. <Property Name="MessageId" Type="Int32" />
  18717. <Property Name="MessageDate" Type="DateTime" Precision="3" />
  18718. <Property Name="MessageText" Type="String" MaxLength="512" FixedLength="false" Unicode="true" />
  18719. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  18720. <Property Name="ActionDate" Type="DateTime" Precision="3" />
  18721. <Property Name="User" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18722. <Property Name="LetterIndicator" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18723. <Property Name="Posted" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18724. <Property Name="Deleted" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18725. <NavigationProperty Name="TblDebtor1" Relationship="ProvisionStagingModel.FK_TblDebtorNotes_TblDebtor" FromRole="TblDebtorNote" ToRole="TblDebtor" />
  18726. <NavigationProperty Name="TblMessageCode" Relationship="ProvisionStagingModel.FK_TblDebtorNotes_MessageCode" FromRole="TblDebtorNote" ToRole="TblMessageCode" />
  18727. </EntityType>
  18728. <EntityType Name="TblDebtorReportsRecipient">
  18729. <Key>
  18730. <PropertyRef Name="OID" />
  18731. </Key>
  18732. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18733. <Property Name="User" Type="Guid" />
  18734. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18735. <Property Name="OptimisticLockField" Type="Int32" />
  18736. <Property Name="GCRecord" Type="Int32" />
  18737. <Property Name="DoNotSend" Type="Boolean" />
  18738. </EntityType>
  18739. <EntityType Name="TblDebtorResaleTransfer">
  18740. <Key>
  18741. <PropertyRef Name="OID" />
  18742. </Key>
  18743. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18744. <Property Name="BankTransferLine" Type="Int32" />
  18745. <Property Name="TransferTransaction" Type="Int32" />
  18746. <Property Name="DebtorNumber" Type="Int32" />
  18747. <Property Name="OptimisticLockField" Type="Int32" />
  18748. <Property Name="GCRecord" Type="Int32" />
  18749. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorResaleTransfers_DebtorNumber" FromRole="TblDebtorResaleTransfer" ToRole="TblDebtor" />
  18750. <NavigationProperty Name="TblDebtorTransaction" Relationship="ProvisionStagingModel.FK_TblDebtorResaleTransfers_TransferTransaction" FromRole="TblDebtorResaleTransfer" ToRole="TblDebtorTransaction" />
  18751. </EntityType>
  18752. <EntityType Name="TblDebtorTransaction">
  18753. <Key>
  18754. <PropertyRef Name="OID" />
  18755. </Key>
  18756. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18757. <Property Name="Debtor" Type="Int32" />
  18758. <Property Name="TransactionType" Type="Int32" />
  18759. <Property Name="EffectiveDate" Type="DateTime" Precision="3" />
  18760. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18761. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18762. <Property Name="ReferenceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18763. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  18764. <Property Name="StatementPeriod" Type="Int32" />
  18765. <Property Name="Current" Type="Decimal" Precision="19" Scale="4" />
  18766. <Property Name="Days30" Type="Decimal" Precision="19" Scale="4" />
  18767. <Property Name="Days60" Type="Decimal" Precision="19" Scale="4" />
  18768. <Property Name="Days90" Type="Decimal" Precision="19" Scale="4" />
  18769. <Property Name="Days120" Type="Decimal" Precision="19" Scale="4" />
  18770. <Property Name="Days150" Type="Decimal" Precision="19" Scale="4" />
  18771. <Property Name="Days180" Type="Decimal" Precision="19" Scale="4" />
  18772. <Property Name="OptimisticLockField" Type="Int32" />
  18773. <Property Name="GCRecord" Type="Int32" />
  18774. <Property Name="DeltaCurrent" Type="Decimal" Precision="19" Scale="4" />
  18775. <Property Name="DeltaDays30" Type="Decimal" Precision="19" Scale="4" />
  18776. <Property Name="DeltaDays60" Type="Decimal" Precision="19" Scale="4" />
  18777. <Property Name="DeltaDays90" Type="Decimal" Precision="19" Scale="4" />
  18778. <Property Name="DeltaDays120" Type="Decimal" Precision="19" Scale="4" />
  18779. <Property Name="DeltaDays150" Type="Decimal" Precision="19" Scale="4" />
  18780. <Property Name="DeltaDays180" Type="Decimal" Precision="19" Scale="4" />
  18781. <Property Name="Deposit" Type="Decimal" Precision="19" Scale="4" />
  18782. <Property Name="Reversed" Type="Boolean" />
  18783. <Property Name="TblJournalLines" Type="Int32" />
  18784. <Property Name="DeltaDeposit" Type="Decimal" Precision="19" Scale="4" />
  18785. <Property Name="Comments" Type="String" MaxLength="300" FixedLength="false" Unicode="true" />
  18786. <Property Name="BankAccount" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18787. <Property Name="CurrentAge" Type="Byte" />
  18788. <Property Name="PayType" Type="Int32" />
  18789. <Property Name="Capital" Type="Decimal" Precision="19" Scale="4" />
  18790. <Property Name="Fees" Type="Decimal" Precision="19" Scale="4" />
  18791. <Property Name="Interest" Type="Decimal" Precision="19" Scale="4" />
  18792. <Property Name="DeltaCapital" Type="Decimal" Precision="19" Scale="4" />
  18793. <Property Name="DeltaFees" Type="Decimal" Precision="19" Scale="4" />
  18794. <Property Name="DeltaInterest" Type="Decimal" Precision="19" Scale="4" />
  18795. <Property Name="AllJournalLines" Type="Int32" />
  18796. <Property Name="TotalAmountReversedSoFar" Type="Decimal" Precision="19" Scale="4" />
  18797. <Property Name="ManagementFeeYearRaised" Type="Int32" />
  18798. <Property Name="IsManFeeEstimate" Type="Boolean" />
  18799. <Property Name="ManagementFeeAdjusted" Type="Boolean" />
  18800. <Property Name="ConsoftCategory" Type="Int32" />
  18801. <Property Name="SendToCollectionSystem" Type="Boolean" />
  18802. <Property Name="DateLastSentToCollectionSystem" Type="DateTime" Precision="3" />
  18803. <Property Name="CollectionTran" Type="Int32" />
  18804. <Property Name="IsReversed" Type="Boolean" />
  18805. <Property Name="ManualCategoryAllocation" Type="Boolean" />
  18806. <Property Name="DateRanThroughCommissionsReport" Type="DateTime" Precision="3" />
  18807. <Property Name="CollectionFee" Type="Decimal" Precision="19" Scale="4" />
  18808. <Property Name="DateSentToNetready" Type="DateTime" Precision="3" />
  18809. <Property Name="Override" Type="Boolean" />
  18810. <Property Name="CancellationProccess" Type="Int32" />
  18811. <Property Name="DsDealInvoice" Type="Boolean" />
  18812. <Property Name="CommissionProcessed" Type="Boolean" />
  18813. <Property Name="Instalment" Type="Decimal" Precision="19" Scale="4" />
  18814. <Property Name="DeltaInstalment" Type="Decimal" Precision="19" Scale="4" />
  18815. <Property Name="DebtorCode" Type="Guid" />
  18816. <Property Name="HideDebtorTransaction" Type="Guid" />
  18817. <Property Name="CommissionProcessedDate" Type="DateTime" Precision="3" />
  18818. <Property Name="BankTransfer" Type="Int32" />
  18819. <Property Name="ConversionRate" Type="Decimal" Precision="19" Scale="4" />
  18820. <Property Name="ManFeeAdjustedAmount" Type="Decimal" Precision="19" Scale="4" />
  18821. <Property Name="ManFeeAdjustmentLetterGenerated" Type="DateTime" Precision="3" />
  18822. <Property Name="DebtorStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18823. <Property Name="SentToConsfot" Type="Boolean" />
  18824. <Property Name="BreakDownAmount" Type="Decimal" Precision="19" Scale="4" />
  18825. <Property Name="ChequeNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18826. <Property Name="AllBankStatementLines" Type="Int32" />
  18827. <Property Name="IsTempReversed" Type="Boolean" />
  18828. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_Debtor" FromRole="TblDebtorTransaction" ToRole="TblDebtor" />
  18829. <NavigationProperty Name="TblDebtorCoding" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_DebtorCode" FromRole="TblDebtorTransaction" ToRole="TblDebtorCoding" />
  18830. <NavigationProperty Name="TblDebtorResaleTransfers" Relationship="ProvisionStagingModel.FK_TblDebtorResaleTransfers_TransferTransaction" FromRole="TblDebtorTransaction" ToRole="TblDebtorResaleTransfer" />
  18831. <NavigationProperty Name="TblJournalLine" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_AllJournalLines" FromRole="TblDebtorTransaction" ToRole="TblJournalLine" />
  18832. <NavigationProperty Name="TblDebtorTransactions1" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_CollectionTran" FromRole="TblDebtorTransaction" ToRole="TblDebtorTransaction1" />
  18833. <NavigationProperty Name="TblDebtorTransaction1" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_CollectionTran" FromRole="TblDebtorTransaction1" ToRole="TblDebtorTransaction" />
  18834. <NavigationProperty Name="TblHideDebtorTransaction" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_HideDebtorTransaction" FromRole="TblDebtorTransaction" ToRole="TblHideDebtorTransaction" />
  18835. <NavigationProperty Name="TblPaymentType" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_PayType" FromRole="TblDebtorTransaction" ToRole="TblPaymentType" />
  18836. <NavigationProperty Name="TblJournalLine1" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_TblJournalLines" FromRole="TblDebtorTransaction" ToRole="TblJournalLine" />
  18837. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_TransactionType" FromRole="TblDebtorTransaction" ToRole="TblDebtorTranType" />
  18838. <NavigationProperty Name="TblDebtorTransactionsCatBreakdowns" Relationship="ProvisionStagingModel.FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction" FromRole="TblDebtorTransaction" ToRole="TblDebtorTransactionsCatBreakdown" />
  18839. <NavigationProperty Name="TblJournalLineTransactions" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_OriginalTransaction" FromRole="TblDebtorTransaction" ToRole="TblJournalLineTransaction" />
  18840. <NavigationProperty Name="TblManagementFeesToAdjusts" Relationship="ProvisionStagingModel.FK_TblManagementFeesToAdjust_DebtorTransaction" FromRole="TblDebtorTransaction" ToRole="TblManagementFeesToAdjust" />
  18841. </EntityType>
  18842. <EntityType Name="TblDebtorTransactionsCatBreakdown">
  18843. <Key>
  18844. <PropertyRef Name="Sequence" />
  18845. </Key>
  18846. <Property Name="DebtorTransaction" Type="Int32" />
  18847. <Property Name="Sequence" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18848. <Property Name="Category" Type="Int32" />
  18849. <Property Name="AmountRaised" Type="Decimal" Precision="19" Scale="4" />
  18850. <Property Name="AmountAllocated" Type="Decimal" Precision="19" Scale="4" />
  18851. <Property Name="OptimisticLockField" Type="Int32" />
  18852. <Property Name="TransactionType" Type="Int32" />
  18853. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18854. <NavigationProperty Name="TblDebtorTransaction" Relationship="ProvisionStagingModel.FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction" FromRole="TblDebtorTransactionsCatBreakdown" ToRole="TblDebtorTransaction" />
  18855. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblDebtorTransactionsCatBreakdown_TransactionType" FromRole="TblDebtorTransactionsCatBreakdown" ToRole="TblDebtorTranType" />
  18856. </EntityType>
  18857. <EntityType Name="TblDebtorTransactionTypeReportGroup">
  18858. <Key>
  18859. <PropertyRef Name="Oid" />
  18860. </Key>
  18861. <Property Name="Oid" Type="Guid" Nullable="false" />
  18862. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18863. <Property Name="OptimisticLockField" Type="Int32" />
  18864. <Property Name="GCRecord" Type="Int32" />
  18865. <NavigationProperty Name="TblDebtorTranTypes" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup" FromRole="TblDebtorTransactionTypeReportGroup" ToRole="TblDebtorTranType" />
  18866. </EntityType>
  18867. <EntityType Name="TblDebtorTranType">
  18868. <Key>
  18869. <PropertyRef Name="OID" />
  18870. </Key>
  18871. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18872. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18873. <Property Name="CalculateInterest" Type="Boolean" />
  18874. <Property Name="GroupCategory" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18875. <Property Name="PaymentTransaction" Type="Boolean" />
  18876. <Property Name="OptimisticLockField" Type="Int32" />
  18877. <Property Name="GCRecord" Type="Int32" />
  18878. <Property Name="JournalsAllowed" Type="Boolean" />
  18879. <Property Name="TransactionSign" Type="Int32" />
  18880. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18881. <Property Name="Reversal" Type="Int32" />
  18882. <Property Name="TransactionCategory" Type="Int32" />
  18883. <Property Name="TransferTransaction" Type="Boolean" />
  18884. <Property Name="MainTransactionType" Type="Int32" />
  18885. <Property Name="IsReversal" Type="Boolean" />
  18886. <Property Name="IsReversable" Type="Boolean" />
  18887. <Property Name="PaymentType" Type="Int32" />
  18888. <Property Name="CalculateCollectionFee" Type="Boolean" />
  18889. <Property Name="AccountingType" Type="Int32" />
  18890. <Property Name="DebtorTransactionTypeReportGroup" Type="Guid" />
  18891. <Property Name="ConsoftCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18892. <Property Name="DoNotGenerateBankTransferCapital" Type="Boolean" />
  18893. <Property Name="DoNotGenerateBankTransferLevy" Type="Boolean" />
  18894. <Property Name="DoNotGenerateBankTransferAdmin" Type="Boolean" />
  18895. <Property Name="DebtorOnJournalCanBeBlank" Type="Boolean" />
  18896. <Property Name="ContractStatus" Type="Int32" />
  18897. <Property Name="ReversalTranType" Type="Int32" />
  18898. <Property Name="UnpaidPaymentTransaction" Type="Boolean" />
  18899. <NavigationProperty Name="TblDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_TransactionType" FromRole="TblDebtorTranType" ToRole="TblDebtorTransaction" />
  18900. <NavigationProperty Name="TblDebtorTransactionsCatBreakdowns" Relationship="ProvisionStagingModel.FK_TblDebtorTransactionsCatBreakdown_TransactionType" FromRole="TblDebtorTranType" ToRole="TblDebtorTransactionsCatBreakdown" />
  18901. <NavigationProperty Name="TblDebtorTransactionTypeReportGroup" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup" FromRole="TblDebtorTranType" ToRole="TblDebtorTransactionTypeReportGroup" />
  18902. <NavigationProperty Name="TblPaymentType" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_PaymentType" FromRole="TblDebtorTranType" ToRole="TblPaymentType" />
  18903. <NavigationProperty Name="TblDebtorTranTypes1" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_Reversal" FromRole="TblDebtorTranType" ToRole="TblDebtorTranType1" />
  18904. <NavigationProperty Name="TblDebtorTranType1" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_Reversal" FromRole="TblDebtorTranType1" ToRole="TblDebtorTranType" />
  18905. <NavigationProperty Name="TblDebtorTranTypes11" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_ReversalTranType" FromRole="TblDebtorTranType" ToRole="TblDebtorTranType1" />
  18906. <NavigationProperty Name="TblDebtorTranType2" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_ReversalTranType" FromRole="TblDebtorTranType1" ToRole="TblDebtorTranType" />
  18907. <NavigationProperty Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals" FromRole="TblDebtorTranType" ToRole="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  18908. <NavigationProperty Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals1" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp" FromRole="TblDebtorTranType" ToRole="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" />
  18909. <NavigationProperty Name="TblGroupCategories" Relationship="ProvisionStagingModel.FK_TblGroupCategory_TblDebtorTranTypes" FromRole="TblDebtorTranType" ToRole="TblGroupCategory" />
  18910. <NavigationProperty Name="TblJournalBatches" Relationship="ProvisionStagingModel.FK_TblJournalBatch_TransactionType" FromRole="TblDebtorTranType" ToRole="TblJournalBatch" />
  18911. <NavigationProperty Name="TblJournalLines" Relationship="ProvisionStagingModel.FK_TblJournalLines_LineTransactionType" FromRole="TblDebtorTranType" ToRole="TblJournalLine" />
  18912. <NavigationProperty Name="TblJournalLineTransactions" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_NonReverseTranTypes" FromRole="TblDebtorTranType" ToRole="TblJournalLineTransaction" />
  18913. <NavigationProperty Name="TblJournalLineTransactions1" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_TranType" FromRole="TblDebtorTranType" ToRole="TblJournalLineTransaction" />
  18914. <NavigationProperty Name="TblPaymentPlans" Relationship="ProvisionStagingModel.FK_TblPaymentPlan_TransactionType" FromRole="TblDebtorTranType" ToRole="TblPaymentPlan" />
  18915. </EntityType>
  18916. <EntityType Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  18917. <Key>
  18918. <PropertyRef Name="OID" />
  18919. </Key>
  18920. <Property Name="Reversals" Type="Int32" />
  18921. <Property Name="ReversalsTemp" Type="Int32" />
  18922. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  18923. <Property Name="OptimisticLockField" Type="Int32" />
  18924. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals" FromRole="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" ToRole="TblDebtorTranType" />
  18925. <NavigationProperty Name="TblDebtorTranType1" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp" FromRole="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" ToRole="TblDebtorTranType" />
  18926. </EntityType>
  18927. <EntityType Name="TblDebtorWeekModuleException">
  18928. <Key>
  18929. <PropertyRef Name="Oid" />
  18930. </Key>
  18931. <Property Name="Oid" Type="Guid" Nullable="false" />
  18932. <Property Name="Debtor" Type="Int32" />
  18933. <Property Name="Exception" Type="Int32" />
  18934. <Property Name="ResortCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18935. <Property Name="WeekModule" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18936. <Property Name="WeekModuleYear" Type="Int32" />
  18937. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  18938. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  18939. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18940. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18941. <Property Name="FixedArrangement" Type="Boolean" />
  18942. <Property Name="ManFeeYear" Type="Int32" />
  18943. <Property Name="OptimisticLockField" Type="Int32" />
  18944. <Property Name="GCRecord" Type="Int32" />
  18945. <Property Name="EstimateArrivalDate" Type="Boolean" />
  18946. <Property Name="MonthOverride" Type="Boolean" />
  18947. <Property Name="Month" Type="Int32" />
  18948. <Property Name="OverrideArrivalDate" Type="DateTime" Precision="3" />
  18949. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblDebtorWeekModuleException_Debtor" FromRole="TblDebtorWeekModuleException" ToRole="TblDebtor" />
  18950. </EntityType>
  18951. <EntityType Name="TblDefault">
  18952. <Key>
  18953. <PropertyRef Name="Oid" />
  18954. </Key>
  18955. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18956. <Property Name="Value" Type="Double" />
  18957. <Property Name="Oid" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
  18958. <Property Name="OptimisticLockField" Type="Int32" />
  18959. <Property Name="StringValue" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18960. </EntityType>
  18961. <EntityType Name="TblDepartment">
  18962. <Key>
  18963. <PropertyRef Name="DepartmentCode" />
  18964. </Key>
  18965. <Property Name="DepartmentCode" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="true" />
  18966. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18967. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  18968. <Property Name="CreatedBy" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  18969. <Property Name="OptimisticLockField" Type="Int32" />
  18970. <NavigationProperty Name="TblPersonnels" Relationship="ProvisionStagingModel.FK_TblPersonnel_Department" FromRole="TblDepartment" ToRole="TblPersonnel" />
  18971. </EntityType>
  18972. <EntityType Name="TblDetailedInfo">
  18973. <Key>
  18974. <PropertyRef Name="OID" />
  18975. </Key>
  18976. <Property Name="OID" Type="Int32" Nullable="false" />
  18977. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  18978. <Property Name="MaritalStatus" Type="Int32" />
  18979. <Property Name="Ethnicity" Type="Int32" />
  18980. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  18981. <Property Name="IDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18982. <Property Name="Contacted" Type="Boolean" />
  18983. <Property Name="HowDidYouHearAboutUs" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18984. <Property Name="Occupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18985. <Property Name="SpouseOccupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18986. <Property Name="OneTimePassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18987. <Property Name="Password" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18988. <Property Name="PasswordByte" Type="Binary" MaxLength="Max" FixedLength="false" />
  18989. <Property Name="HolidayHome" Type="Boolean" />
  18990. <Property Name="TimeShare" Type="Boolean" />
  18991. <Property Name="OtherOwnedHolidayAccomodation" Type="Boolean" />
  18992. <Property Name="OtherOwnedHolidayAccomodationDescription" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18993. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  18994. <NavigationProperty Name="TblEthnicity" Relationship="ProvisionStagingModel.FK_TblDetailedInfo_Ethnicity" FromRole="TblDetailedInfo" ToRole="TblEthnicity" />
  18995. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblDetailedInfo_Title" FromRole="TblDetailedInfo" ToRole="Title" />
  18996. <NavigationProperty Name="TblVouchers" Relationship="ProvisionStagingModel.FK_TblVoucher_DetailedInfo" FromRole="TblDetailedInfo" ToRole="TblVoucher" />
  18997. </EntityType>
  18998. <EntityType Name="TblDeveloper">
  18999. <Key>
  19000. <PropertyRef Name="OID" />
  19001. </Key>
  19002. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19003. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19004. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19005. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19006. <Property Name="NCRNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19007. <Property Name="Address" Type="Guid" />
  19008. <Property Name="TelephoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19009. <Property Name="OptimisticLockField" Type="Int32" />
  19010. <Property Name="GCRecord" Type="Int32" />
  19011. <Property Name="RegistrationNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19012. <Property Name="Abbreviation" Type="String" MaxLength="5" FixedLength="false" Unicode="true" />
  19013. <Property Name="DocumentsSignedBy" Type="Int32" />
  19014. <Property Name="MayTransfigure" Type="Boolean" />
  19015. <Property Name="MayUpgrade" Type="Boolean" />
  19016. <Property Name="PostalAddress" Type="Guid" />
  19017. <Property Name="BankingDetails" Type="Guid" />
  19018. <Property Name="FaxNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19019. <Property Name="MayTranscollect" Type="Boolean" />
  19020. <Property Name="ExternalDeveloper" Type="Boolean" />
  19021. <Property Name="Key" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19022. <Property Name="AVSCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19023. <Property Name="Company" Type="Int16" />
  19024. <Property Name="CapitalStatementBankAccount" Type="Int32" />
  19025. <Property Name="ManagementStatementAccount" Type="Int32" />
  19026. <Property Name="EmailSubject" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19027. <Property Name="LevyBankingDetails" Type="Guid" />
  19028. <Property Name="AccessKey" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19029. <Property Name="SecretKey" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19030. <NavigationProperty Name="TblDebtors" Relationship="ProvisionStagingModel.FK_TblDebtor_Developer" FromRole="TblDeveloper" ToRole="TblDebtor" />
  19031. <NavigationProperty Name="TblResorts" Relationship="ProvisionStagingModel.FK_TblResort_DefaultDeveloper" FromRole="TblDeveloper" ToRole="TblResort" />
  19032. <NavigationProperty Name="TblSACRRASettings" Relationship="ProvisionStagingModel.FK_TblSACRRASettings_Developer" FromRole="TblDeveloper" ToRole="TblSACRRASetting" />
  19033. <NavigationProperty Name="TblSalesVenues" Relationship="ProvisionStagingModel.FK_TblSalesVenue_DefaultDeveloper" FromRole="TblDeveloper" ToRole="TblSalesVenue" />
  19034. <NavigationProperty Name="TblSalesVenueClubDevelopers" Relationship="ProvisionStagingModel.FK_TblSalesVenueClubDevelopers_Developer" FromRole="TblDeveloper" ToRole="TblSalesVenueClubDeveloper" />
  19035. <NavigationProperty Name="TblStreamlines" Relationship="ProvisionStagingModel.FK_TblStreamline_Developer" FromRole="TblDeveloper" ToRole="TblStreamline" />
  19036. <NavigationProperty Name="TblUpdateBankingDetails" Relationship="ProvisionStagingModel.FK_TblUpdateBankingDetails_Developer" FromRole="TblDeveloper" ToRole="TblUpdateBankingDetail" />
  19037. <NavigationProperty Name="Transfigurations" Relationship="ProvisionStagingModel.FK_Transfigurations_Developer" FromRole="TblDeveloper" ToRole="Transfiguration" />
  19038. </EntityType>
  19039. <EntityType Name="TblDialCode">
  19040. <Key>
  19041. <PropertyRef Name="DialCode" />
  19042. </Key>
  19043. <Property Name="PhoneType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19044. <Property Name="DialCode" Type="String" Nullable="false" MaxLength="5" FixedLength="false" Unicode="true" />
  19045. <Property Name="OptimisticLockField" Type="Int32" />
  19046. </EntityType>
  19047. <EntityType Name="TblDocumentType">
  19048. <Key>
  19049. <PropertyRef Name="OID" />
  19050. </Key>
  19051. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19052. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19053. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19054. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19055. <Property Name="OptimisticLockField" Type="Int32" />
  19056. <Property Name="GCRecord" Type="Int32" />
  19057. <NavigationProperty Name="TblDebtorDocuments" Relationship="ProvisionStagingModel.FK_TblDebtorDocuments_DocumentType" FromRole="TblDocumentType" ToRole="TblDebtorDocument" />
  19058. <NavigationProperty Name="TblPortfolioDocuments" Relationship="ProvisionStagingModel.FK_TblPortfolioDocuments_DocumentType" FromRole="TblDocumentType" ToRole="TblPortfolioDocument" />
  19059. <NavigationProperty Name="TblPromoDocuments" Relationship="ProvisionStagingModel.FK_TblPromoDocuments_DocumentType" FromRole="TblDocumentType" ToRole="TblPromoDocument" />
  19060. </EntityType>
  19061. <EntityType Name="TblDottedReason">
  19062. <Key>
  19063. <PropertyRef Name="Oid" />
  19064. </Key>
  19065. <Property Name="Oid" Type="Guid" Nullable="false" />
  19066. <Property Name="DottedReason" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19067. <Property Name="OptimisticLockField" Type="Int32" />
  19068. <Property Name="GCRecord" Type="Int32" />
  19069. </EntityType>
  19070. <EntityType Name="TblEmailRecipiant">
  19071. <Key>
  19072. <PropertyRef Name="OID" />
  19073. </Key>
  19074. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19075. <Property Name="Subject" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19076. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19077. <Property Name="IsQuartzJob" Type="Boolean" />
  19078. <Property Name="HasAttatchments" Type="Boolean" />
  19079. <Property Name="OptimisticLockField" Type="Int32" />
  19080. <Property Name="GCRecord" Type="Int32" />
  19081. <Property Name="SenderName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19082. <Property Name="SenderEmail" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19083. <Property Name="RecipiantName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19084. <Property Name="RecipiantEmail" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19085. <NavigationProperty Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Relationship="ProvisionStagingModel.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf" FromRole="TblEmailRecipiant" ToRole="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  19086. </EntityType>
  19087. <EntityType Name="TblEquityCommissionTarget">
  19088. <Key>
  19089. <PropertyRef Name="Oid" />
  19090. </Key>
  19091. <Property Name="Oid" Type="Guid" Nullable="false" />
  19092. <Property Name="StartDate" Type="DateTime" Precision="3" />
  19093. <Property Name="EndDate" Type="DateTime" Precision="3" />
  19094. <Property Name="RecalculateDate" Type="DateTime" Precision="3" />
  19095. <Property Name="Target" Type="Decimal" Precision="19" Scale="4" />
  19096. <Property Name="Personnel" Type="Int32" />
  19097. <Property Name="OptimisticLockField" Type="Int32" />
  19098. <Property Name="GCRecord" Type="Int32" />
  19099. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblEquityCommissionTarget_Personnel" FromRole="TblEquityCommissionTarget" ToRole="TblPersonnel" />
  19100. </EntityType>
  19101. <EntityType Name="TblEquityTargetPercentage">
  19102. <Key>
  19103. <PropertyRef Name="Oid" />
  19104. </Key>
  19105. <Property Name="Oid" Type="Guid" Nullable="false" />
  19106. <Property Name="TargetPercentage" Type="Decimal" Precision="19" Scale="4" />
  19107. <Property Name="EquityPercentage" Type="Decimal" Precision="19" Scale="4" />
  19108. <Property Name="OptimisticLockField" Type="Int32" />
  19109. <Property Name="GCRecord" Type="Int32" />
  19110. </EntityType>
  19111. <EntityType Name="TblEthnicity">
  19112. <Key>
  19113. <PropertyRef Name="OID" />
  19114. </Key>
  19115. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19116. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19117. <Property Name="OptimisticLockField" Type="Int32" />
  19118. <Property Name="GCRecord" Type="Int32" />
  19119. <NavigationProperty Name="TblDetailedInfoes" Relationship="ProvisionStagingModel.FK_TblDetailedInfo_Ethnicity" FromRole="TblEthnicity" ToRole="TblDetailedInfo" />
  19120. <NavigationProperty Name="TblLeads" Relationship="ProvisionStagingModel.FK_TblLeads_Ethnicity" FromRole="TblEthnicity" ToRole="TblLead" />
  19121. </EntityType>
  19122. <EntityType Name="TblEVoucher">
  19123. <Key>
  19124. <PropertyRef Name="OID" />
  19125. </Key>
  19126. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19127. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19128. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19129. <Property Name="VoucherNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19130. <Property Name="SalesVenue" Type="Int32" />
  19131. <Property Name="OTP" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19132. <Property Name="Disabled" Type="Boolean" />
  19133. <Property Name="Authorised" Type="Boolean" />
  19134. <Property Name="VoucherSeries" Type="Int32" />
  19135. <Property Name="VoucherType" Type="Int32" />
  19136. <Property Name="VoucherCategory" Type="Int32" />
  19137. <Property Name="DateRegistered" Type="DateTime" Precision="3" />
  19138. <Property Name="DateAllocated" Type="DateTime" Precision="3" />
  19139. <Property Name="Number" Type="Int32" />
  19140. <Property Name="Booking" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19141. <Property Name="SMSSent" Type="DateTime" Precision="3" />
  19142. <Property Name="EmailSent" Type="DateTime" Precision="3" />
  19143. <Property Name="OptimisticLockField" Type="Int32" />
  19144. <Property Name="GCRecord" Type="Int32" />
  19145. <Property Name="InTransaction" Type="Boolean" />
  19146. <Property Name="VoucherRedeemed" Type="DateTime" Precision="3" />
  19147. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblEVoucher_SalesVenue" FromRole="TblEVoucher" ToRole="TblSalesVenue" />
  19148. <NavigationProperty Name="TblEVoucherCategory" Relationship="ProvisionStagingModel.FK_TblEVoucher_VoucherCategory" FromRole="TblEVoucher" ToRole="TblEVoucherCategory" />
  19149. <NavigationProperty Name="TblEVoucherSery" Relationship="ProvisionStagingModel.FK_TblEVoucher_VoucherSeries" FromRole="TblEVoucher" ToRole="TblEVoucherSery" />
  19150. <NavigationProperty Name="TblEVoucherType" Relationship="ProvisionStagingModel.FK_TblEVoucher_VoucherType" FromRole="TblEVoucher" ToRole="TblEVoucherType" />
  19151. <NavigationProperty Name="TblEVoucherNotes" Relationship="ProvisionStagingModel.FK_TblEVoucherNotes_TblEVoucher" FromRole="TblEVoucher" ToRole="TblEVoucherNote" />
  19152. </EntityType>
  19153. <EntityType Name="TblEVoucherCategory">
  19154. <Key>
  19155. <PropertyRef Name="OID" />
  19156. </Key>
  19157. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19158. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19159. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19160. <Property Name="Prefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19161. <Property Name="CategoryName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19162. <Property Name="Decommissioned" Type="Boolean" />
  19163. <Property Name="SalesVenue" Type="Int32" />
  19164. <Property Name="VoucherValue" Type="Decimal" Precision="19" Scale="4" />
  19165. <Property Name="SMSTemplate" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19166. <Property Name="FullName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19167. <Property Name="OptimisticLockField" Type="Int32" />
  19168. <Property Name="GCRecord" Type="Int32" />
  19169. <Property Name="IsCBC" Type="Boolean" />
  19170. <Property Name="HTMLTemplate" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19171. <Property Name="LogoURL" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19172. <Property Name="MainURL" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19173. <Property Name="BannerURL" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19174. <Property Name="Subject" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19175. <NavigationProperty Name="TblEVouchers" Relationship="ProvisionStagingModel.FK_TblEVoucher_VoucherCategory" FromRole="TblEVoucherCategory" ToRole="TblEVoucher" />
  19176. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblEVoucherCategory_SalesVenue" FromRole="TblEVoucherCategory" ToRole="TblSalesVenue" />
  19177. </EntityType>
  19178. <EntityType Name="TblEVoucherNote">
  19179. <Key>
  19180. <PropertyRef Name="OID" />
  19181. </Key>
  19182. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19183. <Property Name="TblEVoucher" Type="Int32" />
  19184. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19185. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19186. <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19187. <Property Name="OptimisticLockField" Type="Int32" />
  19188. <Property Name="GCRecord" Type="Int32" />
  19189. <NavigationProperty Name="TblEVoucher1" Relationship="ProvisionStagingModel.FK_TblEVoucherNotes_TblEVoucher" FromRole="TblEVoucherNote" ToRole="TblEVoucher" />
  19190. </EntityType>
  19191. <EntityType Name="TblEVoucherSery">
  19192. <Key>
  19193. <PropertyRef Name="OID" />
  19194. </Key>
  19195. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19196. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19197. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19198. <Property Name="SeriesName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19199. <Property Name="Prefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19200. <Property Name="OptimisticLockField" Type="Int32" />
  19201. <Property Name="GCRecord" Type="Int32" />
  19202. <NavigationProperty Name="TblEVouchers" Relationship="ProvisionStagingModel.FK_TblEVoucher_VoucherSeries" FromRole="TblEVoucherSery" ToRole="TblEVoucher" />
  19203. </EntityType>
  19204. <EntityType Name="TblEVoucherType">
  19205. <Key>
  19206. <PropertyRef Name="OID" />
  19207. </Key>
  19208. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19209. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19210. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19211. <Property Name="Type" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19212. <Property Name="Prefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19213. <Property Name="SalesVenue" Type="Int32" />
  19214. <Property Name="HTMLTemplate1" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19215. <Property Name="SMSTemplate" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19216. <Property Name="FullType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19217. <Property Name="RotationNumber" Type="Int32" />
  19218. <Property Name="RotationLinksTo" Type="Int32" />
  19219. <Property Name="CurrentRotation" Type="Int32" />
  19220. <Property Name="OptimisticLockField" Type="Int32" />
  19221. <Property Name="GCRecord" Type="Int32" />
  19222. <NavigationProperty Name="TblEVouchers" Relationship="ProvisionStagingModel.FK_TblEVoucher_VoucherType" FromRole="TblEVoucherType" ToRole="TblEVoucher" />
  19223. <NavigationProperty Name="TblEVoucherType1" Relationship="ProvisionStagingModel.FK_TblEVoucherType_RotationLinksTo" FromRole="TblEVoucherType" ToRole="TblEVoucherType1" />
  19224. <NavigationProperty Name="TblEVoucherType2" Relationship="ProvisionStagingModel.FK_TblEVoucherType_RotationLinksTo" FromRole="TblEVoucherType1" ToRole="TblEVoucherType" />
  19225. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblEVoucherType_SalesVenue" FromRole="TblEVoucherType" ToRole="TblSalesVenue" />
  19226. </EntityType>
  19227. <EntityType Name="TblEVoucherWeekType">
  19228. <Key>
  19229. <PropertyRef Name="OID" />
  19230. </Key>
  19231. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19232. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19233. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19234. <Property Name="Type" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19235. <Property Name="Prefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19236. <Property Name="OptimisticLockField" Type="Int32" />
  19237. <Property Name="GCRecord" Type="Int32" />
  19238. </EntityType>
  19239. <EntityType Name="TblExpenseCode">
  19240. <Key>
  19241. <PropertyRef Name="OID" />
  19242. </Key>
  19243. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19244. <Property Name="ExpenseCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19245. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19246. <Property Name="CreatedBy" Type="Guid" />
  19247. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19248. <Property Name="OptimisticLockField" Type="Int32" />
  19249. <Property Name="GCRecord" Type="Int32" />
  19250. <Property Name="BankingTransfer" Type="Boolean" />
  19251. <Property Name="PettyCashTransfer" Type="Boolean" />
  19252. <NavigationProperty Name="TblExpenseCodesCompanies" Relationship="ProvisionStagingModel.FK_TblExpenseCodesCompany_ExpenseCode" FromRole="TblExpenseCode" ToRole="TblExpenseCodesCompany" />
  19253. <NavigationProperty Name="TblExpenseCodeTransactionsDetails" Relationship="ProvisionStagingModel.FK_TblExpenseCodeTransactionsDetail_ExpenseCode" FromRole="TblExpenseCode" ToRole="TblExpenseCodeTransactionsDetail" />
  19254. <NavigationProperty Name="TblInvoiceLines" Relationship="ProvisionStagingModel.FK_TblInvoiceLines_ExpenseCode" FromRole="TblExpenseCode" ToRole="TblInvoiceLine" />
  19255. </EntityType>
  19256. <EntityType Name="TblExpenseCodesCompany">
  19257. <Key>
  19258. <PropertyRef Name="OID" />
  19259. </Key>
  19260. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19261. <Property Name="ExpenseCode" Type="Int32" />
  19262. <Property Name="Company" Type="Int16" />
  19263. <Property Name="BudgetThisYear" Type="Double" />
  19264. <Property Name="BudgetLastYear" Type="Double" />
  19265. <Property Name="BudgetNextYear" Type="Double" />
  19266. <Property Name="ActualThisYear" Type="Double" />
  19267. <Property Name="ActualLastYear" Type="Double" />
  19268. <Property Name="ActualNextYear" Type="Double" />
  19269. <Property Name="LastUpdated" Type="DateTime" Precision="3" />
  19270. <Property Name="ManualAuthorisePayment" Type="Boolean" />
  19271. <Property Name="OptimisticLockField" Type="Int32" />
  19272. <Property Name="GCRecord" Type="Int32" />
  19273. <Property Name="InterimActualAmount" Type="Double" />
  19274. <NavigationProperty Name="TblExpenseCode" Relationship="ProvisionStagingModel.FK_TblExpenseCodesCompany_ExpenseCode" FromRole="TblExpenseCodesCompany" ToRole="TblExpenseCode" />
  19275. <NavigationProperty Name="TblTransferFunds" Relationship="ProvisionStagingModel.FK_TblTransferFunds_FromExpenseCode" FromRole="TblExpenseCodesCompany" ToRole="TblTransferFund" />
  19276. <NavigationProperty Name="TblTransferFunds1" Relationship="ProvisionStagingModel.FK_TblTransferFunds_ToExpenseCode" FromRole="TblExpenseCodesCompany" ToRole="TblTransferFund" />
  19277. </EntityType>
  19278. <EntityType Name="TblExpenseCodeTransactionsDetail">
  19279. <Key>
  19280. <PropertyRef Name="OID" />
  19281. </Key>
  19282. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19283. <Property Name="DateEntered" Type="DateTime" Precision="3" />
  19284. <Property Name="EnteredBy" Type="Guid" />
  19285. <Property Name="ExpenseCodeTransactionsHeader" Type="Int32" />
  19286. <Property Name="ExpenseCode" Type="Int32" />
  19287. <Property Name="Amount" Type="Double" />
  19288. <Property Name="DocType" Type="Int32" />
  19289. <Property Name="OptimisticLockField" Type="Int32" />
  19290. <Property Name="GCRecord" Type="Int32" />
  19291. <Property Name="ReferenceKey" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19292. <Property Name="Comments" Type="String" MaxLength="3000" FixedLength="false" Unicode="true" />
  19293. <NavigationProperty Name="TblExpenseCode" Relationship="ProvisionStagingModel.FK_TblExpenseCodeTransactionsDetail_ExpenseCode" FromRole="TblExpenseCodeTransactionsDetail" ToRole="TblExpenseCode" />
  19294. <NavigationProperty Name="TblExpenseCodeTransactionsHeader" Relationship="ProvisionStagingModel.FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader" FromRole="TblExpenseCodeTransactionsDetail" ToRole="TblExpenseCodeTransactionsHeader" />
  19295. </EntityType>
  19296. <EntityType Name="TblExpenseCodeTransactionsHeader">
  19297. <Key>
  19298. <PropertyRef Name="OID" />
  19299. </Key>
  19300. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19301. <Property Name="RequestedBy" Type="Guid" />
  19302. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19303. <Property Name="Company" Type="Int32" />
  19304. <Property Name="EffectiveDate" Type="DateTime" Precision="3" />
  19305. <Property Name="OptimisticLockField" Type="Int32" />
  19306. <Property Name="GCRecord" Type="Int32" />
  19307. <NavigationProperty Name="TblExpenseCodeTransactionsDetails" Relationship="ProvisionStagingModel.FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader" FromRole="TblExpenseCodeTransactionsHeader" ToRole="TblExpenseCodeTransactionsDetail" />
  19308. </EntityType>
  19309. <EntityType Name="TblExternalResortCommission">
  19310. <Key>
  19311. <PropertyRef Name="OID" />
  19312. </Key>
  19313. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19314. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19315. <Property Name="Contract" Type="Int32" />
  19316. <Property Name="Resort" Type="Int32" />
  19317. <Property Name="Asset" Type="Int32" />
  19318. <Property Name="WeekModule" Type="Int32" />
  19319. <Property Name="TotalCommission" Type="Decimal" Precision="19" Scale="4" />
  19320. <Property Name="Week" Type="Int32" />
  19321. <Property Name="GenerationRule" Type="Int32" />
  19322. <Property Name="CapitalDebtor" Type="Int32" />
  19323. <Property Name="OptimisticLockField" Type="Int32" />
  19324. <Property Name="GCRecord" Type="Int32" />
  19325. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_CapitalDebtor" FromRole="TblExternalResortCommission" ToRole="TblDebtor" />
  19326. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_Resort" FromRole="TblExternalResortCommission" ToRole="TblResort" />
  19327. <NavigationProperty Name="TblExternalResortCommissionWeek" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_Week" FromRole="TblExternalResortCommission" ToRole="TblExternalResortCommissionWeek" />
  19328. <NavigationProperty Name="TblWeekModule" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_WeekModule" FromRole="TblExternalResortCommission" ToRole="TblWeekModule" />
  19329. <NavigationProperty Name="TblExternalResortCommissionTransactions" Relationship="ProvisionStagingModel.FK_TblExternalResortCommissionTransactions_Commission" FromRole="TblExternalResortCommission" ToRole="TblExternalResortCommissionTransaction" />
  19330. </EntityType>
  19331. <EntityType Name="TblExternalResortCommissionTransaction">
  19332. <Key>
  19333. <PropertyRef Name="OID" />
  19334. </Key>
  19335. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19336. <Property Name="Commission" Type="Int32" />
  19337. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19338. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19339. <Property Name="SalesPeriod" Type="Int32" />
  19340. <Property Name="PreviousDeveloper" Type="Decimal" Precision="19" Scale="4" />
  19341. <Property Name="CurrentDeveloper" Type="Decimal" Precision="19" Scale="4" />
  19342. <Property Name="OptimisticLockField" Type="Int32" />
  19343. <Property Name="GCRecord" Type="Int32" />
  19344. <NavigationProperty Name="TblExternalResortCommission" Relationship="ProvisionStagingModel.FK_TblExternalResortCommissionTransactions_Commission" FromRole="TblExternalResortCommissionTransaction" ToRole="TblExternalResortCommission" />
  19345. </EntityType>
  19346. <EntityType Name="TblExternalResortCommissionWeek">
  19347. <Key>
  19348. <PropertyRef Name="OID" />
  19349. </Key>
  19350. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19351. <Property Name="Resort" Type="Int32" />
  19352. <Property Name="WeekModule" Type="Int32" />
  19353. <Property Name="Asset" Type="Int32" />
  19354. <Property Name="TotalCommission" Type="Decimal" Precision="19" Scale="4" />
  19355. <Property Name="CommissionsPaid" Type="Decimal" Precision="19" Scale="4" />
  19356. <Property Name="OptimisticLockField" Type="Int32" />
  19357. <Property Name="GCRecord" Type="Int32" />
  19358. <NavigationProperty Name="TblExternalResortCommissions" Relationship="ProvisionStagingModel.FK_TblExternalResortCommission_Week" FromRole="TblExternalResortCommissionWeek" ToRole="TblExternalResortCommission" />
  19359. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblExternalResortCommissionWeeks_Resort" FromRole="TblExternalResortCommissionWeek" ToRole="TblResort" />
  19360. <NavigationProperty Name="TblWeekModule" Relationship="ProvisionStagingModel.FK_TblExternalResortCommissionWeeks_WeekModule" FromRole="TblExternalResortCommissionWeek" ToRole="TblWeekModule" />
  19361. </EntityType>
  19362. <EntityType Name="TblFeedbackType">
  19363. <Key>
  19364. <PropertyRef Name="OID" />
  19365. </Key>
  19366. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19367. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19368. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19369. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19370. <Property Name="DoNotCall" Type="Boolean" />
  19371. <Property Name="OptimisticLockField" Type="Int32" />
  19372. <Property Name="GCRecord" Type="Int32" />
  19373. <NavigationProperty Name="TblDebtorFeedbacks" Relationship="ProvisionStagingModel.FK_TblDebtorFeedback_Feedback" FromRole="TblFeedbackType" ToRole="TblDebtorFeedback" />
  19374. <NavigationProperty Name="TblLeadFeedbacks" Relationship="ProvisionStagingModel.FK_TblLeadFeedback_Feedback" FromRole="TblFeedbackType" ToRole="TblLeadFeedback" />
  19375. </EntityType>
  19376. <EntityType Name="TblFriend">
  19377. <Key>
  19378. <PropertyRef Name="OID" />
  19379. </Key>
  19380. <Property Name="OID" Type="Int32" Nullable="false" />
  19381. <Property Name="Arrived" Type="Boolean" />
  19382. <Property Name="Profile" Type="Int32" />
  19383. <NavigationProperty Name="TblReferalProfile" Relationship="ProvisionStagingModel.FK_TblFriends_Profile" FromRole="TblFriend" ToRole="TblReferalProfile" />
  19384. </EntityType>
  19385. <EntityType Name="TblGalvanizedDeal">
  19386. <Key>
  19387. <PropertyRef Name="OID" />
  19388. </Key>
  19389. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19390. <Property Name="AccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19391. <Property Name="MemberName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19392. <Property Name="WebcollectorKey" Type="Int32" />
  19393. <Property Name="ContractNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19394. <Property Name="Status" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19395. <Property Name="SubStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19396. <Property Name="CCDStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19397. <Property Name="ContractDate" Type="DateTime" Precision="3" />
  19398. <Property Name="InstalmentStartDate" Type="DateTime" Precision="3" />
  19399. <Property Name="StrikeDate" Type="Int32" />
  19400. <Property Name="DeferOccupation" Type="Boolean" />
  19401. <Property Name="AdminFee" Type="Decimal" Precision="19" Scale="4" />
  19402. <Property Name="SpouseName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19403. <Property Name="SpouseIDNUmber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19404. <Property Name="PrincipalName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19405. <Property Name="GalvanizedPresentValue" Type="Decimal" Precision="19" Scale="4" />
  19406. <Property Name="PrescribedCapital" Type="Decimal" Precision="19" Scale="4" />
  19407. <Property Name="CapitalOutstanding" Type="Decimal" Precision="19" Scale="4" />
  19408. <Property Name="Instalment" Type="Decimal" Precision="19" Scale="4" />
  19409. <Property Name="Receipts" Type="Decimal" Precision="19" Scale="4" />
  19410. <Property Name="OutstandingBalance" Type="Decimal" Precision="19" Scale="4" />
  19411. <Property Name="TotalArrears" Type="Decimal" Precision="19" Scale="4" />
  19412. <Property Name="GalvanizedInterestRate" Type="Decimal" Precision="19" Scale="4" />
  19413. <Property Name="AddendumUnits" Type="Int32" />
  19414. <Property Name="ClubUnits" Type="Int32" />
  19415. <Property Name="GalvanizedPeriod" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19416. <Property Name="EFTPayment" Type="Boolean" />
  19417. <Property Name="ManFeeEFTPayment" Type="Boolean" />
  19418. <Property Name="CollectorComments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19419. <Property Name="ApprovalComments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19420. <Property Name="DeclinedDate" Type="DateTime" Precision="3" />
  19421. <Property Name="CostPerUnit" Type="Decimal" Precision="19" Scale="4" />
  19422. <Property Name="DowngradeUnitsBy" Type="Int32" />
  19423. <Property Name="DowngradePeriod" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19424. <Property Name="DowngradeIntRate" Type="Decimal" Precision="19" Scale="4" />
  19425. <Property Name="DowngradeGalInstalment" Type="Decimal" Precision="19" Scale="4" />
  19426. <Property Name="GalInstalmentYR1" Type="Decimal" Precision="19" Scale="4" />
  19427. <Property Name="GalInstalmentYR2" Type="Decimal" Precision="19" Scale="4" />
  19428. <Property Name="GalInstalmentYR3" Type="Decimal" Precision="19" Scale="4" />
  19429. <Property Name="GalInstalmentYR4" Type="Decimal" Precision="19" Scale="4" />
  19430. <Property Name="GalInstalmentYR5" Type="Decimal" Precision="19" Scale="4" />
  19431. <Property Name="GalInstalmentYR6" Type="Decimal" Precision="19" Scale="4" />
  19432. <Property Name="GalInstalmentYR7" Type="Decimal" Precision="19" Scale="4" />
  19433. <Property Name="BubblePerc" Type="Decimal" Precision="19" Scale="4" />
  19434. <Property Name="BubblePercentageOverride" Type="Boolean" />
  19435. <Property Name="WithBubblePeriod" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19436. <Property Name="WithBubbleIntRate" Type="Decimal" Precision="19" Scale="4" />
  19437. <Property Name="WithBubbleGalInstalment" Type="Decimal" Precision="19" Scale="4" />
  19438. <Property Name="WithBubbleGalInstalmentYR1" Type="Decimal" Precision="19" Scale="4" />
  19439. <Property Name="WithBubbleGalInstalmentYR2" Type="Decimal" Precision="19" Scale="4" />
  19440. <Property Name="WithBubbleGalInstalmentYR3" Type="Decimal" Precision="19" Scale="4" />
  19441. <Property Name="WithBubbleGalInstalmentYR4" Type="Decimal" Precision="19" Scale="4" />
  19442. <Property Name="WithBubbleGalInstalmentYR5" Type="Decimal" Precision="19" Scale="4" />
  19443. <Property Name="WithBubbleGalInstalmentYR6" Type="Decimal" Precision="19" Scale="4" />
  19444. <Property Name="WithBubbleGalInstalmentYR7" Type="Decimal" Precision="19" Scale="4" />
  19445. <Property Name="SelectedOption" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19446. <Property Name="SelectedDate" Type="DateTime" Precision="3" />
  19447. <Property Name="DealStatus" Type="Int32" />
  19448. <Property Name="ApprovedDate" Type="DateTime" Precision="3" />
  19449. <Property Name="DocumentationSentDate" Type="DateTime" Precision="3" />
  19450. <Property Name="DocumentationReceivedDate" Type="DateTime" Precision="3" />
  19451. <Property Name="DetailsSentDate" Type="DateTime" Precision="3" />
  19452. <Property Name="PrevailSelected" Type="Boolean" />
  19453. <Property Name="PrevailPoints" Type="Int32" />
  19454. <Property Name="PrevailAddendumPoints" Type="Int32" />
  19455. <Property Name="PrevailFinitePoints" Type="Int32" />
  19456. <Property Name="PrevailTradePoints" Type="Int32" />
  19457. <Property Name="PrevailCurrentManagementFee" Type="Decimal" Precision="19" Scale="4" />
  19458. <Property Name="PrevailNewManagementFeeTotal" Type="Decimal" Precision="19" Scale="4" />
  19459. <Property Name="PrevailNewPoints" Type="Int32" />
  19460. <Property Name="Affordability" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19461. <Property Name="PrevailNewFee" Type="Decimal" Precision="19" Scale="4" />
  19462. <Property Name="PrevailCurrentYear" Type="Int32" />
  19463. <Property Name="PrevailAffordNewPoints" Type="Int32" />
  19464. <Property Name="AllocatedTo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19465. <Property Name="OptimisticLockField" Type="Int32" />
  19466. <Property Name="GCRecord" Type="Int32" />
  19467. <Property Name="Debtor" Type="Int32" />
  19468. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblGalvanizedDeals_Debtor" FromRole="TblGalvanizedDeal" ToRole="TblDebtor" />
  19469. <NavigationProperty Name="TblGalvanizedTransactions" Relationship="ProvisionStagingModel.FK_TblGalvanizedTransactions_AccountNumber" FromRole="TblGalvanizedDeal" ToRole="TblGalvanizedTransaction" />
  19470. </EntityType>
  19471. <EntityType Name="TblGalvanizedTransaction">
  19472. <Key>
  19473. <PropertyRef Name="Oid" />
  19474. </Key>
  19475. <Property Name="Oid" Type="Guid" Nullable="false" />
  19476. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19477. <Property Name="TransactionDate" Type="DateTime" Precision="3" />
  19478. <Property Name="Reference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19479. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  19480. <Property Name="AccountNumber" Type="Int32" />
  19481. <Property Name="WebcollectorKey" Type="Int32" />
  19482. <Property Name="OptimisticLockField" Type="Int32" />
  19483. <Property Name="GCRecord" Type="Int32" />
  19484. <NavigationProperty Name="TblGalvanizedDeal" Relationship="ProvisionStagingModel.FK_TblGalvanizedTransactions_AccountNumber" FromRole="TblGalvanizedTransaction" ToRole="TblGalvanizedDeal" />
  19485. </EntityType>
  19486. <EntityType Name="TblGroupCategory">
  19487. <Key>
  19488. <PropertyRef Name="OID" />
  19489. </Key>
  19490. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19491. <Property Name="Year" Type="Int32" />
  19492. <Property Name="GroupCategory" Type="Int32" />
  19493. <Property Name="OptimisticLockField" Type="Int32" />
  19494. <Property Name="GCRecord" Type="Int32" />
  19495. <Property Name="TblDebtorTranTypes" Type="Int32" />
  19496. <Property Name="TransferPaymentsBankAccount" Type="Int32" />
  19497. <Property Name="Club" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  19498. <Property Name="UsecategoryToRaiseManFees" Type="Boolean" />
  19499. <Property Name="UseCategoryToBalanceManFees" Type="Boolean" />
  19500. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblGroupCategory_TblDebtorTranTypes" FromRole="TblGroupCategory" ToRole="TblDebtorTranType" />
  19501. </EntityType>
  19502. <EntityType Name="TblGroupCodeCommissionType">
  19503. <Key>
  19504. <PropertyRef Name="Oid" />
  19505. </Key>
  19506. <Property Name="Oid" Type="Guid" Nullable="false" />
  19507. <Property Name="CommissionType" Type="Guid" />
  19508. <Property Name="Default" Type="Boolean" />
  19509. <Property Name="GroupCode" Type="Int32" />
  19510. <Property Name="OptimisticLockField" Type="Int32" />
  19511. <Property Name="GCRecord" Type="Int32" />
  19512. </EntityType>
  19513. <EntityType Name="TblHideDebtorTransaction">
  19514. <Key>
  19515. <PropertyRef Name="Oid" />
  19516. </Key>
  19517. <Property Name="Oid" Type="Guid" Nullable="false" />
  19518. <Property Name="CreatedBy" Type="Int32" />
  19519. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19520. <Property Name="Debtor" Type="Int32" />
  19521. <Property Name="OptimisticLockField" Type="Int32" />
  19522. <Property Name="GCRecord" Type="Int32" />
  19523. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblHideDebtorTransaction_Debtor" FromRole="TblHideDebtorTransaction" ToRole="TblDebtor" />
  19524. <NavigationProperty Name="TblDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_HideDebtorTransaction" FromRole="TblHideDebtorTransaction" ToRole="TblDebtorTransaction" />
  19525. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblHideDebtorTransaction_CreatedBy" FromRole="TblHideDebtorTransaction" ToRole="TblPersonnel" />
  19526. </EntityType>
  19527. <EntityType Name="TblHyphenBankResult">
  19528. <Key>
  19529. <PropertyRef Name="OID" />
  19530. </Key>
  19531. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19532. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19533. <Property Name="FACSCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19534. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19535. <Property Name="OptimisticLockField" Type="Int32" />
  19536. <Property Name="GCRecord" Type="Int32" />
  19537. </EntityType>
  19538. <EntityType Name="TblImportSource">
  19539. <Key>
  19540. <PropertyRef Name="OID" />
  19541. </Key>
  19542. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19543. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19544. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19545. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19546. <Property Name="OptimisticLockField" Type="Int32" />
  19547. <Property Name="GCRecord" Type="Int32" />
  19548. <Property Name="VisibleToTelemarketers" Type="Boolean" />
  19549. <Property Name="MinAllowedCallbackDays" Type="Int32" />
  19550. <Property Name="OldOid" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19551. <Property Name="Details" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19552. <NavigationProperty Name="TblLeads" Relationship="ProvisionStagingModel.FK_TblLeads_ImportSource" FromRole="TblImportSource" ToRole="TblLead" />
  19553. <NavigationProperty Name="TblOldImportSources" Relationship="ProvisionStagingModel.FK_TblOldImportSource_ImportSource" FromRole="TblImportSource" ToRole="TblOldImportSource" />
  19554. <NavigationProperty Name="TblPersonnelImportSources" Relationship="ProvisionStagingModel.FK_TblPersonnelImportSource_ImportSource" FromRole="TblImportSource" ToRole="TblPersonnelImportSource" />
  19555. <NavigationProperty Name="TblPersonnelPersonnel_TblImportSourceImportSource" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource" FromRole="TblImportSource" ToRole="TblPersonnelPersonnel_TblImportSourceImportSource" />
  19556. <NavigationProperty Name="TblSalesVenueImportSources" Relationship="ProvisionStagingModel.FK_TblSalesVenueImportSource_ImportSource" FromRole="TblImportSource" ToRole="TblSalesVenueImportSource" />
  19557. </EntityType>
  19558. <EntityType Name="TblIncomeBracket">
  19559. <Key>
  19560. <PropertyRef Name="OID" />
  19561. </Key>
  19562. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19563. <Property Name="IncomeBracket" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19564. <Property Name="OptimisticLockField" Type="Int32" />
  19565. <Property Name="GCRecord" Type="Int32" />
  19566. <Property Name="Randvalue" Type="Double" />
  19567. <NavigationProperty Name="TblLeads" Relationship="ProvisionStagingModel.FK_TblLeads_IncomeGroup" FromRole="TblIncomeBracket" ToRole="TblLead" />
  19568. <NavigationProperty Name="TblTimeOffNoVouchers" Relationship="ProvisionStagingModel.FK_TblTimeOffNoVouchers_IncomeBracket" FromRole="TblIncomeBracket" ToRole="TblTimeOffNoVoucher" />
  19569. <NavigationProperty Name="TblTimeOffVouchers" Relationship="ProvisionStagingModel.FK_TblTimeOffVouchers_IncomeBracket" FromRole="TblIncomeBracket" ToRole="TblTimeOffVoucher" />
  19570. </EntityType>
  19571. <EntityType Name="TblInsuranceReason">
  19572. <Key>
  19573. <PropertyRef Name="OID" />
  19574. </Key>
  19575. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19576. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19577. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19578. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19579. <Property Name="OptimisticLockField" Type="Int32" />
  19580. <Property Name="GCRecord" Type="Int32" />
  19581. <NavigationProperty Name="Transfigurations" Relationship="ProvisionStagingModel.FK_Transfigurations_InsuranceReason" FromRole="TblInsuranceReason" ToRole="Transfiguration" />
  19582. </EntityType>
  19583. <EntityType Name="TblInterestAdjustment">
  19584. <Key>
  19585. <PropertyRef Name="OID" />
  19586. </Key>
  19587. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19588. <Property Name="ValueStoredInTable" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19589. <Property Name="Interest" Type="Double" />
  19590. <Property Name="OptimisticLockField" Type="Int32" />
  19591. <Property Name="GCRecord" Type="Int32" />
  19592. </EntityType>
  19593. <EntityType Name="TblInterestRate">
  19594. <Key>
  19595. <PropertyRef Name="OID" />
  19596. </Key>
  19597. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19598. <Property Name="EffectiveDate" Type="DateTime" Precision="3" />
  19599. <Property Name="EffectiveRate" Type="Decimal" Precision="19" Scale="4" />
  19600. <Property Name="OptimisticLockField" Type="Int32" />
  19601. <Property Name="GCRecord" Type="Int32" />
  19602. <Property Name="CompanyActiveDate" Type="DateTime" Precision="3" />
  19603. </EntityType>
  19604. <EntityType Name="TblInvoiceLine">
  19605. <Key>
  19606. <PropertyRef Name="OID" />
  19607. </Key>
  19608. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19609. <Property Name="InvoiceNumber" Type="Int32" />
  19610. <Property Name="StockItem" Type="Int32" />
  19611. <Property Name="ExpenseCode" Type="Int32" />
  19612. <Property Name="Description" Type="String" MaxLength="300" FixedLength="false" Unicode="true" />
  19613. <Property Name="Quantity" Type="Double" />
  19614. <Property Name="UnitPrice" Type="Double" />
  19615. <Property Name="TaxCode" Type="Int32" />
  19616. <Property Name="OptimisticLockField" Type="Int32" />
  19617. <Property Name="GCRecord" Type="Int32" />
  19618. <Property Name="UseExtendedValue" Type="Boolean" />
  19619. <Property Name="TaxAmount" Type="Decimal" Precision="19" Scale="4" />
  19620. <Property Name="ExtendedAmount" Type="Double" />
  19621. <Property Name="ExtendedAmountExcl" Type="Double" />
  19622. <NavigationProperty Name="TblExpenseCode" Relationship="ProvisionStagingModel.FK_TblInvoiceLines_ExpenseCode" FromRole="TblInvoiceLine" ToRole="TblExpenseCode" />
  19623. <NavigationProperty Name="TblInvoice" Relationship="ProvisionStagingModel.FK_TblInvoiceLines_InvoiceNumber" FromRole="TblInvoiceLine" ToRole="TblInvoice" />
  19624. </EntityType>
  19625. <EntityType Name="TblInvoice">
  19626. <Key>
  19627. <PropertyRef Name="OID" />
  19628. </Key>
  19629. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19630. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19631. <Property Name="CreatedBy" Type="Guid" />
  19632. <Property Name="Customer" Type="Int32" />
  19633. <Property Name="InvoiceDate" Type="DateTime" Precision="3" />
  19634. <Property Name="Company" Type="Int32" />
  19635. <Property Name="Resort" Type="Int32" />
  19636. <Property Name="ReferenceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19637. <Property Name="Comments" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
  19638. <Property Name="DeliveryDate" Type="DateTime" Precision="3" />
  19639. <Property Name="DeliveryAddress" Type="Guid" />
  19640. <Property Name="BankingDetails" Type="Int32" />
  19641. <Property Name="DateInvoicePrinted" Type="DateTime" Precision="3" />
  19642. <Property Name="Recurring" Type="Boolean" />
  19643. <Property Name="DateLastInvoiced" Type="DateTime" Precision="3" />
  19644. <Property Name="NumberOfMonths" Type="Int16" />
  19645. <Property Name="RecurringFrom" Type="DateTime" Precision="3" />
  19646. <Property Name="OptimisticLockField" Type="Int32" />
  19647. <Property Name="GCRecord" Type="Int32" />
  19648. <Property Name="TotalAmount" Type="Decimal" Precision="19" Scale="4" />
  19649. <Property Name="TotalAmountExcl" Type="Decimal" Precision="19" Scale="4" />
  19650. <Property Name="TotalTaxAmount" Type="Decimal" Precision="19" Scale="4" />
  19651. <Property Name="InvoiceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19652. <Property Name="DatePaid" Type="DateTime" Precision="3" />
  19653. <NavigationProperty Name="TblInvoiceLines" Relationship="ProvisionStagingModel.FK_TblInvoiceLines_InvoiceNumber" FromRole="TblInvoice" ToRole="TblInvoiceLine" />
  19654. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblInvoices_Resort" FromRole="TblInvoice" ToRole="TblResort" />
  19655. </EntityType>
  19656. <EntityType Name="TblJournalBatch">
  19657. <Key>
  19658. <PropertyRef Name="OID" />
  19659. </Key>
  19660. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19661. <Property Name="DateCaptured" Type="DateTime" Precision="3" />
  19662. <Property Name="CapturedBy" Type="Guid" />
  19663. <Property Name="PostedToDebtors" Type="DateTime" Precision="3" />
  19664. <Property Name="BatchAmount" Type="Decimal" Precision="19" Scale="4" />
  19665. <Property Name="TransactionType" Type="Int32" />
  19666. <Property Name="AuthoriseBy" Type="Guid" />
  19667. <Property Name="FullyAuthorised" Type="Boolean" />
  19668. <Property Name="CalculatedTotal" Type="Decimal" Precision="19" Scale="4" />
  19669. <Property Name="OptimisticLockField" Type="Int32" />
  19670. <Property Name="GCRecord" Type="Int32" />
  19671. <Property Name="BankAccounts" Type="Int32" />
  19672. <Property Name="Declined" Type="Boolean" />
  19673. <Property Name="Checked" Type="Boolean" />
  19674. <Property Name="CreatedNotificationSend" Type="Boolean" />
  19675. <Property Name="CancellationSettlement" Type="Int32" />
  19676. <Property Name="Captured" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19677. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblJournalBatch_TransactionType" FromRole="TblJournalBatch" ToRole="TblDebtorTranType" />
  19678. <NavigationProperty Name="TblJournalLines" Relationship="ProvisionStagingModel.FK_TblJournalLines_JournalBatch" FromRole="TblJournalBatch" ToRole="TblJournalLine" />
  19679. </EntityType>
  19680. <EntityType Name="TblJournalLineCatBreakdown">
  19681. <Key>
  19682. <PropertyRef Name="Oid" />
  19683. </Key>
  19684. <Property Name="Oid" Type="Guid" Nullable="false" />
  19685. <Property Name="Category" Type="Int32" />
  19686. <Property Name="AmountRaised" Type="Decimal" Precision="19" Scale="4" />
  19687. <Property Name="AmountAllocated" Type="Decimal" Precision="19" Scale="4" />
  19688. <Property Name="JournalLine" Type="Int32" />
  19689. <Property Name="OptimisticLockField" Type="Int32" />
  19690. <Property Name="GCRecord" Type="Int32" />
  19691. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19692. <NavigationProperty Name="TblJournalLine" Relationship="ProvisionStagingModel.FK_TblJournalLineCatBreakdown_JournalLine" FromRole="TblJournalLineCatBreakdown" ToRole="TblJournalLine" />
  19693. </EntityType>
  19694. <EntityType Name="TblJournalLine">
  19695. <Key>
  19696. <PropertyRef Name="OID" />
  19697. </Key>
  19698. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19699. <Property Name="JournalBatch" Type="Int32" />
  19700. <Property Name="Debtor" Type="Int32" />
  19701. <Property Name="Amount" Type="Decimal" Precision="19" Scale="4" />
  19702. <Property Name="Comments" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
  19703. <Property Name="EffectiveDate" Type="DateTime" Precision="3" />
  19704. <Property Name="ReferenceNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19705. <Property Name="OptimisticLockField" Type="Int32" />
  19706. <Property Name="GCRecord" Type="Int32" />
  19707. <Property Name="PayType" Type="Int32" />
  19708. <Property Name="CapitalAllocation" Type="Decimal" Precision="19" Scale="4" />
  19709. <Property Name="FeesAllocation" Type="Decimal" Precision="19" Scale="4" />
  19710. <Property Name="InterestAllocation" Type="Decimal" Precision="19" Scale="4" />
  19711. <Property Name="DebtorCapital" Type="Decimal" Precision="19" Scale="4" />
  19712. <Property Name="DebtorFees" Type="Decimal" Precision="19" Scale="4" />
  19713. <Property Name="DebtorInterest" Type="Decimal" Precision="19" Scale="4" />
  19714. <Property Name="ToAccount" Type="Int32" />
  19715. <Property Name="LineTransactionType" Type="Int32" />
  19716. <Property Name="BankAccount" Type="Int32" />
  19717. <Property Name="IsMultiReversal" Type="Boolean" />
  19718. <Property Name="Current" Type="Decimal" Precision="19" Scale="4" />
  19719. <Property Name="Days30" Type="Decimal" Precision="19" Scale="4" />
  19720. <Property Name="Days60" Type="Decimal" Precision="19" Scale="4" />
  19721. <Property Name="Days90" Type="Decimal" Precision="19" Scale="4" />
  19722. <Property Name="Days120" Type="Decimal" Precision="19" Scale="4" />
  19723. <Property Name="Days150" Type="Decimal" Precision="19" Scale="4" />
  19724. <Property Name="Days180" Type="Decimal" Precision="19" Scale="4" />
  19725. <Property Name="DeltaCurrent" Type="Decimal" Precision="19" Scale="4" />
  19726. <Property Name="DeltaDays30" Type="Decimal" Precision="19" Scale="4" />
  19727. <Property Name="DeltaDays60" Type="Decimal" Precision="19" Scale="4" />
  19728. <Property Name="DeltaDays90" Type="Decimal" Precision="19" Scale="4" />
  19729. <Property Name="DeltaDays120" Type="Decimal" Precision="19" Scale="4" />
  19730. <Property Name="DeltaDays150" Type="Decimal" Precision="19" Scale="4" />
  19731. <Property Name="DeltaDays180" Type="Decimal" Precision="19" Scale="4" />
  19732. <Property Name="Override" Type="Boolean" />
  19733. <Property Name="ManagementFeeYear" Type="Int32" />
  19734. <Property Name="Instalment" Type="Decimal" Precision="19" Scale="4" />
  19735. <Property Name="DeltaInstalment" Type="Decimal" Precision="19" Scale="4" />
  19736. <Property Name="SupportingDocument" Type="Int32" />
  19737. <Property Name="Posted" Type="Boolean" />
  19738. <Property Name="ChequeNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19739. <Property Name="TrfValidate" Type="Boolean" />
  19740. <Property Name="CancellationJournal" Type="Boolean" />
  19741. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblJournalLines_Debtor" FromRole="TblJournalLine" ToRole="TblDebtor" />
  19742. <NavigationProperty Name="TblDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_AllJournalLines" FromRole="TblJournalLine" ToRole="TblDebtorTransaction" />
  19743. <NavigationProperty Name="TblDebtorTransactions1" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_TblJournalLines" FromRole="TblJournalLine" ToRole="TblDebtorTransaction" />
  19744. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblJournalLines_LineTransactionType" FromRole="TblJournalLine" ToRole="TblDebtorTranType" />
  19745. <NavigationProperty Name="TblJournalBatch" Relationship="ProvisionStagingModel.FK_TblJournalLines_JournalBatch" FromRole="TblJournalLine" ToRole="TblJournalBatch" />
  19746. <NavigationProperty Name="TblJournalLineCatBreakdowns" Relationship="ProvisionStagingModel.FK_TblJournalLineCatBreakdown_JournalLine" FromRole="TblJournalLine" ToRole="TblJournalLineCatBreakdown" />
  19747. <NavigationProperty Name="TblPaymentType" Relationship="ProvisionStagingModel.FK_TblJournalLines_PayType" FromRole="TblJournalLine" ToRole="TblPaymentType" />
  19748. <NavigationProperty Name="TblJournalLineTransactions" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_JournalLine" FromRole="TblJournalLine" ToRole="TblJournalLineTransaction" />
  19749. <NavigationProperty Name="TblSuspenseTransactions" Relationship="ProvisionStagingModel.FK_TblSuspenseTransaction_JournalLine" FromRole="TblJournalLine" ToRole="TblSuspenseTransaction" />
  19750. </EntityType>
  19751. <EntityType Name="TblJournalLineTransaction">
  19752. <Key>
  19753. <PropertyRef Name="OID" />
  19754. </Key>
  19755. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19756. <Property Name="JournalLine" Type="Int32" />
  19757. <Property Name="OriginalTransaction" Type="Int32" />
  19758. <Property Name="TotalAmountReversedSoFar" Type="Decimal" Precision="19" Scale="4" />
  19759. <Property Name="Reverse" Type="Boolean" />
  19760. <Property Name="AmountToReverse" Type="Decimal" Precision="19" Scale="4" />
  19761. <Property Name="OptimisticLockField" Type="Int32" />
  19762. <Property Name="GCRecord" Type="Int32" />
  19763. <Property Name="IsReversal" Type="Boolean" />
  19764. <Property Name="JournalTransStatus" Type="Int32" />
  19765. <Property Name="AmountOfJournalTrans" Type="Decimal" Precision="19" Scale="4" />
  19766. <Property Name="NonReverseTranTypes" Type="Int32" />
  19767. <Property Name="TranType" Type="Int32" />
  19768. <Property Name="DeltaInstalment" Type="Decimal" Precision="19" Scale="4" />
  19769. <Property Name="DeltaCurrent" Type="Decimal" Precision="19" Scale="4" />
  19770. <Property Name="DeltaDays30" Type="Decimal" Precision="19" Scale="4" />
  19771. <Property Name="DeltaDays60" Type="Decimal" Precision="19" Scale="4" />
  19772. <Property Name="DeltaDays90" Type="Decimal" Precision="19" Scale="4" />
  19773. <Property Name="DeltaDays120" Type="Decimal" Precision="19" Scale="4" />
  19774. <Property Name="DeltaDays150" Type="Decimal" Precision="19" Scale="4" />
  19775. <Property Name="DeltaDays180" Type="Decimal" Precision="19" Scale="4" />
  19776. <Property Name="CapitalAllocated" Type="Decimal" Precision="19" Scale="4" />
  19777. <Property Name="FeesAllocated" Type="Decimal" Precision="19" Scale="4" />
  19778. <Property Name="InterestAllocated" Type="Decimal" Precision="19" Scale="4" />
  19779. <NavigationProperty Name="TblDebtorTransaction" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_OriginalTransaction" FromRole="TblJournalLineTransaction" ToRole="TblDebtorTransaction" />
  19780. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_NonReverseTranTypes" FromRole="TblJournalLineTransaction" ToRole="TblDebtorTranType" />
  19781. <NavigationProperty Name="TblDebtorTranType1" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_TranType" FromRole="TblJournalLineTransaction" ToRole="TblDebtorTranType" />
  19782. <NavigationProperty Name="TblJournalLine" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactions_JournalLine" FromRole="TblJournalLineTransaction" ToRole="TblJournalLine" />
  19783. <NavigationProperty Name="TblJournalLineTransactionsCatBreakdowns" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction" FromRole="TblJournalLineTransaction" ToRole="TblJournalLineTransactionsCatBreakdown" />
  19784. </EntityType>
  19785. <EntityType Name="TblJournalLineTransactionsCatBreakdown">
  19786. <Key>
  19787. <PropertyRef Name="Oid" />
  19788. </Key>
  19789. <Property Name="Oid" Type="Guid" Nullable="false" />
  19790. <Property Name="Category" Type="Int32" />
  19791. <Property Name="AmountRaised" Type="Decimal" Precision="19" Scale="4" />
  19792. <Property Name="JournalLineTransaction" Type="Int32" />
  19793. <Property Name="AmountAllocated" Type="Decimal" Precision="19" Scale="4" />
  19794. <Property Name="OptimisticLockField" Type="Int32" />
  19795. <Property Name="GCRecord" Type="Int32" />
  19796. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19797. <NavigationProperty Name="TblJournalLineTransaction" Relationship="ProvisionStagingModel.FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction" FromRole="TblJournalLineTransactionsCatBreakdown" ToRole="TblJournalLineTransaction" />
  19798. </EntityType>
  19799. <EntityType Name="TblLeadCategory">
  19800. <Key>
  19801. <PropertyRef Name="OID" />
  19802. </Key>
  19803. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19804. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19805. <Property Name="OptimisticLockField" Type="Int32" />
  19806. <Property Name="GCRecord" Type="Int32" />
  19807. </EntityType>
  19808. <EntityType Name="TblLeadFeedback">
  19809. <Key>
  19810. <PropertyRef Name="OID" />
  19811. </Key>
  19812. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19813. <Property Name="Date" Type="DateTime" Precision="3" />
  19814. <Property Name="Telemarketer" Type="Int32" />
  19815. <Property Name="Feedback" Type="Int32" />
  19816. <Property Name="Notes" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  19817. <Property Name="LeadsKey" Type="Int32" />
  19818. <Property Name="OptimisticLockField" Type="Int32" />
  19819. <Property Name="GCRecord" Type="Int32" />
  19820. <Property Name="TFGLeadsKey" Type="Int32" />
  19821. <NavigationProperty Name="TblFeedbackType" Relationship="ProvisionStagingModel.FK_TblLeadFeedback_Feedback" FromRole="TblLeadFeedback" ToRole="TblFeedbackType" />
  19822. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblLeadFeedback_Telemarketer" FromRole="TblLeadFeedback" ToRole="TblPersonnel" />
  19823. <NavigationProperty Name="TblTFGLead" Relationship="ProvisionStagingModel.FK_TblLeadFeedback_TFGLeadsKey" FromRole="TblLeadFeedback" ToRole="TblTFGLead" />
  19824. </EntityType>
  19825. <EntityType Name="TblLead">
  19826. <Key>
  19827. <PropertyRef Name="LeadNum" />
  19828. </Key>
  19829. <Property Name="LeadNum" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19830. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  19831. <Property Name="FirstName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19832. <Property Name="Initials" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  19833. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19834. <Property Name="IDNumber" Type="String" MaxLength="13" FixedLength="false" Unicode="true" />
  19835. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  19836. <Property Name="MaritalStatus" Type="Int32" />
  19837. <Property Name="Cellphone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19838. <Property Name="WorkPhone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19839. <Property Name="HomePhone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19840. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19841. <Property Name="SpouseTitle" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  19842. <Property Name="SpouseFirstName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19843. <Property Name="SpouseInitials" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  19844. <Property Name="SpouseSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19845. <Property Name="SpouseIDNumber" Type="String" MaxLength="13" FixedLength="false" Unicode="true" />
  19846. <Property Name="SpouseDateOfBirth" Type="DateTime" Precision="3" />
  19847. <Property Name="AddressLine1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19848. <Property Name="AddressLine2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19849. <Property Name="AddressLine3" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19850. <Property Name="AddressLine4" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19851. <Property Name="AddressLine5" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19852. <Property Name="LastCalled" Type="DateTime" Precision="3" />
  19853. <Property Name="ConsentToCall" Type="DateTime" Precision="3" />
  19854. <Property Name="DoNotContact" Type="Boolean" />
  19855. <Property Name="OwnedBy" Type="Guid" />
  19856. <Property Name="AllocatedTo" Type="Guid" />
  19857. <Property Name="AllocatedDateTime" Type="DateTime" Precision="3" />
  19858. <Property Name="LeadDate" Type="DateTime" Precision="3" />
  19859. <Property Name="OPCRef" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19860. <Property Name="OPCDate" Type="DateTime" Precision="3" />
  19861. <Property Name="OPCCompany" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19862. <Property Name="ImportSource" Type="Int32" />
  19863. <Property Name="OptimisticLockField" Type="Int32" />
  19864. <Property Name="FaxNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19865. <Property Name="Region" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19866. <Property Name="LastNumberCalled" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19867. <Property Name="Language" Type="Int32" />
  19868. <Property Name="Age" Type="Int16" />
  19869. <Property Name="Occupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19870. <Property Name="SpouseOccupation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19871. <Property Name="RegularHolidays" Type="Boolean" />
  19872. <Property Name="TotalHolidayDuration" Type="Int32" />
  19873. <Property Name="LocalHolidayDuration" Type="Int32" />
  19874. <Property Name="IntHolidayDuration" Type="Int32" />
  19875. <Property Name="DreamDestination" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19876. <Property Name="LastHolidayDestination" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19877. <Property Name="LastHolidayYear" Type="Int32" />
  19878. <Property Name="AgeBand" Type="Int32" />
  19879. <Property Name="LeadID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19880. <Property Name="IncomeGroup" Type="Int32" />
  19881. <Property Name="Ethnicity" Type="Int32" />
  19882. <Property Name="BatchNumber" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  19883. <Property Name="NotQualified" Type="Boolean" />
  19884. <Property Name="VoucherNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19885. <Property Name="ReferredBy" Type="Int32" />
  19886. <Property Name="Surveyor" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19887. <Property Name="Comments" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
  19888. <Property Name="SurveyedBefore" Type="Boolean" />
  19889. <Property Name="SurveyedByWhom" Type="String" MaxLength="64" FixedLength="false" Unicode="true" />
  19890. <Property Name="PriorPresentedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19891. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  19892. <Property Name="CreatedBy" Type="Guid" />
  19893. <Property Name="DuplicateLead" Type="Boolean" />
  19894. <Property Name="LastShow" Type="DateTime" Precision="3" />
  19895. <Property Name="CTBatchNumber" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  19896. <Property Name="SpecialTMAllocation" Type="Guid" />
  19897. <Property Name="CallReschedule" Type="DateTime" Precision="3" />
  19898. <Property Name="CreditCard" Type="Boolean" />
  19899. <Property Name="ImportSourceText" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19900. <Property Name="RegionText" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19901. <Property Name="HardBlock" Type="Boolean" />
  19902. <Property Name="SurveyorName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19903. <Property Name="CallStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19904. <Property Name="SalesRegion" Type="Int32" />
  19905. <Property Name="Countryname" Type="Guid" />
  19906. <Property Name="MostRecentRanking" Type="Int32" />
  19907. <Property Name="SoftblockDateTime" Type="DateTime" Precision="3" />
  19908. <Property Name="SoftBlock" Type="Boolean" />
  19909. <Property Name="TimeOffLead" Type="Boolean" />
  19910. <Property Name="TimeOffVoucherNumber" Type="Int32" />
  19911. <Property Name="TimeOffNonVoucherNumber" Type="Int32" />
  19912. <Property Name="OccupationNew" Type="Guid" />
  19913. <Property Name="SpouseOccupationNew" Type="Guid" />
  19914. <Property Name="HolidayInNigeria" Type="Int32" />
  19915. <Property Name="HolidayInternational" Type="Int32" />
  19916. <Property Name="UseCreditCard" Type="Boolean" />
  19917. <Property Name="UseCheque" Type="Boolean" />
  19918. <Property Name="UseATM" Type="Boolean" />
  19919. <Property Name="OPCLocation" Type="Int32" />
  19920. <Property Name="MarketingCampaign" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19921. <Property Name="CanMakeBooking" Type="Boolean" />
  19922. <NavigationProperty Name="TblEthnicity" Relationship="ProvisionStagingModel.FK_TblLeads_Ethnicity" FromRole="TblLead" ToRole="TblEthnicity" />
  19923. <NavigationProperty Name="TblImportSource" Relationship="ProvisionStagingModel.FK_TblLeads_ImportSource" FromRole="TblLead" ToRole="TblImportSource" />
  19924. <NavigationProperty Name="TblIncomeBracket" Relationship="ProvisionStagingModel.FK_TblLeads_IncomeGroup" FromRole="TblLead" ToRole="TblIncomeBracket" />
  19925. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblLeads_SpouseTitle" FromRole="TblLead" ToRole="Title" />
  19926. <NavigationProperty Name="TblTimeOffNoVoucher" Relationship="ProvisionStagingModel.FK_TblLeads_TimeOffNonVoucherNumber" FromRole="TblLead" ToRole="TblTimeOffNoVoucher" />
  19927. <NavigationProperty Name="TblTimeOffVoucher" Relationship="ProvisionStagingModel.FK_TblLeads_TimeOffVoucherNumber" FromRole="TblLead" ToRole="TblTimeOffVoucher" />
  19928. <NavigationProperty Name="Title2" Relationship="ProvisionStagingModel.FK_TblLeads_Title" FromRole="TblLead" ToRole="Title" />
  19929. </EntityType>
  19930. <EntityType Name="TblLeadsCallHistory">
  19931. <Key>
  19932. <PropertyRef Name="OID" />
  19933. </Key>
  19934. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19935. <Property Name="CallFromNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19936. <Property Name="CallToNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19937. <Property Name="DateTimeCalled" Type="DateTime" Precision="3" />
  19938. <Property Name="CallDuration" Type="Int32" />
  19939. <Property Name="BillSeconds" Type="Int32" />
  19940. <Property Name="Disposition" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19941. <Property Name="AsteriskIP" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19942. <Property Name="AsteriskChannel" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19943. <Property Name="Telemarketer" Type="Int32" />
  19944. <Property Name="LeadsKey" Type="Int32" />
  19945. <Property Name="OptimisticLockField" Type="Int32" />
  19946. <Property Name="GCRecord" Type="Int32" />
  19947. <Property Name="Recording" Type="Int32" />
  19948. <Property Name="Podmanager" Type="Int32" />
  19949. <Property Name="TelemarketerOffice" Type="Int32" />
  19950. <Property Name="TelemarketerCompany" Type="Int16" />
  19951. <Property Name="RecordingUpdated" Type="DateTime" Precision="3" />
  19952. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblLeadsCallHistory_Podmanager" FromRole="TblLeadsCallHistory" ToRole="TblPersonnel" />
  19953. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblLeadsCallHistory_Telemarketer" FromRole="TblLeadsCallHistory" ToRole="TblPersonnel" />
  19954. <NavigationProperty Name="TblTelemarketerOffice" Relationship="ProvisionStagingModel.FK_TblLeadsCallHistory_TelemarketerOffice" FromRole="TblLeadsCallHistory" ToRole="TblTelemarketerOffice" />
  19955. </EntityType>
  19956. <EntityType Name="TblLeaseFactor">
  19957. <Key>
  19958. <PropertyRef Name="Oid" />
  19959. </Key>
  19960. <Property Name="Oid" Type="Guid" Nullable="false" />
  19961. <Property Name="FinancePeriod" Type="Int32" />
  19962. <Property Name="Factor" Type="Decimal" Precision="19" Scale="4" />
  19963. <Property Name="Escalation" Type="Decimal" Precision="19" Scale="4" />
  19964. <Property Name="ContractType" Type="Int32" />
  19965. <Property Name="OptimisticLockField" Type="Int32" />
  19966. <Property Name="GCRecord" Type="Int32" />
  19967. </EntityType>
  19968. <EntityType Name="TblLevelBasedCommPerc">
  19969. <Key>
  19970. <PropertyRef Name="Oid" />
  19971. </Key>
  19972. <Property Name="Oid" Type="Guid" Nullable="false" />
  19973. <Property Name="DepositLevel" Type="Guid" />
  19974. <Property Name="Country" Type="Guid" />
  19975. <Property Name="PurchaseLevel" Type="Int32" />
  19976. <Property Name="CommisionPercentage" Type="Decimal" Precision="19" Scale="4" />
  19977. <Property Name="OptimisticLockField" Type="Int32" />
  19978. <Property Name="GCRecord" Type="Int32" />
  19979. </EntityType>
  19980. <EntityType Name="TblLevyConsoftReceiptQuery">
  19981. <Key>
  19982. <PropertyRef Name="OID" />
  19983. </Key>
  19984. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  19985. <Property Name="MemNO" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19986. <Property Name="ContNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19987. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19988. <Property Name="TranDate" Type="DateTime" Precision="3" />
  19989. <Property Name="TranType" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19990. <Property Name="RecNO" Type="Int32" />
  19991. <Property Name="combinedkey" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  19992. <Property Name="AmountRec" Type="Decimal" Precision="19" Scale="4" />
  19993. <Property Name="BalanceAmount" Type="Decimal" Precision="19" Scale="4" />
  19994. <Property Name="BankNumber" Type="Int32" />
  19995. <Property Name="OptimisticLockField" Type="Int32" />
  19996. <Property Name="GCRecord" Type="Int32" />
  19997. </EntityType>
  19998. <EntityType Name="TblLogo">
  19999. <Key>
  20000. <PropertyRef Name="OID" />
  20001. </Key>
  20002. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20003. <Property Name="StartDate" Type="DateTime" Precision="3" />
  20004. <Property Name="EndDate" Type="DateTime" Precision="3" />
  20005. <Property Name="MenuImage" Type="Int32" />
  20006. <Property Name="LogonImage" Type="Int32" />
  20007. <Property Name="ForAllYears" Type="Boolean" />
  20008. <Property Name="OptimisticLockField" Type="Int32" />
  20009. <Property Name="GCRecord" Type="Int32" />
  20010. </EntityType>
  20011. <EntityType Name="TblManagementFeeInstalment">
  20012. <Key>
  20013. <PropertyRef Name="OID" />
  20014. </Key>
  20015. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20016. <Property Name="Debtor" Type="Int32" />
  20017. <Property Name="StatementPeriodInt" Type="Int32" />
  20018. <Property Name="InstalmentAmount" Type="Decimal" Precision="19" Scale="4" />
  20019. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20020. <Property Name="InstalmentRaised" Type="Boolean" />
  20021. <Property Name="ManagementFeeYear" Type="Int32" />
  20022. <Property Name="OptimisticLockField" Type="Int32" />
  20023. <Property Name="GCRecord" Type="Int32" />
  20024. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblManagementFeeInstalments_Debtor" FromRole="TblManagementFeeInstalment" ToRole="TblDebtor" />
  20025. </EntityType>
  20026. <EntityType Name="TblManagementFeeOverride">
  20027. <Key>
  20028. <PropertyRef Name="OID" />
  20029. </Key>
  20030. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20031. <Property Name="Debtor" Type="Int32" />
  20032. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20033. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20034. <Property Name="PaymentType" Type="Int32" />
  20035. <Property Name="DateOfPayment" Type="DateTime" Precision="3" />
  20036. <Property Name="PaymentAmount" Type="Decimal" Precision="19" Scale="4" />
  20037. <Property Name="ManagementFeeYear" Type="Int32" />
  20038. <Property Name="NumberOfMonths" Type="Int32" />
  20039. <Property Name="OptimisticLockField" Type="Int32" />
  20040. <Property Name="GCRecord" Type="Int32" />
  20041. <Property Name="FixedArrangement" Type="Boolean" />
  20042. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblManagementFeeOverride_Debtor" FromRole="TblManagementFeeOverride" ToRole="TblDebtor" />
  20043. <NavigationProperty Name="TblPaymentType" Relationship="ProvisionStagingModel.FK_TblManagementFeeOverride_PaymentType" FromRole="TblManagementFeeOverride" ToRole="TblPaymentType" />
  20044. </EntityType>
  20045. <EntityType Name="TblManagementFeesDocument">
  20046. <Key>
  20047. <PropertyRef Name="OID" />
  20048. </Key>
  20049. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20050. <Property Name="Debtor" Type="Int32" />
  20051. <Property Name="Date" Type="DateTime" Precision="3" />
  20052. <Property Name="Content" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20053. <Property Name="DebtorOtherFeesDocument" Type="Int32" />
  20054. <Property Name="OptimisticLockField" Type="Int32" />
  20055. <Property Name="GCRecord" Type="Int32" />
  20056. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblManagementFeesDocuments_Debtor" FromRole="TblManagementFeesDocument" ToRole="TblDebtor" />
  20057. <NavigationProperty Name="TblDebtor1" Relationship="ProvisionStagingModel.FK_TblManagementFeesDocuments_DebtorOtherFeesDocument" FromRole="TblManagementFeesDocument" ToRole="TblDebtor" />
  20058. </EntityType>
  20059. <EntityType Name="TblManagementFeesToAdjust">
  20060. <Key>
  20061. <PropertyRef Name="OID" />
  20062. </Key>
  20063. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20064. <Property Name="ManagementFeeYear" Type="Int32" />
  20065. <Property Name="EstimatedAmount" Type="Decimal" Precision="19" Scale="4" />
  20066. <Property Name="ActualAmount" Type="Decimal" Precision="19" Scale="4" />
  20067. <Property Name="Resort" Type="Int32" />
  20068. <Property Name="Status" Type="Int32" />
  20069. <Property Name="Error" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
  20070. <Property Name="DebtorTransaction" Type="Int32" />
  20071. <Property Name="ActualAmountAdjusted" Type="Decimal" Precision="19" Scale="4" />
  20072. <Property Name="OptimisticLockField" Type="Int32" />
  20073. <Property Name="GCRecord" Type="Int32" />
  20074. <NavigationProperty Name="TblDebtorTransaction" Relationship="ProvisionStagingModel.FK_TblManagementFeesToAdjust_DebtorTransaction" FromRole="TblManagementFeesToAdjust" ToRole="TblDebtorTransaction" />
  20075. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblManagementFeesToAdjust_Resort" FromRole="TblManagementFeesToAdjust" ToRole="TblResort" />
  20076. </EntityType>
  20077. <EntityType Name="TblMarketingCampaign">
  20078. <Key>
  20079. <PropertyRef Name="OID" />
  20080. </Key>
  20081. <Property Name="OID" Type="Int32" Nullable="false" />
  20082. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20083. <Property Name="CreatedDate" Type="DateTime" Precision="3" />
  20084. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20085. <Property Name="Brand" Type="Int32" />
  20086. <Property Name="Partner" Type="Int32" />
  20087. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20088. <Property Name="LastVoucherNumberUsed" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20089. <Property Name="Prefix" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20090. <Property Name="SmsUser" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20091. <Property Name="SmsPassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20092. <Property Name="TimeSpesificAvailability" Type="Boolean" />
  20093. <Property Name="AvailabilityStart" Type="DateTime" Precision="3" />
  20094. <Property Name="AvailabilityEnd" Type="DateTime" Precision="3" />
  20095. <Property Name="ResortBookingConfirmationDocumentPath" Type="Int32" />
  20096. <NavigationProperty Name="TblMarketingCampaignResorts" Relationship="ProvisionStagingModel.FK_TblMarketingCampaignResort_Campaign" FromRole="TblMarketingCampaign" ToRole="TblMarketingCampaignResort" />
  20097. <NavigationProperty Name="TblVouchers" Relationship="ProvisionStagingModel.FK_TblVoucher_Campaign" FromRole="TblMarketingCampaign" ToRole="TblVoucher" />
  20098. <NavigationProperty Name="TblVoucherSeries" Relationship="ProvisionStagingModel.FK_TblVoucherSeries_Campaign" FromRole="TblMarketingCampaign" ToRole="TblVoucherSery" />
  20099. </EntityType>
  20100. <EntityType Name="TblMarketingCampaignResort">
  20101. <Key>
  20102. <PropertyRef Name="OID" />
  20103. </Key>
  20104. <Property Name="OID" Type="Int32" Nullable="false" />
  20105. <Property Name="Resort" Type="Int32" />
  20106. <Property Name="Campaign" Type="Int32" />
  20107. <Property Name="MidWeek" Type="Boolean" />
  20108. <Property Name="Weekend" Type="Boolean" />
  20109. <NavigationProperty Name="TblMarketingCampaign" Relationship="ProvisionStagingModel.FK_TblMarketingCampaignResort_Campaign" FromRole="TblMarketingCampaignResort" ToRole="TblMarketingCampaign" />
  20110. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblMarketingCampaignResort_Resort" FromRole="TblMarketingCampaignResort" ToRole="TblResort" />
  20111. </EntityType>
  20112. <EntityType Name="TblMarketingConsoftComm">
  20113. <Key>
  20114. <PropertyRef Name="OID" />
  20115. </Key>
  20116. <Property Name="OID" Type="Int32" Nullable="false" />
  20117. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20118. <Property Name="SendTo" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20119. <Property Name="ReceivedFrom" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20120. <Property Name="VoucherNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20121. <Property Name="IsTest" Type="Boolean" />
  20122. <Property Name="Type" Type="Int32" />
  20123. </EntityType>
  20124. <EntityType Name="TblMessageCode">
  20125. <Key>
  20126. <PropertyRef Name="OID" />
  20127. </Key>
  20128. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20129. <Property Name="MessageCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20130. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20131. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20132. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20133. <Property Name="OptimisticLockField" Type="Int32" />
  20134. <Property Name="GCRecord" Type="Int32" />
  20135. <Property Name="MessageType" Type="Int32" />
  20136. <NavigationProperty Name="TblDebtorNotes" Relationship="ProvisionStagingModel.FK_TblDebtorNotes_MessageCode" FromRole="TblMessageCode" ToRole="TblDebtorNote" />
  20137. <NavigationProperty Name="TblMessageCodeMessageGroup_MessageCodeGroupGroup" Relationship="ProvisionStagingModel.FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup" FromRole="TblMessageCode" ToRole="TblMessageCodeMessageGroup_MessageCodeGroupGroup" />
  20138. <NavigationProperty Name="TblPortfolioNotes" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_MessageCode" FromRole="TblMessageCode" ToRole="TblPortfolioNote" />
  20139. </EntityType>
  20140. <EntityType Name="TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  20141. <Key>
  20142. <PropertyRef Name="OID" />
  20143. </Key>
  20144. <Property Name="Group" Type="Int32" />
  20145. <Property Name="MessageGroup" Type="Int32" />
  20146. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20147. <Property Name="OptimisticLockField" Type="Int32" />
  20148. <NavigationProperty Name="TblMessageCode" Relationship="ProvisionStagingModel.FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup" FromRole="TblMessageCodeMessageGroup_MessageCodeGroupGroup" ToRole="TblMessageCode" />
  20149. </EntityType>
  20150. <EntityType Name="TblMonthEndRole">
  20151. <Key>
  20152. <PropertyRef Name="OID" />
  20153. </Key>
  20154. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20155. <Property Name="Role" Type="Guid" />
  20156. <Property Name="OptimisticLockField" Type="Int32" />
  20157. <Property Name="GCRecord" Type="Int32" />
  20158. </EntityType>
  20159. <EntityType Name="TblMonthEndRolesObjectException">
  20160. <Key>
  20161. <PropertyRef Name="OID" />
  20162. </Key>
  20163. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20164. <Property Name="TargetType" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20165. <Property Name="BlockAccess" Type="Boolean" />
  20166. <Property Name="OptimisticLockField" Type="Int32" />
  20167. <Property Name="GCRecord" Type="Int32" />
  20168. </EntityType>
  20169. <EntityType Name="TblOldImportSource">
  20170. <Key>
  20171. <PropertyRef Name="OID" />
  20172. </Key>
  20173. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20174. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20175. <Property Name="ImportSource" Type="Int32" />
  20176. <Property Name="OptimisticLockField" Type="Int32" />
  20177. <Property Name="GCRecord" Type="Int32" />
  20178. <NavigationProperty Name="TblImportSource" Relationship="ProvisionStagingModel.FK_TblOldImportSource_ImportSource" FromRole="TblOldImportSource" ToRole="TblImportSource" />
  20179. </EntityType>
  20180. <EntityType Name="TblOverrideAudit">
  20181. <Key>
  20182. <PropertyRef Name="OID" />
  20183. </Key>
  20184. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20185. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20186. <Property Name="TblContractKey" Type="Int32" />
  20187. <Property Name="TransfigurationsKey" Type="Int32" />
  20188. <Property Name="OverrideDate" Type="DateTime" Precision="3" />
  20189. <Property Name="OverrideUser" Type="Int32" />
  20190. <Property Name="TblContractUnitPriceOriginalValue" Type="Decimal" Precision="19" Scale="4" />
  20191. <Property Name="TblContractUnitPriceOverrideValue" Type="Decimal" Precision="19" Scale="4" />
  20192. <Property Name="TblContractContractCurrencyOriginalValue" Type="Int32" />
  20193. <Property Name="TblContractContractCurrencyOverrideValue" Type="Int32" />
  20194. <Property Name="TblContractConversionRateOriginalValue" Type="Double" />
  20195. <Property Name="TblContractConversionRateOverrideValue" Type="Double" />
  20196. <Property Name="TblContractOverrideDepositAmountOriginalValue" Type="Decimal" Precision="19" Scale="4" />
  20197. <Property Name="TblContractOverrideDepositAmountOverrideValue" Type="Decimal" Precision="19" Scale="4" />
  20198. <Property Name="TblContractInstalCommenceDateOriginalValue" Type="DateTime" Precision="3" />
  20199. <Property Name="TblContractInstalCommenceDateOverrideValue" Type="DateTime" Precision="3" />
  20200. <Property Name="TblContractInterestAdjOriginalValue" Type="Decimal" Precision="19" Scale="4" />
  20201. <Property Name="TblContractInterestAdjOverrideValue" Type="Decimal" Precision="19" Scale="4" />
  20202. <Property Name="TblContractInsuranceOriginalValue" Type="Boolean" />
  20203. <Property Name="TblContractInsuranceOverrideValue" Type="Boolean" />
  20204. <Property Name="TblContractDiscountAmountOriginalValue" Type="Decimal" Precision="19" Scale="4" />
  20205. <Property Name="TblContractDiscountAmountOverrideValue" Type="Decimal" Precision="19" Scale="4" />
  20206. <Property Name="TblContractZeroInterestDealOriginalValue" Type="Boolean" />
  20207. <Property Name="TblContractZeroInterestDealOverrideValue" Type="Boolean" />
  20208. <Property Name="TblContractDSDealOriginalValue" Type="Boolean" />
  20209. <Property Name="TblContractDSDealOverrideValue" Type="Boolean" />
  20210. <Property Name="TransfigurationsZeroInterestDealOriginalValue" Type="Boolean" />
  20211. <Property Name="TransfigurationsZeroInterestDealOverrideValue" Type="Boolean" />
  20212. <Property Name="TransfigurationsPointSellingPriceOriginalValue" Type="Decimal" Precision="19" Scale="4" />
  20213. <Property Name="TransfigurationsPointSellingPriceOverrideValue" Type="Decimal" Precision="19" Scale="4" />
  20214. <Property Name="TransfigurationsApplySlidingScaleOriginalValue" Type="Boolean" />
  20215. <Property Name="TransfigurationsApplySlidingScaleOverrideValue" Type="Boolean" />
  20216. <Property Name="OptimisticLockField" Type="Int32" />
  20217. <Property Name="GCRecord" Type="Int32" />
  20218. <Property Name="TransfigurationsContractCurrencyOriginalValue" Type="Int32" />
  20219. <Property Name="TransfigurationsContractCurrencyOverrideValue" Type="Int32" />
  20220. <Property Name="TransfigurationsConversionRateOriginalValue" Type="Double" />
  20221. <Property Name="TransfigurationsConversionRateOverrideValue" Type="Double" />
  20222. <Property Name="Portfolio" Type="Int32" />
  20223. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblOverrideAudit_OverrideUser" FromRole="TblOverrideAudit" ToRole="TblPersonnel" />
  20224. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblOverrideAudit_Portfolio" FromRole="TblOverrideAudit" ToRole="TblPortfolio" />
  20225. <NavigationProperty Name="Transfiguration" Relationship="ProvisionStagingModel.FK_TblOverrideAudit_TransfigurationsKey" FromRole="TblOverrideAudit" ToRole="Transfiguration" />
  20226. </EntityType>
  20227. <EntityType Name="TblPaymentPlan">
  20228. <Key>
  20229. <PropertyRef Name="OID" />
  20230. </Key>
  20231. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20232. <Property Name="Debtor" Type="Int32" />
  20233. <Property Name="StatementPeriod" Type="DateTime" Precision="3" />
  20234. <Property Name="InstallmentAmount" Type="Decimal" Precision="19" Scale="4" />
  20235. <Property Name="OptimisticLockField" Type="Int32" />
  20236. <Property Name="GCRecord" Type="Int32" />
  20237. <Property Name="AccountPaymentType" Type="Int32" />
  20238. <Property Name="StatementPeriodInt" Type="Int32" />
  20239. <Property Name="InstalmentAmount" Type="Decimal" Precision="19" Scale="4" />
  20240. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20241. <Property Name="ServiceFeePortion" Type="Decimal" Precision="19" Scale="4" />
  20242. <Property Name="InsurancePortion" Type="Decimal" Precision="19" Scale="4" />
  20243. <Property Name="InstalmentRaised" Type="Boolean" />
  20244. <Property Name="ManagementFeeYear" Type="Int32" />
  20245. <Property Name="ACBRaised" Type="DateTime" Precision="3" />
  20246. <Property Name="TransactionType" Type="Int32" />
  20247. <Property Name="PaymentType" Type="Int32" />
  20248. <Property Name="TableUsedInCalc" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20249. <Property Name="TableEntryNumber" Type="Int32" />
  20250. <Property Name="NumberOfMonthsUsedInCalc" Type="Int32" />
  20251. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20252. <Property Name="DeletedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20253. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblPaymentPlan_Debtor" FromRole="TblPaymentPlan" ToRole="TblDebtor" />
  20254. <NavigationProperty Name="TblDebtorTranType" Relationship="ProvisionStagingModel.FK_TblPaymentPlan_TransactionType" FromRole="TblPaymentPlan" ToRole="TblDebtorTranType" />
  20255. <NavigationProperty Name="TblPaymentType" Relationship="ProvisionStagingModel.FK_TblPaymentPlan_PaymentType" FromRole="TblPaymentPlan" ToRole="TblPaymentType" />
  20256. </EntityType>
  20257. <EntityType Name="TblPaymentType">
  20258. <Key>
  20259. <PropertyRef Name="OID" />
  20260. </Key>
  20261. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20262. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20263. <Property Name="OptimisticLockField" Type="Int32" />
  20264. <Property Name="GCRecord" Type="Int32" />
  20265. <Property Name="Abbreviation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20266. <Property Name="WaitingPeriod" Type="Int32" />
  20267. <Property Name="MethodOfPayment" Type="Int32" />
  20268. <Property Name="ConsoftAbbreviation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20269. <NavigationProperty Name="TblDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblDebtorTransactions_PayType" FromRole="TblPaymentType" ToRole="TblDebtorTransaction" />
  20270. <NavigationProperty Name="TblDebtorTranTypes" Relationship="ProvisionStagingModel.FK_TblDebtorTranTypes_PaymentType" FromRole="TblPaymentType" ToRole="TblDebtorTranType" />
  20271. <NavigationProperty Name="TblJournalLines" Relationship="ProvisionStagingModel.FK_TblJournalLines_PayType" FromRole="TblPaymentType" ToRole="TblJournalLine" />
  20272. <NavigationProperty Name="TblManagementFeeOverrides" Relationship="ProvisionStagingModel.FK_TblManagementFeeOverride_PaymentType" FromRole="TblPaymentType" ToRole="TblManagementFeeOverride" />
  20273. <NavigationProperty Name="TblPaymentPlans" Relationship="ProvisionStagingModel.FK_TblPaymentPlan_PaymentType" FromRole="TblPaymentType" ToRole="TblPaymentPlan" />
  20274. </EntityType>
  20275. <EntityType Name="TblPayType">
  20276. <Key>
  20277. <PropertyRef Name="OID" />
  20278. </Key>
  20279. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20280. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20281. <Property Name="Abreviation" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20282. <Property Name="OptimisticLockField" Type="Int32" />
  20283. <Property Name="GCRecord" Type="Int32" />
  20284. <Property Name="WaitingPeriod" Type="Int32" />
  20285. </EntityType>
  20286. <EntityType Name="TblPeriodsInMonth">
  20287. <Key>
  20288. <PropertyRef Name="Oid" />
  20289. </Key>
  20290. <Property Name="Oid" Type="Guid" Nullable="false" />
  20291. <Property Name="Period" Type="Int32" />
  20292. <Property Name="IncludeForLease" Type="Boolean" />
  20293. <Property Name="IncludeForClubs" Type="Boolean" />
  20294. <Property Name="OptimisticLockField" Type="Int32" />
  20295. <Property Name="GCRecord" Type="Int32" />
  20296. <Property Name="ShowInReports" Type="Boolean" />
  20297. </EntityType>
  20298. <EntityType Name="TblPersonnel">
  20299. <Key>
  20300. <PropertyRef Name="PersonnelCode" />
  20301. </Key>
  20302. <Property Name="PersonnelCode" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20303. <Property Name="Company" Type="Int16" />
  20304. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  20305. <Property Name="FirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  20306. <Property Name="Surname" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  20307. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20308. <Property Name="Department" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  20309. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20310. <Property Name="UserCode" Type="Guid" />
  20311. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20312. <Property Name="CreatedBy" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  20313. <Property Name="SuspendedDate" Type="DateTime" Precision="3" />
  20314. <Property Name="DateJoined" Type="DateTime" Precision="3" />
  20315. <Property Name="TelemarketerOffice" Type="Int32" />
  20316. <Property Name="DateResigned" Type="DateTime" Precision="3" />
  20317. <Property Name="IDNumber" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  20318. <Property Name="BankName" Type="Int32" />
  20319. <Property Name="BankAccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20320. <Property Name="BankAccountHolder" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20321. <Property Name="BankBranch" Type="Int32" />
  20322. <Property Name="BankAccountType" Type="Int32" />
  20323. <Property Name="BranchName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20324. <Property Name="SpouseFirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  20325. <Property Name="SpouseSurname" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  20326. <Property Name="SpouseIdNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20327. <Property Name="NextOfKinFirstName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20328. <Property Name="NextOfKinSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20329. <Property Name="NextofKinRelationship" Type="Int32" />
  20330. <Property Name="OptimisticLockField" Type="Int32" />
  20331. <Property Name="AsteriskIP" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20332. <Property Name="AsteriskUserCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20333. <Property Name="AsteriskPassword" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20334. <Property Name="AsteriskCallerID" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20335. <Property Name="BasicSalary" Type="Double" />
  20336. <Property Name="SalesManager" Type="Int32" />
  20337. <Property Name="CommStructure" Type="Int32" />
  20338. <Property Name="ReportsTo" Type="Int32" />
  20339. <Property Name="BookingSessionCounter" Type="Int32" />
  20340. <Property Name="PayrollNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20341. <Property Name="Franchisee" Type="Boolean" />
  20342. <Property Name="CommissionLinkedTo" Type="Int32" />
  20343. <Property Name="PitchedLeadsReportVenue" Type="Int32" />
  20344. <Property Name="EmailNotificationRecipient" Type="Int32" />
  20345. <Property Name="Workdays" Type="Int32" />
  20346. <Property Name="employeeLevel" Type="Int32" />
  20347. <Property Name="aProTask" Type="Int32" />
  20348. <Property Name="UnivateTarget" Type="Int32" />
  20349. <Property Name="CanAssignTasksToAnybody" Type="Boolean" />
  20350. <Property Name="ConsoftAgentCode" Type="Int32" />
  20351. <Property Name="aNotifyTask" Type="Int32" />
  20352. <Property Name="EmployeeNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20353. <Property Name="IsHRUser" Type="Boolean" />
  20354. <Property Name="UserName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20355. <Property Name="IsPodManager" Type="Boolean" />
  20356. <Property Name="IsSalesDirector" Type="Boolean" />
  20357. <Property Name="IsConfirmationManager" Type="Boolean" />
  20358. <Property Name="IsSalesManager" Type="Boolean" />
  20359. <Property Name="IsSalesConsultant" Type="Boolean" />
  20360. <Property Name="IsTelemarketer" Type="Boolean" />
  20361. <Property Name="IsSurveyor" Type="Boolean" />
  20362. <Property Name="ISnowahala" Type="Boolean" />
  20363. <Property Name="IsRegionalSalesManager" Type="Boolean" />
  20364. <Property Name="RegionalSalesManager" Type="Int32" />
  20365. <Property Name="ContractFlowRole" Type="Int32" />
  20366. <Property Name="ContractLastAllocated" Type="DateTime" Precision="3" />
  20367. <Property Name="PAUserCode" Type="Guid" />
  20368. <Property Name="PAAss" Type="Int32" />
  20369. <Property Name="GCRecord" Type="Int32" />
  20370. <Property Name="PayPoint" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20371. <Property Name="InvoiceForAccess" Type="Boolean" />
  20372. <Property Name="IsTester" Type="Boolean" />
  20373. <Property Name="Addsome" Type="Decimal" Precision="19" Scale="4" />
  20374. <Property Name="Transport" Type="Decimal" Precision="19" Scale="4" />
  20375. <Property Name="NameAndSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20376. <Property Name="IsNotHuman" Type="Boolean" />
  20377. <Property Name="IsTelemarketingDirector" Type="Boolean" />
  20378. <Property Name="IsDeveloper" Type="Boolean" />
  20379. <Property Name="IsTestAdmin" Type="Boolean" />
  20380. <Property Name="SalesCommissionStructure" Type="Guid" />
  20381. <Property Name="SalesCommissionEquityCategory" Type="Guid" />
  20382. <Property Name="SalesCommissionRotation" Type="Int32" />
  20383. <Property Name="PayrollCompany" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20384. <Property Name="EquityCommissionPercentage" Type="Decimal" Precision="19" Scale="4" />
  20385. <Property Name="SalesCommQueryCategory" Type="Int32" />
  20386. <Property Name="AllowAllContractFlow" Type="Boolean" />
  20387. <Property Name="Supervisor" Type="Int32" />
  20388. <Property Name="IsTrainee" Type="Boolean" />
  20389. <Property Name="SMI" Type="Guid" />
  20390. <Property Name="IsSupervisor" Type="Boolean" />
  20391. <Property Name="IsTMManager" Type="Boolean" />
  20392. <Property Name="IsJuniorManager" Type="Boolean" />
  20393. <Property Name="IsManager" Type="Boolean" />
  20394. <Property Name="IsPresenter" Type="Boolean" />
  20395. <Property Name="HRWarningRecipiant" Type="Boolean" />
  20396. <Property Name="HRWarningRecipient" Type="Boolean" />
  20397. <Property Name="IsTrainingManager" Type="Boolean" />
  20398. <Property Name="TrainingManager" Type="Int32" />
  20399. <Property Name="SCVStructure" Type="Guid" />
  20400. <Property Name="NewCommStructure" Type="Int32" />
  20401. <Property Name="BasicEndDate" Type="DateTime" Precision="3" />
  20402. <Property Name="PrimarySalesDeck" Type="Int32" />
  20403. <Property Name="IsConfirmationClerk" Type="Boolean" />
  20404. <NavigationProperty Name="TblDebtors" Relationship="ProvisionStagingModel.FK_TblDebtor_AllocatedTo" FromRole="TblPersonnel" ToRole="TblDebtor" />
  20405. <NavigationProperty Name="TblDebtors1" Relationship="ProvisionStagingModel.FK_TblDebtor_ReportsTo" FromRole="TblPersonnel" ToRole="TblDebtor" />
  20406. <NavigationProperty Name="TblDebtors2" Relationship="ProvisionStagingModel.FK_TblDebtor_UndertakingConsultant" FromRole="TblPersonnel" ToRole="TblDebtor" />
  20407. <NavigationProperty Name="TblDebtorFeedbacks" Relationship="ProvisionStagingModel.FK_TblDebtorFeedback_Name" FromRole="TblPersonnel" ToRole="TblDebtorFeedback" />
  20408. <NavigationProperty Name="TblDepartment" Relationship="ProvisionStagingModel.FK_TblPersonnel_Department" FromRole="TblPersonnel" ToRole="TblDepartment" />
  20409. <NavigationProperty Name="TblEquityCommissionTargets" Relationship="ProvisionStagingModel.FK_TblEquityCommissionTarget_Personnel" FromRole="TblPersonnel" ToRole="TblEquityCommissionTarget" />
  20410. <NavigationProperty Name="TblHideDebtorTransactions" Relationship="ProvisionStagingModel.FK_TblHideDebtorTransaction_CreatedBy" FromRole="TblPersonnel" ToRole="TblHideDebtorTransaction" />
  20411. <NavigationProperty Name="TblLeadFeedbacks" Relationship="ProvisionStagingModel.FK_TblLeadFeedback_Telemarketer" FromRole="TblPersonnel" ToRole="TblLeadFeedback" />
  20412. <NavigationProperty Name="TblLeadsCallHistories" Relationship="ProvisionStagingModel.FK_TblLeadsCallHistory_Podmanager" FromRole="TblPersonnel" ToRole="TblLeadsCallHistory" />
  20413. <NavigationProperty Name="TblLeadsCallHistories1" Relationship="ProvisionStagingModel.FK_TblLeadsCallHistory_Telemarketer" FromRole="TblPersonnel" ToRole="TblLeadsCallHistory" />
  20414. <NavigationProperty Name="TblOverrideAudits" Relationship="ProvisionStagingModel.FK_TblOverrideAudit_OverrideUser" FromRole="TblPersonnel" ToRole="TblOverrideAudit" />
  20415. <NavigationProperty Name="TblSalesVenuePersonnels" Relationship="ProvisionStagingModel.FK__TblSalesV__Perso__1A3FCC1E" FromRole="TblPersonnel" ToRole="TblSalesVenuePersonnel" />
  20416. <NavigationProperty Name="TblSalesVenuePersonnels1" Relationship="ProvisionStagingModel.FK__TblSalesV__PodMa__1B33F057" FromRole="TblPersonnel" ToRole="TblSalesVenuePersonnel" />
  20417. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblPersonnel_CommissionLinkedTo" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20418. <NavigationProperty Name="TblPersonnel2" Relationship="ProvisionStagingModel.FK_TblPersonnel_CommissionLinkedTo" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20419. <NavigationProperty Name="TblPersonnel11" Relationship="ProvisionStagingModel.FK_TblPersonnel_Manager" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20420. <NavigationProperty Name="TblPersonnel3" Relationship="ProvisionStagingModel.FK_TblPersonnel_Manager" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20421. <NavigationProperty Name="TblTMCommStructure" Relationship="ProvisionStagingModel.FK_TblPersonnel_NewCommStructure" FromRole="TblPersonnel" ToRole="TblTMCommStructure" />
  20422. <NavigationProperty Name="TblPersonnel12" Relationship="ProvisionStagingModel.FK_TblPersonnel_PAAss" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20423. <NavigationProperty Name="TblPersonnel4" Relationship="ProvisionStagingModel.FK_TblPersonnel_PAAss" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20424. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblPersonnel_PitchedLeadsReportVenue" FromRole="TblPersonnel" ToRole="TblSalesVenue" />
  20425. <NavigationProperty Name="TblSalesVenue1" Relationship="ProvisionStagingModel.FK_TblPersonnel_PrimarySalesDeck" FromRole="TblPersonnel" ToRole="TblSalesVenue" />
  20426. <NavigationProperty Name="TblPersonnel13" Relationship="ProvisionStagingModel.FK_TblPersonnel_RegionalSalesManager" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20427. <NavigationProperty Name="TblPersonnel5" Relationship="ProvisionStagingModel.FK_TblPersonnel_RegionalSalesManager" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20428. <NavigationProperty Name="TblSalesCommissionEquity" Relationship="ProvisionStagingModel.FK_TblPersonnel_SalesCommissionEquityCategory" FromRole="TblPersonnel" ToRole="TblSalesCommissionEquity" />
  20429. <NavigationProperty Name="TblSalesCommissionPercentage" Relationship="ProvisionStagingModel.FK_TblPersonnel_SalesCommissionStructure" FromRole="TblPersonnel" ToRole="TblSalesCommissionPercentage" />
  20430. <NavigationProperty Name="TblPersonnel14" Relationship="ProvisionStagingModel.FK_TblPersonnel_SalesManager" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20431. <NavigationProperty Name="TblPersonnel6" Relationship="ProvisionStagingModel.FK_TblPersonnel_SalesManager" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20432. <NavigationProperty Name="TblSCV2CommissionStructure" Relationship="ProvisionStagingModel.FK_TblPersonnel_SCVStructure" FromRole="TblPersonnel" ToRole="TblSCV2CommissionStructure" />
  20433. <NavigationProperty Name="TblSMIIncentive" Relationship="ProvisionStagingModel.FK_TblPersonnel_SMI" FromRole="TblPersonnel" ToRole="TblSMIIncentive" />
  20434. <NavigationProperty Name="TblPersonnel15" Relationship="ProvisionStagingModel.FK_TblPersonnel_Supervisor" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20435. <NavigationProperty Name="TblPersonnel7" Relationship="ProvisionStagingModel.FK_TblPersonnel_Supervisor" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20436. <NavigationProperty Name="TblTelemarketerOffice" Relationship="ProvisionStagingModel.FK_TblPersonnel_TelemarketerOffice" FromRole="TblPersonnel" ToRole="TblTelemarketerOffice" />
  20437. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblPersonnel_Title" FromRole="TblPersonnel" ToRole="Title" />
  20438. <NavigationProperty Name="TblPersonnel16" Relationship="ProvisionStagingModel.FK_TblPersonnel_TrainingManager" FromRole="TblPersonnel" ToRole="TblPersonnel1" />
  20439. <NavigationProperty Name="TblPersonnel8" Relationship="ProvisionStagingModel.FK_TblPersonnel_TrainingManager" FromRole="TblPersonnel1" ToRole="TblPersonnel" />
  20440. <NavigationProperty Name="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" Relationship="ProvisionStagingModel.FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants" FromRole="TblPersonnel" ToRole="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" />
  20441. <NavigationProperty Name="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" Relationship="ProvisionStagingModel.FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants" FromRole="TblPersonnel" ToRole="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" />
  20442. <NavigationProperty Name="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" Relationship="ProvisionStagingModel.FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel" FromRole="TblPersonnel" ToRole="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" />
  20443. <NavigationProperty Name="TblPersonnelDocuments" Relationship="ProvisionStagingModel.FK_TblPersonnelDocuments_PersonnelCode" FromRole="TblPersonnel" ToRole="TblPersonnelDocument" />
  20444. <NavigationProperty Name="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" Relationship="ProvisionStagingModel.FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants" FromRole="TblPersonnel" ToRole="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" />
  20445. <NavigationProperty Name="TblPersonnelImportSources" Relationship="ProvisionStagingModel.FK_TblPersonnelImportSource_PersonnelCode" FromRole="TblPersonnel" ToRole="TblPersonnelImportSource" />
  20446. <NavigationProperty Name="TblPersonnelLeaves" Relationship="ProvisionStagingModel.FK_TblPersonnelLeave_PersonnelCode" FromRole="TblPersonnel" ToRole="TblPersonnelLeave" />
  20447. <NavigationProperty Name="TblPersonnelPersonnel_TblImportSourceImportSource" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel" FromRole="TblPersonnel" ToRole="TblPersonnelPersonnel_TblImportSourceImportSource" />
  20448. <NavigationProperty Name="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed" FromRole="TblPersonnel" ToRole="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" />
  20449. <NavigationProperty Name="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify" FromRole="TblPersonnel" ToRole="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" />
  20450. <NavigationProperty Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Relationship="ProvisionStagingModel.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants" FromRole="TblPersonnel" ToRole="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" />
  20451. <NavigationProperty Name="TblPersonnelTelephones" Relationship="ProvisionStagingModel.FK_TblPersonnelTelephone_PersonnelCode" FromRole="TblPersonnel" ToRole="TblPersonnelTelephone" />
  20452. <NavigationProperty Name="TblPersonnelUnivateTargets" Relationship="ProvisionStagingModel.FK_TblPersonnelUnivateTarget_PersonnelCode" FromRole="TblPersonnel" ToRole="TblPersonnelUnivateTarget" />
  20453. <NavigationProperty Name="TblPersonnelWeeklyTargetSplits" Relationship="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplit_Personnel" FromRole="TblPersonnel" ToRole="TblPersonnelWeeklyTargetSplit" />
  20454. <NavigationProperty Name="TblPersonnelWeeklyTargetSplitPerSalesVenues" Relationship="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel" FromRole="TblPersonnel" ToRole="TblPersonnelWeeklyTargetSplitPerSalesVenue" />
  20455. <NavigationProperty Name="TblPersTransfigs" Relationship="ProvisionStagingModel.FK_TblPersTransfig_TblPersonnellKey" FromRole="TblPersonnel" ToRole="TblPersTransfig" />
  20456. <NavigationProperty Name="TblPodManagers" Relationship="ProvisionStagingModel.FK_TblPodManager_PersonnelCode" FromRole="TblPersonnel" ToRole="TblPodManager" />
  20457. <NavigationProperty Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Relationship="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel" FromRole="TblPersonnel" ToRole="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  20458. <NavigationProperty Name="TblQueryRecipients" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_BCCRecipient" FromRole="TblPersonnel" ToRole="TblQueryRecipient" />
  20459. <NavigationProperty Name="TblQueryRecipients1" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_CCRecipient" FromRole="TblPersonnel" ToRole="TblQueryRecipient" />
  20460. <NavigationProperty Name="TblQueryRecipients2" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_MainRecipient" FromRole="TblPersonnel" ToRole="TblQueryRecipient" />
  20461. <NavigationProperty Name="TblRawSalesCommDatas" Relationship="ProvisionStagingModel.FK_TblRawSalesCommData_SalesConsultant" FromRole="TblPersonnel" ToRole="TblRawSalesCommData" />
  20462. <NavigationProperty Name="TblRawSalesCommDatas1" Relationship="ProvisionStagingModel.FK_TblRawSalesCommData_SalesManager" FromRole="TblPersonnel" ToRole="TblRawSalesCommData" />
  20463. <NavigationProperty Name="TblRescheduleCalls" Relationship="ProvisionStagingModel.FK_TblRescheduleCalls_PersonnelCode" FromRole="TblPersonnel" ToRole="TblRescheduleCall" />
  20464. <NavigationProperty Name="TblResorts" Relationship="ProvisionStagingModel.FK_TblResort__ResortManager" FromRole="TblPersonnel" ToRole="TblResort" />
  20465. <NavigationProperty Name="TblResorts1" Relationship="ProvisionStagingModel.FK_TblResort_ResortManager" FromRole="TblPersonnel" ToRole="TblResort" />
  20466. <NavigationProperty Name="TblSalesCommEarnerTypes" Relationship="ProvisionStagingModel.FK_TblSalesCommEarnerType_SpecificPersonnel" FromRole="TblPersonnel" ToRole="TblSalesCommEarnerType" />
  20467. <NavigationProperty Name="TblSalesCommissionInfoes" Relationship="ProvisionStagingModel.FK_TblSalesCommissionInfo_CommissionOwner" FromRole="TblPersonnel" ToRole="TblSalesCommissionInfo" />
  20468. <NavigationProperty Name="TblSalesCommissionTransactions" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SalesPersonnel" FromRole="TblPersonnel" ToRole="TblSalesCommissionTransaction" />
  20469. <NavigationProperty Name="TblSalesCommissionTransactions1" Relationship="ProvisionStagingModel.FK_TblSalesCommissionTransaction_SignedOffBy" FromRole="TblPersonnel" ToRole="TblSalesCommissionTransaction" />
  20470. <NavigationProperty Name="TblSalesCommSkippedCommissions" Relationship="ProvisionStagingModel.FK_TblSalesCommSkippedCommissions_PersonnelCode" FromRole="TblPersonnel" ToRole="TblSalesCommSkippedCommission" />
  20471. <NavigationProperty Name="TblSalesCommStatements" Relationship="ProvisionStagingModel.FK_TblSalesCommStatement_PersonnelCode" FromRole="TblPersonnel" ToRole="TblSalesCommStatement" />
  20472. <NavigationProperty Name="TblSalesVenues" Relationship="ProvisionStagingModel.FK_TblSalesVenue_ClientArrivalManager" FromRole="TblPersonnel" ToRole="TblSalesVenue" />
  20473. <NavigationProperty Name="TblSalesVenues1" Relationship="ProvisionStagingModel.FK_TblSalesVenue_RegionalSalesManager" FromRole="TblPersonnel" ToRole="TblSalesVenue" />
  20474. <NavigationProperty Name="TblSalesVenues2" Relationship="ProvisionStagingModel.FK_TblSalesVenue_RegionalSalesManager2" FromRole="TblPersonnel" ToRole="TblSalesVenue" />
  20475. <NavigationProperty Name="TblSalesVenues3" Relationship="ProvisionStagingModel.FK_TblSalesVenue_SalesManager" FromRole="TblPersonnel" ToRole="TblSalesVenue" />
  20476. <NavigationProperty Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Relationship="ProvisionStagingModel.FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride" FromRole="TblPersonnel" ToRole="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" />
  20477. <NavigationProperty Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Relationship="ProvisionStagingModel.FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients" FromRole="TblPersonnel" ToRole="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" />
  20478. <NavigationProperty Name="TblSCV2CommissionContract" Relationship="ProvisionStagingModel.FK_TblSCV2CommissionContract_SalesPerson" FromRole="TblPersonnel" ToRole="TblSCV2CommissionContract" />
  20479. <NavigationProperty Name="TblSCV2SpecialStructure" Relationship="ProvisionStagingModel.FK_TblSCV2SpecialStructure_Personnel" FromRole="TblPersonnel" ToRole="TblSCV2SpecialStructure" />
  20480. <NavigationProperty Name="TblSCV2Transaction" Relationship="ProvisionStagingModel.FK_TblSCV2Transaction_SignOffBy" FromRole="TblPersonnel" ToRole="TblSCV2Transaction" />
  20481. <NavigationProperty Name="TblSMICommissionInfoes" Relationship="ProvisionStagingModel.FK_TblSMICommissionInfo_SalesPerson" FromRole="TblPersonnel" ToRole="TblSMICommissionInfo" />
  20482. <NavigationProperty Name="TblSMITransactions" Relationship="ProvisionStagingModel.FK_TblSMITransaction_SignOffBy" FromRole="TblPersonnel" ToRole="TblSMITransaction" />
  20483. <NavigationProperty Name="TblStreamlines" Relationship="ProvisionStagingModel.FK_TblStreamline_SalesAgent" FromRole="TblPersonnel" ToRole="TblStreamline" />
  20484. <NavigationProperty Name="TblTelemarketerRegisters" Relationship="ProvisionStagingModel.FK_TblTelemarketerRegister_PersonnelCode" FromRole="TblPersonnel" ToRole="TblTelemarketerRegister" />
  20485. <NavigationProperty Name="TblTFGLeads" Relationship="ProvisionStagingModel.FK_TblTFGLeads_OwnedBy" FromRole="TblPersonnel" ToRole="TblTFGLead" />
  20486. <NavigationProperty Name="TblTMCommBasicTransactions" Relationship="ProvisionStagingModel.FK_TblTMCommBasicTransactions_Personnel" FromRole="TblPersonnel" ToRole="TblTMCommBasicTransaction" />
  20487. <NavigationProperty Name="TblTMCommDeals" Relationship="ProvisionStagingModel.FK_TblTMCommDeals_Person" FromRole="TblPersonnel" ToRole="TblTMCommDeal" />
  20488. <NavigationProperty Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Relationship="ProvisionStagingModel.FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList" FromRole="TblPersonnel" ToRole="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" />
  20489. <NavigationProperty Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Relationship="ProvisionStagingModel.FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList" FromRole="TblPersonnel" ToRole="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" />
  20490. <NavigationProperty Name="TblTMCommTransactions" Relationship="ProvisionStagingModel.FK_TblTMCommTransactions_Personnel" FromRole="TblPersonnel" ToRole="TblTMCommTransaction" />
  20491. <NavigationProperty Name="TblTransferFunds" Relationship="ProvisionStagingModel.FK_TblTransferFunds_AllocatedToNorm" FromRole="TblPersonnel" ToRole="TblTransferFund" />
  20492. <NavigationProperty Name="TblUpdateBankingDetails" Relationship="ProvisionStagingModel.FK_TblUpdateBankingDetails_Personnel" FromRole="TblPersonnel" ToRole="TblUpdateBankingDetail" />
  20493. <NavigationProperty Name="Transfigurations" Relationship="ProvisionStagingModel.FK_Transfigurations_SalesAgent" FromRole="TblPersonnel" ToRole="Transfiguration" />
  20494. <NavigationProperty Name="Transfigurations1" Relationship="ProvisionStagingModel.FK_Transfigurations_SalesManager" FromRole="TblPersonnel" ToRole="Transfiguration" />
  20495. </EntityType>
  20496. <EntityType Name="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  20497. <Key>
  20498. <PropertyRef Name="OID" />
  20499. </Key>
  20500. <Property Name="BCCRecipiantOf" Type="Int32" />
  20501. <Property Name="BCCRecipiants" Type="Int32" />
  20502. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20503. <Property Name="OptimisticLockField" Type="Int32" />
  20504. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants" FromRole="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" ToRole="TblPersonnel" />
  20505. </EntityType>
  20506. <EntityType Name="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  20507. <Key>
  20508. <PropertyRef Name="OID" />
  20509. </Key>
  20510. <Property Name="CCRecipiantOf" Type="Int32" />
  20511. <Property Name="CCRecipiants" Type="Int32" />
  20512. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20513. <Property Name="OptimisticLockField" Type="Int32" />
  20514. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants" FromRole="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" ToRole="TblPersonnel" />
  20515. </EntityType>
  20516. <EntityType Name="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  20517. <Key>
  20518. <PropertyRef Name="OID" />
  20519. </Key>
  20520. <Property Name="CheckingType" Type="Int32" />
  20521. <Property Name="CheckingPersonnel" Type="Int32" />
  20522. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20523. <Property Name="OptimisticLockField" Type="Int32" />
  20524. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel" FromRole="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" ToRole="TblPersonnel" />
  20525. </EntityType>
  20526. <EntityType Name="TblPersonnelDocument">
  20527. <Key>
  20528. <PropertyRef Name="Oid" />
  20529. </Key>
  20530. <Property Name="Oid" Type="Guid" Nullable="false" />
  20531. <Property Name="File" Type="Guid" />
  20532. <Property Name="PersonnelCode" Type="Int32" />
  20533. <Property Name="DocumentType" Type="Int32" />
  20534. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20535. <Property Name="OptimisticLockField" Type="Int32" />
  20536. <Property Name="GCRecord" Type="Int32" />
  20537. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelDocuments_PersonnelCode" FromRole="TblPersonnelDocument" ToRole="TblPersonnel" />
  20538. </EntityType>
  20539. <EntityType Name="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  20540. <Key>
  20541. <PropertyRef Name="OID" />
  20542. </Key>
  20543. <Property Name="ExpertEmails" Type="Int32" />
  20544. <Property Name="ExpertEmailRecipiants" Type="Int32" />
  20545. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20546. <Property Name="OptimisticLockField" Type="Int32" />
  20547. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants" FromRole="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" ToRole="TblPersonnel" />
  20548. </EntityType>
  20549. <EntityType Name="TblPersonnelImportSource">
  20550. <Key>
  20551. <PropertyRef Name="OID" />
  20552. </Key>
  20553. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20554. <Property Name="PersonnelCode" Type="Int32" />
  20555. <Property Name="ImportSource" Type="Int32" />
  20556. <Property Name="OptimisticLockField" Type="Int32" />
  20557. <Property Name="GCRecord" Type="Int32" />
  20558. <NavigationProperty Name="TblImportSource" Relationship="ProvisionStagingModel.FK_TblPersonnelImportSource_ImportSource" FromRole="TblPersonnelImportSource" ToRole="TblImportSource" />
  20559. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelImportSource_PersonnelCode" FromRole="TblPersonnelImportSource" ToRole="TblPersonnel" />
  20560. </EntityType>
  20561. <EntityType Name="TblPersonnelLeave">
  20562. <Key>
  20563. <PropertyRef Name="OID" />
  20564. </Key>
  20565. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20566. <Property Name="PersonnelCode" Type="Int32" />
  20567. <Property Name="LeaveFrom" Type="DateTime" Precision="3" />
  20568. <Property Name="LeaveTo" Type="DateTime" Precision="3" />
  20569. <Property Name="OptimisticLockField" Type="Int32" />
  20570. <Property Name="GCRecord" Type="Int32" />
  20571. <Property Name="Comments" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
  20572. <Property Name="Type" Type="Int32" />
  20573. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelLeave_PersonnelCode" FromRole="TblPersonnelLeave" ToRole="TblPersonnel" />
  20574. </EntityType>
  20575. <EntityType Name="TblPersonnelPersonnel_TblImportSourceImportSource">
  20576. <Key>
  20577. <PropertyRef Name="OID" />
  20578. </Key>
  20579. <Property Name="ImportSource" Type="Int32" />
  20580. <Property Name="Personnel" Type="Int32" />
  20581. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20582. <Property Name="OptimisticLockField" Type="Int32" />
  20583. <NavigationProperty Name="TblImportSource" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource" FromRole="TblPersonnelPersonnel_TblImportSourceImportSource" ToRole="TblImportSource" />
  20584. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel" FromRole="TblPersonnelPersonnel_TblImportSourceImportSource" ToRole="TblPersonnel" />
  20585. </EntityType>
  20586. <EntityType Name="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  20587. <Key>
  20588. <PropertyRef Name="OID" />
  20589. </Key>
  20590. <Property Name="FlowCheckStage" Type="Int32" />
  20591. <Property Name="PersonnelAllowed" Type="Int32" />
  20592. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20593. <Property Name="OptimisticLockField" Type="Int32" />
  20594. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed" FromRole="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" ToRole="TblPersonnel" />
  20595. </EntityType>
  20596. <EntityType Name="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  20597. <Key>
  20598. <PropertyRef Name="OID" />
  20599. </Key>
  20600. <Property Name="NotifyEmails" Type="Int32" />
  20601. <Property Name="PersonnelToNotify" Type="Int32" />
  20602. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20603. <Property Name="OptimisticLockField" Type="Int32" />
  20604. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify" FromRole="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" ToRole="TblPersonnel" />
  20605. </EntityType>
  20606. <EntityType Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  20607. <Key>
  20608. <PropertyRef Name="OID" />
  20609. </Key>
  20610. <Property Name="EmailRecipiantOf" Type="Int32" />
  20611. <Property Name="Recipiants" Type="Int32" />
  20612. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20613. <Property Name="OptimisticLockField" Type="Int32" />
  20614. <NavigationProperty Name="TblEmailRecipiant" Relationship="ProvisionStagingModel.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf" FromRole="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" ToRole="TblEmailRecipiant" />
  20615. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants" FromRole="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" ToRole="TblPersonnel" />
  20616. </EntityType>
  20617. <EntityType Name="TblPersonnelTelephone">
  20618. <Key>
  20619. <PropertyRef Name="OID" />
  20620. </Key>
  20621. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20622. <Property Name="PersonnelCode" Type="Int32" />
  20623. <Property Name="TelephoneNumber" Type="String" MaxLength="30" FixedLength="false" Unicode="true" />
  20624. <Property Name="TelephoneType" Type="Int32" />
  20625. <Property Name="OptimisticLockField" Type="Int32" />
  20626. <Property Name="GCRecord" Type="Int32" />
  20627. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelTelephone_PersonnelCode" FromRole="TblPersonnelTelephone" ToRole="TblPersonnel" />
  20628. <NavigationProperty Name="TblTelephoneType" Relationship="ProvisionStagingModel.FK_TblPersonnelTelephone_TelephoneType" FromRole="TblPersonnelTelephone" ToRole="TblTelephoneType" />
  20629. </EntityType>
  20630. <EntityType Name="TblPersonnelUnivateTarget">
  20631. <Key>
  20632. <PropertyRef Name="OID" />
  20633. </Key>
  20634. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20635. <Property Name="PersonnelCode" Type="Int32" />
  20636. <Property Name="SalesVenue" Type="Int32" />
  20637. <Property Name="Target" Type="Int32" />
  20638. <Property Name="OptimisticLockField" Type="Int32" />
  20639. <Property Name="GCRecord" Type="Int32" />
  20640. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelUnivateTarget_PersonnelCode" FromRole="TblPersonnelUnivateTarget" ToRole="TblPersonnel" />
  20641. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblPersonnelUnivateTarget_SalesVenue" FromRole="TblPersonnelUnivateTarget" ToRole="TblSalesVenue" />
  20642. </EntityType>
  20643. <EntityType Name="TblPersonnelWeeklyTargetSplit">
  20644. <Key>
  20645. <PropertyRef Name="OID" />
  20646. </Key>
  20647. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20648. <Property Name="Personnel" Type="Int32" />
  20649. <Property Name="Year" Type="Int32" />
  20650. <Property Name="WeekNumber" Type="Int32" />
  20651. <Property Name="DateFrom" Type="DateTime" Precision="3" />
  20652. <Property Name="DateTo" Type="DateTime" Precision="3" />
  20653. <Property Name="Target" Type="Int32" />
  20654. <Property Name="OptimisticLockField" Type="Int32" />
  20655. <Property Name="GCRecord" Type="Int32" />
  20656. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplit_Personnel" FromRole="TblPersonnelWeeklyTargetSplit" ToRole="TblPersonnel" />
  20657. </EntityType>
  20658. <EntityType Name="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  20659. <Key>
  20660. <PropertyRef Name="OID" />
  20661. </Key>
  20662. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20663. <Property Name="Personnel" Type="Int32" />
  20664. <Property Name="SalesVenue" Type="Int32" />
  20665. <Property Name="Year" Type="Int32" />
  20666. <Property Name="WeekNumber" Type="Int32" />
  20667. <Property Name="DateFrom" Type="DateTime" Precision="3" />
  20668. <Property Name="DateTo" Type="DateTime" Precision="3" />
  20669. <Property Name="Target" Type="Int32" />
  20670. <Property Name="OptimisticLockField" Type="Int32" />
  20671. <Property Name="GCRecord" Type="Int32" />
  20672. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel" FromRole="TblPersonnelWeeklyTargetSplitPerSalesVenue" ToRole="TblPersonnel" />
  20673. <NavigationProperty Name="TblSalesVenue" Relationship="ProvisionStagingModel.FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue" FromRole="TblPersonnelWeeklyTargetSplitPerSalesVenue" ToRole="TblSalesVenue" />
  20674. </EntityType>
  20675. <EntityType Name="TblPersTransfig">
  20676. <Key>
  20677. <PropertyRef Name="OID" />
  20678. </Key>
  20679. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20680. <Property Name="TransfigFrom" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  20681. <Property Name="TransfigTo" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  20682. <Property Name="TblPersonnellKey" Type="Int32" />
  20683. <Property Name="OptimisticLockField" Type="Int32" />
  20684. <Property Name="GCRecord" Type="Int32" />
  20685. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPersTransfig_TblPersonnellKey" FromRole="TblPersTransfig" ToRole="TblPersonnel" />
  20686. </EntityType>
  20687. <EntityType Name="TblPodManager">
  20688. <Key>
  20689. <PropertyRef Name="OID" />
  20690. </Key>
  20691. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20692. <Property Name="PersonnelCode" Type="Int32" />
  20693. <Property Name="PodManagers" Type="Int32" />
  20694. <Property Name="OptimisticLockField" Type="Int32" />
  20695. <Property Name="GCRecord" Type="Int32" />
  20696. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPodManager_PersonnelCode" FromRole="TblPodManager" ToRole="TblPersonnel" />
  20697. </EntityType>
  20698. <EntityType Name="TblPortfolio">
  20699. <Key>
  20700. <PropertyRef Name="OID" />
  20701. </Key>
  20702. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20703. <Property Name="PortfolioNumber" Type="Int32" />
  20704. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20705. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20706. <Property Name="EmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20707. <Property Name="Title" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  20708. <Property Name="Initials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20709. <Property Name="FirstNames" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20710. <Property Name="Surname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20711. <Property Name="IDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20712. <Property Name="ReceiveInfo" Type="Boolean" />
  20713. <Property Name="OptOut" Type="Boolean" />
  20714. <Property Name="PersonalDataShared" Type="Boolean" />
  20715. <Property Name="Reconsider" Type="Boolean" />
  20716. <Property Name="DateOfBirth" Type="DateTime" Precision="3" />
  20717. <Property Name="SpouseTitle" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
  20718. <Property Name="SpouseInitials" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20719. <Property Name="SpouseFirstName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20720. <Property Name="SpouseSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20721. <Property Name="SpouseIDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20722. <Property Name="SpouseWorkPhoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20723. <Property Name="SpouseCellphoneNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20724. <Property Name="SpouseEmailAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20725. <Property Name="CompanyName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20726. <Property Name="CompanyRegNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20727. <Property Name="BookingRefText" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20728. <Property Name="OptimisticLockField" Type="Int32" />
  20729. <Property Name="GCRecord" Type="Int32" />
  20730. <Property Name="HowMarried" Type="Int32" />
  20731. <Property Name="JointPurchase" Type="Boolean" />
  20732. <Property Name="OtherContact" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20733. <Property Name="ExternalAccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20734. <Property Name="BookingRef" Type="String" MaxLength="10" FixedLength="false" Unicode="true" />
  20735. <Property Name="FacebookAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20736. <Property Name="TwitterAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20737. <Property Name="DateTimeUpdated" Type="DateTime" Precision="3" />
  20738. <Property Name="DebtReviewDate" Type="DateTime" Precision="3" />
  20739. <Property Name="DateTimeSent" Type="DateTime" Precision="3" />
  20740. <Property Name="WebAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20741. <Property Name="IMAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20742. <Property Name="SkypeAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20743. <Property Name="LinkedInAddress" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20744. <Property Name="TempPwd" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20745. <Property Name="DefaultTelephone" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20746. <Property Name="Email" Type="Boolean" />
  20747. <Property Name="Post" Type="Boolean" />
  20748. <Property Name="PortfolioString" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20749. <Property Name="LastUpdated" Type="DateTime" Precision="3" />
  20750. <Property Name="Status" Type="Int32" />
  20751. <Property Name="RCINumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20752. <Property Name="CertificateName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20753. <Property Name="Password" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20754. <Property Name="DefaultComAddress" Type="Int32" />
  20755. <Property Name="PasswordByte" Type="Binary" MaxLength="Max" FixedLength="false" />
  20756. <Property Name="SendToCollectionSystem" Type="Boolean" />
  20757. <Property Name="DateLastSentToCollectionSystem" Type="DateTime" Precision="3" />
  20758. <Property Name="FundInstallment" Type="Boolean" />
  20759. <Property Name="DoNotDecreaseInstallment" Type="Boolean" />
  20760. <Property Name="RCIEnrolledDate" Type="DateTime" Precision="3" />
  20761. <Property Name="IsCompany" Type="Boolean" />
  20762. <Property Name="PowerOfAttorney" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20763. <Property Name="POFAIDNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20764. <Property Name="ReconsiderTwoYears" Type="Boolean" />
  20765. <Property Name="ReconsiderTwoYearsSelected" Type="DateTime" Precision="3" />
  20766. <Property Name="POAMakeReservation" Type="Boolean" />
  20767. <Property Name="POAEquireAvailableBenefits" Type="Boolean" />
  20768. <Property Name="POAEnquireFinancialDetails" Type="Boolean" />
  20769. <Property Name="POAAmendPersonalInformation" Type="Boolean" />
  20770. <Property Name="ReceiveLeaseInfo" Type="Boolean" />
  20771. <Property Name="CustomerVATNr" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  20772. <Property Name="IsForeigner" Type="Boolean" />
  20773. <Property Name="PassportNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20774. <Property Name="SpouseDOB" Type="DateTime" Precision="3" />
  20775. <Property Name="IsSpouseForeigner" Type="Boolean" />
  20776. <Property Name="SpousePassportNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20777. <Property Name="SoleProprietor" Type="Boolean" />
  20778. <Property Name="IsEstateLate" Type="Boolean" />
  20779. <Property Name="IsSpouseEstateLate" Type="Boolean" />
  20780. <Property Name="DateEstateLate" Type="DateTime" Precision="3" />
  20781. <Property Name="DateSpouseEstateLate" Type="DateTime" Precision="3" />
  20782. <Property Name="EstateLateSent" Type="Int32" />
  20783. <Property Name="EstateLateSpouseSent" Type="Int32" />
  20784. <Property Name="CapacityOfRepresentative" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20785. <Property Name="NameChange" Type="Boolean" />
  20786. <Property Name="PurchasedToOccupy" Type="Boolean" />
  20787. <Property Name="PurchasedToExchange" Type="Boolean" />
  20788. <NavigationProperty Name="TblOverrideAudits" Relationship="ProvisionStagingModel.FK_TblOverrideAudit_Portfolio" FromRole="TblPortfolio" ToRole="TblOverrideAudit" />
  20789. <NavigationProperty Name="TblSACRRAData" Relationship="ProvisionStagingModel.FK_TblPortfolio_EstateLateSent" FromRole="TblPortfolio" ToRole="TblSACRRAData" />
  20790. <NavigationProperty Name="TblSACRRAData1" Relationship="ProvisionStagingModel.FK_TblPortfolio_EstateLateSpouseSent" FromRole="TblPortfolio" ToRole="TblSACRRAData" />
  20791. <NavigationProperty Name="Title1" Relationship="ProvisionStagingModel.FK_TblPortfolio_SpouseTitle" FromRole="TblPortfolio" ToRole="Title" />
  20792. <NavigationProperty Name="Title2" Relationship="ProvisionStagingModel.FK_TblPortfolio_Title" FromRole="TblPortfolio" ToRole="Title" />
  20793. <NavigationProperty Name="TblPortfolioDocuments" Relationship="ProvisionStagingModel.FK_TblPortfolioDocuments_PortFolio" FromRole="TblPortfolio" ToRole="TblPortfolioDocument" />
  20794. <NavigationProperty Name="TblPortfolioNotes" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_Portfolio" FromRole="TblPortfolio" ToRole="TblPortfolioNote" />
  20795. <NavigationProperty Name="TblPortfolioNotes1" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_TblPortfolio" FromRole="TblPortfolio" ToRole="TblPortfolioNote" />
  20796. <NavigationProperty Name="TblPortfolioResetEstateLates" Relationship="ProvisionStagingModel.FK_TblPortfolioResetEstateLate_Portfolio" FromRole="TblPortfolio" ToRole="TblPortfolioResetEstateLate" />
  20797. <NavigationProperty Name="TblSMSCampaignMessages" Relationship="ProvisionStagingModel.FK_TblSMSCampaignMessages_Portfolio" FromRole="TblPortfolio" ToRole="TblSMSCampaignMessage" />
  20798. <NavigationProperty Name="TblStreamlines" Relationship="ProvisionStagingModel.FK_TblStreamline_Portfolio" FromRole="TblPortfolio" ToRole="TblStreamline" />
  20799. <NavigationProperty Name="TblTelephones" Relationship="ProvisionStagingModel.FK_TblTelephones_PortfolioNumber" FromRole="TblPortfolio" ToRole="TblTelephone" />
  20800. <NavigationProperty Name="TblUnipointBookings" Relationship="ProvisionStagingModel.FK_TblUnipointBookings_Portfolio" FromRole="TblPortfolio" ToRole="TblUnipointBooking" />
  20801. <NavigationProperty Name="TblUnipointBookingWeeks" Relationship="ProvisionStagingModel.FK_TblUnipointBookingWeeks_Portfolio" FromRole="TblPortfolio" ToRole="TblUnipointBookingWeek" />
  20802. <NavigationProperty Name="TblUpdateBankingDetails" Relationship="ProvisionStagingModel.FK_TblUpdateBankingDetails_Portfolio" FromRole="TblPortfolio" ToRole="TblUpdateBankingDetail" />
  20803. <NavigationProperty Name="TblWeekBankings" Relationship="ProvisionStagingModel.FK_TblWeekBanking_Portfolio" FromRole="TblPortfolio" ToRole="TblWeekBanking" />
  20804. <NavigationProperty Name="Transfigurations" Relationship="ProvisionStagingModel.FK_Transfigurations_Portfolio" FromRole="TblPortfolio" ToRole="Transfiguration" />
  20805. </EntityType>
  20806. <EntityType Name="TblPortfolioDocument">
  20807. <Key>
  20808. <PropertyRef Name="OID" />
  20809. </Key>
  20810. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20811. <Property Name="PortFolio" Type="Int32" />
  20812. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20813. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20814. <Property Name="DocumentType" Type="Int32" />
  20815. <Property Name="Document" Type="Int32" />
  20816. <Property Name="OptimisticLockField" Type="Int32" />
  20817. <Property Name="GCRecord" Type="Int32" />
  20818. <Property Name="Period" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20819. <Property Name="IsStatement" Type="Boolean" />
  20820. <NavigationProperty Name="TblDocumentType" Relationship="ProvisionStagingModel.FK_TblPortfolioDocuments_DocumentType" FromRole="TblPortfolioDocument" ToRole="TblDocumentType" />
  20821. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblPortfolioDocuments_PortFolio" FromRole="TblPortfolioDocument" ToRole="TblPortfolio" />
  20822. </EntityType>
  20823. <EntityType Name="TblPortfolioFeeInsurance">
  20824. <Key>
  20825. <PropertyRef Name="Oid" />
  20826. </Key>
  20827. <Property Name="Oid" Type="Guid" Nullable="false" />
  20828. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20829. <Property Name="Percentage" Type="Decimal" Precision="19" Scale="4" />
  20830. <Property Name="OptimisticLockField" Type="Int32" />
  20831. <Property Name="GCRecord" Type="Int32" />
  20832. </EntityType>
  20833. <EntityType Name="TblPortfolioNote">
  20834. <Key>
  20835. <PropertyRef Name="OID" />
  20836. </Key>
  20837. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20838. <Property Name="TblPortfolio" Type="Int32" />
  20839. <Property Name="MessageCode" Type="Int32" />
  20840. <Property Name="Comments" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20841. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20842. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20843. <Property Name="OptimisticLockField" Type="Int32" />
  20844. <Property Name="GCRecord" Type="Int32" />
  20845. <Property Name="TblDebtor" Type="Int32" />
  20846. <Property Name="ActionDate" Type="DateTime" Precision="3" />
  20847. <Property Name="Portfolio" Type="Int32" />
  20848. <Property Name="Debtor" Type="Int32" />
  20849. <Property Name="Contract" Type="Int32" />
  20850. <Property Name="SentToCollectionSystem" Type="DateTime" Precision="3" />
  20851. <Property Name="MessageType" Type="Int32" />
  20852. <Property Name="Reference" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20853. <Property Name="DebtorBanking" Type="Int32" />
  20854. <NavigationProperty Name="TblDebtor1" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_Debtor" FromRole="TblPortfolioNote" ToRole="TblDebtor" />
  20855. <NavigationProperty Name="TblDebtor2" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_TblDebtor" FromRole="TblPortfolioNote" ToRole="TblDebtor" />
  20856. <NavigationProperty Name="TblDebtorBanking" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_DebtorBanking" FromRole="TblPortfolioNote" ToRole="TblDebtorBanking" />
  20857. <NavigationProperty Name="TblMessageCode" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_MessageCode" FromRole="TblPortfolioNote" ToRole="TblMessageCode" />
  20858. <NavigationProperty Name="TblPortfolio1" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_Portfolio" FromRole="TblPortfolioNote" ToRole="TblPortfolio" />
  20859. <NavigationProperty Name="TblPortfolio2" Relationship="ProvisionStagingModel.FK_TblPortfolioNotes_TblPortfolio" FromRole="TblPortfolioNote" ToRole="TblPortfolio" />
  20860. </EntityType>
  20861. <EntityType Name="TblPortfolioResetEstateLate">
  20862. <Key>
  20863. <PropertyRef Name="OID" />
  20864. </Key>
  20865. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20866. <Property Name="Portfolio" Type="Int32" />
  20867. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20868. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20869. <Property Name="UnFlagMain" Type="Boolean" />
  20870. <Property Name="UnFlagSpouse" Type="Boolean" />
  20871. <Property Name="Reason" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20872. <Property Name="OptimisticLockField" Type="Int32" />
  20873. <Property Name="GCRecord" Type="Int32" />
  20874. <NavigationProperty Name="TblPortfolio" Relationship="ProvisionStagingModel.FK_TblPortfolioResetEstateLate_Portfolio" FromRole="TblPortfolioResetEstateLate" ToRole="TblPortfolio" />
  20875. </EntityType>
  20876. <EntityType Name="TblPostCode">
  20877. <Key>
  20878. <PropertyRef Name="OID" />
  20879. </Key>
  20880. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20881. <Property Name="PlaceName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20882. <Property Name="PostBoxCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20883. <Property Name="StreetCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20884. <Property Name="Region" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20885. <Property Name="Area" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20886. <Property Name="OptimisticLockField" Type="Int32" />
  20887. <Property Name="GCRecord" Type="Int32" />
  20888. </EntityType>
  20889. <EntityType Name="TblPreviousAgeing">
  20890. <Key>
  20891. <PropertyRef Name="OID" />
  20892. </Key>
  20893. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20894. <Property Name="Debtor" Type="Int32" />
  20895. <Property Name="Date" Type="DateTime" Precision="3" />
  20896. <Property Name="StatementPeriod" Type="Int32" />
  20897. <Property Name="Balance" Type="Decimal" Precision="19" Scale="4" />
  20898. <Property Name="Current" Type="Decimal" Precision="19" Scale="4" />
  20899. <Property Name="Days30" Type="Decimal" Precision="19" Scale="4" />
  20900. <Property Name="Days60" Type="Decimal" Precision="19" Scale="4" />
  20901. <Property Name="Days90" Type="Decimal" Precision="19" Scale="4" />
  20902. <Property Name="Days120" Type="Decimal" Precision="19" Scale="4" />
  20903. <Property Name="Days150" Type="Decimal" Precision="19" Scale="4" />
  20904. <Property Name="Days180" Type="Decimal" Precision="19" Scale="4" />
  20905. <Property Name="Installment" Type="Decimal" Precision="19" Scale="4" />
  20906. <Property Name="Age" Type="Byte" />
  20907. <Property Name="NowDue" Type="Decimal" Precision="19" Scale="4" />
  20908. <Property Name="OptimisticLockField" Type="Int32" />
  20909. <Property Name="GCRecord" Type="Int32" />
  20910. <Property Name="Capital" Type="Decimal" Precision="19" Scale="4" />
  20911. <Property Name="Fees" Type="Decimal" Precision="19" Scale="4" />
  20912. <Property Name="Interest" Type="Decimal" Precision="19" Scale="4" />
  20913. <Property Name="Instalment" Type="Decimal" Precision="19" Scale="4" />
  20914. <Property Name="CurrentAge" Type="Byte" />
  20915. <Property Name="AmountDue" Type="Decimal" Precision="19" Scale="4" />
  20916. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblPreviousAgeing_Debtor" FromRole="TblPreviousAgeing" ToRole="TblDebtor" />
  20917. </EntityType>
  20918. <EntityType Name="TblPreviousAging">
  20919. <Key>
  20920. <PropertyRef Name="OID" />
  20921. </Key>
  20922. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20923. <Property Name="Debtor" Type="Int32" />
  20924. <Property Name="StatementPeriod" Type="Int32" />
  20925. <Property Name="Balance" Type="Decimal" Precision="19" Scale="4" />
  20926. <Property Name="Sundries" Type="Double" />
  20927. <Property Name="Days30" Type="Decimal" Precision="19" Scale="4" />
  20928. <Property Name="Days60" Type="Decimal" Precision="19" Scale="4" />
  20929. <Property Name="Days90" Type="Decimal" Precision="19" Scale="4" />
  20930. <Property Name="Days120" Type="Decimal" Precision="19" Scale="4" />
  20931. <Property Name="Days150" Type="Decimal" Precision="19" Scale="4" />
  20932. <Property Name="Days180" Type="Decimal" Precision="19" Scale="4" />
  20933. <Property Name="Installment" Type="Decimal" Precision="19" Scale="4" />
  20934. <Property Name="Age" Type="Byte" />
  20935. <Property Name="NowDue" Type="Decimal" Precision="19" Scale="4" />
  20936. <Property Name="OptimisticLockField" Type="Int32" />
  20937. <Property Name="GCRecord" Type="Int32" />
  20938. <Property Name="Current" Type="Decimal" Precision="19" Scale="4" />
  20939. <NavigationProperty Name="TblDebtor" Relationship="ProvisionStagingModel.FK_TblPreviousAging_Debtor" FromRole="TblPreviousAging" ToRole="TblDebtor" />
  20940. </EntityType>
  20941. <EntityType Name="TblPromoCategory">
  20942. <Key>
  20943. <PropertyRef Name="OID" />
  20944. </Key>
  20945. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20946. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20947. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20948. <Property Name="Code" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20949. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20950. <Property Name="OptimisticLockField" Type="Int32" />
  20951. <Property Name="GCRecord" Type="Int32" />
  20952. <NavigationProperty Name="TblPromoConfigs" Relationship="ProvisionStagingModel.FK_TblPromoConfig_Category" FromRole="TblPromoCategory" ToRole="TblPromoConfig" />
  20953. </EntityType>
  20954. <EntityType Name="TblPromoConfig">
  20955. <Key>
  20956. <PropertyRef Name="OID" />
  20957. </Key>
  20958. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20959. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20960. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20961. <Property Name="CampaignName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20962. <Property Name="StartDate" Type="DateTime" Precision="3" />
  20963. <Property Name="EndDate" Type="DateTime" Precision="3" />
  20964. <Property Name="ArrivalDate" Type="DateTime" Precision="3" />
  20965. <Property Name="DepartureDate" Type="DateTime" Precision="3" />
  20966. <Property Name="PromoArrivalDate" Type="DateTime" Precision="3" />
  20967. <Property Name="PromoDepartureDate" Type="DateTime" Precision="3" />
  20968. <Property Name="Category" Type="Int32" />
  20969. <Property Name="Resort" Type="Int32" />
  20970. <Property Name="PromoResort" Type="Int32" />
  20971. <Property Name="Value" Type="Decimal" Precision="19" Scale="4" />
  20972. <Property Name="ValueType" Type="Int32" />
  20973. <Property Name="PromoCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20974. <Property Name="HTMLTemplate" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
  20975. <Property Name="ImportTemplate" Type="Guid" />
  20976. <Property Name="OptimisticLockField" Type="Int32" />
  20977. <Property Name="GCRecord" Type="Int32" />
  20978. <NavigationProperty Name="TblPromoCategory" Relationship="ProvisionStagingModel.FK_TblPromoConfig_Category" FromRole="TblPromoConfig" ToRole="TblPromoCategory" />
  20979. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblPromoConfig_PromoResort" FromRole="TblPromoConfig" ToRole="TblResort" />
  20980. <NavigationProperty Name="TblResort1" Relationship="ProvisionStagingModel.FK_TblPromoConfig_Resort" FromRole="TblPromoConfig" ToRole="TblResort" />
  20981. <NavigationProperty Name="TblPromoDocuments" Relationship="ProvisionStagingModel.FK_TblPromoDocuments_PromoConfig" FromRole="TblPromoConfig" ToRole="TblPromoDocument" />
  20982. <NavigationProperty Name="TblPromoMembers" Relationship="ProvisionStagingModel.FK_TblPromoMembers_Campaign" FromRole="TblPromoConfig" ToRole="TblPromoMember" />
  20983. </EntityType>
  20984. <EntityType Name="TblPromoDocument">
  20985. <Key>
  20986. <PropertyRef Name="OID" />
  20987. </Key>
  20988. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  20989. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  20990. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20991. <Property Name="DocumentType" Type="Int32" />
  20992. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  20993. <Property Name="PromoConfig" Type="Int32" />
  20994. <Property Name="Document" Type="Int32" />
  20995. <Property Name="OptimisticLockField" Type="Int32" />
  20996. <Property Name="GCRecord" Type="Int32" />
  20997. <NavigationProperty Name="TblDocumentType" Relationship="ProvisionStagingModel.FK_TblPromoDocuments_DocumentType" FromRole="TblPromoDocument" ToRole="TblDocumentType" />
  20998. <NavigationProperty Name="TblPromoConfig" Relationship="ProvisionStagingModel.FK_TblPromoDocuments_PromoConfig" FromRole="TblPromoDocument" ToRole="TblPromoConfig" />
  20999. </EntityType>
  21000. <EntityType Name="TblPromoMember">
  21001. <Key>
  21002. <PropertyRef Name="OID" />
  21003. </Key>
  21004. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21005. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  21006. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21007. <Property Name="MembershipNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21008. <Property Name="Campaign" Type="Int32" />
  21009. <Property Name="Redeemed" Type="Boolean" />
  21010. <Property Name="OptimisticLockField" Type="Int32" />
  21011. <Property Name="GCRecord" Type="Int32" />
  21012. <Property Name="SentToUni" Type="DateTime" Precision="3" />
  21013. <Property Name="RedeemedDate" Type="DateTime" Precision="3" />
  21014. <NavigationProperty Name="TblPromoConfig" Relationship="ProvisionStagingModel.FK_TblPromoMembers_Campaign" FromRole="TblPromoMember" ToRole="TblPromoConfig" />
  21015. </EntityType>
  21016. <EntityType Name="TblPromotion">
  21017. <Key>
  21018. <PropertyRef Name="Oid" />
  21019. </Key>
  21020. <Property Name="Oid" Type="Guid" Nullable="false" />
  21021. <Property Name="Resort" Type="Int32" />
  21022. <Property Name="Season" Type="Int32" />
  21023. <Property Name="SleeperSize" Type="Int32" />
  21024. <Property Name="UnitNumber" Type="Int32" />
  21025. <Property Name="WeekType" Type="Int32" />
  21026. <Property Name="FromDate" Type="DateTime" Precision="3" />
  21027. <Property Name="ToDate" Type="DateTime" Precision="3" />
  21028. <Property Name="Price1" Type="Decimal" Precision="19" Scale="4" />
  21029. <Property Name="Price2" Type="Decimal" Precision="19" Scale="4" />
  21030. <Property Name="DiscountPercentage" Type="Decimal" Precision="19" Scale="4" />
  21031. <Property Name="OptimisticLockField" Type="Int32" />
  21032. <Property Name="GCRecord" Type="Int32" />
  21033. <Property Name="RebatePercentage" Type="Decimal" Precision="19" Scale="4" />
  21034. <Property Name="UsePrice1" Type="Boolean" />
  21035. <Property Name="UsePrice2" Type="Boolean" />
  21036. <Property Name="UseRebate" Type="Boolean" />
  21037. <Property Name="WeekModule" Type="Int32" />
  21038. <Property Name="PromotionType" Type="Int32" />
  21039. <NavigationProperty Name="TblPromotionType" Relationship="ProvisionStagingModel.FK_TblPromotion_PromotionType" FromRole="TblPromotion" ToRole="TblPromotionType" />
  21040. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblPromotion_Resort" FromRole="TblPromotion" ToRole="TblResort" />
  21041. <NavigationProperty Name="TblWeekModule" Relationship="ProvisionStagingModel.FK_TblPromotion_WeekModule" FromRole="TblPromotion" ToRole="TblWeekModule" />
  21042. </EntityType>
  21043. <EntityType Name="TblPromotionCommission">
  21044. <Key>
  21045. <PropertyRef Name="Oid" />
  21046. </Key>
  21047. <Property Name="Oid" Type="Guid" Nullable="false" />
  21048. <Property Name="SalesCommissionInfo" Type="Guid" />
  21049. <Property Name="PromotionPercentage" Type="Decimal" Precision="19" Scale="4" />
  21050. <Property Name="PromotionAmount" Type="Decimal" Precision="19" Scale="4" />
  21051. <Property Name="UseAmount" Type="Boolean" />
  21052. <Property Name="UpfrontAmount" Type="Decimal" Precision="19" Scale="4" />
  21053. <Property Name="UpfrontAmountPaid" Type="Decimal" Precision="19" Scale="4" />
  21054. <Property Name="DripAmount" Type="Decimal" Precision="19" Scale="4" />
  21055. <Property Name="DripAmountPaid" Type="Decimal" Precision="19" Scale="4" />
  21056. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  21057. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  21058. <Property Name="NumberOfDrips" Type="Int32" />
  21059. <Property Name="DripStartOnInstallment" Type="Int32" />
  21060. <Property Name="PromotionCommissionStructure" Type="Guid" />
  21061. <Property Name="OptimisticLockField" Type="Int32" />
  21062. <Property Name="GCRecord" Type="Int32" />
  21063. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblPromotionCommission_PromotionCommissionStructure" FromRole="TblPromotionCommission" ToRole="TblPromotionCommissionStructure" />
  21064. <NavigationProperty Name="TblSalesCommissionInfo" Relationship="ProvisionStagingModel.FK_TblPromotionCommission_SalesCommissionInfo" FromRole="TblPromotionCommission" ToRole="TblSalesCommissionInfo" />
  21065. </EntityType>
  21066. <EntityType Name="TblPromotionCommissionStructure">
  21067. <Key>
  21068. <PropertyRef Name="Oid" />
  21069. </Key>
  21070. <Property Name="Oid" Type="Guid" Nullable="false" />
  21071. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21072. <Property Name="FromDate" Type="DateTime" Precision="3" />
  21073. <Property Name="ToDate" Type="DateTime" Precision="3" />
  21074. <Property Name="UsePercentage" Type="Boolean" />
  21075. <Property Name="PromotionPercentage" Type="Decimal" Precision="19" Scale="4" />
  21076. <Property Name="UseAmount" Type="Boolean" />
  21077. <Property Name="PromotionAmount" Type="Decimal" Precision="19" Scale="4" />
  21078. <Property Name="UpfrontPercentage" Type="Decimal" Precision="19" Scale="4" />
  21079. <Property Name="DripPercentage" Type="Decimal" Precision="19" Scale="4" />
  21080. <Property Name="NumberOfDrips" Type="Int32" />
  21081. <Property Name="DripStartOnInstallment" Type="Int32" />
  21082. <Property Name="OptimisticLockField" Type="Int32" />
  21083. <Property Name="GCRecord" Type="Int32" />
  21084. <NavigationProperty Name="TblPromotionCommissions" Relationship="ProvisionStagingModel.FK_TblPromotionCommission_PromotionCommissionStructure" FromRole="TblPromotionCommissionStructure" ToRole="TblPromotionCommission" />
  21085. <NavigationProperty Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" Relationship="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructure" ToRole="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" />
  21086. <NavigationProperty Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Relationship="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructure" ToRole="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" />
  21087. <NavigationProperty Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Relationship="ProvisionStagingModel.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructure" ToRole="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  21088. <NavigationProperty Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Relationship="ProvisionStagingModel.FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructure" ToRole="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" />
  21089. <NavigationProperty Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Relationship="ProvisionStagingModel.FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructure" ToRole="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" />
  21090. <NavigationProperty Name="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure" FromRole="TblPromotionCommissionStructure" ToRole="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" />
  21091. </EntityType>
  21092. <EntityType Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  21093. <Key>
  21094. <PropertyRef Name="OID" />
  21095. </Key>
  21096. <Property Name="ContractTypes" Type="Int32" />
  21097. <Property Name="PromotionCommissionStructures" Type="Guid" />
  21098. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21099. <Property Name="OptimisticLockField" Type="Int32" />
  21100. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" ToRole="TblPromotionCommissionStructure" />
  21101. </EntityType>
  21102. <EntityType Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  21103. <Key>
  21104. <PropertyRef Name="OID" />
  21105. </Key>
  21106. <Property Name="Personnel" Type="Int32" />
  21107. <Property Name="PromotionCommissionStructures" Type="Guid" />
  21108. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21109. <Property Name="OptimisticLockField" Type="Int32" />
  21110. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel" FromRole="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" ToRole="TblPersonnel" />
  21111. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures" FromRole="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" ToRole="TblPromotionCommissionStructure" />
  21112. </EntityType>
  21113. <EntityType Name="TblPromotionType">
  21114. <Key>
  21115. <PropertyRef Name="OID" />
  21116. </Key>
  21117. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21118. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21119. <Property Name="ContractDuration" Type="Int32" />
  21120. <Property Name="PaymentDuration" Type="Int32" />
  21121. <Property Name="DefaultContractType" Type="Int32" />
  21122. <Property Name="OptimisticLockField" Type="Int32" />
  21123. <Property Name="GCRecord" Type="Int32" />
  21124. <Property Name="SCV2PaymentDuration" Type="Int32" />
  21125. <NavigationProperty Name="TblPromotions" Relationship="ProvisionStagingModel.FK_TblPromotion_PromotionType" FromRole="TblPromotionType" ToRole="TblPromotion" />
  21126. <NavigationProperty Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Relationship="ProvisionStagingModel.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes" FromRole="TblPromotionType" ToRole="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" />
  21127. </EntityType>
  21128. <EntityType Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  21129. <Key>
  21130. <PropertyRef Name="OID" />
  21131. </Key>
  21132. <Property Name="PromotionCommissionStructures" Type="Guid" />
  21133. <Property Name="PromotionTypes" Type="Int32" />
  21134. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21135. <Property Name="OptimisticLockField" Type="Int32" />
  21136. <NavigationProperty Name="TblPromotionCommissionStructure" Relationship="ProvisionStagingModel.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures" FromRole="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" ToRole="TblPromotionCommissionStructure" />
  21137. <NavigationProperty Name="TblPromotionType" Relationship="ProvisionStagingModel.FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes" FromRole="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" ToRole="TblPromotionType" />
  21138. </EntityType>
  21139. <EntityType Name="TblPublicHoliday">
  21140. <Key>
  21141. <PropertyRef Name="Date" />
  21142. </Key>
  21143. <Property Name="Date" Type="DateTime" Nullable="false" Precision="3" />
  21144. <Property Name="OptimisticLockField" Type="Int32" />
  21145. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21146. <Property Name="ThisYearOnly" Type="Boolean" />
  21147. </EntityType>
  21148. <EntityType Name="TblQNQReason">
  21149. <Key>
  21150. <PropertyRef Name="OID" />
  21151. </Key>
  21152. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21153. <Property Name="Descrip" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21154. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21155. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  21156. <Property Name="Qualified" Type="Boolean" />
  21157. <Property Name="OptimisticLockField" Type="Int32" />
  21158. <Property Name="GCRecord" Type="Int32" />
  21159. </EntityType>
  21160. <EntityType Name="TblQueryCategory">
  21161. <Key>
  21162. <PropertyRef Name="OID" />
  21163. </Key>
  21164. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21165. <Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21166. <Property Name="OptimisticLockField" Type="Int32" />
  21167. <Property Name="GCRecord" Type="Int32" />
  21168. <NavigationProperty Name="TblQueryCategories" Relationship="ProvisionStagingModel.FK_TblQueryCategory_QueryCategory" FromRole="TblQueryCategory" ToRole="TblQueryCategory1" />
  21169. </EntityType>
  21170. <EntityType Name="TblQueryCategory1">
  21171. <Key>
  21172. <PropertyRef Name="OID" />
  21173. </Key>
  21174. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21175. <Property Name="QueryCategory" Type="Int32" />
  21176. <Property Name="FeeType" Type="Int32" />
  21177. <Property Name="FixedRate" Type="Decimal" Precision="19" Scale="4" />
  21178. <Property Name="HourlyRate" Type="Decimal" Precision="19" Scale="4" />
  21179. <Property Name="System" Type="Int32" />
  21180. <Property Name="OptimisticLockField" Type="Int32" />
  21181. <Property Name="GCRecord" Type="Int32" />
  21182. <NavigationProperty Name="TblQueryCategory" Relationship="ProvisionStagingModel.FK_TblQueryCategory_QueryCategory" FromRole="TblQueryCategory1" ToRole="TblQueryCategory" />
  21183. <NavigationProperty Name="TblSystem" Relationship="ProvisionStagingModel.FK_TblQueryCategory_System" FromRole="TblQueryCategory1" ToRole="TblSystem" />
  21184. </EntityType>
  21185. <EntityType Name="TblQueryRecipient">
  21186. <Key>
  21187. <PropertyRef Name="OID" />
  21188. </Key>
  21189. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21190. <Property Name="System" Type="Int32" />
  21191. <Property Name="MainRecipient" Type="Int32" />
  21192. <Property Name="CCRecipient" Type="Int32" />
  21193. <Property Name="BCCRecipient" Type="Int32" />
  21194. <Property Name="OptimisticLockField" Type="Int32" />
  21195. <Property Name="GCRecord" Type="Int32" />
  21196. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_BCCRecipient" FromRole="TblQueryRecipient" ToRole="TblPersonnel" />
  21197. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_CCRecipient" FromRole="TblQueryRecipient" ToRole="TblPersonnel" />
  21198. <NavigationProperty Name="TblPersonnel2" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_MainRecipient" FromRole="TblQueryRecipient" ToRole="TblPersonnel" />
  21199. <NavigationProperty Name="TblSystem" Relationship="ProvisionStagingModel.FK_TblQueryRecipient_System" FromRole="TblQueryRecipient" ToRole="TblSystem" />
  21200. </EntityType>
  21201. <EntityType Name="TblRankingPoint">
  21202. <Key>
  21203. <PropertyRef Name="OID" />
  21204. </Key>
  21205. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21206. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  21207. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21208. <Property Name="Rank" Type="Int32" />
  21209. <Property Name="PerRank" Type="Int32" />
  21210. <Property Name="SalesPrice" Type="Decimal" Precision="19" Scale="4" />
  21211. <Property Name="Rankings" Type="Int32" />
  21212. <Property Name="OptimisticLockField" Type="Int32" />
  21213. <Property Name="GCRecord" Type="Int32" />
  21214. <Property Name="FoundationFeePercentage" Type="Decimal" Precision="19" Scale="4" />
  21215. <Property Name="MennoxPercentage" Type="Decimal" Precision="19" Scale="4" />
  21216. <Property Name="NominalFee" Type="Decimal" Precision="19" Scale="4" />
  21217. <Property Name="MidWeekPrice" Type="Decimal" Precision="19" Scale="4" />
  21218. <Property Name="WeekendPrice" Type="Decimal" Precision="19" Scale="4" />
  21219. <Property Name="NominalFeeEsclation" Type="Decimal" Precision="19" Scale="4" />
  21220. <NavigationProperty Name="TblRanking" Relationship="ProvisionStagingModel.FK_TblRankingPoints_Rankings" FromRole="TblRankingPoint" ToRole="TblRanking" />
  21221. </EntityType>
  21222. <EntityType Name="TblRanking">
  21223. <Key>
  21224. <PropertyRef Name="OID" />
  21225. </Key>
  21226. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21227. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  21228. <Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21229. <Property Name="Years" Type="Int32" />
  21230. <Property Name="OptimisticLockField" Type="Int32" />
  21231. <Property Name="GCRecord" Type="Int32" />
  21232. <NavigationProperty Name="TblRankingPoints" Relationship="ProvisionStagingModel.FK_TblRankingPoints_Rankings" FromRole="TblRanking" ToRole="TblRankingPoint" />
  21233. <NavigationProperty Name="TblSeasonsRankings" Relationship="ProvisionStagingModel.FK_TblSeasonsRankings_Rankings" FromRole="TblRanking" ToRole="TblSeasonsRanking" />
  21234. <NavigationProperty Name="TblSleeperRankings" Relationship="ProvisionStagingModel.FK_TblSleeperRankings_Rankings" FromRole="TblRanking" ToRole="TblSleeperRanking" />
  21235. </EntityType>
  21236. <EntityType Name="TblRawSalesCommData">
  21237. <Key>
  21238. <PropertyRef Name="OID" />
  21239. </Key>
  21240. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21241. <Property Name="Company" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21242. <Property Name="SalesConsultant" Type="Int32" />
  21243. <Property Name="GroupCode" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21244. <Property Name="AccountNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21245. <Property Name="CustomerSurname" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21246. <Property Name="Units" Type="Int16" />
  21247. <Property Name="Price" Type="Double" />
  21248. <Property Name="DateCaptured" Type="DateTime" Precision="3" />
  21249. <Property Name="DateWritten" Type="DateTime" Precision="3" />
  21250. <Property Name="ContractStatus" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21251. <Property Name="St1" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21252. <Property Name="St2" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21253. <Property Name="ContractNumber" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21254. <Property Name="StdAddendum" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21255. <Property Name="CFlag" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21256. <Property Name="InstalmentDate" Type="DateTime" Precision="3" />
  21257. <Property Name="InterestPayable" Type="DateTime" Precision="3" />
  21258. <Property Name="Developer" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21259. <Property Name="Deposit" Type="Double" />
  21260. <Property Name="Add1" Type="Double" />
  21261. <Property Name="Add2" Type="Double" />
  21262. <Property Name="Add3" Type="Double" />
  21263. <Property Name="UniqueNo" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21264. <Property Name="SalesPeriod" Type="Int32" />
  21265. <Property Name="FourPercentComm" Type="Boolean" />
  21266. <Property Name="SalesManager" Type="Int32" />
  21267. <Property Name="AgentName" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21268. <Property Name="ContractPeriod" Type="Int16" />
  21269. <Property Name="OptimisticLockField" Type="Int32" />
  21270. <Property Name="GCRecord" Type="Int32" />
  21271. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblRawSalesCommData_SalesConsultant" FromRole="TblRawSalesCommData" ToRole="TblPersonnel" />
  21272. <NavigationProperty Name="TblPersonnel1" Relationship="ProvisionStagingModel.FK_TblRawSalesCommData_SalesManager" FromRole="TblRawSalesCommData" ToRole="TblPersonnel" />
  21273. </EntityType>
  21274. <EntityType Name="TblRCIDate">
  21275. <Key>
  21276. <PropertyRef Name="OID" />
  21277. </Key>
  21278. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21279. <Property Name="Year" Type="Int32" />
  21280. <Property Name="StartingWeek" Type="DateTime" Precision="3" />
  21281. <Property Name="Resort" Type="Int32" />
  21282. <Property Name="WeekendShares" Type="Int16" />
  21283. <Property Name="MidweekShares" Type="Int16" />
  21284. <Property Name="FullWeekShares" Type="Int16" />
  21285. <Property Name="OptimisticLockField" Type="Int32" />
  21286. <Property Name="GCRecord" Type="Int32" />
  21287. <NavigationProperty Name="TblResort" Relationship="ProvisionStagingModel.FK_TblRCIDates_Resort" FromRole="TblRCIDate" ToRole="TblResort" />
  21288. </EntityType>
  21289. <EntityType Name="TblRebatePaymentCategoryCode">
  21290. <Key>
  21291. <PropertyRef Name="OID" />
  21292. </Key>
  21293. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21294. <Property Name="CategoryCode" Type="Int32" />
  21295. <Property Name="IsLease" Type="Boolean" />
  21296. <Property Name="IsCreditAgreement" Type="Boolean" />
  21297. <Property Name="OptimisticLockField" Type="Int32" />
  21298. <Property Name="GCRecord" Type="Int32" />
  21299. <NavigationProperty Name="TblDebtorCategoryCode" Relationship="ProvisionStagingModel.FK_TblRebatePaymentCategoryCode_CategoryCode" FromRole="TblRebatePaymentCategoryCode" ToRole="TblDebtorCategoryCode" />
  21300. </EntityType>
  21301. <EntityType Name="TblReferalProfile">
  21302. <Key>
  21303. <PropertyRef Name="OID" />
  21304. </Key>
  21305. <Property Name="OID" Type="Int32" Nullable="false" />
  21306. <Property Name="TotalShows" Type="Int32" />
  21307. <Property Name="MemberNo" Type="Int32" />
  21308. <Property Name="Qualify" Type="Boolean" />
  21309. <Property Name="Voucher" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21310. <NavigationProperty Name="TblFriends" Relationship="ProvisionStagingModel.FK_TblFriends_Profile" FromRole="TblReferalProfile" ToRole="TblFriend" />
  21311. </EntityType>
  21312. <EntityType Name="TblReleaseClientBooking">
  21313. <Key>
  21314. <PropertyRef Name="OID" />
  21315. </Key>
  21316. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21317. <Property Name="BookingRef" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21318. <Property Name="PresentationDate" Type="DateTime" Precision="3" />
  21319. <Property Name="Name" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21320. <Property Name="Attended" Type="Boolean" />
  21321. <Property Name="ShowStart" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
  21322. <Property Name="SessionNo" Type="Int32" />
  21323. <Property Name="ReleaseClient" Type="Int32" />
  21324. <Property Name="OptimisticLockField" Type="Int32" />
  21325. <Property Name="GCRecord" Type="Int32" />
  21326. </EntityType>
  21327. <EntityType Name="TblRescheduleCall">
  21328. <Key>
  21329. <PropertyRef Name="OID" />
  21330. </Key>
  21331. <Property Name="OID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  21332. <Property Name="PersonnelCode" Type="Int32" />
  21333. <Property Name="DateCreated" Type="DateTime" Precision="3" />
  21334. <Property Name="dateTimeToCall" Type="DateTime" Precision="3" />
  21335. <Property Name="LeadNum" Type="Int32" />
  21336. <Property Name="DateProcessed" Type="DateTime" Precision="3" />
  21337. <Property Name="Telemarketer" Type="Guid" />
  21338. <Property Name="OptimisticLockField" Type="Int32" />
  21339. <Property Name="GCRecord" Type="Int32" />
  21340. <NavigationProperty Name="TblPersonnel" Relationship="ProvisionStagingModel.FK_TblRescheduleCalls_PersonnelCode" FromRole="TblRescheduleCall" ToRole="TblPersonnel" />
  21341. </EntityType>
  21342. <Association Name="FK_TblDebtor_AllocatedTo">
  21343. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  21344. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="*" />
  21345. <ReferentialConstraint>
  21346. <Principal Role="TblPersonnel">
  21347. <PropertyRef Name="PersonnelCode" />
  21348. </Principal>
  21349. <Dependent Role="TblDebtor">
  21350. <PropertyRef Name="AllocatedTo" />
  21351. </Dependent>
  21352. </ReferentialConstraint>
  21353. </Association>
  21354. <Association Name="FK_TblDebtor_Developer">
  21355. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  21356. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="*" />
  21357. <ReferentialConstraint>
  21358. <Principal Role="TblDeveloper">
  21359. <PropertyRef Name="OID" />
  21360. </Principal>
  21361. <Dependent Role="TblDebtor">
  21362. <PropertyRef Name="Developer" />
  21363. </Dependent>
  21364. </ReferentialConstraint>
  21365. </Association>
  21366. <Association Name="FK_TblDebtor_ReportsTo">
  21367. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  21368. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="*" />
  21369. <ReferentialConstraint>
  21370. <Principal Role="TblPersonnel">
  21371. <PropertyRef Name="PersonnelCode" />
  21372. </Principal>
  21373. <Dependent Role="TblDebtor">
  21374. <PropertyRef Name="ReportsTo" />
  21375. </Dependent>
  21376. </ReferentialConstraint>
  21377. </Association>
  21378. <Association Name="FK_TblDebtor_Resort">
  21379. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  21380. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="*" />
  21381. <ReferentialConstraint>
  21382. <Principal Role="TblResort">
  21383. <PropertyRef Name="OID" />
  21384. </Principal>
  21385. <Dependent Role="TblDebtor">
  21386. <PropertyRef Name="Resort" />
  21387. </Dependent>
  21388. </ReferentialConstraint>
  21389. </Association>
  21390. <Association Name="FK_TblDebtor_UndertakingConsultant">
  21391. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  21392. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="*" />
  21393. <ReferentialConstraint>
  21394. <Principal Role="TblPersonnel">
  21395. <PropertyRef Name="PersonnelCode" />
  21396. </Principal>
  21397. <Dependent Role="TblDebtor">
  21398. <PropertyRef Name="UndertakingConsultant" />
  21399. </Dependent>
  21400. </ReferentialConstraint>
  21401. </Association>
  21402. <Association Name="FK_TblDebtorBanking_DebtorNo">
  21403. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21404. <End Type="ProvisionStagingModel.TblDebtorBanking" Role="TblDebtorBanking" Multiplicity="*" />
  21405. <ReferentialConstraint>
  21406. <Principal Role="TblDebtor">
  21407. <PropertyRef Name="OID" />
  21408. </Principal>
  21409. <Dependent Role="TblDebtorBanking">
  21410. <PropertyRef Name="DebtorNo" />
  21411. </Dependent>
  21412. </ReferentialConstraint>
  21413. </Association>
  21414. <Association Name="FK_TblDebtorCategoryBreakdown_Debtor">
  21415. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21416. <End Type="ProvisionStagingModel.TblDebtorCategoryBreakdown" Role="TblDebtorCategoryBreakdown" Multiplicity="*" />
  21417. <ReferentialConstraint>
  21418. <Principal Role="TblDebtor">
  21419. <PropertyRef Name="OID" />
  21420. </Principal>
  21421. <Dependent Role="TblDebtorCategoryBreakdown">
  21422. <PropertyRef Name="Debtor" />
  21423. </Dependent>
  21424. </ReferentialConstraint>
  21425. </Association>
  21426. <Association Name="FK_TblDebtorDocuments_Debtor">
  21427. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21428. <End Type="ProvisionStagingModel.TblDebtorDocument" Role="TblDebtorDocument" Multiplicity="*" />
  21429. <ReferentialConstraint>
  21430. <Principal Role="TblDebtor">
  21431. <PropertyRef Name="OID" />
  21432. </Principal>
  21433. <Dependent Role="TblDebtorDocument">
  21434. <PropertyRef Name="Debtor" />
  21435. </Dependent>
  21436. </ReferentialConstraint>
  21437. </Association>
  21438. <Association Name="FK_TblDebtorFeedback_DebtorNo">
  21439. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21440. <End Type="ProvisionStagingModel.TblDebtorFeedback" Role="TblDebtorFeedback" Multiplicity="*" />
  21441. <ReferentialConstraint>
  21442. <Principal Role="TblDebtor">
  21443. <PropertyRef Name="OID" />
  21444. </Principal>
  21445. <Dependent Role="TblDebtorFeedback">
  21446. <PropertyRef Name="DebtorNo" />
  21447. </Dependent>
  21448. </ReferentialConstraint>
  21449. </Association>
  21450. <Association Name="FK_TblDebtorInterestRates_DebtorNo">
  21451. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21452. <End Type="ProvisionStagingModel.TblDebtorInterestRate" Role="TblDebtorInterestRate" Multiplicity="*" />
  21453. <ReferentialConstraint>
  21454. <Principal Role="TblDebtor">
  21455. <PropertyRef Name="OID" />
  21456. </Principal>
  21457. <Dependent Role="TblDebtorInterestRate">
  21458. <PropertyRef Name="DebtorNo" />
  21459. </Dependent>
  21460. </ReferentialConstraint>
  21461. </Association>
  21462. <Association Name="FK_TblDebtorManagementFeeValues_Debtor">
  21463. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21464. <End Type="ProvisionStagingModel.TblDebtorManagementFeeValue" Role="TblDebtorManagementFeeValue" Multiplicity="*" />
  21465. <ReferentialConstraint>
  21466. <Principal Role="TblDebtor">
  21467. <PropertyRef Name="OID" />
  21468. </Principal>
  21469. <Dependent Role="TblDebtorManagementFeeValue">
  21470. <PropertyRef Name="Debtor" />
  21471. </Dependent>
  21472. </ReferentialConstraint>
  21473. </Association>
  21474. <Association Name="FK_TblDebtorNotes_TblDebtor">
  21475. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21476. <End Type="ProvisionStagingModel.TblDebtorNote" Role="TblDebtorNote" Multiplicity="*" />
  21477. <ReferentialConstraint>
  21478. <Principal Role="TblDebtor">
  21479. <PropertyRef Name="OID" />
  21480. </Principal>
  21481. <Dependent Role="TblDebtorNote">
  21482. <PropertyRef Name="TblDebtor" />
  21483. </Dependent>
  21484. </ReferentialConstraint>
  21485. </Association>
  21486. <Association Name="FK_TblDebtorResaleTransfers_DebtorNumber">
  21487. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21488. <End Type="ProvisionStagingModel.TblDebtorResaleTransfer" Role="TblDebtorResaleTransfer" Multiplicity="*" />
  21489. <ReferentialConstraint>
  21490. <Principal Role="TblDebtor">
  21491. <PropertyRef Name="OID" />
  21492. </Principal>
  21493. <Dependent Role="TblDebtorResaleTransfer">
  21494. <PropertyRef Name="DebtorNumber" />
  21495. </Dependent>
  21496. </ReferentialConstraint>
  21497. </Association>
  21498. <Association Name="FK_TblDebtorTransactions_Debtor">
  21499. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21500. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21501. <ReferentialConstraint>
  21502. <Principal Role="TblDebtor">
  21503. <PropertyRef Name="OID" />
  21504. </Principal>
  21505. <Dependent Role="TblDebtorTransaction">
  21506. <PropertyRef Name="Debtor" />
  21507. </Dependent>
  21508. </ReferentialConstraint>
  21509. </Association>
  21510. <Association Name="FK_TblDebtorWeekModuleException_Debtor">
  21511. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21512. <End Type="ProvisionStagingModel.TblDebtorWeekModuleException" Role="TblDebtorWeekModuleException" Multiplicity="*" />
  21513. <ReferentialConstraint>
  21514. <Principal Role="TblDebtor">
  21515. <PropertyRef Name="OID" />
  21516. </Principal>
  21517. <Dependent Role="TblDebtorWeekModuleException">
  21518. <PropertyRef Name="Debtor" />
  21519. </Dependent>
  21520. </ReferentialConstraint>
  21521. </Association>
  21522. <Association Name="FK_TblExternalResortCommission_CapitalDebtor">
  21523. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21524. <End Type="ProvisionStagingModel.TblExternalResortCommission" Role="TblExternalResortCommission" Multiplicity="*" />
  21525. <ReferentialConstraint>
  21526. <Principal Role="TblDebtor">
  21527. <PropertyRef Name="OID" />
  21528. </Principal>
  21529. <Dependent Role="TblExternalResortCommission">
  21530. <PropertyRef Name="CapitalDebtor" />
  21531. </Dependent>
  21532. </ReferentialConstraint>
  21533. </Association>
  21534. <Association Name="FK_TblGalvanizedDeals_Debtor">
  21535. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21536. <End Type="ProvisionStagingModel.TblGalvanizedDeal" Role="TblGalvanizedDeal" Multiplicity="*" />
  21537. <ReferentialConstraint>
  21538. <Principal Role="TblDebtor">
  21539. <PropertyRef Name="OID" />
  21540. </Principal>
  21541. <Dependent Role="TblGalvanizedDeal">
  21542. <PropertyRef Name="Debtor" />
  21543. </Dependent>
  21544. </ReferentialConstraint>
  21545. </Association>
  21546. <Association Name="FK_TblHideDebtorTransaction_Debtor">
  21547. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21548. <End Type="ProvisionStagingModel.TblHideDebtorTransaction" Role="TblHideDebtorTransaction" Multiplicity="*" />
  21549. <ReferentialConstraint>
  21550. <Principal Role="TblDebtor">
  21551. <PropertyRef Name="OID" />
  21552. </Principal>
  21553. <Dependent Role="TblHideDebtorTransaction">
  21554. <PropertyRef Name="Debtor" />
  21555. </Dependent>
  21556. </ReferentialConstraint>
  21557. </Association>
  21558. <Association Name="FK_TblJournalLines_Debtor">
  21559. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21560. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="*" />
  21561. <ReferentialConstraint>
  21562. <Principal Role="TblDebtor">
  21563. <PropertyRef Name="OID" />
  21564. </Principal>
  21565. <Dependent Role="TblJournalLine">
  21566. <PropertyRef Name="Debtor" />
  21567. </Dependent>
  21568. </ReferentialConstraint>
  21569. </Association>
  21570. <Association Name="FK_TblManagementFeeInstalments_Debtor">
  21571. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21572. <End Type="ProvisionStagingModel.TblManagementFeeInstalment" Role="TblManagementFeeInstalment" Multiplicity="*" />
  21573. <ReferentialConstraint>
  21574. <Principal Role="TblDebtor">
  21575. <PropertyRef Name="OID" />
  21576. </Principal>
  21577. <Dependent Role="TblManagementFeeInstalment">
  21578. <PropertyRef Name="Debtor" />
  21579. </Dependent>
  21580. </ReferentialConstraint>
  21581. </Association>
  21582. <Association Name="FK_TblManagementFeeOverride_Debtor">
  21583. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21584. <End Type="ProvisionStagingModel.TblManagementFeeOverride" Role="TblManagementFeeOverride" Multiplicity="*" />
  21585. <ReferentialConstraint>
  21586. <Principal Role="TblDebtor">
  21587. <PropertyRef Name="OID" />
  21588. </Principal>
  21589. <Dependent Role="TblManagementFeeOverride">
  21590. <PropertyRef Name="Debtor" />
  21591. </Dependent>
  21592. </ReferentialConstraint>
  21593. </Association>
  21594. <Association Name="FK_TblManagementFeesDocuments_Debtor">
  21595. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21596. <End Type="ProvisionStagingModel.TblManagementFeesDocument" Role="TblManagementFeesDocument" Multiplicity="*" />
  21597. <ReferentialConstraint>
  21598. <Principal Role="TblDebtor">
  21599. <PropertyRef Name="OID" />
  21600. </Principal>
  21601. <Dependent Role="TblManagementFeesDocument">
  21602. <PropertyRef Name="Debtor" />
  21603. </Dependent>
  21604. </ReferentialConstraint>
  21605. </Association>
  21606. <Association Name="FK_TblManagementFeesDocuments_DebtorOtherFeesDocument">
  21607. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21608. <End Type="ProvisionStagingModel.TblManagementFeesDocument" Role="TblManagementFeesDocument" Multiplicity="*" />
  21609. <ReferentialConstraint>
  21610. <Principal Role="TblDebtor">
  21611. <PropertyRef Name="OID" />
  21612. </Principal>
  21613. <Dependent Role="TblManagementFeesDocument">
  21614. <PropertyRef Name="DebtorOtherFeesDocument" />
  21615. </Dependent>
  21616. </ReferentialConstraint>
  21617. </Association>
  21618. <Association Name="FK_TblPaymentPlan_Debtor">
  21619. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21620. <End Type="ProvisionStagingModel.TblPaymentPlan" Role="TblPaymentPlan" Multiplicity="*" />
  21621. <ReferentialConstraint>
  21622. <Principal Role="TblDebtor">
  21623. <PropertyRef Name="OID" />
  21624. </Principal>
  21625. <Dependent Role="TblPaymentPlan">
  21626. <PropertyRef Name="Debtor" />
  21627. </Dependent>
  21628. </ReferentialConstraint>
  21629. </Association>
  21630. <Association Name="FK_TblPortfolioNotes_Debtor">
  21631. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21632. <End Type="ProvisionStagingModel.TblPortfolioNote" Role="TblPortfolioNote" Multiplicity="*" />
  21633. <ReferentialConstraint>
  21634. <Principal Role="TblDebtor">
  21635. <PropertyRef Name="OID" />
  21636. </Principal>
  21637. <Dependent Role="TblPortfolioNote">
  21638. <PropertyRef Name="Debtor" />
  21639. </Dependent>
  21640. </ReferentialConstraint>
  21641. </Association>
  21642. <Association Name="FK_TblPortfolioNotes_TblDebtor">
  21643. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21644. <End Type="ProvisionStagingModel.TblPortfolioNote" Role="TblPortfolioNote" Multiplicity="*" />
  21645. <ReferentialConstraint>
  21646. <Principal Role="TblDebtor">
  21647. <PropertyRef Name="OID" />
  21648. </Principal>
  21649. <Dependent Role="TblPortfolioNote">
  21650. <PropertyRef Name="TblDebtor" />
  21651. </Dependent>
  21652. </ReferentialConstraint>
  21653. </Association>
  21654. <Association Name="FK_TblPreviousAgeing_Debtor">
  21655. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21656. <End Type="ProvisionStagingModel.TblPreviousAgeing" Role="TblPreviousAgeing" Multiplicity="*" />
  21657. <ReferentialConstraint>
  21658. <Principal Role="TblDebtor">
  21659. <PropertyRef Name="OID" />
  21660. </Principal>
  21661. <Dependent Role="TblPreviousAgeing">
  21662. <PropertyRef Name="Debtor" />
  21663. </Dependent>
  21664. </ReferentialConstraint>
  21665. </Association>
  21666. <Association Name="FK_TblPreviousAging_Debtor">
  21667. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21668. <End Type="ProvisionStagingModel.TblPreviousAging" Role="TblPreviousAging" Multiplicity="*" />
  21669. <ReferentialConstraint>
  21670. <Principal Role="TblDebtor">
  21671. <PropertyRef Name="OID" />
  21672. </Principal>
  21673. <Dependent Role="TblPreviousAging">
  21674. <PropertyRef Name="Debtor" />
  21675. </Dependent>
  21676. </ReferentialConstraint>
  21677. </Association>
  21678. <Association Name="FK_TblSACRRAData_Debtor">
  21679. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21680. <End Type="ProvisionStagingModel.TblSACRRAData" Role="TblSACRRAData" Multiplicity="*" />
  21681. <ReferentialConstraint>
  21682. <Principal Role="TblDebtor">
  21683. <PropertyRef Name="OID" />
  21684. </Principal>
  21685. <Dependent Role="TblSACRRAData">
  21686. <PropertyRef Name="Debtor" />
  21687. </Dependent>
  21688. </ReferentialConstraint>
  21689. </Association>
  21690. <Association Name="FK_TblSACRRADebtorGAPGAL_Debtor">
  21691. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21692. <End Type="ProvisionStagingModel.TblSACRRADebtorGAPGAL" Role="TblSACRRADebtorGAPGAL" Multiplicity="*" />
  21693. <ReferentialConstraint>
  21694. <Principal Role="TblDebtor">
  21695. <PropertyRef Name="OID" />
  21696. </Principal>
  21697. <Dependent Role="TblSACRRADebtorGAPGAL">
  21698. <PropertyRef Name="Debtor" />
  21699. </Dependent>
  21700. </ReferentialConstraint>
  21701. </Association>
  21702. <Association Name="FK_TblSACRRADebtorStatus_Debtor">
  21703. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21704. <End Type="ProvisionStagingModel.TblSACRRADebtorStatu" Role="TblSACRRADebtorStatu" Multiplicity="*" />
  21705. <ReferentialConstraint>
  21706. <Principal Role="TblDebtor">
  21707. <PropertyRef Name="OID" />
  21708. </Principal>
  21709. <Dependent Role="TblSACRRADebtorStatu">
  21710. <PropertyRef Name="Debtor" />
  21711. </Dependent>
  21712. </ReferentialConstraint>
  21713. </Association>
  21714. <Association Name="FK_TblSuspenseTransaction_AllowcatedAccount">
  21715. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21716. <End Type="ProvisionStagingModel.TblSuspenseTransaction" Role="TblSuspenseTransaction" Multiplicity="*" />
  21717. <ReferentialConstraint>
  21718. <Principal Role="TblDebtor">
  21719. <PropertyRef Name="OID" />
  21720. </Principal>
  21721. <Dependent Role="TblSuspenseTransaction">
  21722. <PropertyRef Name="AllowcatedAccount" />
  21723. </Dependent>
  21724. </ReferentialConstraint>
  21725. </Association>
  21726. <Association Name="FK_TblSuspenseTransactionSplit_Account">
  21727. <End Type="ProvisionStagingModel.TblDebtor" Role="TblDebtor" Multiplicity="0..1" />
  21728. <End Type="ProvisionStagingModel.TblSuspenseTransactionSplit" Role="TblSuspenseTransactionSplit" Multiplicity="*" />
  21729. <ReferentialConstraint>
  21730. <Principal Role="TblDebtor">
  21731. <PropertyRef Name="OID" />
  21732. </Principal>
  21733. <Dependent Role="TblSuspenseTransactionSplit">
  21734. <PropertyRef Name="Account" />
  21735. </Dependent>
  21736. </ReferentialConstraint>
  21737. </Association>
  21738. <Association Name="FK_TblDebtorBankingAmendment_DebtorBanking">
  21739. <End Type="ProvisionStagingModel.TblDebtorBanking" Role="TblDebtorBanking" Multiplicity="0..1" />
  21740. <End Type="ProvisionStagingModel.TblDebtorBankingAmendment" Role="TblDebtorBankingAmendment" Multiplicity="*" />
  21741. <ReferentialConstraint>
  21742. <Principal Role="TblDebtorBanking">
  21743. <PropertyRef Name="OID" />
  21744. </Principal>
  21745. <Dependent Role="TblDebtorBankingAmendment">
  21746. <PropertyRef Name="DebtorBanking" />
  21747. </Dependent>
  21748. </ReferentialConstraint>
  21749. </Association>
  21750. <Association Name="FK_TblPortfolioNotes_DebtorBanking">
  21751. <End Type="ProvisionStagingModel.TblDebtorBanking" Role="TblDebtorBanking" Multiplicity="0..1" />
  21752. <End Type="ProvisionStagingModel.TblPortfolioNote" Role="TblPortfolioNote" Multiplicity="*" />
  21753. <ReferentialConstraint>
  21754. <Principal Role="TblDebtorBanking">
  21755. <PropertyRef Name="OID" />
  21756. </Principal>
  21757. <Dependent Role="TblPortfolioNote">
  21758. <PropertyRef Name="DebtorBanking" />
  21759. </Dependent>
  21760. </ReferentialConstraint>
  21761. </Association>
  21762. <Association Name="FK_TblRebatePaymentCategoryCode_CategoryCode">
  21763. <End Type="ProvisionStagingModel.TblDebtorCategoryCode" Role="TblDebtorCategoryCode" Multiplicity="0..1" />
  21764. <End Type="ProvisionStagingModel.TblRebatePaymentCategoryCode" Role="TblRebatePaymentCategoryCode" Multiplicity="*" />
  21765. <ReferentialConstraint>
  21766. <Principal Role="TblDebtorCategoryCode">
  21767. <PropertyRef Name="OID" />
  21768. </Principal>
  21769. <Dependent Role="TblRebatePaymentCategoryCode">
  21770. <PropertyRef Name="CategoryCode" />
  21771. </Dependent>
  21772. </ReferentialConstraint>
  21773. </Association>
  21774. <Association Name="FK_TblDebtorTransactions_DebtorCode">
  21775. <End Type="ProvisionStagingModel.TblDebtorCoding" Role="TblDebtorCoding" Multiplicity="0..1" />
  21776. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21777. <ReferentialConstraint>
  21778. <Principal Role="TblDebtorCoding">
  21779. <PropertyRef Name="Oid" />
  21780. </Principal>
  21781. <Dependent Role="TblDebtorTransaction">
  21782. <PropertyRef Name="DebtorCode" />
  21783. </Dependent>
  21784. </ReferentialConstraint>
  21785. </Association>
  21786. <Association Name="FK_TblDebtorDocuments_DocumentType">
  21787. <End Type="ProvisionStagingModel.TblDocumentType" Role="TblDocumentType" Multiplicity="0..1" />
  21788. <End Type="ProvisionStagingModel.TblDebtorDocument" Role="TblDebtorDocument" Multiplicity="*" />
  21789. <ReferentialConstraint>
  21790. <Principal Role="TblDocumentType">
  21791. <PropertyRef Name="OID" />
  21792. </Principal>
  21793. <Dependent Role="TblDebtorDocument">
  21794. <PropertyRef Name="DocumentType" />
  21795. </Dependent>
  21796. </ReferentialConstraint>
  21797. </Association>
  21798. <Association Name="FK_TblDebtorFeedback_Feedback">
  21799. <End Type="ProvisionStagingModel.TblFeedbackType" Role="TblFeedbackType" Multiplicity="0..1" />
  21800. <End Type="ProvisionStagingModel.TblDebtorFeedback" Role="TblDebtorFeedback" Multiplicity="*" />
  21801. <ReferentialConstraint>
  21802. <Principal Role="TblFeedbackType">
  21803. <PropertyRef Name="OID" />
  21804. </Principal>
  21805. <Dependent Role="TblDebtorFeedback">
  21806. <PropertyRef Name="Feedback" />
  21807. </Dependent>
  21808. </ReferentialConstraint>
  21809. </Association>
  21810. <Association Name="FK_TblDebtorFeedback_Name">
  21811. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  21812. <End Type="ProvisionStagingModel.TblDebtorFeedback" Role="TblDebtorFeedback" Multiplicity="*" />
  21813. <ReferentialConstraint>
  21814. <Principal Role="TblPersonnel">
  21815. <PropertyRef Name="PersonnelCode" />
  21816. </Principal>
  21817. <Dependent Role="TblDebtorFeedback">
  21818. <PropertyRef Name="Name" />
  21819. </Dependent>
  21820. </ReferentialConstraint>
  21821. </Association>
  21822. <Association Name="FK_TblDebtorManagementFeeValues_WeekModule">
  21823. <End Type="ProvisionStagingModel.TblWeekModule" Role="TblWeekModule" Multiplicity="0..1" />
  21824. <End Type="ProvisionStagingModel.TblDebtorManagementFeeValue" Role="TblDebtorManagementFeeValue" Multiplicity="*" />
  21825. <ReferentialConstraint>
  21826. <Principal Role="TblWeekModule">
  21827. <PropertyRef Name="OID" />
  21828. </Principal>
  21829. <Dependent Role="TblDebtorManagementFeeValue">
  21830. <PropertyRef Name="WeekModule" />
  21831. </Dependent>
  21832. </ReferentialConstraint>
  21833. </Association>
  21834. <Association Name="FK_TblDebtorNotes_MessageCode">
  21835. <End Type="ProvisionStagingModel.TblMessageCode" Role="TblMessageCode" Multiplicity="0..1" />
  21836. <End Type="ProvisionStagingModel.TblDebtorNote" Role="TblDebtorNote" Multiplicity="*" />
  21837. <ReferentialConstraint>
  21838. <Principal Role="TblMessageCode">
  21839. <PropertyRef Name="OID" />
  21840. </Principal>
  21841. <Dependent Role="TblDebtorNote">
  21842. <PropertyRef Name="MessageCode" />
  21843. </Dependent>
  21844. </ReferentialConstraint>
  21845. </Association>
  21846. <Association Name="FK_TblDebtorResaleTransfers_TransferTransaction">
  21847. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="0..1" />
  21848. <End Type="ProvisionStagingModel.TblDebtorResaleTransfer" Role="TblDebtorResaleTransfer" Multiplicity="*" />
  21849. <ReferentialConstraint>
  21850. <Principal Role="TblDebtorTransaction">
  21851. <PropertyRef Name="OID" />
  21852. </Principal>
  21853. <Dependent Role="TblDebtorResaleTransfer">
  21854. <PropertyRef Name="TransferTransaction" />
  21855. </Dependent>
  21856. </ReferentialConstraint>
  21857. </Association>
  21858. <Association Name="FK_TblDebtorTransactions_AllJournalLines">
  21859. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="0..1" />
  21860. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21861. <ReferentialConstraint>
  21862. <Principal Role="TblJournalLine">
  21863. <PropertyRef Name="OID" />
  21864. </Principal>
  21865. <Dependent Role="TblDebtorTransaction">
  21866. <PropertyRef Name="AllJournalLines" />
  21867. </Dependent>
  21868. </ReferentialConstraint>
  21869. </Association>
  21870. <Association Name="FK_TblDebtorTransactions_CollectionTran">
  21871. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="0..1" />
  21872. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction1" Multiplicity="*" />
  21873. <ReferentialConstraint>
  21874. <Principal Role="TblDebtorTransaction">
  21875. <PropertyRef Name="OID" />
  21876. </Principal>
  21877. <Dependent Role="TblDebtorTransaction1">
  21878. <PropertyRef Name="CollectionTran" />
  21879. </Dependent>
  21880. </ReferentialConstraint>
  21881. </Association>
  21882. <Association Name="FK_TblDebtorTransactions_HideDebtorTransaction">
  21883. <End Type="ProvisionStagingModel.TblHideDebtorTransaction" Role="TblHideDebtorTransaction" Multiplicity="0..1" />
  21884. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21885. <ReferentialConstraint>
  21886. <Principal Role="TblHideDebtorTransaction">
  21887. <PropertyRef Name="Oid" />
  21888. </Principal>
  21889. <Dependent Role="TblDebtorTransaction">
  21890. <PropertyRef Name="HideDebtorTransaction" />
  21891. </Dependent>
  21892. </ReferentialConstraint>
  21893. </Association>
  21894. <Association Name="FK_TblDebtorTransactions_PayType">
  21895. <End Type="ProvisionStagingModel.TblPaymentType" Role="TblPaymentType" Multiplicity="0..1" />
  21896. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21897. <ReferentialConstraint>
  21898. <Principal Role="TblPaymentType">
  21899. <PropertyRef Name="OID" />
  21900. </Principal>
  21901. <Dependent Role="TblDebtorTransaction">
  21902. <PropertyRef Name="PayType" />
  21903. </Dependent>
  21904. </ReferentialConstraint>
  21905. </Association>
  21906. <Association Name="FK_TblDebtorTransactions_TblJournalLines">
  21907. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="0..1" />
  21908. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21909. <ReferentialConstraint>
  21910. <Principal Role="TblJournalLine">
  21911. <PropertyRef Name="OID" />
  21912. </Principal>
  21913. <Dependent Role="TblDebtorTransaction">
  21914. <PropertyRef Name="TblJournalLines" />
  21915. </Dependent>
  21916. </ReferentialConstraint>
  21917. </Association>
  21918. <Association Name="FK_TblDebtorTransactions_TransactionType">
  21919. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  21920. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="*" />
  21921. <ReferentialConstraint>
  21922. <Principal Role="TblDebtorTranType">
  21923. <PropertyRef Name="OID" />
  21924. </Principal>
  21925. <Dependent Role="TblDebtorTransaction">
  21926. <PropertyRef Name="TransactionType" />
  21927. </Dependent>
  21928. </ReferentialConstraint>
  21929. </Association>
  21930. <Association Name="FK_TblDebtorTransactionsCatBreakdown_DebtorTransaction">
  21931. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="0..1" />
  21932. <End Type="ProvisionStagingModel.TblDebtorTransactionsCatBreakdown" Role="TblDebtorTransactionsCatBreakdown" Multiplicity="*" />
  21933. <ReferentialConstraint>
  21934. <Principal Role="TblDebtorTransaction">
  21935. <PropertyRef Name="OID" />
  21936. </Principal>
  21937. <Dependent Role="TblDebtorTransactionsCatBreakdown">
  21938. <PropertyRef Name="DebtorTransaction" />
  21939. </Dependent>
  21940. </ReferentialConstraint>
  21941. </Association>
  21942. <Association Name="FK_TblJournalLineTransactions_OriginalTransaction">
  21943. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="0..1" />
  21944. <End Type="ProvisionStagingModel.TblJournalLineTransaction" Role="TblJournalLineTransaction" Multiplicity="*" />
  21945. <ReferentialConstraint>
  21946. <Principal Role="TblDebtorTransaction">
  21947. <PropertyRef Name="OID" />
  21948. </Principal>
  21949. <Dependent Role="TblJournalLineTransaction">
  21950. <PropertyRef Name="OriginalTransaction" />
  21951. </Dependent>
  21952. </ReferentialConstraint>
  21953. </Association>
  21954. <Association Name="FK_TblManagementFeesToAdjust_DebtorTransaction">
  21955. <End Type="ProvisionStagingModel.TblDebtorTransaction" Role="TblDebtorTransaction" Multiplicity="0..1" />
  21956. <End Type="ProvisionStagingModel.TblManagementFeesToAdjust" Role="TblManagementFeesToAdjust" Multiplicity="*" />
  21957. <ReferentialConstraint>
  21958. <Principal Role="TblDebtorTransaction">
  21959. <PropertyRef Name="OID" />
  21960. </Principal>
  21961. <Dependent Role="TblManagementFeesToAdjust">
  21962. <PropertyRef Name="DebtorTransaction" />
  21963. </Dependent>
  21964. </ReferentialConstraint>
  21965. </Association>
  21966. <Association Name="FK_TblDebtorTransactionsCatBreakdown_TransactionType">
  21967. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  21968. <End Type="ProvisionStagingModel.TblDebtorTransactionsCatBreakdown" Role="TblDebtorTransactionsCatBreakdown" Multiplicity="*" />
  21969. <ReferentialConstraint>
  21970. <Principal Role="TblDebtorTranType">
  21971. <PropertyRef Name="OID" />
  21972. </Principal>
  21973. <Dependent Role="TblDebtorTransactionsCatBreakdown">
  21974. <PropertyRef Name="TransactionType" />
  21975. </Dependent>
  21976. </ReferentialConstraint>
  21977. </Association>
  21978. <Association Name="FK_TblDebtorTranTypes_DebtorTransactionTypeReportGroup">
  21979. <End Type="ProvisionStagingModel.TblDebtorTransactionTypeReportGroup" Role="TblDebtorTransactionTypeReportGroup" Multiplicity="0..1" />
  21980. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="*" />
  21981. <ReferentialConstraint>
  21982. <Principal Role="TblDebtorTransactionTypeReportGroup">
  21983. <PropertyRef Name="Oid" />
  21984. </Principal>
  21985. <Dependent Role="TblDebtorTranType">
  21986. <PropertyRef Name="DebtorTransactionTypeReportGroup" />
  21987. </Dependent>
  21988. </ReferentialConstraint>
  21989. </Association>
  21990. <Association Name="FK_TblDebtorTranTypes_PaymentType">
  21991. <End Type="ProvisionStagingModel.TblPaymentType" Role="TblPaymentType" Multiplicity="0..1" />
  21992. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="*" />
  21993. <ReferentialConstraint>
  21994. <Principal Role="TblPaymentType">
  21995. <PropertyRef Name="OID" />
  21996. </Principal>
  21997. <Dependent Role="TblDebtorTranType">
  21998. <PropertyRef Name="PaymentType" />
  21999. </Dependent>
  22000. </ReferentialConstraint>
  22001. </Association>
  22002. <Association Name="FK_TblDebtorTranTypes_Reversal">
  22003. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22004. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType1" Multiplicity="*" />
  22005. <ReferentialConstraint>
  22006. <Principal Role="TblDebtorTranType">
  22007. <PropertyRef Name="OID" />
  22008. </Principal>
  22009. <Dependent Role="TblDebtorTranType1">
  22010. <PropertyRef Name="Reversal" />
  22011. </Dependent>
  22012. </ReferentialConstraint>
  22013. </Association>
  22014. <Association Name="FK_TblDebtorTranTypes_ReversalTranType">
  22015. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22016. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType1" Multiplicity="*" />
  22017. <ReferentialConstraint>
  22018. <Principal Role="TblDebtorTranType">
  22019. <PropertyRef Name="OID" />
  22020. </Principal>
  22021. <Dependent Role="TblDebtorTranType1">
  22022. <PropertyRef Name="ReversalTranType" />
  22023. </Dependent>
  22024. </ReferentialConstraint>
  22025. </Association>
  22026. <Association Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_Reversals">
  22027. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22028. <End Type="ProvisionStagingModel.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Multiplicity="*" />
  22029. <ReferentialConstraint>
  22030. <Principal Role="TblDebtorTranType">
  22031. <PropertyRef Name="OID" />
  22032. </Principal>
  22033. <Dependent Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  22034. <PropertyRef Name="Reversals" />
  22035. </Dependent>
  22036. </ReferentialConstraint>
  22037. </Association>
  22038. <Association Name="FK_TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals_ReversalsTemp">
  22039. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22040. <End Type="ProvisionStagingModel.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals" Multiplicity="*" />
  22041. <ReferentialConstraint>
  22042. <Principal Role="TblDebtorTranType">
  22043. <PropertyRef Name="OID" />
  22044. </Principal>
  22045. <Dependent Role="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  22046. <PropertyRef Name="ReversalsTemp" />
  22047. </Dependent>
  22048. </ReferentialConstraint>
  22049. </Association>
  22050. <Association Name="FK_TblGroupCategory_TblDebtorTranTypes">
  22051. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22052. <End Type="ProvisionStagingModel.TblGroupCategory" Role="TblGroupCategory" Multiplicity="*" />
  22053. <ReferentialConstraint>
  22054. <Principal Role="TblDebtorTranType">
  22055. <PropertyRef Name="OID" />
  22056. </Principal>
  22057. <Dependent Role="TblGroupCategory">
  22058. <PropertyRef Name="TblDebtorTranTypes" />
  22059. </Dependent>
  22060. </ReferentialConstraint>
  22061. </Association>
  22062. <Association Name="FK_TblJournalBatch_TransactionType">
  22063. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22064. <End Type="ProvisionStagingModel.TblJournalBatch" Role="TblJournalBatch" Multiplicity="*" />
  22065. <ReferentialConstraint>
  22066. <Principal Role="TblDebtorTranType">
  22067. <PropertyRef Name="OID" />
  22068. </Principal>
  22069. <Dependent Role="TblJournalBatch">
  22070. <PropertyRef Name="TransactionType" />
  22071. </Dependent>
  22072. </ReferentialConstraint>
  22073. </Association>
  22074. <Association Name="FK_TblJournalLines_LineTransactionType">
  22075. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22076. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="*" />
  22077. <ReferentialConstraint>
  22078. <Principal Role="TblDebtorTranType">
  22079. <PropertyRef Name="OID" />
  22080. </Principal>
  22081. <Dependent Role="TblJournalLine">
  22082. <PropertyRef Name="LineTransactionType" />
  22083. </Dependent>
  22084. </ReferentialConstraint>
  22085. </Association>
  22086. <Association Name="FK_TblJournalLineTransactions_NonReverseTranTypes">
  22087. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22088. <End Type="ProvisionStagingModel.TblJournalLineTransaction" Role="TblJournalLineTransaction" Multiplicity="*" />
  22089. <ReferentialConstraint>
  22090. <Principal Role="TblDebtorTranType">
  22091. <PropertyRef Name="OID" />
  22092. </Principal>
  22093. <Dependent Role="TblJournalLineTransaction">
  22094. <PropertyRef Name="NonReverseTranTypes" />
  22095. </Dependent>
  22096. </ReferentialConstraint>
  22097. </Association>
  22098. <Association Name="FK_TblJournalLineTransactions_TranType">
  22099. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22100. <End Type="ProvisionStagingModel.TblJournalLineTransaction" Role="TblJournalLineTransaction" Multiplicity="*" />
  22101. <ReferentialConstraint>
  22102. <Principal Role="TblDebtorTranType">
  22103. <PropertyRef Name="OID" />
  22104. </Principal>
  22105. <Dependent Role="TblJournalLineTransaction">
  22106. <PropertyRef Name="TranType" />
  22107. </Dependent>
  22108. </ReferentialConstraint>
  22109. </Association>
  22110. <Association Name="FK_TblPaymentPlan_TransactionType">
  22111. <End Type="ProvisionStagingModel.TblDebtorTranType" Role="TblDebtorTranType" Multiplicity="0..1" />
  22112. <End Type="ProvisionStagingModel.TblPaymentPlan" Role="TblPaymentPlan" Multiplicity="*" />
  22113. <ReferentialConstraint>
  22114. <Principal Role="TblDebtorTranType">
  22115. <PropertyRef Name="OID" />
  22116. </Principal>
  22117. <Dependent Role="TblPaymentPlan">
  22118. <PropertyRef Name="TransactionType" />
  22119. </Dependent>
  22120. </ReferentialConstraint>
  22121. </Association>
  22122. <Association Name="FK_TblPersonnel_Department">
  22123. <End Type="ProvisionStagingModel.TblDepartment" Role="TblDepartment" Multiplicity="0..1" />
  22124. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  22125. <ReferentialConstraint>
  22126. <Principal Role="TblDepartment">
  22127. <PropertyRef Name="DepartmentCode" />
  22128. </Principal>
  22129. <Dependent Role="TblPersonnel">
  22130. <PropertyRef Name="Department" />
  22131. </Dependent>
  22132. </ReferentialConstraint>
  22133. </Association>
  22134. <Association Name="FK_TblDetailedInfo_Ethnicity">
  22135. <End Type="ProvisionStagingModel.TblEthnicity" Role="TblEthnicity" Multiplicity="0..1" />
  22136. <End Type="ProvisionStagingModel.TblDetailedInfo" Role="TblDetailedInfo" Multiplicity="*" />
  22137. <ReferentialConstraint>
  22138. <Principal Role="TblEthnicity">
  22139. <PropertyRef Name="OID" />
  22140. </Principal>
  22141. <Dependent Role="TblDetailedInfo">
  22142. <PropertyRef Name="Ethnicity" />
  22143. </Dependent>
  22144. </ReferentialConstraint>
  22145. </Association>
  22146. <Association Name="FK_TblDetailedInfo_Title">
  22147. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  22148. <End Type="ProvisionStagingModel.TblDetailedInfo" Role="TblDetailedInfo" Multiplicity="*" />
  22149. <ReferentialConstraint>
  22150. <Principal Role="Title">
  22151. <PropertyRef Name="Title1" />
  22152. </Principal>
  22153. <Dependent Role="TblDetailedInfo">
  22154. <PropertyRef Name="Title" />
  22155. </Dependent>
  22156. </ReferentialConstraint>
  22157. </Association>
  22158. <Association Name="FK_TblVoucher_DetailedInfo">
  22159. <End Type="ProvisionStagingModel.TblDetailedInfo" Role="TblDetailedInfo" Multiplicity="0..1" />
  22160. <End Type="ProvisionStagingModel.TblVoucher" Role="TblVoucher" Multiplicity="*" />
  22161. <ReferentialConstraint>
  22162. <Principal Role="TblDetailedInfo">
  22163. <PropertyRef Name="OID" />
  22164. </Principal>
  22165. <Dependent Role="TblVoucher">
  22166. <PropertyRef Name="DetailedInfo" />
  22167. </Dependent>
  22168. </ReferentialConstraint>
  22169. </Association>
  22170. <Association Name="FK_TblResort_DefaultDeveloper">
  22171. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22172. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="*" />
  22173. <ReferentialConstraint>
  22174. <Principal Role="TblDeveloper">
  22175. <PropertyRef Name="OID" />
  22176. </Principal>
  22177. <Dependent Role="TblResort">
  22178. <PropertyRef Name="DefaultDeveloper" />
  22179. </Dependent>
  22180. </ReferentialConstraint>
  22181. </Association>
  22182. <Association Name="FK_TblSACRRASettings_Developer">
  22183. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22184. <End Type="ProvisionStagingModel.TblSACRRASetting" Role="TblSACRRASetting" Multiplicity="*" />
  22185. <ReferentialConstraint>
  22186. <Principal Role="TblDeveloper">
  22187. <PropertyRef Name="OID" />
  22188. </Principal>
  22189. <Dependent Role="TblSACRRASetting">
  22190. <PropertyRef Name="Developer" />
  22191. </Dependent>
  22192. </ReferentialConstraint>
  22193. </Association>
  22194. <Association Name="FK_TblSalesVenue_DefaultDeveloper">
  22195. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22196. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  22197. <ReferentialConstraint>
  22198. <Principal Role="TblDeveloper">
  22199. <PropertyRef Name="OID" />
  22200. </Principal>
  22201. <Dependent Role="TblSalesVenue">
  22202. <PropertyRef Name="DefaultDeveloper" />
  22203. </Dependent>
  22204. </ReferentialConstraint>
  22205. </Association>
  22206. <Association Name="FK_TblSalesVenueClubDevelopers_Developer">
  22207. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22208. <End Type="ProvisionStagingModel.TblSalesVenueClubDeveloper" Role="TblSalesVenueClubDeveloper" Multiplicity="*" />
  22209. <ReferentialConstraint>
  22210. <Principal Role="TblDeveloper">
  22211. <PropertyRef Name="OID" />
  22212. </Principal>
  22213. <Dependent Role="TblSalesVenueClubDeveloper">
  22214. <PropertyRef Name="Developer" />
  22215. </Dependent>
  22216. </ReferentialConstraint>
  22217. </Association>
  22218. <Association Name="FK_TblStreamline_Developer">
  22219. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22220. <End Type="ProvisionStagingModel.TblStreamline" Role="TblStreamline" Multiplicity="*" />
  22221. <ReferentialConstraint>
  22222. <Principal Role="TblDeveloper">
  22223. <PropertyRef Name="OID" />
  22224. </Principal>
  22225. <Dependent Role="TblStreamline">
  22226. <PropertyRef Name="Developer" />
  22227. </Dependent>
  22228. </ReferentialConstraint>
  22229. </Association>
  22230. <Association Name="FK_TblUpdateBankingDetails_Developer">
  22231. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22232. <End Type="ProvisionStagingModel.TblUpdateBankingDetail" Role="TblUpdateBankingDetail" Multiplicity="*" />
  22233. <ReferentialConstraint>
  22234. <Principal Role="TblDeveloper">
  22235. <PropertyRef Name="OID" />
  22236. </Principal>
  22237. <Dependent Role="TblUpdateBankingDetail">
  22238. <PropertyRef Name="Developer" />
  22239. </Dependent>
  22240. </ReferentialConstraint>
  22241. </Association>
  22242. <Association Name="FK_Transfigurations_Developer">
  22243. <End Type="ProvisionStagingModel.TblDeveloper" Role="TblDeveloper" Multiplicity="0..1" />
  22244. <End Type="ProvisionStagingModel.Transfiguration" Role="Transfiguration" Multiplicity="*" />
  22245. <ReferentialConstraint>
  22246. <Principal Role="TblDeveloper">
  22247. <PropertyRef Name="OID" />
  22248. </Principal>
  22249. <Dependent Role="Transfiguration">
  22250. <PropertyRef Name="Developer" />
  22251. </Dependent>
  22252. </ReferentialConstraint>
  22253. </Association>
  22254. <Association Name="FK_TblPortfolioDocuments_DocumentType">
  22255. <End Type="ProvisionStagingModel.TblDocumentType" Role="TblDocumentType" Multiplicity="0..1" />
  22256. <End Type="ProvisionStagingModel.TblPortfolioDocument" Role="TblPortfolioDocument" Multiplicity="*" />
  22257. <ReferentialConstraint>
  22258. <Principal Role="TblDocumentType">
  22259. <PropertyRef Name="OID" />
  22260. </Principal>
  22261. <Dependent Role="TblPortfolioDocument">
  22262. <PropertyRef Name="DocumentType" />
  22263. </Dependent>
  22264. </ReferentialConstraint>
  22265. </Association>
  22266. <Association Name="FK_TblPromoDocuments_DocumentType">
  22267. <End Type="ProvisionStagingModel.TblDocumentType" Role="TblDocumentType" Multiplicity="0..1" />
  22268. <End Type="ProvisionStagingModel.TblPromoDocument" Role="TblPromoDocument" Multiplicity="*" />
  22269. <ReferentialConstraint>
  22270. <Principal Role="TblDocumentType">
  22271. <PropertyRef Name="OID" />
  22272. </Principal>
  22273. <Dependent Role="TblPromoDocument">
  22274. <PropertyRef Name="DocumentType" />
  22275. </Dependent>
  22276. </ReferentialConstraint>
  22277. </Association>
  22278. <Association Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_EmailRecipiantOf">
  22279. <End Type="ProvisionStagingModel.TblEmailRecipiant" Role="TblEmailRecipiant" Multiplicity="0..1" />
  22280. <End Type="ProvisionStagingModel.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Multiplicity="*" />
  22281. <ReferentialConstraint>
  22282. <Principal Role="TblEmailRecipiant">
  22283. <PropertyRef Name="OID" />
  22284. </Principal>
  22285. <Dependent Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  22286. <PropertyRef Name="EmailRecipiantOf" />
  22287. </Dependent>
  22288. </ReferentialConstraint>
  22289. </Association>
  22290. <Association Name="FK_TblEquityCommissionTarget_Personnel">
  22291. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  22292. <End Type="ProvisionStagingModel.TblEquityCommissionTarget" Role="TblEquityCommissionTarget" Multiplicity="*" />
  22293. <ReferentialConstraint>
  22294. <Principal Role="TblPersonnel">
  22295. <PropertyRef Name="PersonnelCode" />
  22296. </Principal>
  22297. <Dependent Role="TblEquityCommissionTarget">
  22298. <PropertyRef Name="Personnel" />
  22299. </Dependent>
  22300. </ReferentialConstraint>
  22301. </Association>
  22302. <Association Name="FK_TblLeads_Ethnicity">
  22303. <End Type="ProvisionStagingModel.TblEthnicity" Role="TblEthnicity" Multiplicity="0..1" />
  22304. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22305. <ReferentialConstraint>
  22306. <Principal Role="TblEthnicity">
  22307. <PropertyRef Name="OID" />
  22308. </Principal>
  22309. <Dependent Role="TblLead">
  22310. <PropertyRef Name="Ethnicity" />
  22311. </Dependent>
  22312. </ReferentialConstraint>
  22313. </Association>
  22314. <Association Name="FK_TblEVoucher_SalesVenue">
  22315. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  22316. <End Type="ProvisionStagingModel.TblEVoucher" Role="TblEVoucher" Multiplicity="*" />
  22317. <ReferentialConstraint>
  22318. <Principal Role="TblSalesVenue">
  22319. <PropertyRef Name="OID" />
  22320. </Principal>
  22321. <Dependent Role="TblEVoucher">
  22322. <PropertyRef Name="SalesVenue" />
  22323. </Dependent>
  22324. </ReferentialConstraint>
  22325. </Association>
  22326. <Association Name="FK_TblEVoucher_VoucherCategory">
  22327. <End Type="ProvisionStagingModel.TblEVoucherCategory" Role="TblEVoucherCategory" Multiplicity="0..1" />
  22328. <End Type="ProvisionStagingModel.TblEVoucher" Role="TblEVoucher" Multiplicity="*" />
  22329. <ReferentialConstraint>
  22330. <Principal Role="TblEVoucherCategory">
  22331. <PropertyRef Name="OID" />
  22332. </Principal>
  22333. <Dependent Role="TblEVoucher">
  22334. <PropertyRef Name="VoucherCategory" />
  22335. </Dependent>
  22336. </ReferentialConstraint>
  22337. </Association>
  22338. <Association Name="FK_TblEVoucher_VoucherSeries">
  22339. <End Type="ProvisionStagingModel.TblEVoucherSery" Role="TblEVoucherSery" Multiplicity="0..1" />
  22340. <End Type="ProvisionStagingModel.TblEVoucher" Role="TblEVoucher" Multiplicity="*" />
  22341. <ReferentialConstraint>
  22342. <Principal Role="TblEVoucherSery">
  22343. <PropertyRef Name="OID" />
  22344. </Principal>
  22345. <Dependent Role="TblEVoucher">
  22346. <PropertyRef Name="VoucherSeries" />
  22347. </Dependent>
  22348. </ReferentialConstraint>
  22349. </Association>
  22350. <Association Name="FK_TblEVoucher_VoucherType">
  22351. <End Type="ProvisionStagingModel.TblEVoucherType" Role="TblEVoucherType" Multiplicity="0..1" />
  22352. <End Type="ProvisionStagingModel.TblEVoucher" Role="TblEVoucher" Multiplicity="*" />
  22353. <ReferentialConstraint>
  22354. <Principal Role="TblEVoucherType">
  22355. <PropertyRef Name="OID" />
  22356. </Principal>
  22357. <Dependent Role="TblEVoucher">
  22358. <PropertyRef Name="VoucherType" />
  22359. </Dependent>
  22360. </ReferentialConstraint>
  22361. </Association>
  22362. <Association Name="FK_TblEVoucherNotes_TblEVoucher">
  22363. <End Type="ProvisionStagingModel.TblEVoucher" Role="TblEVoucher" Multiplicity="0..1" />
  22364. <End Type="ProvisionStagingModel.TblEVoucherNote" Role="TblEVoucherNote" Multiplicity="*" />
  22365. <ReferentialConstraint>
  22366. <Principal Role="TblEVoucher">
  22367. <PropertyRef Name="OID" />
  22368. </Principal>
  22369. <Dependent Role="TblEVoucherNote">
  22370. <PropertyRef Name="TblEVoucher" />
  22371. </Dependent>
  22372. </ReferentialConstraint>
  22373. </Association>
  22374. <Association Name="FK_TblEVoucherCategory_SalesVenue">
  22375. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  22376. <End Type="ProvisionStagingModel.TblEVoucherCategory" Role="TblEVoucherCategory" Multiplicity="*" />
  22377. <ReferentialConstraint>
  22378. <Principal Role="TblSalesVenue">
  22379. <PropertyRef Name="OID" />
  22380. </Principal>
  22381. <Dependent Role="TblEVoucherCategory">
  22382. <PropertyRef Name="SalesVenue" />
  22383. </Dependent>
  22384. </ReferentialConstraint>
  22385. </Association>
  22386. <Association Name="FK_TblEVoucherType_RotationLinksTo">
  22387. <End Type="ProvisionStagingModel.TblEVoucherType" Role="TblEVoucherType" Multiplicity="0..1" />
  22388. <End Type="ProvisionStagingModel.TblEVoucherType" Role="TblEVoucherType1" Multiplicity="*" />
  22389. <ReferentialConstraint>
  22390. <Principal Role="TblEVoucherType">
  22391. <PropertyRef Name="OID" />
  22392. </Principal>
  22393. <Dependent Role="TblEVoucherType1">
  22394. <PropertyRef Name="RotationLinksTo" />
  22395. </Dependent>
  22396. </ReferentialConstraint>
  22397. </Association>
  22398. <Association Name="FK_TblEVoucherType_SalesVenue">
  22399. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  22400. <End Type="ProvisionStagingModel.TblEVoucherType" Role="TblEVoucherType" Multiplicity="*" />
  22401. <ReferentialConstraint>
  22402. <Principal Role="TblSalesVenue">
  22403. <PropertyRef Name="OID" />
  22404. </Principal>
  22405. <Dependent Role="TblEVoucherType">
  22406. <PropertyRef Name="SalesVenue" />
  22407. </Dependent>
  22408. </ReferentialConstraint>
  22409. </Association>
  22410. <Association Name="FK_TblExpenseCodesCompany_ExpenseCode">
  22411. <End Type="ProvisionStagingModel.TblExpenseCode" Role="TblExpenseCode" Multiplicity="0..1" />
  22412. <End Type="ProvisionStagingModel.TblExpenseCodesCompany" Role="TblExpenseCodesCompany" Multiplicity="*" />
  22413. <ReferentialConstraint>
  22414. <Principal Role="TblExpenseCode">
  22415. <PropertyRef Name="OID" />
  22416. </Principal>
  22417. <Dependent Role="TblExpenseCodesCompany">
  22418. <PropertyRef Name="ExpenseCode" />
  22419. </Dependent>
  22420. </ReferentialConstraint>
  22421. </Association>
  22422. <Association Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCode">
  22423. <End Type="ProvisionStagingModel.TblExpenseCode" Role="TblExpenseCode" Multiplicity="0..1" />
  22424. <End Type="ProvisionStagingModel.TblExpenseCodeTransactionsDetail" Role="TblExpenseCodeTransactionsDetail" Multiplicity="*" />
  22425. <ReferentialConstraint>
  22426. <Principal Role="TblExpenseCode">
  22427. <PropertyRef Name="OID" />
  22428. </Principal>
  22429. <Dependent Role="TblExpenseCodeTransactionsDetail">
  22430. <PropertyRef Name="ExpenseCode" />
  22431. </Dependent>
  22432. </ReferentialConstraint>
  22433. </Association>
  22434. <Association Name="FK_TblInvoiceLines_ExpenseCode">
  22435. <End Type="ProvisionStagingModel.TblExpenseCode" Role="TblExpenseCode" Multiplicity="0..1" />
  22436. <End Type="ProvisionStagingModel.TblInvoiceLine" Role="TblInvoiceLine" Multiplicity="*" />
  22437. <ReferentialConstraint>
  22438. <Principal Role="TblExpenseCode">
  22439. <PropertyRef Name="OID" />
  22440. </Principal>
  22441. <Dependent Role="TblInvoiceLine">
  22442. <PropertyRef Name="ExpenseCode" />
  22443. </Dependent>
  22444. </ReferentialConstraint>
  22445. </Association>
  22446. <Association Name="FK_TblTransferFunds_FromExpenseCode">
  22447. <End Type="ProvisionStagingModel.TblExpenseCodesCompany" Role="TblExpenseCodesCompany" Multiplicity="0..1" />
  22448. <End Type="ProvisionStagingModel.TblTransferFund" Role="TblTransferFund" Multiplicity="*" />
  22449. <ReferentialConstraint>
  22450. <Principal Role="TblExpenseCodesCompany">
  22451. <PropertyRef Name="OID" />
  22452. </Principal>
  22453. <Dependent Role="TblTransferFund">
  22454. <PropertyRef Name="FromExpenseCode" />
  22455. </Dependent>
  22456. </ReferentialConstraint>
  22457. </Association>
  22458. <Association Name="FK_TblTransferFunds_ToExpenseCode">
  22459. <End Type="ProvisionStagingModel.TblExpenseCodesCompany" Role="TblExpenseCodesCompany" Multiplicity="0..1" />
  22460. <End Type="ProvisionStagingModel.TblTransferFund" Role="TblTransferFund" Multiplicity="*" />
  22461. <ReferentialConstraint>
  22462. <Principal Role="TblExpenseCodesCompany">
  22463. <PropertyRef Name="OID" />
  22464. </Principal>
  22465. <Dependent Role="TblTransferFund">
  22466. <PropertyRef Name="ToExpenseCode" />
  22467. </Dependent>
  22468. </ReferentialConstraint>
  22469. </Association>
  22470. <Association Name="FK_TblExpenseCodeTransactionsDetail_ExpenseCodeTransactionsHeader">
  22471. <End Type="ProvisionStagingModel.TblExpenseCodeTransactionsHeader" Role="TblExpenseCodeTransactionsHeader" Multiplicity="0..1" />
  22472. <End Type="ProvisionStagingModel.TblExpenseCodeTransactionsDetail" Role="TblExpenseCodeTransactionsDetail" Multiplicity="*" />
  22473. <ReferentialConstraint>
  22474. <Principal Role="TblExpenseCodeTransactionsHeader">
  22475. <PropertyRef Name="OID" />
  22476. </Principal>
  22477. <Dependent Role="TblExpenseCodeTransactionsDetail">
  22478. <PropertyRef Name="ExpenseCodeTransactionsHeader" />
  22479. </Dependent>
  22480. </ReferentialConstraint>
  22481. </Association>
  22482. <Association Name="FK_TblExternalResortCommission_Resort">
  22483. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  22484. <End Type="ProvisionStagingModel.TblExternalResortCommission" Role="TblExternalResortCommission" Multiplicity="*" />
  22485. <ReferentialConstraint>
  22486. <Principal Role="TblResort">
  22487. <PropertyRef Name="OID" />
  22488. </Principal>
  22489. <Dependent Role="TblExternalResortCommission">
  22490. <PropertyRef Name="Resort" />
  22491. </Dependent>
  22492. </ReferentialConstraint>
  22493. </Association>
  22494. <Association Name="FK_TblExternalResortCommission_Week">
  22495. <End Type="ProvisionStagingModel.TblExternalResortCommissionWeek" Role="TblExternalResortCommissionWeek" Multiplicity="0..1" />
  22496. <End Type="ProvisionStagingModel.TblExternalResortCommission" Role="TblExternalResortCommission" Multiplicity="*" />
  22497. <ReferentialConstraint>
  22498. <Principal Role="TblExternalResortCommissionWeek">
  22499. <PropertyRef Name="OID" />
  22500. </Principal>
  22501. <Dependent Role="TblExternalResortCommission">
  22502. <PropertyRef Name="Week" />
  22503. </Dependent>
  22504. </ReferentialConstraint>
  22505. </Association>
  22506. <Association Name="FK_TblExternalResortCommission_WeekModule">
  22507. <End Type="ProvisionStagingModel.TblWeekModule" Role="TblWeekModule" Multiplicity="0..1" />
  22508. <End Type="ProvisionStagingModel.TblExternalResortCommission" Role="TblExternalResortCommission" Multiplicity="*" />
  22509. <ReferentialConstraint>
  22510. <Principal Role="TblWeekModule">
  22511. <PropertyRef Name="OID" />
  22512. </Principal>
  22513. <Dependent Role="TblExternalResortCommission">
  22514. <PropertyRef Name="WeekModule" />
  22515. </Dependent>
  22516. </ReferentialConstraint>
  22517. </Association>
  22518. <Association Name="FK_TblExternalResortCommissionTransactions_Commission">
  22519. <End Type="ProvisionStagingModel.TblExternalResortCommission" Role="TblExternalResortCommission" Multiplicity="0..1" />
  22520. <End Type="ProvisionStagingModel.TblExternalResortCommissionTransaction" Role="TblExternalResortCommissionTransaction" Multiplicity="*" />
  22521. <ReferentialConstraint>
  22522. <Principal Role="TblExternalResortCommission">
  22523. <PropertyRef Name="OID" />
  22524. </Principal>
  22525. <Dependent Role="TblExternalResortCommissionTransaction">
  22526. <PropertyRef Name="Commission" />
  22527. </Dependent>
  22528. </ReferentialConstraint>
  22529. </Association>
  22530. <Association Name="FK_TblExternalResortCommissionWeeks_Resort">
  22531. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  22532. <End Type="ProvisionStagingModel.TblExternalResortCommissionWeek" Role="TblExternalResortCommissionWeek" Multiplicity="*" />
  22533. <ReferentialConstraint>
  22534. <Principal Role="TblResort">
  22535. <PropertyRef Name="OID" />
  22536. </Principal>
  22537. <Dependent Role="TblExternalResortCommissionWeek">
  22538. <PropertyRef Name="Resort" />
  22539. </Dependent>
  22540. </ReferentialConstraint>
  22541. </Association>
  22542. <Association Name="FK_TblExternalResortCommissionWeeks_WeekModule">
  22543. <End Type="ProvisionStagingModel.TblWeekModule" Role="TblWeekModule" Multiplicity="0..1" />
  22544. <End Type="ProvisionStagingModel.TblExternalResortCommissionWeek" Role="TblExternalResortCommissionWeek" Multiplicity="*" />
  22545. <ReferentialConstraint>
  22546. <Principal Role="TblWeekModule">
  22547. <PropertyRef Name="OID" />
  22548. </Principal>
  22549. <Dependent Role="TblExternalResortCommissionWeek">
  22550. <PropertyRef Name="WeekModule" />
  22551. </Dependent>
  22552. </ReferentialConstraint>
  22553. </Association>
  22554. <Association Name="FK_TblLeadFeedback_Feedback">
  22555. <End Type="ProvisionStagingModel.TblFeedbackType" Role="TblFeedbackType" Multiplicity="0..1" />
  22556. <End Type="ProvisionStagingModel.TblLeadFeedback" Role="TblLeadFeedback" Multiplicity="*" />
  22557. <ReferentialConstraint>
  22558. <Principal Role="TblFeedbackType">
  22559. <PropertyRef Name="OID" />
  22560. </Principal>
  22561. <Dependent Role="TblLeadFeedback">
  22562. <PropertyRef Name="Feedback" />
  22563. </Dependent>
  22564. </ReferentialConstraint>
  22565. </Association>
  22566. <Association Name="FK_TblFriends_Profile">
  22567. <End Type="ProvisionStagingModel.TblReferalProfile" Role="TblReferalProfile" Multiplicity="0..1" />
  22568. <End Type="ProvisionStagingModel.TblFriend" Role="TblFriend" Multiplicity="*" />
  22569. <ReferentialConstraint>
  22570. <Principal Role="TblReferalProfile">
  22571. <PropertyRef Name="OID" />
  22572. </Principal>
  22573. <Dependent Role="TblFriend">
  22574. <PropertyRef Name="Profile" />
  22575. </Dependent>
  22576. </ReferentialConstraint>
  22577. </Association>
  22578. <Association Name="FK_TblGalvanizedTransactions_AccountNumber">
  22579. <End Type="ProvisionStagingModel.TblGalvanizedDeal" Role="TblGalvanizedDeal" Multiplicity="0..1" />
  22580. <End Type="ProvisionStagingModel.TblGalvanizedTransaction" Role="TblGalvanizedTransaction" Multiplicity="*" />
  22581. <ReferentialConstraint>
  22582. <Principal Role="TblGalvanizedDeal">
  22583. <PropertyRef Name="OID" />
  22584. </Principal>
  22585. <Dependent Role="TblGalvanizedTransaction">
  22586. <PropertyRef Name="AccountNumber" />
  22587. </Dependent>
  22588. </ReferentialConstraint>
  22589. </Association>
  22590. <Association Name="FK_TblHideDebtorTransaction_CreatedBy">
  22591. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  22592. <End Type="ProvisionStagingModel.TblHideDebtorTransaction" Role="TblHideDebtorTransaction" Multiplicity="*" />
  22593. <ReferentialConstraint>
  22594. <Principal Role="TblPersonnel">
  22595. <PropertyRef Name="PersonnelCode" />
  22596. </Principal>
  22597. <Dependent Role="TblHideDebtorTransaction">
  22598. <PropertyRef Name="CreatedBy" />
  22599. </Dependent>
  22600. </ReferentialConstraint>
  22601. </Association>
  22602. <Association Name="FK_TblLeads_ImportSource">
  22603. <End Type="ProvisionStagingModel.TblImportSource" Role="TblImportSource" Multiplicity="0..1" />
  22604. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22605. <ReferentialConstraint>
  22606. <Principal Role="TblImportSource">
  22607. <PropertyRef Name="OID" />
  22608. </Principal>
  22609. <Dependent Role="TblLead">
  22610. <PropertyRef Name="ImportSource" />
  22611. </Dependent>
  22612. </ReferentialConstraint>
  22613. </Association>
  22614. <Association Name="FK_TblOldImportSource_ImportSource">
  22615. <End Type="ProvisionStagingModel.TblImportSource" Role="TblImportSource" Multiplicity="0..1" />
  22616. <End Type="ProvisionStagingModel.TblOldImportSource" Role="TblOldImportSource" Multiplicity="*" />
  22617. <ReferentialConstraint>
  22618. <Principal Role="TblImportSource">
  22619. <PropertyRef Name="OID" />
  22620. </Principal>
  22621. <Dependent Role="TblOldImportSource">
  22622. <PropertyRef Name="ImportSource" />
  22623. </Dependent>
  22624. </ReferentialConstraint>
  22625. </Association>
  22626. <Association Name="FK_TblPersonnelImportSource_ImportSource">
  22627. <End Type="ProvisionStagingModel.TblImportSource" Role="TblImportSource" Multiplicity="0..1" />
  22628. <End Type="ProvisionStagingModel.TblPersonnelImportSource" Role="TblPersonnelImportSource" Multiplicity="*" />
  22629. <ReferentialConstraint>
  22630. <Principal Role="TblImportSource">
  22631. <PropertyRef Name="OID" />
  22632. </Principal>
  22633. <Dependent Role="TblPersonnelImportSource">
  22634. <PropertyRef Name="ImportSource" />
  22635. </Dependent>
  22636. </ReferentialConstraint>
  22637. </Association>
  22638. <Association Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_ImportSource">
  22639. <End Type="ProvisionStagingModel.TblImportSource" Role="TblImportSource" Multiplicity="0..1" />
  22640. <End Type="ProvisionStagingModel.TblPersonnelPersonnel_TblImportSourceImportSource" Role="TblPersonnelPersonnel_TblImportSourceImportSource" Multiplicity="*" />
  22641. <ReferentialConstraint>
  22642. <Principal Role="TblImportSource">
  22643. <PropertyRef Name="OID" />
  22644. </Principal>
  22645. <Dependent Role="TblPersonnelPersonnel_TblImportSourceImportSource">
  22646. <PropertyRef Name="ImportSource" />
  22647. </Dependent>
  22648. </ReferentialConstraint>
  22649. </Association>
  22650. <Association Name="FK_TblSalesVenueImportSource_ImportSource">
  22651. <End Type="ProvisionStagingModel.TblImportSource" Role="TblImportSource" Multiplicity="0..1" />
  22652. <End Type="ProvisionStagingModel.TblSalesVenueImportSource" Role="TblSalesVenueImportSource" Multiplicity="*" />
  22653. <ReferentialConstraint>
  22654. <Principal Role="TblImportSource">
  22655. <PropertyRef Name="OID" />
  22656. </Principal>
  22657. <Dependent Role="TblSalesVenueImportSource">
  22658. <PropertyRef Name="ImportSource" />
  22659. </Dependent>
  22660. </ReferentialConstraint>
  22661. </Association>
  22662. <Association Name="FK_TblLeads_IncomeGroup">
  22663. <End Type="ProvisionStagingModel.TblIncomeBracket" Role="TblIncomeBracket" Multiplicity="0..1" />
  22664. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22665. <ReferentialConstraint>
  22666. <Principal Role="TblIncomeBracket">
  22667. <PropertyRef Name="OID" />
  22668. </Principal>
  22669. <Dependent Role="TblLead">
  22670. <PropertyRef Name="IncomeGroup" />
  22671. </Dependent>
  22672. </ReferentialConstraint>
  22673. </Association>
  22674. <Association Name="FK_TblTimeOffNoVouchers_IncomeBracket">
  22675. <End Type="ProvisionStagingModel.TblIncomeBracket" Role="TblIncomeBracket" Multiplicity="0..1" />
  22676. <End Type="ProvisionStagingModel.TblTimeOffNoVoucher" Role="TblTimeOffNoVoucher" Multiplicity="*" />
  22677. <ReferentialConstraint>
  22678. <Principal Role="TblIncomeBracket">
  22679. <PropertyRef Name="OID" />
  22680. </Principal>
  22681. <Dependent Role="TblTimeOffNoVoucher">
  22682. <PropertyRef Name="IncomeBracket" />
  22683. </Dependent>
  22684. </ReferentialConstraint>
  22685. </Association>
  22686. <Association Name="FK_TblTimeOffVouchers_IncomeBracket">
  22687. <End Type="ProvisionStagingModel.TblIncomeBracket" Role="TblIncomeBracket" Multiplicity="0..1" />
  22688. <End Type="ProvisionStagingModel.TblTimeOffVoucher" Role="TblTimeOffVoucher" Multiplicity="*" />
  22689. <ReferentialConstraint>
  22690. <Principal Role="TblIncomeBracket">
  22691. <PropertyRef Name="OID" />
  22692. </Principal>
  22693. <Dependent Role="TblTimeOffVoucher">
  22694. <PropertyRef Name="IncomeBracket" />
  22695. </Dependent>
  22696. </ReferentialConstraint>
  22697. </Association>
  22698. <Association Name="FK_Transfigurations_InsuranceReason">
  22699. <End Type="ProvisionStagingModel.TblInsuranceReason" Role="TblInsuranceReason" Multiplicity="0..1" />
  22700. <End Type="ProvisionStagingModel.Transfiguration" Role="Transfiguration" Multiplicity="*" />
  22701. <ReferentialConstraint>
  22702. <Principal Role="TblInsuranceReason">
  22703. <PropertyRef Name="OID" />
  22704. </Principal>
  22705. <Dependent Role="Transfiguration">
  22706. <PropertyRef Name="InsuranceReason" />
  22707. </Dependent>
  22708. </ReferentialConstraint>
  22709. </Association>
  22710. <Association Name="FK_TblInvoiceLines_InvoiceNumber">
  22711. <End Type="ProvisionStagingModel.TblInvoice" Role="TblInvoice" Multiplicity="0..1" />
  22712. <End Type="ProvisionStagingModel.TblInvoiceLine" Role="TblInvoiceLine" Multiplicity="*" />
  22713. <ReferentialConstraint>
  22714. <Principal Role="TblInvoice">
  22715. <PropertyRef Name="OID" />
  22716. </Principal>
  22717. <Dependent Role="TblInvoiceLine">
  22718. <PropertyRef Name="InvoiceNumber" />
  22719. </Dependent>
  22720. </ReferentialConstraint>
  22721. </Association>
  22722. <Association Name="FK_TblInvoices_Resort">
  22723. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  22724. <End Type="ProvisionStagingModel.TblInvoice" Role="TblInvoice" Multiplicity="*" />
  22725. <ReferentialConstraint>
  22726. <Principal Role="TblResort">
  22727. <PropertyRef Name="OID" />
  22728. </Principal>
  22729. <Dependent Role="TblInvoice">
  22730. <PropertyRef Name="Resort" />
  22731. </Dependent>
  22732. </ReferentialConstraint>
  22733. </Association>
  22734. <Association Name="FK_TblJournalLines_JournalBatch">
  22735. <End Type="ProvisionStagingModel.TblJournalBatch" Role="TblJournalBatch" Multiplicity="0..1" />
  22736. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="*" />
  22737. <ReferentialConstraint>
  22738. <Principal Role="TblJournalBatch">
  22739. <PropertyRef Name="OID" />
  22740. </Principal>
  22741. <Dependent Role="TblJournalLine">
  22742. <PropertyRef Name="JournalBatch" />
  22743. </Dependent>
  22744. </ReferentialConstraint>
  22745. </Association>
  22746. <Association Name="FK_TblJournalLineCatBreakdown_JournalLine">
  22747. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="0..1" />
  22748. <End Type="ProvisionStagingModel.TblJournalLineCatBreakdown" Role="TblJournalLineCatBreakdown" Multiplicity="*" />
  22749. <ReferentialConstraint>
  22750. <Principal Role="TblJournalLine">
  22751. <PropertyRef Name="OID" />
  22752. </Principal>
  22753. <Dependent Role="TblJournalLineCatBreakdown">
  22754. <PropertyRef Name="JournalLine" />
  22755. </Dependent>
  22756. </ReferentialConstraint>
  22757. </Association>
  22758. <Association Name="FK_TblJournalLines_PayType">
  22759. <End Type="ProvisionStagingModel.TblPaymentType" Role="TblPaymentType" Multiplicity="0..1" />
  22760. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="*" />
  22761. <ReferentialConstraint>
  22762. <Principal Role="TblPaymentType">
  22763. <PropertyRef Name="OID" />
  22764. </Principal>
  22765. <Dependent Role="TblJournalLine">
  22766. <PropertyRef Name="PayType" />
  22767. </Dependent>
  22768. </ReferentialConstraint>
  22769. </Association>
  22770. <Association Name="FK_TblJournalLineTransactions_JournalLine">
  22771. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="0..1" />
  22772. <End Type="ProvisionStagingModel.TblJournalLineTransaction" Role="TblJournalLineTransaction" Multiplicity="*" />
  22773. <ReferentialConstraint>
  22774. <Principal Role="TblJournalLine">
  22775. <PropertyRef Name="OID" />
  22776. </Principal>
  22777. <Dependent Role="TblJournalLineTransaction">
  22778. <PropertyRef Name="JournalLine" />
  22779. </Dependent>
  22780. </ReferentialConstraint>
  22781. </Association>
  22782. <Association Name="FK_TblSuspenseTransaction_JournalLine">
  22783. <End Type="ProvisionStagingModel.TblJournalLine" Role="TblJournalLine" Multiplicity="0..1" />
  22784. <End Type="ProvisionStagingModel.TblSuspenseTransaction" Role="TblSuspenseTransaction" Multiplicity="*" />
  22785. <ReferentialConstraint>
  22786. <Principal Role="TblJournalLine">
  22787. <PropertyRef Name="OID" />
  22788. </Principal>
  22789. <Dependent Role="TblSuspenseTransaction">
  22790. <PropertyRef Name="JournalLine" />
  22791. </Dependent>
  22792. </ReferentialConstraint>
  22793. </Association>
  22794. <Association Name="FK_TblJournalLineTransactionsCatBreakdown_JournalLineTransaction">
  22795. <End Type="ProvisionStagingModel.TblJournalLineTransaction" Role="TblJournalLineTransaction" Multiplicity="0..1" />
  22796. <End Type="ProvisionStagingModel.TblJournalLineTransactionsCatBreakdown" Role="TblJournalLineTransactionsCatBreakdown" Multiplicity="*" />
  22797. <ReferentialConstraint>
  22798. <Principal Role="TblJournalLineTransaction">
  22799. <PropertyRef Name="OID" />
  22800. </Principal>
  22801. <Dependent Role="TblJournalLineTransactionsCatBreakdown">
  22802. <PropertyRef Name="JournalLineTransaction" />
  22803. </Dependent>
  22804. </ReferentialConstraint>
  22805. </Association>
  22806. <Association Name="FK_TblLeadFeedback_Telemarketer">
  22807. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  22808. <End Type="ProvisionStagingModel.TblLeadFeedback" Role="TblLeadFeedback" Multiplicity="*" />
  22809. <ReferentialConstraint>
  22810. <Principal Role="TblPersonnel">
  22811. <PropertyRef Name="PersonnelCode" />
  22812. </Principal>
  22813. <Dependent Role="TblLeadFeedback">
  22814. <PropertyRef Name="Telemarketer" />
  22815. </Dependent>
  22816. </ReferentialConstraint>
  22817. </Association>
  22818. <Association Name="FK_TblLeadFeedback_TFGLeadsKey">
  22819. <End Type="ProvisionStagingModel.TblTFGLead" Role="TblTFGLead" Multiplicity="0..1" />
  22820. <End Type="ProvisionStagingModel.TblLeadFeedback" Role="TblLeadFeedback" Multiplicity="*" />
  22821. <ReferentialConstraint>
  22822. <Principal Role="TblTFGLead">
  22823. <PropertyRef Name="OID" />
  22824. </Principal>
  22825. <Dependent Role="TblLeadFeedback">
  22826. <PropertyRef Name="TFGLeadsKey" />
  22827. </Dependent>
  22828. </ReferentialConstraint>
  22829. </Association>
  22830. <Association Name="FK_TblLeads_SpouseTitle">
  22831. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  22832. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22833. <ReferentialConstraint>
  22834. <Principal Role="Title">
  22835. <PropertyRef Name="Title1" />
  22836. </Principal>
  22837. <Dependent Role="TblLead">
  22838. <PropertyRef Name="SpouseTitle" />
  22839. </Dependent>
  22840. </ReferentialConstraint>
  22841. </Association>
  22842. <Association Name="FK_TblLeads_TimeOffNonVoucherNumber">
  22843. <End Type="ProvisionStagingModel.TblTimeOffNoVoucher" Role="TblTimeOffNoVoucher" Multiplicity="0..1" />
  22844. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22845. <ReferentialConstraint>
  22846. <Principal Role="TblTimeOffNoVoucher">
  22847. <PropertyRef Name="OID" />
  22848. </Principal>
  22849. <Dependent Role="TblLead">
  22850. <PropertyRef Name="TimeOffNonVoucherNumber" />
  22851. </Dependent>
  22852. </ReferentialConstraint>
  22853. </Association>
  22854. <Association Name="FK_TblLeads_TimeOffVoucherNumber">
  22855. <End Type="ProvisionStagingModel.TblTimeOffVoucher" Role="TblTimeOffVoucher" Multiplicity="0..1" />
  22856. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22857. <ReferentialConstraint>
  22858. <Principal Role="TblTimeOffVoucher">
  22859. <PropertyRef Name="OID" />
  22860. </Principal>
  22861. <Dependent Role="TblLead">
  22862. <PropertyRef Name="TimeOffVoucherNumber" />
  22863. </Dependent>
  22864. </ReferentialConstraint>
  22865. </Association>
  22866. <Association Name="FK_TblLeads_Title">
  22867. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  22868. <End Type="ProvisionStagingModel.TblLead" Role="TblLead" Multiplicity="*" />
  22869. <ReferentialConstraint>
  22870. <Principal Role="Title">
  22871. <PropertyRef Name="Title1" />
  22872. </Principal>
  22873. <Dependent Role="TblLead">
  22874. <PropertyRef Name="Title" />
  22875. </Dependent>
  22876. </ReferentialConstraint>
  22877. </Association>
  22878. <Association Name="FK_TblLeadsCallHistory_Podmanager">
  22879. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  22880. <End Type="ProvisionStagingModel.TblLeadsCallHistory" Role="TblLeadsCallHistory" Multiplicity="*" />
  22881. <ReferentialConstraint>
  22882. <Principal Role="TblPersonnel">
  22883. <PropertyRef Name="PersonnelCode" />
  22884. </Principal>
  22885. <Dependent Role="TblLeadsCallHistory">
  22886. <PropertyRef Name="Podmanager" />
  22887. </Dependent>
  22888. </ReferentialConstraint>
  22889. </Association>
  22890. <Association Name="FK_TblLeadsCallHistory_Telemarketer">
  22891. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  22892. <End Type="ProvisionStagingModel.TblLeadsCallHistory" Role="TblLeadsCallHistory" Multiplicity="*" />
  22893. <ReferentialConstraint>
  22894. <Principal Role="TblPersonnel">
  22895. <PropertyRef Name="PersonnelCode" />
  22896. </Principal>
  22897. <Dependent Role="TblLeadsCallHistory">
  22898. <PropertyRef Name="Telemarketer" />
  22899. </Dependent>
  22900. </ReferentialConstraint>
  22901. </Association>
  22902. <Association Name="FK_TblLeadsCallHistory_TelemarketerOffice">
  22903. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="0..1" />
  22904. <End Type="ProvisionStagingModel.TblLeadsCallHistory" Role="TblLeadsCallHistory" Multiplicity="*" />
  22905. <ReferentialConstraint>
  22906. <Principal Role="TblTelemarketerOffice">
  22907. <PropertyRef Name="OID" />
  22908. </Principal>
  22909. <Dependent Role="TblLeadsCallHistory">
  22910. <PropertyRef Name="TelemarketerOffice" />
  22911. </Dependent>
  22912. </ReferentialConstraint>
  22913. </Association>
  22914. <Association Name="FK_TblManagementFeeOverride_PaymentType">
  22915. <End Type="ProvisionStagingModel.TblPaymentType" Role="TblPaymentType" Multiplicity="0..1" />
  22916. <End Type="ProvisionStagingModel.TblManagementFeeOverride" Role="TblManagementFeeOverride" Multiplicity="*" />
  22917. <ReferentialConstraint>
  22918. <Principal Role="TblPaymentType">
  22919. <PropertyRef Name="OID" />
  22920. </Principal>
  22921. <Dependent Role="TblManagementFeeOverride">
  22922. <PropertyRef Name="PaymentType" />
  22923. </Dependent>
  22924. </ReferentialConstraint>
  22925. </Association>
  22926. <Association Name="FK_TblManagementFeesToAdjust_Resort">
  22927. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  22928. <End Type="ProvisionStagingModel.TblManagementFeesToAdjust" Role="TblManagementFeesToAdjust" Multiplicity="*" />
  22929. <ReferentialConstraint>
  22930. <Principal Role="TblResort">
  22931. <PropertyRef Name="OID" />
  22932. </Principal>
  22933. <Dependent Role="TblManagementFeesToAdjust">
  22934. <PropertyRef Name="Resort" />
  22935. </Dependent>
  22936. </ReferentialConstraint>
  22937. </Association>
  22938. <Association Name="FK_TblMarketingCampaignResort_Campaign">
  22939. <End Type="ProvisionStagingModel.TblMarketingCampaign" Role="TblMarketingCampaign" Multiplicity="0..1" />
  22940. <End Type="ProvisionStagingModel.TblMarketingCampaignResort" Role="TblMarketingCampaignResort" Multiplicity="*" />
  22941. <ReferentialConstraint>
  22942. <Principal Role="TblMarketingCampaign">
  22943. <PropertyRef Name="OID" />
  22944. </Principal>
  22945. <Dependent Role="TblMarketingCampaignResort">
  22946. <PropertyRef Name="Campaign" />
  22947. </Dependent>
  22948. </ReferentialConstraint>
  22949. </Association>
  22950. <Association Name="FK_TblVoucher_Campaign">
  22951. <End Type="ProvisionStagingModel.TblMarketingCampaign" Role="TblMarketingCampaign" Multiplicity="0..1" />
  22952. <End Type="ProvisionStagingModel.TblVoucher" Role="TblVoucher" Multiplicity="*" />
  22953. <ReferentialConstraint>
  22954. <Principal Role="TblMarketingCampaign">
  22955. <PropertyRef Name="OID" />
  22956. </Principal>
  22957. <Dependent Role="TblVoucher">
  22958. <PropertyRef Name="Campaign" />
  22959. </Dependent>
  22960. </ReferentialConstraint>
  22961. </Association>
  22962. <Association Name="FK_TblVoucherSeries_Campaign">
  22963. <End Type="ProvisionStagingModel.TblMarketingCampaign" Role="TblMarketingCampaign" Multiplicity="0..1" />
  22964. <End Type="ProvisionStagingModel.TblVoucherSery" Role="TblVoucherSery" Multiplicity="*" />
  22965. <ReferentialConstraint>
  22966. <Principal Role="TblMarketingCampaign">
  22967. <PropertyRef Name="OID" />
  22968. </Principal>
  22969. <Dependent Role="TblVoucherSery">
  22970. <PropertyRef Name="Campaign" />
  22971. </Dependent>
  22972. </ReferentialConstraint>
  22973. </Association>
  22974. <Association Name="FK_TblMarketingCampaignResort_Resort">
  22975. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  22976. <End Type="ProvisionStagingModel.TblMarketingCampaignResort" Role="TblMarketingCampaignResort" Multiplicity="*" />
  22977. <ReferentialConstraint>
  22978. <Principal Role="TblResort">
  22979. <PropertyRef Name="OID" />
  22980. </Principal>
  22981. <Dependent Role="TblMarketingCampaignResort">
  22982. <PropertyRef Name="Resort" />
  22983. </Dependent>
  22984. </ReferentialConstraint>
  22985. </Association>
  22986. <Association Name="FK_TblMessageCodeMessageGroup_MessageCodeGroupGroup_MessageGroup">
  22987. <End Type="ProvisionStagingModel.TblMessageCode" Role="TblMessageCode" Multiplicity="0..1" />
  22988. <End Type="ProvisionStagingModel.TblMessageCodeMessageGroup_MessageCodeGroupGroup" Role="TblMessageCodeMessageGroup_MessageCodeGroupGroup" Multiplicity="*" />
  22989. <ReferentialConstraint>
  22990. <Principal Role="TblMessageCode">
  22991. <PropertyRef Name="OID" />
  22992. </Principal>
  22993. <Dependent Role="TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  22994. <PropertyRef Name="MessageGroup" />
  22995. </Dependent>
  22996. </ReferentialConstraint>
  22997. </Association>
  22998. <Association Name="FK_TblPortfolioNotes_MessageCode">
  22999. <End Type="ProvisionStagingModel.TblMessageCode" Role="TblMessageCode" Multiplicity="0..1" />
  23000. <End Type="ProvisionStagingModel.TblPortfolioNote" Role="TblPortfolioNote" Multiplicity="*" />
  23001. <ReferentialConstraint>
  23002. <Principal Role="TblMessageCode">
  23003. <PropertyRef Name="OID" />
  23004. </Principal>
  23005. <Dependent Role="TblPortfolioNote">
  23006. <PropertyRef Name="MessageCode" />
  23007. </Dependent>
  23008. </ReferentialConstraint>
  23009. </Association>
  23010. <Association Name="FK_TblOverrideAudit_OverrideUser">
  23011. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23012. <End Type="ProvisionStagingModel.TblOverrideAudit" Role="TblOverrideAudit" Multiplicity="*" />
  23013. <ReferentialConstraint>
  23014. <Principal Role="TblPersonnel">
  23015. <PropertyRef Name="PersonnelCode" />
  23016. </Principal>
  23017. <Dependent Role="TblOverrideAudit">
  23018. <PropertyRef Name="OverrideUser" />
  23019. </Dependent>
  23020. </ReferentialConstraint>
  23021. </Association>
  23022. <Association Name="FK_TblOverrideAudit_Portfolio">
  23023. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  23024. <End Type="ProvisionStagingModel.TblOverrideAudit" Role="TblOverrideAudit" Multiplicity="*" />
  23025. <ReferentialConstraint>
  23026. <Principal Role="TblPortfolio">
  23027. <PropertyRef Name="OID" />
  23028. </Principal>
  23029. <Dependent Role="TblOverrideAudit">
  23030. <PropertyRef Name="Portfolio" />
  23031. </Dependent>
  23032. </ReferentialConstraint>
  23033. </Association>
  23034. <Association Name="FK_TblOverrideAudit_TransfigurationsKey">
  23035. <End Type="ProvisionStagingModel.Transfiguration" Role="Transfiguration" Multiplicity="0..1" />
  23036. <End Type="ProvisionStagingModel.TblOverrideAudit" Role="TblOverrideAudit" Multiplicity="*" />
  23037. <ReferentialConstraint>
  23038. <Principal Role="Transfiguration">
  23039. <PropertyRef Name="OID" />
  23040. </Principal>
  23041. <Dependent Role="TblOverrideAudit">
  23042. <PropertyRef Name="TransfigurationsKey" />
  23043. </Dependent>
  23044. </ReferentialConstraint>
  23045. </Association>
  23046. <Association Name="FK_TblPaymentPlan_PaymentType">
  23047. <End Type="ProvisionStagingModel.TblPaymentType" Role="TblPaymentType" Multiplicity="0..1" />
  23048. <End Type="ProvisionStagingModel.TblPaymentPlan" Role="TblPaymentPlan" Multiplicity="*" />
  23049. <ReferentialConstraint>
  23050. <Principal Role="TblPaymentType">
  23051. <PropertyRef Name="OID" />
  23052. </Principal>
  23053. <Dependent Role="TblPaymentPlan">
  23054. <PropertyRef Name="PaymentType" />
  23055. </Dependent>
  23056. </ReferentialConstraint>
  23057. </Association>
  23058. <Association Name="FK__TblSalesV__Perso__1A3FCC1E">
  23059. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23060. <End Type="ProvisionStagingModel.TblSalesVenuePersonnel" Role="TblSalesVenuePersonnel" Multiplicity="*" />
  23061. <ReferentialConstraint>
  23062. <Principal Role="TblPersonnel">
  23063. <PropertyRef Name="PersonnelCode" />
  23064. </Principal>
  23065. <Dependent Role="TblSalesVenuePersonnel">
  23066. <PropertyRef Name="PersonnelCode" />
  23067. </Dependent>
  23068. </ReferentialConstraint>
  23069. </Association>
  23070. <Association Name="FK__TblSalesV__PodMa__1B33F057">
  23071. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23072. <End Type="ProvisionStagingModel.TblSalesVenuePersonnel" Role="TblSalesVenuePersonnel" Multiplicity="*" />
  23073. <ReferentialConstraint>
  23074. <Principal Role="TblPersonnel">
  23075. <PropertyRef Name="PersonnelCode" />
  23076. </Principal>
  23077. <Dependent Role="TblSalesVenuePersonnel">
  23078. <PropertyRef Name="PodManager" />
  23079. </Dependent>
  23080. </ReferentialConstraint>
  23081. </Association>
  23082. <Association Name="FK_TblPersonnel_CommissionLinkedTo">
  23083. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23084. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23085. <ReferentialConstraint>
  23086. <Principal Role="TblPersonnel">
  23087. <PropertyRef Name="PersonnelCode" />
  23088. </Principal>
  23089. <Dependent Role="TblPersonnel1">
  23090. <PropertyRef Name="CommissionLinkedTo" />
  23091. </Dependent>
  23092. </ReferentialConstraint>
  23093. </Association>
  23094. <Association Name="FK_TblPersonnel_Manager">
  23095. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23096. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23097. <ReferentialConstraint>
  23098. <Principal Role="TblPersonnel">
  23099. <PropertyRef Name="PersonnelCode" />
  23100. </Principal>
  23101. <Dependent Role="TblPersonnel1">
  23102. <PropertyRef Name="ReportsTo" />
  23103. </Dependent>
  23104. </ReferentialConstraint>
  23105. </Association>
  23106. <Association Name="FK_TblPersonnel_NewCommStructure">
  23107. <End Type="ProvisionStagingModel.TblTMCommStructure" Role="TblTMCommStructure" Multiplicity="0..1" />
  23108. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23109. <ReferentialConstraint>
  23110. <Principal Role="TblTMCommStructure">
  23111. <PropertyRef Name="OID" />
  23112. </Principal>
  23113. <Dependent Role="TblPersonnel">
  23114. <PropertyRef Name="NewCommStructure" />
  23115. </Dependent>
  23116. </ReferentialConstraint>
  23117. </Association>
  23118. <Association Name="FK_TblPersonnel_PAAss">
  23119. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23120. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23121. <ReferentialConstraint>
  23122. <Principal Role="TblPersonnel">
  23123. <PropertyRef Name="PersonnelCode" />
  23124. </Principal>
  23125. <Dependent Role="TblPersonnel1">
  23126. <PropertyRef Name="PAAss" />
  23127. </Dependent>
  23128. </ReferentialConstraint>
  23129. </Association>
  23130. <Association Name="FK_TblPersonnel_PitchedLeadsReportVenue">
  23131. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  23132. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23133. <ReferentialConstraint>
  23134. <Principal Role="TblSalesVenue">
  23135. <PropertyRef Name="OID" />
  23136. </Principal>
  23137. <Dependent Role="TblPersonnel">
  23138. <PropertyRef Name="PitchedLeadsReportVenue" />
  23139. </Dependent>
  23140. </ReferentialConstraint>
  23141. </Association>
  23142. <Association Name="FK_TblPersonnel_PrimarySalesDeck">
  23143. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  23144. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23145. <ReferentialConstraint>
  23146. <Principal Role="TblSalesVenue">
  23147. <PropertyRef Name="OID" />
  23148. </Principal>
  23149. <Dependent Role="TblPersonnel">
  23150. <PropertyRef Name="PrimarySalesDeck" />
  23151. </Dependent>
  23152. </ReferentialConstraint>
  23153. </Association>
  23154. <Association Name="FK_TblPersonnel_RegionalSalesManager">
  23155. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23156. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23157. <ReferentialConstraint>
  23158. <Principal Role="TblPersonnel">
  23159. <PropertyRef Name="PersonnelCode" />
  23160. </Principal>
  23161. <Dependent Role="TblPersonnel1">
  23162. <PropertyRef Name="RegionalSalesManager" />
  23163. </Dependent>
  23164. </ReferentialConstraint>
  23165. </Association>
  23166. <Association Name="FK_TblPersonnel_SalesCommissionEquityCategory">
  23167. <End Type="ProvisionStagingModel.TblSalesCommissionEquity" Role="TblSalesCommissionEquity" Multiplicity="0..1" />
  23168. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23169. <ReferentialConstraint>
  23170. <Principal Role="TblSalesCommissionEquity">
  23171. <PropertyRef Name="Oid" />
  23172. </Principal>
  23173. <Dependent Role="TblPersonnel">
  23174. <PropertyRef Name="SalesCommissionEquityCategory" />
  23175. </Dependent>
  23176. </ReferentialConstraint>
  23177. </Association>
  23178. <Association Name="FK_TblPersonnel_SalesCommissionStructure">
  23179. <End Type="ProvisionStagingModel.TblSalesCommissionPercentage" Role="TblSalesCommissionPercentage" Multiplicity="0..1" />
  23180. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23181. <ReferentialConstraint>
  23182. <Principal Role="TblSalesCommissionPercentage">
  23183. <PropertyRef Name="Oid" />
  23184. </Principal>
  23185. <Dependent Role="TblPersonnel">
  23186. <PropertyRef Name="SalesCommissionStructure" />
  23187. </Dependent>
  23188. </ReferentialConstraint>
  23189. </Association>
  23190. <Association Name="FK_TblPersonnel_SalesManager">
  23191. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23192. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23193. <ReferentialConstraint>
  23194. <Principal Role="TblPersonnel">
  23195. <PropertyRef Name="PersonnelCode" />
  23196. </Principal>
  23197. <Dependent Role="TblPersonnel1">
  23198. <PropertyRef Name="SalesManager" />
  23199. </Dependent>
  23200. </ReferentialConstraint>
  23201. </Association>
  23202. <Association Name="FK_TblPersonnel_SCVStructure">
  23203. <End Type="ProvisionStagingModel.TblSCV2CommissionStructure" Role="TblSCV2CommissionStructure" Multiplicity="0..1" />
  23204. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23205. <ReferentialConstraint>
  23206. <Principal Role="TblSCV2CommissionStructure">
  23207. <PropertyRef Name="Oid" />
  23208. </Principal>
  23209. <Dependent Role="TblPersonnel">
  23210. <PropertyRef Name="SCVStructure" />
  23211. </Dependent>
  23212. </ReferentialConstraint>
  23213. </Association>
  23214. <Association Name="FK_TblPersonnel_SMI">
  23215. <End Type="ProvisionStagingModel.TblSMIIncentive" Role="TblSMIIncentive" Multiplicity="0..1" />
  23216. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23217. <ReferentialConstraint>
  23218. <Principal Role="TblSMIIncentive">
  23219. <PropertyRef Name="Oid" />
  23220. </Principal>
  23221. <Dependent Role="TblPersonnel">
  23222. <PropertyRef Name="SMI" />
  23223. </Dependent>
  23224. </ReferentialConstraint>
  23225. </Association>
  23226. <Association Name="FK_TblPersonnel_Supervisor">
  23227. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23228. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23229. <ReferentialConstraint>
  23230. <Principal Role="TblPersonnel">
  23231. <PropertyRef Name="PersonnelCode" />
  23232. </Principal>
  23233. <Dependent Role="TblPersonnel1">
  23234. <PropertyRef Name="Supervisor" />
  23235. </Dependent>
  23236. </ReferentialConstraint>
  23237. </Association>
  23238. <Association Name="FK_TblPersonnel_TelemarketerOffice">
  23239. <End Type="ProvisionStagingModel.TblTelemarketerOffice" Role="TblTelemarketerOffice" Multiplicity="0..1" />
  23240. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23241. <ReferentialConstraint>
  23242. <Principal Role="TblTelemarketerOffice">
  23243. <PropertyRef Name="OID" />
  23244. </Principal>
  23245. <Dependent Role="TblPersonnel">
  23246. <PropertyRef Name="TelemarketerOffice" />
  23247. </Dependent>
  23248. </ReferentialConstraint>
  23249. </Association>
  23250. <Association Name="FK_TblPersonnel_Title">
  23251. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  23252. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="*" />
  23253. <ReferentialConstraint>
  23254. <Principal Role="Title">
  23255. <PropertyRef Name="Title1" />
  23256. </Principal>
  23257. <Dependent Role="TblPersonnel">
  23258. <PropertyRef Name="Title" />
  23259. </Dependent>
  23260. </ReferentialConstraint>
  23261. </Association>
  23262. <Association Name="FK_TblPersonnel_TrainingManager">
  23263. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23264. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel1" Multiplicity="*" />
  23265. <ReferentialConstraint>
  23266. <Principal Role="TblPersonnel">
  23267. <PropertyRef Name="PersonnelCode" />
  23268. </Principal>
  23269. <Dependent Role="TblPersonnel1">
  23270. <PropertyRef Name="TrainingManager" />
  23271. </Dependent>
  23272. </ReferentialConstraint>
  23273. </Association>
  23274. <Association Name="FK_TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf_BCCRecipiants">
  23275. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23276. <End Type="ProvisionStagingModel.TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" Role="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf" Multiplicity="*" />
  23277. <ReferentialConstraint>
  23278. <Principal Role="TblPersonnel">
  23279. <PropertyRef Name="PersonnelCode" />
  23280. </Principal>
  23281. <Dependent Role="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  23282. <PropertyRef Name="BCCRecipiants" />
  23283. </Dependent>
  23284. </ReferentialConstraint>
  23285. </Association>
  23286. <Association Name="FK_TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf_CCRecipiants">
  23287. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23288. <End Type="ProvisionStagingModel.TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" Role="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf" Multiplicity="*" />
  23289. <ReferentialConstraint>
  23290. <Principal Role="TblPersonnel">
  23291. <PropertyRef Name="PersonnelCode" />
  23292. </Principal>
  23293. <Dependent Role="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  23294. <PropertyRef Name="CCRecipiants" />
  23295. </Dependent>
  23296. </ReferentialConstraint>
  23297. </Association>
  23298. <Association Name="FK_TblPersonnelCheckingPersonnel_CheckingTypesCheckingType_CheckingPersonnel">
  23299. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23300. <End Type="ProvisionStagingModel.TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" Role="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType" Multiplicity="*" />
  23301. <ReferentialConstraint>
  23302. <Principal Role="TblPersonnel">
  23303. <PropertyRef Name="PersonnelCode" />
  23304. </Principal>
  23305. <Dependent Role="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  23306. <PropertyRef Name="CheckingPersonnel" />
  23307. </Dependent>
  23308. </ReferentialConstraint>
  23309. </Association>
  23310. <Association Name="FK_TblPersonnelDocuments_PersonnelCode">
  23311. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23312. <End Type="ProvisionStagingModel.TblPersonnelDocument" Role="TblPersonnelDocument" Multiplicity="*" />
  23313. <ReferentialConstraint>
  23314. <Principal Role="TblPersonnel">
  23315. <PropertyRef Name="PersonnelCode" />
  23316. </Principal>
  23317. <Dependent Role="TblPersonnelDocument">
  23318. <PropertyRef Name="PersonnelCode" />
  23319. </Dependent>
  23320. </ReferentialConstraint>
  23321. </Association>
  23322. <Association Name="FK_TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails_ExpertEmailRecipiants">
  23323. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23324. <End Type="ProvisionStagingModel.TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" Role="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails" Multiplicity="*" />
  23325. <ReferentialConstraint>
  23326. <Principal Role="TblPersonnel">
  23327. <PropertyRef Name="PersonnelCode" />
  23328. </Principal>
  23329. <Dependent Role="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  23330. <PropertyRef Name="ExpertEmailRecipiants" />
  23331. </Dependent>
  23332. </ReferentialConstraint>
  23333. </Association>
  23334. <Association Name="FK_TblPersonnelImportSource_PersonnelCode">
  23335. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23336. <End Type="ProvisionStagingModel.TblPersonnelImportSource" Role="TblPersonnelImportSource" Multiplicity="*" />
  23337. <ReferentialConstraint>
  23338. <Principal Role="TblPersonnel">
  23339. <PropertyRef Name="PersonnelCode" />
  23340. </Principal>
  23341. <Dependent Role="TblPersonnelImportSource">
  23342. <PropertyRef Name="PersonnelCode" />
  23343. </Dependent>
  23344. </ReferentialConstraint>
  23345. </Association>
  23346. <Association Name="FK_TblPersonnelLeave_PersonnelCode">
  23347. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23348. <End Type="ProvisionStagingModel.TblPersonnelLeave" Role="TblPersonnelLeave" Multiplicity="*" />
  23349. <ReferentialConstraint>
  23350. <Principal Role="TblPersonnel">
  23351. <PropertyRef Name="PersonnelCode" />
  23352. </Principal>
  23353. <Dependent Role="TblPersonnelLeave">
  23354. <PropertyRef Name="PersonnelCode" />
  23355. </Dependent>
  23356. </ReferentialConstraint>
  23357. </Association>
  23358. <Association Name="FK_TblPersonnelPersonnel_TblImportSourceImportSource_Personnel">
  23359. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23360. <End Type="ProvisionStagingModel.TblPersonnelPersonnel_TblImportSourceImportSource" Role="TblPersonnelPersonnel_TblImportSourceImportSource" Multiplicity="*" />
  23361. <ReferentialConstraint>
  23362. <Principal Role="TblPersonnel">
  23363. <PropertyRef Name="PersonnelCode" />
  23364. </Principal>
  23365. <Dependent Role="TblPersonnelPersonnel_TblImportSourceImportSource">
  23366. <PropertyRef Name="Personnel" />
  23367. </Dependent>
  23368. </ReferentialConstraint>
  23369. </Association>
  23370. <Association Name="FK_TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage_PersonnelAllowed">
  23371. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23372. <End Type="ProvisionStagingModel.TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" Role="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage" Multiplicity="*" />
  23373. <ReferentialConstraint>
  23374. <Principal Role="TblPersonnel">
  23375. <PropertyRef Name="PersonnelCode" />
  23376. </Principal>
  23377. <Dependent Role="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  23378. <PropertyRef Name="PersonnelAllowed" />
  23379. </Dependent>
  23380. </ReferentialConstraint>
  23381. </Association>
  23382. <Association Name="FK_TblPersonnelPersonnelToNotify_TblEmailNotifyEmails_PersonnelToNotify">
  23383. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23384. <End Type="ProvisionStagingModel.TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" Role="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails" Multiplicity="*" />
  23385. <ReferentialConstraint>
  23386. <Principal Role="TblPersonnel">
  23387. <PropertyRef Name="PersonnelCode" />
  23388. </Principal>
  23389. <Dependent Role="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  23390. <PropertyRef Name="PersonnelToNotify" />
  23391. </Dependent>
  23392. </ReferentialConstraint>
  23393. </Association>
  23394. <Association Name="FK_TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf_Recipiants">
  23395. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23396. <End Type="ProvisionStagingModel.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf" Multiplicity="*" />
  23397. <ReferentialConstraint>
  23398. <Principal Role="TblPersonnel">
  23399. <PropertyRef Name="PersonnelCode" />
  23400. </Principal>
  23401. <Dependent Role="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  23402. <PropertyRef Name="Recipiants" />
  23403. </Dependent>
  23404. </ReferentialConstraint>
  23405. </Association>
  23406. <Association Name="FK_TblPersonnelTelephone_PersonnelCode">
  23407. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23408. <End Type="ProvisionStagingModel.TblPersonnelTelephone" Role="TblPersonnelTelephone" Multiplicity="*" />
  23409. <ReferentialConstraint>
  23410. <Principal Role="TblPersonnel">
  23411. <PropertyRef Name="PersonnelCode" />
  23412. </Principal>
  23413. <Dependent Role="TblPersonnelTelephone">
  23414. <PropertyRef Name="PersonnelCode" />
  23415. </Dependent>
  23416. </ReferentialConstraint>
  23417. </Association>
  23418. <Association Name="FK_TblPersonnelUnivateTarget_PersonnelCode">
  23419. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23420. <End Type="ProvisionStagingModel.TblPersonnelUnivateTarget" Role="TblPersonnelUnivateTarget" Multiplicity="*" />
  23421. <ReferentialConstraint>
  23422. <Principal Role="TblPersonnel">
  23423. <PropertyRef Name="PersonnelCode" />
  23424. </Principal>
  23425. <Dependent Role="TblPersonnelUnivateTarget">
  23426. <PropertyRef Name="PersonnelCode" />
  23427. </Dependent>
  23428. </ReferentialConstraint>
  23429. </Association>
  23430. <Association Name="FK_TblPersonnelWeeklyTargetSplit_Personnel">
  23431. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23432. <End Type="ProvisionStagingModel.TblPersonnelWeeklyTargetSplit" Role="TblPersonnelWeeklyTargetSplit" Multiplicity="*" />
  23433. <ReferentialConstraint>
  23434. <Principal Role="TblPersonnel">
  23435. <PropertyRef Name="PersonnelCode" />
  23436. </Principal>
  23437. <Dependent Role="TblPersonnelWeeklyTargetSplit">
  23438. <PropertyRef Name="Personnel" />
  23439. </Dependent>
  23440. </ReferentialConstraint>
  23441. </Association>
  23442. <Association Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_Personnel">
  23443. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23444. <End Type="ProvisionStagingModel.TblPersonnelWeeklyTargetSplitPerSalesVenue" Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" Multiplicity="*" />
  23445. <ReferentialConstraint>
  23446. <Principal Role="TblPersonnel">
  23447. <PropertyRef Name="PersonnelCode" />
  23448. </Principal>
  23449. <Dependent Role="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  23450. <PropertyRef Name="Personnel" />
  23451. </Dependent>
  23452. </ReferentialConstraint>
  23453. </Association>
  23454. <Association Name="FK_TblPersTransfig_TblPersonnellKey">
  23455. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23456. <End Type="ProvisionStagingModel.TblPersTransfig" Role="TblPersTransfig" Multiplicity="*" />
  23457. <ReferentialConstraint>
  23458. <Principal Role="TblPersonnel">
  23459. <PropertyRef Name="PersonnelCode" />
  23460. </Principal>
  23461. <Dependent Role="TblPersTransfig">
  23462. <PropertyRef Name="TblPersonnellKey" />
  23463. </Dependent>
  23464. </ReferentialConstraint>
  23465. </Association>
  23466. <Association Name="FK_TblPodManager_PersonnelCode">
  23467. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23468. <End Type="ProvisionStagingModel.TblPodManager" Role="TblPodManager" Multiplicity="*" />
  23469. <ReferentialConstraint>
  23470. <Principal Role="TblPersonnel">
  23471. <PropertyRef Name="PersonnelCode" />
  23472. </Principal>
  23473. <Dependent Role="TblPodManager">
  23474. <PropertyRef Name="PersonnelCode" />
  23475. </Dependent>
  23476. </ReferentialConstraint>
  23477. </Association>
  23478. <Association Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_Personnel">
  23479. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23480. <End Type="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Multiplicity="*" />
  23481. <ReferentialConstraint>
  23482. <Principal Role="TblPersonnel">
  23483. <PropertyRef Name="PersonnelCode" />
  23484. </Principal>
  23485. <Dependent Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  23486. <PropertyRef Name="Personnel" />
  23487. </Dependent>
  23488. </ReferentialConstraint>
  23489. </Association>
  23490. <Association Name="FK_TblQueryRecipient_BCCRecipient">
  23491. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23492. <End Type="ProvisionStagingModel.TblQueryRecipient" Role="TblQueryRecipient" Multiplicity="*" />
  23493. <ReferentialConstraint>
  23494. <Principal Role="TblPersonnel">
  23495. <PropertyRef Name="PersonnelCode" />
  23496. </Principal>
  23497. <Dependent Role="TblQueryRecipient">
  23498. <PropertyRef Name="BCCRecipient" />
  23499. </Dependent>
  23500. </ReferentialConstraint>
  23501. </Association>
  23502. <Association Name="FK_TblQueryRecipient_CCRecipient">
  23503. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23504. <End Type="ProvisionStagingModel.TblQueryRecipient" Role="TblQueryRecipient" Multiplicity="*" />
  23505. <ReferentialConstraint>
  23506. <Principal Role="TblPersonnel">
  23507. <PropertyRef Name="PersonnelCode" />
  23508. </Principal>
  23509. <Dependent Role="TblQueryRecipient">
  23510. <PropertyRef Name="CCRecipient" />
  23511. </Dependent>
  23512. </ReferentialConstraint>
  23513. </Association>
  23514. <Association Name="FK_TblQueryRecipient_MainRecipient">
  23515. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23516. <End Type="ProvisionStagingModel.TblQueryRecipient" Role="TblQueryRecipient" Multiplicity="*" />
  23517. <ReferentialConstraint>
  23518. <Principal Role="TblPersonnel">
  23519. <PropertyRef Name="PersonnelCode" />
  23520. </Principal>
  23521. <Dependent Role="TblQueryRecipient">
  23522. <PropertyRef Name="MainRecipient" />
  23523. </Dependent>
  23524. </ReferentialConstraint>
  23525. </Association>
  23526. <Association Name="FK_TblRawSalesCommData_SalesConsultant">
  23527. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23528. <End Type="ProvisionStagingModel.TblRawSalesCommData" Role="TblRawSalesCommData" Multiplicity="*" />
  23529. <ReferentialConstraint>
  23530. <Principal Role="TblPersonnel">
  23531. <PropertyRef Name="PersonnelCode" />
  23532. </Principal>
  23533. <Dependent Role="TblRawSalesCommData">
  23534. <PropertyRef Name="SalesConsultant" />
  23535. </Dependent>
  23536. </ReferentialConstraint>
  23537. </Association>
  23538. <Association Name="FK_TblRawSalesCommData_SalesManager">
  23539. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23540. <End Type="ProvisionStagingModel.TblRawSalesCommData" Role="TblRawSalesCommData" Multiplicity="*" />
  23541. <ReferentialConstraint>
  23542. <Principal Role="TblPersonnel">
  23543. <PropertyRef Name="PersonnelCode" />
  23544. </Principal>
  23545. <Dependent Role="TblRawSalesCommData">
  23546. <PropertyRef Name="SalesManager" />
  23547. </Dependent>
  23548. </ReferentialConstraint>
  23549. </Association>
  23550. <Association Name="FK_TblRescheduleCalls_PersonnelCode">
  23551. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23552. <End Type="ProvisionStagingModel.TblRescheduleCall" Role="TblRescheduleCall" Multiplicity="*" />
  23553. <ReferentialConstraint>
  23554. <Principal Role="TblPersonnel">
  23555. <PropertyRef Name="PersonnelCode" />
  23556. </Principal>
  23557. <Dependent Role="TblRescheduleCall">
  23558. <PropertyRef Name="PersonnelCode" />
  23559. </Dependent>
  23560. </ReferentialConstraint>
  23561. </Association>
  23562. <Association Name="FK_TblResort__ResortManager">
  23563. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23564. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="*" />
  23565. <ReferentialConstraint>
  23566. <Principal Role="TblPersonnel">
  23567. <PropertyRef Name="PersonnelCode" />
  23568. </Principal>
  23569. <Dependent Role="TblResort">
  23570. <PropertyRef Name="C_ResortManager" />
  23571. </Dependent>
  23572. </ReferentialConstraint>
  23573. </Association>
  23574. <Association Name="FK_TblResort_ResortManager">
  23575. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23576. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="*" />
  23577. <ReferentialConstraint>
  23578. <Principal Role="TblPersonnel">
  23579. <PropertyRef Name="PersonnelCode" />
  23580. </Principal>
  23581. <Dependent Role="TblResort">
  23582. <PropertyRef Name="ResortManager" />
  23583. </Dependent>
  23584. </ReferentialConstraint>
  23585. </Association>
  23586. <Association Name="FK_TblSalesCommEarnerType_SpecificPersonnel">
  23587. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23588. <End Type="ProvisionStagingModel.TblSalesCommEarnerType" Role="TblSalesCommEarnerType" Multiplicity="*" />
  23589. <ReferentialConstraint>
  23590. <Principal Role="TblPersonnel">
  23591. <PropertyRef Name="PersonnelCode" />
  23592. </Principal>
  23593. <Dependent Role="TblSalesCommEarnerType">
  23594. <PropertyRef Name="SpecificPersonnel" />
  23595. </Dependent>
  23596. </ReferentialConstraint>
  23597. </Association>
  23598. <Association Name="FK_TblSalesCommissionInfo_CommissionOwner">
  23599. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23600. <End Type="ProvisionStagingModel.TblSalesCommissionInfo" Role="TblSalesCommissionInfo" Multiplicity="*" />
  23601. <ReferentialConstraint>
  23602. <Principal Role="TblPersonnel">
  23603. <PropertyRef Name="PersonnelCode" />
  23604. </Principal>
  23605. <Dependent Role="TblSalesCommissionInfo">
  23606. <PropertyRef Name="CommissionOwner" />
  23607. </Dependent>
  23608. </ReferentialConstraint>
  23609. </Association>
  23610. <Association Name="FK_TblSalesCommissionTransaction_SalesPersonnel">
  23611. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23612. <End Type="ProvisionStagingModel.TblSalesCommissionTransaction" Role="TblSalesCommissionTransaction" Multiplicity="*" />
  23613. <ReferentialConstraint>
  23614. <Principal Role="TblPersonnel">
  23615. <PropertyRef Name="PersonnelCode" />
  23616. </Principal>
  23617. <Dependent Role="TblSalesCommissionTransaction">
  23618. <PropertyRef Name="SalesPersonnel" />
  23619. </Dependent>
  23620. </ReferentialConstraint>
  23621. </Association>
  23622. <Association Name="FK_TblSalesCommissionTransaction_SignedOffBy">
  23623. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23624. <End Type="ProvisionStagingModel.TblSalesCommissionTransaction" Role="TblSalesCommissionTransaction" Multiplicity="*" />
  23625. <ReferentialConstraint>
  23626. <Principal Role="TblPersonnel">
  23627. <PropertyRef Name="PersonnelCode" />
  23628. </Principal>
  23629. <Dependent Role="TblSalesCommissionTransaction">
  23630. <PropertyRef Name="SignedOffBy" />
  23631. </Dependent>
  23632. </ReferentialConstraint>
  23633. </Association>
  23634. <Association Name="FK_TblSalesCommSkippedCommissions_PersonnelCode">
  23635. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23636. <End Type="ProvisionStagingModel.TblSalesCommSkippedCommission" Role="TblSalesCommSkippedCommission" Multiplicity="*" />
  23637. <ReferentialConstraint>
  23638. <Principal Role="TblPersonnel">
  23639. <PropertyRef Name="PersonnelCode" />
  23640. </Principal>
  23641. <Dependent Role="TblSalesCommSkippedCommission">
  23642. <PropertyRef Name="PersonnelCode" />
  23643. </Dependent>
  23644. </ReferentialConstraint>
  23645. </Association>
  23646. <Association Name="FK_TblSalesCommStatement_PersonnelCode">
  23647. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23648. <End Type="ProvisionStagingModel.TblSalesCommStatement" Role="TblSalesCommStatement" Multiplicity="*" />
  23649. <ReferentialConstraint>
  23650. <Principal Role="TblPersonnel">
  23651. <PropertyRef Name="PersonnelCode" />
  23652. </Principal>
  23653. <Dependent Role="TblSalesCommStatement">
  23654. <PropertyRef Name="PersonnelCode" />
  23655. </Dependent>
  23656. </ReferentialConstraint>
  23657. </Association>
  23658. <Association Name="FK_TblSalesVenue_ClientArrivalManager">
  23659. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23660. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  23661. <ReferentialConstraint>
  23662. <Principal Role="TblPersonnel">
  23663. <PropertyRef Name="PersonnelCode" />
  23664. </Principal>
  23665. <Dependent Role="TblSalesVenue">
  23666. <PropertyRef Name="ClientArrivalManager" />
  23667. </Dependent>
  23668. </ReferentialConstraint>
  23669. </Association>
  23670. <Association Name="FK_TblSalesVenue_RegionalSalesManager">
  23671. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23672. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  23673. <ReferentialConstraint>
  23674. <Principal Role="TblPersonnel">
  23675. <PropertyRef Name="PersonnelCode" />
  23676. </Principal>
  23677. <Dependent Role="TblSalesVenue">
  23678. <PropertyRef Name="RegionalSalesManager" />
  23679. </Dependent>
  23680. </ReferentialConstraint>
  23681. </Association>
  23682. <Association Name="FK_TblSalesVenue_RegionalSalesManager2">
  23683. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23684. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  23685. <ReferentialConstraint>
  23686. <Principal Role="TblPersonnel">
  23687. <PropertyRef Name="PersonnelCode" />
  23688. </Principal>
  23689. <Dependent Role="TblSalesVenue">
  23690. <PropertyRef Name="RegionalSalesManager2" />
  23691. </Dependent>
  23692. </ReferentialConstraint>
  23693. </Association>
  23694. <Association Name="FK_TblSalesVenue_SalesManager">
  23695. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23696. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="*" />
  23697. <ReferentialConstraint>
  23698. <Principal Role="TblPersonnel">
  23699. <PropertyRef Name="PersonnelCode" />
  23700. </Principal>
  23701. <Dependent Role="TblSalesVenue">
  23702. <PropertyRef Name="SalesManager" />
  23703. </Dependent>
  23704. </ReferentialConstraint>
  23705. </Association>
  23706. <Association Name="FK_TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride_CAOverride">
  23707. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23708. <End Type="ProvisionStagingModel.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride" Multiplicity="*" />
  23709. <ReferentialConstraint>
  23710. <Principal Role="TblPersonnel">
  23711. <PropertyRef Name="PersonnelCode" />
  23712. </Principal>
  23713. <Dependent Role="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  23714. <PropertyRef Name="CAOverride" />
  23715. </Dependent>
  23716. </ReferentialConstraint>
  23717. </Association>
  23718. <Association Name="FK_TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients_PitchedLeadsReportRecipients">
  23719. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23720. <End Type="ProvisionStagingModel.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients" Multiplicity="*" />
  23721. <ReferentialConstraint>
  23722. <Principal Role="TblPersonnel">
  23723. <PropertyRef Name="PersonnelCode" />
  23724. </Principal>
  23725. <Dependent Role="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  23726. <PropertyRef Name="PitchedLeadsReportRecipients" />
  23727. </Dependent>
  23728. </ReferentialConstraint>
  23729. </Association>
  23730. <Association Name="FK_TblSCV2CommissionContract_SalesPerson">
  23731. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23732. <End Type="ProvisionStagingModel.TblSCV2CommissionContract" Role="TblSCV2CommissionContract" Multiplicity="*" />
  23733. <ReferentialConstraint>
  23734. <Principal Role="TblPersonnel">
  23735. <PropertyRef Name="PersonnelCode" />
  23736. </Principal>
  23737. <Dependent Role="TblSCV2CommissionContract">
  23738. <PropertyRef Name="SalesPerson" />
  23739. </Dependent>
  23740. </ReferentialConstraint>
  23741. </Association>
  23742. <Association Name="FK_TblSCV2SpecialStructure_Personnel">
  23743. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23744. <End Type="ProvisionStagingModel.TblSCV2SpecialStructure" Role="TblSCV2SpecialStructure" Multiplicity="*" />
  23745. <ReferentialConstraint>
  23746. <Principal Role="TblPersonnel">
  23747. <PropertyRef Name="PersonnelCode" />
  23748. </Principal>
  23749. <Dependent Role="TblSCV2SpecialStructure">
  23750. <PropertyRef Name="Personnel" />
  23751. </Dependent>
  23752. </ReferentialConstraint>
  23753. </Association>
  23754. <Association Name="FK_TblSCV2Transaction_SignOffBy">
  23755. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23756. <End Type="ProvisionStagingModel.TblSCV2Transaction" Role="TblSCV2Transaction" Multiplicity="*" />
  23757. <ReferentialConstraint>
  23758. <Principal Role="TblPersonnel">
  23759. <PropertyRef Name="PersonnelCode" />
  23760. </Principal>
  23761. <Dependent Role="TblSCV2Transaction">
  23762. <PropertyRef Name="SignOffBy" />
  23763. </Dependent>
  23764. </ReferentialConstraint>
  23765. </Association>
  23766. <Association Name="FK_TblSMICommissionInfo_SalesPerson">
  23767. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23768. <End Type="ProvisionStagingModel.TblSMICommissionInfo" Role="TblSMICommissionInfo" Multiplicity="*" />
  23769. <ReferentialConstraint>
  23770. <Principal Role="TblPersonnel">
  23771. <PropertyRef Name="PersonnelCode" />
  23772. </Principal>
  23773. <Dependent Role="TblSMICommissionInfo">
  23774. <PropertyRef Name="SalesPerson" />
  23775. </Dependent>
  23776. </ReferentialConstraint>
  23777. </Association>
  23778. <Association Name="FK_TblSMITransaction_SignOffBy">
  23779. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23780. <End Type="ProvisionStagingModel.TblSMITransaction" Role="TblSMITransaction" Multiplicity="*" />
  23781. <ReferentialConstraint>
  23782. <Principal Role="TblPersonnel">
  23783. <PropertyRef Name="PersonnelCode" />
  23784. </Principal>
  23785. <Dependent Role="TblSMITransaction">
  23786. <PropertyRef Name="SignOffBy" />
  23787. </Dependent>
  23788. </ReferentialConstraint>
  23789. </Association>
  23790. <Association Name="FK_TblStreamline_SalesAgent">
  23791. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23792. <End Type="ProvisionStagingModel.TblStreamline" Role="TblStreamline" Multiplicity="*" />
  23793. <ReferentialConstraint>
  23794. <Principal Role="TblPersonnel">
  23795. <PropertyRef Name="PersonnelCode" />
  23796. </Principal>
  23797. <Dependent Role="TblStreamline">
  23798. <PropertyRef Name="SalesAgent" />
  23799. </Dependent>
  23800. </ReferentialConstraint>
  23801. </Association>
  23802. <Association Name="FK_TblTelemarketerRegister_PersonnelCode">
  23803. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23804. <End Type="ProvisionStagingModel.TblTelemarketerRegister" Role="TblTelemarketerRegister" Multiplicity="*" />
  23805. <ReferentialConstraint>
  23806. <Principal Role="TblPersonnel">
  23807. <PropertyRef Name="PersonnelCode" />
  23808. </Principal>
  23809. <Dependent Role="TblTelemarketerRegister">
  23810. <PropertyRef Name="PersonnelCode" />
  23811. </Dependent>
  23812. </ReferentialConstraint>
  23813. </Association>
  23814. <Association Name="FK_TblTFGLeads_OwnedBy">
  23815. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23816. <End Type="ProvisionStagingModel.TblTFGLead" Role="TblTFGLead" Multiplicity="*" />
  23817. <ReferentialConstraint>
  23818. <Principal Role="TblPersonnel">
  23819. <PropertyRef Name="PersonnelCode" />
  23820. </Principal>
  23821. <Dependent Role="TblTFGLead">
  23822. <PropertyRef Name="OwnedBy" />
  23823. </Dependent>
  23824. </ReferentialConstraint>
  23825. </Association>
  23826. <Association Name="FK_TblTMCommBasicTransactions_Personnel">
  23827. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23828. <End Type="ProvisionStagingModel.TblTMCommBasicTransaction" Role="TblTMCommBasicTransaction" Multiplicity="*" />
  23829. <ReferentialConstraint>
  23830. <Principal Role="TblPersonnel">
  23831. <PropertyRef Name="PersonnelCode" />
  23832. </Principal>
  23833. <Dependent Role="TblTMCommBasicTransaction">
  23834. <PropertyRef Name="Personnel" />
  23835. </Dependent>
  23836. </ReferentialConstraint>
  23837. </Association>
  23838. <Association Name="FK_TblTMCommDeals_Person">
  23839. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23840. <End Type="ProvisionStagingModel.TblTMCommDeal" Role="TblTMCommDeal" Multiplicity="*" />
  23841. <ReferentialConstraint>
  23842. <Principal Role="TblPersonnel">
  23843. <PropertyRef Name="PersonnelCode" />
  23844. </Principal>
  23845. <Dependent Role="TblTMCommDeal">
  23846. <PropertyRef Name="Person" />
  23847. </Dependent>
  23848. </ReferentialConstraint>
  23849. </Association>
  23850. <Association Name="FK_TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList_PersonnelList">
  23851. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23852. <End Type="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList" Multiplicity="*" />
  23853. <ReferentialConstraint>
  23854. <Principal Role="TblPersonnel">
  23855. <PropertyRef Name="PersonnelCode" />
  23856. </Principal>
  23857. <Dependent Role="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  23858. <PropertyRef Name="PersonnelList" />
  23859. </Dependent>
  23860. </ReferentialConstraint>
  23861. </Association>
  23862. <Association Name="FK_TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList_PersonnelList">
  23863. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23864. <End Type="ProvisionStagingModel.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList" Multiplicity="*" />
  23865. <ReferentialConstraint>
  23866. <Principal Role="TblPersonnel">
  23867. <PropertyRef Name="PersonnelCode" />
  23868. </Principal>
  23869. <Dependent Role="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  23870. <PropertyRef Name="PersonnelList" />
  23871. </Dependent>
  23872. </ReferentialConstraint>
  23873. </Association>
  23874. <Association Name="FK_TblTMCommTransactions_Personnel">
  23875. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23876. <End Type="ProvisionStagingModel.TblTMCommTransaction" Role="TblTMCommTransaction" Multiplicity="*" />
  23877. <ReferentialConstraint>
  23878. <Principal Role="TblPersonnel">
  23879. <PropertyRef Name="PersonnelCode" />
  23880. </Principal>
  23881. <Dependent Role="TblTMCommTransaction">
  23882. <PropertyRef Name="Personnel" />
  23883. </Dependent>
  23884. </ReferentialConstraint>
  23885. </Association>
  23886. <Association Name="FK_TblTransferFunds_AllocatedToNorm">
  23887. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23888. <End Type="ProvisionStagingModel.TblTransferFund" Role="TblTransferFund" Multiplicity="*" />
  23889. <ReferentialConstraint>
  23890. <Principal Role="TblPersonnel">
  23891. <PropertyRef Name="PersonnelCode" />
  23892. </Principal>
  23893. <Dependent Role="TblTransferFund">
  23894. <PropertyRef Name="AllocatedToNorm" />
  23895. </Dependent>
  23896. </ReferentialConstraint>
  23897. </Association>
  23898. <Association Name="FK_TblUpdateBankingDetails_Personnel">
  23899. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23900. <End Type="ProvisionStagingModel.TblUpdateBankingDetail" Role="TblUpdateBankingDetail" Multiplicity="*" />
  23901. <ReferentialConstraint>
  23902. <Principal Role="TblPersonnel">
  23903. <PropertyRef Name="PersonnelCode" />
  23904. </Principal>
  23905. <Dependent Role="TblUpdateBankingDetail">
  23906. <PropertyRef Name="Personnel" />
  23907. </Dependent>
  23908. </ReferentialConstraint>
  23909. </Association>
  23910. <Association Name="FK_Transfigurations_SalesAgent">
  23911. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23912. <End Type="ProvisionStagingModel.Transfiguration" Role="Transfiguration" Multiplicity="*" />
  23913. <ReferentialConstraint>
  23914. <Principal Role="TblPersonnel">
  23915. <PropertyRef Name="PersonnelCode" />
  23916. </Principal>
  23917. <Dependent Role="Transfiguration">
  23918. <PropertyRef Name="SalesAgent" />
  23919. </Dependent>
  23920. </ReferentialConstraint>
  23921. </Association>
  23922. <Association Name="FK_Transfigurations_SalesManager">
  23923. <End Type="ProvisionStagingModel.TblPersonnel" Role="TblPersonnel" Multiplicity="0..1" />
  23924. <End Type="ProvisionStagingModel.Transfiguration" Role="Transfiguration" Multiplicity="*" />
  23925. <ReferentialConstraint>
  23926. <Principal Role="TblPersonnel">
  23927. <PropertyRef Name="PersonnelCode" />
  23928. </Principal>
  23929. <Dependent Role="Transfiguration">
  23930. <PropertyRef Name="SalesManager" />
  23931. </Dependent>
  23932. </ReferentialConstraint>
  23933. </Association>
  23934. <Association Name="FK_TblPersonnelTelephone_TelephoneType">
  23935. <End Type="ProvisionStagingModel.TblTelephoneType" Role="TblTelephoneType" Multiplicity="0..1" />
  23936. <End Type="ProvisionStagingModel.TblPersonnelTelephone" Role="TblPersonnelTelephone" Multiplicity="*" />
  23937. <ReferentialConstraint>
  23938. <Principal Role="TblTelephoneType">
  23939. <PropertyRef Name="OID" />
  23940. </Principal>
  23941. <Dependent Role="TblPersonnelTelephone">
  23942. <PropertyRef Name="TelephoneType" />
  23943. </Dependent>
  23944. </ReferentialConstraint>
  23945. </Association>
  23946. <Association Name="FK_TblPersonnelUnivateTarget_SalesVenue">
  23947. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  23948. <End Type="ProvisionStagingModel.TblPersonnelUnivateTarget" Role="TblPersonnelUnivateTarget" Multiplicity="*" />
  23949. <ReferentialConstraint>
  23950. <Principal Role="TblSalesVenue">
  23951. <PropertyRef Name="OID" />
  23952. </Principal>
  23953. <Dependent Role="TblPersonnelUnivateTarget">
  23954. <PropertyRef Name="SalesVenue" />
  23955. </Dependent>
  23956. </ReferentialConstraint>
  23957. </Association>
  23958. <Association Name="FK_TblPersonnelWeeklyTargetSplitPerSalesVenue_SalesVenue">
  23959. <End Type="ProvisionStagingModel.TblSalesVenue" Role="TblSalesVenue" Multiplicity="0..1" />
  23960. <End Type="ProvisionStagingModel.TblPersonnelWeeklyTargetSplitPerSalesVenue" Role="TblPersonnelWeeklyTargetSplitPerSalesVenue" Multiplicity="*" />
  23961. <ReferentialConstraint>
  23962. <Principal Role="TblSalesVenue">
  23963. <PropertyRef Name="OID" />
  23964. </Principal>
  23965. <Dependent Role="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  23966. <PropertyRef Name="SalesVenue" />
  23967. </Dependent>
  23968. </ReferentialConstraint>
  23969. </Association>
  23970. <Association Name="FK_TblPortfolio_EstateLateSent">
  23971. <End Type="ProvisionStagingModel.TblSACRRAData" Role="TblSACRRAData" Multiplicity="0..1" />
  23972. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="*" />
  23973. <ReferentialConstraint>
  23974. <Principal Role="TblSACRRAData">
  23975. <PropertyRef Name="OID" />
  23976. </Principal>
  23977. <Dependent Role="TblPortfolio">
  23978. <PropertyRef Name="EstateLateSent" />
  23979. </Dependent>
  23980. </ReferentialConstraint>
  23981. </Association>
  23982. <Association Name="FK_TblPortfolio_EstateLateSpouseSent">
  23983. <End Type="ProvisionStagingModel.TblSACRRAData" Role="TblSACRRAData" Multiplicity="0..1" />
  23984. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="*" />
  23985. <ReferentialConstraint>
  23986. <Principal Role="TblSACRRAData">
  23987. <PropertyRef Name="OID" />
  23988. </Principal>
  23989. <Dependent Role="TblPortfolio">
  23990. <PropertyRef Name="EstateLateSpouseSent" />
  23991. </Dependent>
  23992. </ReferentialConstraint>
  23993. </Association>
  23994. <Association Name="FK_TblPortfolio_SpouseTitle">
  23995. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  23996. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="*" />
  23997. <ReferentialConstraint>
  23998. <Principal Role="Title">
  23999. <PropertyRef Name="Title1" />
  24000. </Principal>
  24001. <Dependent Role="TblPortfolio">
  24002. <PropertyRef Name="SpouseTitle" />
  24003. </Dependent>
  24004. </ReferentialConstraint>
  24005. </Association>
  24006. <Association Name="FK_TblPortfolio_Title">
  24007. <End Type="ProvisionStagingModel.Title" Role="Title" Multiplicity="0..1" />
  24008. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="*" />
  24009. <ReferentialConstraint>
  24010. <Principal Role="Title">
  24011. <PropertyRef Name="Title1" />
  24012. </Principal>
  24013. <Dependent Role="TblPortfolio">
  24014. <PropertyRef Name="Title" />
  24015. </Dependent>
  24016. </ReferentialConstraint>
  24017. </Association>
  24018. <Association Name="FK_TblPortfolioDocuments_PortFolio">
  24019. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24020. <End Type="ProvisionStagingModel.TblPortfolioDocument" Role="TblPortfolioDocument" Multiplicity="*" />
  24021. <ReferentialConstraint>
  24022. <Principal Role="TblPortfolio">
  24023. <PropertyRef Name="OID" />
  24024. </Principal>
  24025. <Dependent Role="TblPortfolioDocument">
  24026. <PropertyRef Name="PortFolio" />
  24027. </Dependent>
  24028. </ReferentialConstraint>
  24029. </Association>
  24030. <Association Name="FK_TblPortfolioNotes_Portfolio">
  24031. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24032. <End Type="ProvisionStagingModel.TblPortfolioNote" Role="TblPortfolioNote" Multiplicity="*" />
  24033. <ReferentialConstraint>
  24034. <Principal Role="TblPortfolio">
  24035. <PropertyRef Name="OID" />
  24036. </Principal>
  24037. <Dependent Role="TblPortfolioNote">
  24038. <PropertyRef Name="Portfolio" />
  24039. </Dependent>
  24040. </ReferentialConstraint>
  24041. </Association>
  24042. <Association Name="FK_TblPortfolioNotes_TblPortfolio">
  24043. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24044. <End Type="ProvisionStagingModel.TblPortfolioNote" Role="TblPortfolioNote" Multiplicity="*" />
  24045. <ReferentialConstraint>
  24046. <Principal Role="TblPortfolio">
  24047. <PropertyRef Name="OID" />
  24048. </Principal>
  24049. <Dependent Role="TblPortfolioNote">
  24050. <PropertyRef Name="TblPortfolio" />
  24051. </Dependent>
  24052. </ReferentialConstraint>
  24053. </Association>
  24054. <Association Name="FK_TblPortfolioResetEstateLate_Portfolio">
  24055. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24056. <End Type="ProvisionStagingModel.TblPortfolioResetEstateLate" Role="TblPortfolioResetEstateLate" Multiplicity="*" />
  24057. <ReferentialConstraint>
  24058. <Principal Role="TblPortfolio">
  24059. <PropertyRef Name="OID" />
  24060. </Principal>
  24061. <Dependent Role="TblPortfolioResetEstateLate">
  24062. <PropertyRef Name="Portfolio" />
  24063. </Dependent>
  24064. </ReferentialConstraint>
  24065. </Association>
  24066. <Association Name="FK_TblSMSCampaignMessages_Portfolio">
  24067. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24068. <End Type="ProvisionStagingModel.TblSMSCampaignMessage" Role="TblSMSCampaignMessage" Multiplicity="*" />
  24069. <ReferentialConstraint>
  24070. <Principal Role="TblPortfolio">
  24071. <PropertyRef Name="OID" />
  24072. </Principal>
  24073. <Dependent Role="TblSMSCampaignMessage">
  24074. <PropertyRef Name="Portfolio" />
  24075. </Dependent>
  24076. </ReferentialConstraint>
  24077. </Association>
  24078. <Association Name="FK_TblStreamline_Portfolio">
  24079. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24080. <End Type="ProvisionStagingModel.TblStreamline" Role="TblStreamline" Multiplicity="*" />
  24081. <ReferentialConstraint>
  24082. <Principal Role="TblPortfolio">
  24083. <PropertyRef Name="OID" />
  24084. </Principal>
  24085. <Dependent Role="TblStreamline">
  24086. <PropertyRef Name="Portfolio" />
  24087. </Dependent>
  24088. </ReferentialConstraint>
  24089. </Association>
  24090. <Association Name="FK_TblTelephones_PortfolioNumber">
  24091. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24092. <End Type="ProvisionStagingModel.TblTelephone" Role="TblTelephone" Multiplicity="*" />
  24093. <ReferentialConstraint>
  24094. <Principal Role="TblPortfolio">
  24095. <PropertyRef Name="OID" />
  24096. </Principal>
  24097. <Dependent Role="TblTelephone">
  24098. <PropertyRef Name="PortfolioNumber" />
  24099. </Dependent>
  24100. </ReferentialConstraint>
  24101. </Association>
  24102. <Association Name="FK_TblUnipointBookings_Portfolio">
  24103. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24104. <End Type="ProvisionStagingModel.TblUnipointBooking" Role="TblUnipointBooking" Multiplicity="*" />
  24105. <ReferentialConstraint>
  24106. <Principal Role="TblPortfolio">
  24107. <PropertyRef Name="OID" />
  24108. </Principal>
  24109. <Dependent Role="TblUnipointBooking">
  24110. <PropertyRef Name="Portfolio" />
  24111. </Dependent>
  24112. </ReferentialConstraint>
  24113. </Association>
  24114. <Association Name="FK_TblUnipointBookingWeeks_Portfolio">
  24115. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24116. <End Type="ProvisionStagingModel.TblUnipointBookingWeek" Role="TblUnipointBookingWeek" Multiplicity="*" />
  24117. <ReferentialConstraint>
  24118. <Principal Role="TblPortfolio">
  24119. <PropertyRef Name="OID" />
  24120. </Principal>
  24121. <Dependent Role="TblUnipointBookingWeek">
  24122. <PropertyRef Name="Portfolio" />
  24123. </Dependent>
  24124. </ReferentialConstraint>
  24125. </Association>
  24126. <Association Name="FK_TblUpdateBankingDetails_Portfolio">
  24127. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24128. <End Type="ProvisionStagingModel.TblUpdateBankingDetail" Role="TblUpdateBankingDetail" Multiplicity="*" />
  24129. <ReferentialConstraint>
  24130. <Principal Role="TblPortfolio">
  24131. <PropertyRef Name="OID" />
  24132. </Principal>
  24133. <Dependent Role="TblUpdateBankingDetail">
  24134. <PropertyRef Name="Portfolio" />
  24135. </Dependent>
  24136. </ReferentialConstraint>
  24137. </Association>
  24138. <Association Name="FK_TblWeekBanking_Portfolio">
  24139. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24140. <End Type="ProvisionStagingModel.TblWeekBanking" Role="TblWeekBanking" Multiplicity="*" />
  24141. <ReferentialConstraint>
  24142. <Principal Role="TblPortfolio">
  24143. <PropertyRef Name="OID" />
  24144. </Principal>
  24145. <Dependent Role="TblWeekBanking">
  24146. <PropertyRef Name="Portfolio" />
  24147. </Dependent>
  24148. </ReferentialConstraint>
  24149. </Association>
  24150. <Association Name="FK_Transfigurations_Portfolio">
  24151. <End Type="ProvisionStagingModel.TblPortfolio" Role="TblPortfolio" Multiplicity="0..1" />
  24152. <End Type="ProvisionStagingModel.Transfiguration" Role="Transfiguration" Multiplicity="*" />
  24153. <ReferentialConstraint>
  24154. <Principal Role="TblPortfolio">
  24155. <PropertyRef Name="OID" />
  24156. </Principal>
  24157. <Dependent Role="Transfiguration">
  24158. <PropertyRef Name="Portfolio" />
  24159. </Dependent>
  24160. </ReferentialConstraint>
  24161. </Association>
  24162. <Association Name="FK_TblPromoConfig_Category">
  24163. <End Type="ProvisionStagingModel.TblPromoCategory" Role="TblPromoCategory" Multiplicity="0..1" />
  24164. <End Type="ProvisionStagingModel.TblPromoConfig" Role="TblPromoConfig" Multiplicity="*" />
  24165. <ReferentialConstraint>
  24166. <Principal Role="TblPromoCategory">
  24167. <PropertyRef Name="OID" />
  24168. </Principal>
  24169. <Dependent Role="TblPromoConfig">
  24170. <PropertyRef Name="Category" />
  24171. </Dependent>
  24172. </ReferentialConstraint>
  24173. </Association>
  24174. <Association Name="FK_TblPromoConfig_PromoResort">
  24175. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  24176. <End Type="ProvisionStagingModel.TblPromoConfig" Role="TblPromoConfig" Multiplicity="*" />
  24177. <ReferentialConstraint>
  24178. <Principal Role="TblResort">
  24179. <PropertyRef Name="OID" />
  24180. </Principal>
  24181. <Dependent Role="TblPromoConfig">
  24182. <PropertyRef Name="PromoResort" />
  24183. </Dependent>
  24184. </ReferentialConstraint>
  24185. </Association>
  24186. <Association Name="FK_TblPromoConfig_Resort">
  24187. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  24188. <End Type="ProvisionStagingModel.TblPromoConfig" Role="TblPromoConfig" Multiplicity="*" />
  24189. <ReferentialConstraint>
  24190. <Principal Role="TblResort">
  24191. <PropertyRef Name="OID" />
  24192. </Principal>
  24193. <Dependent Role="TblPromoConfig">
  24194. <PropertyRef Name="Resort" />
  24195. </Dependent>
  24196. </ReferentialConstraint>
  24197. </Association>
  24198. <Association Name="FK_TblPromoDocuments_PromoConfig">
  24199. <End Type="ProvisionStagingModel.TblPromoConfig" Role="TblPromoConfig" Multiplicity="0..1" />
  24200. <End Type="ProvisionStagingModel.TblPromoDocument" Role="TblPromoDocument" Multiplicity="*" />
  24201. <ReferentialConstraint>
  24202. <Principal Role="TblPromoConfig">
  24203. <PropertyRef Name="OID" />
  24204. </Principal>
  24205. <Dependent Role="TblPromoDocument">
  24206. <PropertyRef Name="PromoConfig" />
  24207. </Dependent>
  24208. </ReferentialConstraint>
  24209. </Association>
  24210. <Association Name="FK_TblPromoMembers_Campaign">
  24211. <End Type="ProvisionStagingModel.TblPromoConfig" Role="TblPromoConfig" Multiplicity="0..1" />
  24212. <End Type="ProvisionStagingModel.TblPromoMember" Role="TblPromoMember" Multiplicity="*" />
  24213. <ReferentialConstraint>
  24214. <Principal Role="TblPromoConfig">
  24215. <PropertyRef Name="OID" />
  24216. </Principal>
  24217. <Dependent Role="TblPromoMember">
  24218. <PropertyRef Name="Campaign" />
  24219. </Dependent>
  24220. </ReferentialConstraint>
  24221. </Association>
  24222. <Association Name="FK_TblPromotion_PromotionType">
  24223. <End Type="ProvisionStagingModel.TblPromotionType" Role="TblPromotionType" Multiplicity="0..1" />
  24224. <End Type="ProvisionStagingModel.TblPromotion" Role="TblPromotion" Multiplicity="*" />
  24225. <ReferentialConstraint>
  24226. <Principal Role="TblPromotionType">
  24227. <PropertyRef Name="OID" />
  24228. </Principal>
  24229. <Dependent Role="TblPromotion">
  24230. <PropertyRef Name="PromotionType" />
  24231. </Dependent>
  24232. </ReferentialConstraint>
  24233. </Association>
  24234. <Association Name="FK_TblPromotion_Resort">
  24235. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  24236. <End Type="ProvisionStagingModel.TblPromotion" Role="TblPromotion" Multiplicity="*" />
  24237. <ReferentialConstraint>
  24238. <Principal Role="TblResort">
  24239. <PropertyRef Name="OID" />
  24240. </Principal>
  24241. <Dependent Role="TblPromotion">
  24242. <PropertyRef Name="Resort" />
  24243. </Dependent>
  24244. </ReferentialConstraint>
  24245. </Association>
  24246. <Association Name="FK_TblPromotion_WeekModule">
  24247. <End Type="ProvisionStagingModel.TblWeekModule" Role="TblWeekModule" Multiplicity="0..1" />
  24248. <End Type="ProvisionStagingModel.TblPromotion" Role="TblPromotion" Multiplicity="*" />
  24249. <ReferentialConstraint>
  24250. <Principal Role="TblWeekModule">
  24251. <PropertyRef Name="OID" />
  24252. </Principal>
  24253. <Dependent Role="TblPromotion">
  24254. <PropertyRef Name="WeekModule" />
  24255. </Dependent>
  24256. </ReferentialConstraint>
  24257. </Association>
  24258. <Association Name="FK_TblPromotionCommission_PromotionCommissionStructure">
  24259. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24260. <End Type="ProvisionStagingModel.TblPromotionCommission" Role="TblPromotionCommission" Multiplicity="*" />
  24261. <ReferentialConstraint>
  24262. <Principal Role="TblPromotionCommissionStructure">
  24263. <PropertyRef Name="Oid" />
  24264. </Principal>
  24265. <Dependent Role="TblPromotionCommission">
  24266. <PropertyRef Name="PromotionCommissionStructure" />
  24267. </Dependent>
  24268. </ReferentialConstraint>
  24269. </Association>
  24270. <Association Name="FK_TblPromotionCommission_SalesCommissionInfo">
  24271. <End Type="ProvisionStagingModel.TblSalesCommissionInfo" Role="TblSalesCommissionInfo" Multiplicity="0..1" />
  24272. <End Type="ProvisionStagingModel.TblPromotionCommission" Role="TblPromotionCommission" Multiplicity="*" />
  24273. <ReferentialConstraint>
  24274. <Principal Role="TblSalesCommissionInfo">
  24275. <PropertyRef Name="Oid" />
  24276. </Principal>
  24277. <Dependent Role="TblPromotionCommission">
  24278. <PropertyRef Name="SalesCommissionInfo" />
  24279. </Dependent>
  24280. </ReferentialConstraint>
  24281. </Association>
  24282. <Association Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes_PromotionCommissionStructures">
  24283. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24284. <End Type="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes" Multiplicity="*" />
  24285. <ReferentialConstraint>
  24286. <Principal Role="TblPromotionCommissionStructure">
  24287. <PropertyRef Name="Oid" />
  24288. </Principal>
  24289. <Dependent Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  24290. <PropertyRef Name="PromotionCommissionStructures" />
  24291. </Dependent>
  24292. </ReferentialConstraint>
  24293. </Association>
  24294. <Association Name="FK_TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel_PromotionCommissionStructures">
  24295. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24296. <End Type="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel" Multiplicity="*" />
  24297. <ReferentialConstraint>
  24298. <Principal Role="TblPromotionCommissionStructure">
  24299. <PropertyRef Name="Oid" />
  24300. </Principal>
  24301. <Dependent Role="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  24302. <PropertyRef Name="PromotionCommissionStructures" />
  24303. </Dependent>
  24304. </ReferentialConstraint>
  24305. </Association>
  24306. <Association Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  24307. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24308. <End Type="ProvisionStagingModel.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  24309. <ReferentialConstraint>
  24310. <Principal Role="TblPromotionCommissionStructure">
  24311. <PropertyRef Name="Oid" />
  24312. </Principal>
  24313. <Dependent Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  24314. <PropertyRef Name="PromotionCommissionStructures" />
  24315. </Dependent>
  24316. </ReferentialConstraint>
  24317. </Association>
  24318. <Association Name="FK_TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  24319. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24320. <End Type="ProvisionStagingModel.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  24321. <ReferentialConstraint>
  24322. <Principal Role="TblPromotionCommissionStructure">
  24323. <PropertyRef Name="Oid" />
  24324. </Principal>
  24325. <Dependent Role="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  24326. <PropertyRef Name="PromotionCommissionStructures" />
  24327. </Dependent>
  24328. </ReferentialConstraint>
  24329. </Association>
  24330. <Association Name="FK_TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionCommissionStructures">
  24331. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24332. <End Type="ProvisionStagingModel.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  24333. <ReferentialConstraint>
  24334. <Principal Role="TblPromotionCommissionStructure">
  24335. <PropertyRef Name="Oid" />
  24336. </Principal>
  24337. <Dependent Role="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  24338. <PropertyRef Name="PromotionCommissionStructures" />
  24339. </Dependent>
  24340. </ReferentialConstraint>
  24341. </Association>
  24342. <Association Name="FK_TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure_PromotionCommissionStructure">
  24343. <End Type="ProvisionStagingModel.TblPromotionCommissionStructure" Role="TblPromotionCommissionStructure" Multiplicity="0..1" />
  24344. <End Type="ProvisionStagingModel.TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" Role="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure" Multiplicity="*" />
  24345. <ReferentialConstraint>
  24346. <Principal Role="TblPromotionCommissionStructure">
  24347. <PropertyRef Name="Oid" />
  24348. </Principal>
  24349. <Dependent Role="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  24350. <PropertyRef Name="PromotionCommissionStructure" />
  24351. </Dependent>
  24352. </ReferentialConstraint>
  24353. </Association>
  24354. <Association Name="FK_TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures_PromotionTypes">
  24355. <End Type="ProvisionStagingModel.TblPromotionType" Role="TblPromotionType" Multiplicity="0..1" />
  24356. <End Type="ProvisionStagingModel.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures" Multiplicity="*" />
  24357. <ReferentialConstraint>
  24358. <Principal Role="TblPromotionType">
  24359. <PropertyRef Name="OID" />
  24360. </Principal>
  24361. <Dependent Role="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  24362. <PropertyRef Name="PromotionTypes" />
  24363. </Dependent>
  24364. </ReferentialConstraint>
  24365. </Association>
  24366. <Association Name="FK_TblQueryCategory_QueryCategory">
  24367. <End Type="ProvisionStagingModel.TblQueryCategory" Role="TblQueryCategory" Multiplicity="0..1" />
  24368. <End Type="ProvisionStagingModel.TblQueryCategory1" Role="TblQueryCategory1" Multiplicity="*" />
  24369. <ReferentialConstraint>
  24370. <Principal Role="TblQueryCategory">
  24371. <PropertyRef Name="OID" />
  24372. </Principal>
  24373. <Dependent Role="TblQueryCategory1">
  24374. <PropertyRef Name="QueryCategory" />
  24375. </Dependent>
  24376. </ReferentialConstraint>
  24377. </Association>
  24378. <Association Name="FK_TblQueryCategory_System">
  24379. <End Type="ProvisionStagingModel.TblSystem" Role="TblSystem" Multiplicity="0..1" />
  24380. <End Type="ProvisionStagingModel.TblQueryCategory1" Role="TblQueryCategory1" Multiplicity="*" />
  24381. <ReferentialConstraint>
  24382. <Principal Role="TblSystem">
  24383. <PropertyRef Name="OID" />
  24384. </Principal>
  24385. <Dependent Role="TblQueryCategory1">
  24386. <PropertyRef Name="System" />
  24387. </Dependent>
  24388. </ReferentialConstraint>
  24389. </Association>
  24390. <Association Name="FK_TblQueryRecipient_System">
  24391. <End Type="ProvisionStagingModel.TblSystem" Role="TblSystem" Multiplicity="0..1" />
  24392. <End Type="ProvisionStagingModel.TblQueryRecipient" Role="TblQueryRecipient" Multiplicity="*" />
  24393. <ReferentialConstraint>
  24394. <Principal Role="TblSystem">
  24395. <PropertyRef Name="OID" />
  24396. </Principal>
  24397. <Dependent Role="TblQueryRecipient">
  24398. <PropertyRef Name="System" />
  24399. </Dependent>
  24400. </ReferentialConstraint>
  24401. </Association>
  24402. <Association Name="FK_TblRankingPoints_Rankings">
  24403. <End Type="ProvisionStagingModel.TblRanking" Role="TblRanking" Multiplicity="0..1" />
  24404. <End Type="ProvisionStagingModel.TblRankingPoint" Role="TblRankingPoint" Multiplicity="*" />
  24405. <ReferentialConstraint>
  24406. <Principal Role="TblRanking">
  24407. <PropertyRef Name="OID" />
  24408. </Principal>
  24409. <Dependent Role="TblRankingPoint">
  24410. <PropertyRef Name="Rankings" />
  24411. </Dependent>
  24412. </ReferentialConstraint>
  24413. </Association>
  24414. <Association Name="FK_TblSeasonsRankings_Rankings">
  24415. <End Type="ProvisionStagingModel.TblRanking" Role="TblRanking" Multiplicity="0..1" />
  24416. <End Type="ProvisionStagingModel.TblSeasonsRanking" Role="TblSeasonsRanking" Multiplicity="*" />
  24417. <ReferentialConstraint>
  24418. <Principal Role="TblRanking">
  24419. <PropertyRef Name="OID" />
  24420. </Principal>
  24421. <Dependent Role="TblSeasonsRanking">
  24422. <PropertyRef Name="Rankings" />
  24423. </Dependent>
  24424. </ReferentialConstraint>
  24425. </Association>
  24426. <Association Name="FK_TblSleeperRankings_Rankings">
  24427. <End Type="ProvisionStagingModel.TblRanking" Role="TblRanking" Multiplicity="0..1" />
  24428. <End Type="ProvisionStagingModel.TblSleeperRanking" Role="TblSleeperRanking" Multiplicity="*" />
  24429. <ReferentialConstraint>
  24430. <Principal Role="TblRanking">
  24431. <PropertyRef Name="OID" />
  24432. </Principal>
  24433. <Dependent Role="TblSleeperRanking">
  24434. <PropertyRef Name="Rankings" />
  24435. </Dependent>
  24436. </ReferentialConstraint>
  24437. </Association>
  24438. <Association Name="FK_TblRCIDates_Resort">
  24439. <End Type="ProvisionStagingModel.TblResort" Role="TblResort" Multiplicity="0..1" />
  24440. <End Type="ProvisionStagingModel.TblRCIDate" Role="TblRCIDate" Multiplicity="*" />
  24441. <ReferentialConstraint>
  24442. <Principal Role="TblResort">
  24443. <PropertyRef Name="OID" />
  24444. </Principal>
  24445. <Dependent Role="TblRCIDate">
  24446. <PropertyRef Name="Resort" />
  24447. </Dependent>
  24448. </ReferentialConstraint>
  24449. </Association>
  24450. </Schema>
  24451. </edmx:ConceptualModels>
  24452. <!-- C-S mapping content -->
  24453. <edmx:Mappings>
  24454. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  24455. <EntityContainerMapping StorageEntityContainer="ProvisionStagingModelStoreContainer" CdmEntityContainer="ProvisionStagingEntities">
  24456. <EntitySetMapping Name="TblTransferFunds">
  24457. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTransferFund">
  24458. <MappingFragment StoreEntitySet="TblTransferFunds">
  24459. <ScalarProperty Name="OID" ColumnName="OID" />
  24460. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  24461. <ScalarProperty Name="RequestDate" ColumnName="RequestDate" />
  24462. <ScalarProperty Name="RequestNo" ColumnName="RequestNo" />
  24463. <ScalarProperty Name="Company" ColumnName="Company" />
  24464. <ScalarProperty Name="FromExpenseCode" ColumnName="FromExpenseCode" />
  24465. <ScalarProperty Name="ToExpenseCode" ColumnName="ToExpenseCode" />
  24466. <ScalarProperty Name="AmountToTransfer" ColumnName="AmountToTransfer" />
  24467. <ScalarProperty Name="Reason" ColumnName="Reason" />
  24468. <ScalarProperty Name="AllocatedToNorm" ColumnName="AllocatedToNorm" />
  24469. <ScalarProperty Name="Status" ColumnName="Status" />
  24470. <ScalarProperty Name="ActionedByNormDate" ColumnName="ActionedByNormDate" />
  24471. <ScalarProperty Name="ActionedByManagementDate" ColumnName="ActionedByManagementDate" />
  24472. <ScalarProperty Name="ProcessedDate" ColumnName="ProcessedDate" />
  24473. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24474. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24475. </MappingFragment>
  24476. </EntityTypeMapping>
  24477. </EntitySetMapping>
  24478. <EntitySetMapping Name="TblUnipointBookings">
  24479. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUnipointBooking">
  24480. <MappingFragment StoreEntitySet="TblUnipointBookings">
  24481. <ScalarProperty Name="OID" ColumnName="OID" />
  24482. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  24483. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  24484. <ScalarProperty Name="Action" ColumnName="Action" />
  24485. <ScalarProperty Name="Reference" ColumnName="Reference" />
  24486. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  24487. <ScalarProperty Name="BookingDate" ColumnName="BookingDate" />
  24488. <ScalarProperty Name="Points" ColumnName="Points" />
  24489. <ScalarProperty Name="PointsRemaining" ColumnName="PointsRemaining" />
  24490. <ScalarProperty Name="ResortCode" ColumnName="ResortCode" />
  24491. <ScalarProperty Name="UnitSize" ColumnName="UnitSize" />
  24492. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  24493. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  24494. <ScalarProperty Name="UnitNumber" ColumnName="UnitNumber" />
  24495. <ScalarProperty Name="CancelAction" ColumnName="CancelAction" />
  24496. <ScalarProperty Name="IDX" ColumnName="IDX" />
  24497. <ScalarProperty Name="ConsultantUsername" ColumnName="ConsultantUsername" />
  24498. <ScalarProperty Name="RCIPoints" ColumnName="RCIPoints" />
  24499. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24500. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24501. <ScalarProperty Name="BankedEntity" ColumnName="BankedEntity" />
  24502. </MappingFragment>
  24503. </EntityTypeMapping>
  24504. </EntitySetMapping>
  24505. <EntitySetMapping Name="TblUnipointBookingWeeks">
  24506. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUnipointBookingWeek">
  24507. <MappingFragment StoreEntitySet="TblUnipointBookingWeeks">
  24508. <ScalarProperty Name="OID" ColumnName="OID" />
  24509. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  24510. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  24511. <ScalarProperty Name="Action" ColumnName="Action" />
  24512. <ScalarProperty Name="Reference" ColumnName="Reference" />
  24513. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  24514. <ScalarProperty Name="BookingDate" ColumnName="BookingDate" />
  24515. <ScalarProperty Name="Points" ColumnName="Points" />
  24516. <ScalarProperty Name="PointsRemaining" ColumnName="PointsRemaining" />
  24517. <ScalarProperty Name="ResortCode" ColumnName="ResortCode" />
  24518. <ScalarProperty Name="UnitSize" ColumnName="UnitSize" />
  24519. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  24520. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  24521. <ScalarProperty Name="UnitNumber" ColumnName="UnitNumber" />
  24522. <ScalarProperty Name="CancelAction" ColumnName="CancelAction" />
  24523. <ScalarProperty Name="IDX" ColumnName="IDX" />
  24524. <ScalarProperty Name="ConsultantUsername" ColumnName="ConsultantUsername" />
  24525. <ScalarProperty Name="RCIPoints" ColumnName="RCIPoints" />
  24526. <ScalarProperty Name="BankedEntity" ColumnName="BankedEntity" />
  24527. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24528. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24529. </MappingFragment>
  24530. </EntityTypeMapping>
  24531. </EntitySetMapping>
  24532. <EntitySetMapping Name="TblUpdateBankingDetailContractDetails">
  24533. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUpdateBankingDetailContractDetail">
  24534. <MappingFragment StoreEntitySet="TblUpdateBankingDetailContractDetails">
  24535. <ScalarProperty Name="OID" ColumnName="OID" />
  24536. <ScalarProperty Name="UpdateDetails" ColumnName="UpdateDetails" />
  24537. <ScalarProperty Name="ContractNo" ColumnName="ContractNo" />
  24538. <ScalarProperty Name="MainMember" ColumnName="MainMember" />
  24539. <ScalarProperty Name="AccountHolder" ColumnName="AccountHolder" />
  24540. <ScalarProperty Name="BankName" ColumnName="BankName" />
  24541. <ScalarProperty Name="EncBranchName" ColumnName="EncBranchName" />
  24542. <ScalarProperty Name="EncBranchCode" ColumnName="EncBranchCode" />
  24543. <ScalarProperty Name="AccountType" ColumnName="AccountType" />
  24544. <ScalarProperty Name="EncAccountNumber" ColumnName="EncAccountNumber" />
  24545. <ScalarProperty Name="DebtorType" ColumnName="DebtorType" />
  24546. <ScalarProperty Name="ValidationResult" ColumnName="ValidationResult" />
  24547. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24548. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24549. </MappingFragment>
  24550. </EntityTypeMapping>
  24551. </EntitySetMapping>
  24552. <EntitySetMapping Name="TblUpdateBankingDetailDebtorBankings">
  24553. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUpdateBankingDetailDebtorBanking">
  24554. <MappingFragment StoreEntitySet="TblUpdateBankingDetailDebtorBanking">
  24555. <ScalarProperty Name="OID" ColumnName="OID" />
  24556. <ScalarProperty Name="UpdateDetails" ColumnName="UpdateDetails" />
  24557. <ScalarProperty Name="ContractNo" ColumnName="ContractNo" />
  24558. <ScalarProperty Name="MainMember" ColumnName="MainMember" />
  24559. <ScalarProperty Name="AccountHolder" ColumnName="AccountHolder" />
  24560. <ScalarProperty Name="BankName" ColumnName="BankName" />
  24561. <ScalarProperty Name="EncBranchName" ColumnName="EncBranchName" />
  24562. <ScalarProperty Name="EncBranchCode" ColumnName="EncBranchCode" />
  24563. <ScalarProperty Name="AccountType" ColumnName="AccountType" />
  24564. <ScalarProperty Name="EncAccountNumber" ColumnName="EncAccountNumber" />
  24565. <ScalarProperty Name="DebtorType" ColumnName="DebtorType" />
  24566. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24567. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24568. </MappingFragment>
  24569. </EntityTypeMapping>
  24570. </EntitySetMapping>
  24571. <EntitySetMapping Name="TblUpdateBankingDetails">
  24572. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUpdateBankingDetail">
  24573. <MappingFragment StoreEntitySet="TblUpdateBankingDetails">
  24574. <ScalarProperty Name="OID" ColumnName="OID" />
  24575. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  24576. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  24577. <ScalarProperty Name="ClientNameSurname" ColumnName="ClientNameSurname" />
  24578. <ScalarProperty Name="User" ColumnName="User" />
  24579. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  24580. <ScalarProperty Name="SpouseAccount" ColumnName="SpouseAccount" />
  24581. <ScalarProperty Name="AccountValidation" ColumnName="AccountValidation" />
  24582. <ScalarProperty Name="EncAccountHolder" ColumnName="EncAccountHolder" />
  24583. <ScalarProperty Name="EncAccountHolderID" ColumnName="EncAccountHolderID" />
  24584. <ScalarProperty Name="BankName" ColumnName="BankName" />
  24585. <ScalarProperty Name="EncBranchName" ColumnName="EncBranchName" />
  24586. <ScalarProperty Name="EncBranchCode" ColumnName="EncBranchCode" />
  24587. <ScalarProperty Name="AccountType" ColumnName="AccountType" />
  24588. <ScalarProperty Name="EncAccountNumber" ColumnName="EncAccountNumber" />
  24589. <ScalarProperty Name="Reference" ColumnName="Reference" />
  24590. <ScalarProperty Name="Developer" ColumnName="Developer" />
  24591. <ScalarProperty Name="Validated" ColumnName="Validated" />
  24592. <ScalarProperty Name="ValidatedReturn" ColumnName="ValidatedReturn" />
  24593. <ScalarProperty Name="Valid" ColumnName="Valid" />
  24594. <ScalarProperty Name="AccountExists" ColumnName="AccountExists" />
  24595. <ScalarProperty Name="IdNumberMatch" ColumnName="IdNumberMatch" />
  24596. <ScalarProperty Name="InitialsMatch" ColumnName="InitialsMatch" />
  24597. <ScalarProperty Name="LastNameMatch" ColumnName="LastNameMatch" />
  24598. <ScalarProperty Name="AccountOpen" ColumnName="AccountOpen" />
  24599. <ScalarProperty Name="HyphenID" ColumnName="HyphenID" />
  24600. <ScalarProperty Name="ResponseCode" ColumnName="ResponseCode" />
  24601. <ScalarProperty Name="ResponseMessage" ColumnName="ResponseMessage" />
  24602. <ScalarProperty Name="DateProcessed" ColumnName="DateProcessed" />
  24603. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  24604. <ScalarProperty Name="SentToContract" ColumnName="SentToContract" />
  24605. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24606. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24607. <ScalarProperty Name="DateContractUpdated" ColumnName="DateContractUpdated" />
  24608. <ScalarProperty Name="AccountsUpdated" ColumnName="AccountsUpdated" />
  24609. <ScalarProperty Name="Contract" ColumnName="Contract" />
  24610. <ScalarProperty Name="AccountValidationListCheck" ColumnName="AccountValidationListCheck" />
  24611. </MappingFragment>
  24612. </EntityTypeMapping>
  24613. </EntitySetMapping>
  24614. <EntitySetMapping Name="TblUpdateBankingDetailsOverrides">
  24615. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUpdateBankingDetailsOverride">
  24616. <MappingFragment StoreEntitySet="TblUpdateBankingDetailsOverride">
  24617. <ScalarProperty Name="OID" ColumnName="OID" />
  24618. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  24619. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  24620. <ScalarProperty Name="Reference" ColumnName="Reference" />
  24621. <ScalarProperty Name="Comments" ColumnName="Comments" />
  24622. <ScalarProperty Name="Processed" ColumnName="Processed" />
  24623. <ScalarProperty Name="DateProcessed" ColumnName="DateProcessed" />
  24624. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24625. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24626. </MappingFragment>
  24627. </EntityTypeMapping>
  24628. </EntitySetMapping>
  24629. <EntitySetMapping Name="TblUpdateBankingDetailsOverrideDocuments">
  24630. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUpdateBankingDetailsOverrideDocument">
  24631. <MappingFragment StoreEntitySet="TblUpdateBankingDetailsOverrideDocuments">
  24632. <ScalarProperty Name="OID" ColumnName="OID" />
  24633. <ScalarProperty Name="Override" ColumnName="Override" />
  24634. <ScalarProperty Name="File" ColumnName="File" />
  24635. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24636. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24637. </MappingFragment>
  24638. </EntityTypeMapping>
  24639. </EntitySetMapping>
  24640. <EntitySetMapping Name="TblUpdateContractBankingDetailsLogs">
  24641. <EntityTypeMapping TypeName="ProvisionStagingModel.TblUpdateContractBankingDetailsLog">
  24642. <MappingFragment StoreEntitySet="TblUpdateContractBankingDetailsLog">
  24643. <ScalarProperty Name="OID" ColumnName="OID" />
  24644. <ScalarProperty Name="UpdateDetails" ColumnName="UpdateDetails" />
  24645. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  24646. <ScalarProperty Name="ProcessedBy" ColumnName="ProcessedBy" />
  24647. <ScalarProperty Name="DebtorType" ColumnName="DebtorType" />
  24648. <ScalarProperty Name="MainMember" ColumnName="MainMember" />
  24649. <ScalarProperty Name="EncOriginalAccountHolder" ColumnName="EncOriginalAccountHolder" />
  24650. <ScalarProperty Name="OriginalBankName" ColumnName="OriginalBankName" />
  24651. <ScalarProperty Name="EncOriginalBranchName" ColumnName="EncOriginalBranchName" />
  24652. <ScalarProperty Name="EncOriginalBranchCode" ColumnName="EncOriginalBranchCode" />
  24653. <ScalarProperty Name="OriginalAccountType" ColumnName="OriginalAccountType" />
  24654. <ScalarProperty Name="EncOriginalAccountNumber" ColumnName="EncOriginalAccountNumber" />
  24655. <ScalarProperty Name="EncNewAccountHolder" ColumnName="EncNewAccountHolder" />
  24656. <ScalarProperty Name="NewBankName" ColumnName="NewBankName" />
  24657. <ScalarProperty Name="EncNewBranchName" ColumnName="EncNewBranchName" />
  24658. <ScalarProperty Name="EncNewBranchCode" ColumnName="EncNewBranchCode" />
  24659. <ScalarProperty Name="NewAccountType" ColumnName="NewAccountType" />
  24660. <ScalarProperty Name="EncNewAccountNumber" ColumnName="EncNewAccountNumber" />
  24661. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24662. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24663. </MappingFragment>
  24664. </EntityTypeMapping>
  24665. </EntitySetMapping>
  24666. <EntitySetMapping Name="TblVouchers">
  24667. <EntityTypeMapping TypeName="ProvisionStagingModel.TblVoucher">
  24668. <MappingFragment StoreEntitySet="TblVoucher">
  24669. <ScalarProperty Name="OID" ColumnName="OID" />
  24670. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  24671. <ScalarProperty Name="CreatedDate" ColumnName="CreatedDate" />
  24672. <ScalarProperty Name="DetailedInfo" ColumnName="DetailedInfo" />
  24673. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  24674. <ScalarProperty Name="ConfigurationCode" ColumnName="ConfigurationCode" />
  24675. <ScalarProperty Name="Resort" ColumnName="Resort" />
  24676. <ScalarProperty Name="UnitNumber" ColumnName="UnitNumber" />
  24677. <ScalarProperty Name="VoucherSeries" ColumnName="VoucherSeries" />
  24678. <ScalarProperty Name="AssetAvail" ColumnName="AssetAvail" />
  24679. <ScalarProperty Name="VoucherNumber" ColumnName="VoucherNumber" />
  24680. <ScalarProperty Name="AdditionalCellPhoneNumber" ColumnName="AdditionalCellPhoneNumber" />
  24681. <ScalarProperty Name="WeekReminderEmailSent" ColumnName="WeekReminderEmailSent" />
  24682. <ScalarProperty Name="WelcomeMessageSent" ColumnName="WelcomeMessageSent" />
  24683. <ScalarProperty Name="DayOfArrivalMessageSent" ColumnName="DayOfArrivalMessageSent" />
  24684. <ScalarProperty Name="DayOfDepartureMessageSent" ColumnName="DayOfDepartureMessageSent" />
  24685. <ScalarProperty Name="SurveyEmailSent" ColumnName="SurveyEmailSent" />
  24686. <ScalarProperty Name="BookingConfirmationFailed" ColumnName="BookingConfirmationFailed" />
  24687. <ScalarProperty Name="Contacted" ColumnName="Contacted" />
  24688. <ScalarProperty Name="Arrived" ColumnName="Arrived" />
  24689. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  24690. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  24691. <ScalarProperty Name="ResortBookingDate" ColumnName="ResortBookingDate" />
  24692. <ScalarProperty Name="VoucherRegDate" ColumnName="VoucherRegDate" />
  24693. <ScalarProperty Name="Guest1Name" ColumnName="Guest1Name" />
  24694. <ScalarProperty Name="Guest1Surname" ColumnName="Guest1Surname" />
  24695. <ScalarProperty Name="Guest1IdNumber" ColumnName="Guest1IdNumber" />
  24696. <ScalarProperty Name="Guest2Name" ColumnName="Guest2Name" />
  24697. <ScalarProperty Name="Guest2Surname" ColumnName="Guest2Surname" />
  24698. <ScalarProperty Name="Guest2IdNumber" ColumnName="Guest2IdNumber" />
  24699. <ScalarProperty Name="Child1Name" ColumnName="Child1Name" />
  24700. <ScalarProperty Name="Child2Name" ColumnName="Child2Name" />
  24701. <ScalarProperty Name="Child3Name" ColumnName="Child3Name" />
  24702. <ScalarProperty Name="Disabilities" ColumnName="Disabilities" />
  24703. <ScalarProperty Name="VehicleRegNo" ColumnName="VehicleRegNo" />
  24704. <ScalarProperty Name="ReasonSentFailed" ColumnName="ReasonSentFailed" />
  24705. </MappingFragment>
  24706. </EntityTypeMapping>
  24707. </EntitySetMapping>
  24708. <EntitySetMapping Name="TblVoucherSeries">
  24709. <EntityTypeMapping TypeName="ProvisionStagingModel.TblVoucherSery">
  24710. <MappingFragment StoreEntitySet="TblVoucherSeries">
  24711. <ScalarProperty Name="OID" ColumnName="OID" />
  24712. <ScalarProperty Name="Name" ColumnName="Name" />
  24713. <ScalarProperty Name="Number" ColumnName="Number" />
  24714. <ScalarProperty Name="LastNumberGenerated" ColumnName="LastNumberGenerated" />
  24715. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  24716. </MappingFragment>
  24717. </EntityTypeMapping>
  24718. </EntitySetMapping>
  24719. <EntitySetMapping Name="TblVoucherTypes">
  24720. <EntityTypeMapping TypeName="ProvisionStagingModel.TblVoucherType">
  24721. <MappingFragment StoreEntitySet="TblVoucherTypes">
  24722. <ScalarProperty Name="OID" ColumnName="OID" />
  24723. <ScalarProperty Name="Description" ColumnName="Description" />
  24724. <ScalarProperty Name="LastVoucherNumberUsed" ColumnName="LastVoucherNumberUsed" />
  24725. <ScalarProperty Name="Prefix" ColumnName="Prefix" />
  24726. <ScalarProperty Name="SmsUser" ColumnName="SmsUser" />
  24727. <ScalarProperty Name="SmsPassword" ColumnName="SmsPassword" />
  24728. <ScalarProperty Name="ResortBookingConfirmationDocumentPath" ColumnName="ResortBookingConfirmationDocumentPath" />
  24729. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24730. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24731. <ScalarProperty Name="TimeSpesificAvailability" ColumnName="TimeSpesificAvailability" />
  24732. <ScalarProperty Name="AvailabilityStart" ColumnName="AvailabilityStart" />
  24733. <ScalarProperty Name="AvailabilityEnd" ColumnName="AvailabilityEnd" />
  24734. </MappingFragment>
  24735. </EntityTypeMapping>
  24736. </EntitySetMapping>
  24737. <EntitySetMapping Name="TblWeekBankings">
  24738. <EntityTypeMapping TypeName="ProvisionStagingModel.TblWeekBanking">
  24739. <MappingFragment StoreEntitySet="TblWeekBanking">
  24740. <ScalarProperty Name="OID" ColumnName="OID" />
  24741. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  24742. <ScalarProperty Name="Resort" ColumnName="Resort" />
  24743. <ScalarProperty Name="Contract" ColumnName="Contract" />
  24744. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  24745. <ScalarProperty Name="Asset" ColumnName="Asset" />
  24746. <ScalarProperty Name="BankEntity" ColumnName="BankEntity" />
  24747. <ScalarProperty Name="Year" ColumnName="Year" />
  24748. <ScalarProperty Name="DateBanked" ColumnName="DateBanked" />
  24749. <ScalarProperty Name="DateUnbanked" ColumnName="DateUnbanked" />
  24750. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24751. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24752. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  24753. <ScalarProperty Name="Points" ColumnName="Points" />
  24754. </MappingFragment>
  24755. </EntityTypeMapping>
  24756. </EntitySetMapping>
  24757. <EntitySetMapping Name="TblWeekModules">
  24758. <EntityTypeMapping TypeName="ProvisionStagingModel.TblWeekModule">
  24759. <MappingFragment StoreEntitySet="TblWeekModule">
  24760. <ScalarProperty Name="OID" ColumnName="OID" />
  24761. <ScalarProperty Name="WeekNumber" ColumnName="WeekNumber" />
  24762. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  24763. <ScalarProperty Name="WeekType" ColumnName="WeekType" />
  24764. <ScalarProperty Name="WeekModuleType" ColumnName="WeekModuleType" />
  24765. <ScalarProperty Name="Resort" ColumnName="Resort" />
  24766. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24767. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24768. <ScalarProperty Name="Season" ColumnName="Season" />
  24769. <ScalarProperty Name="Year" ColumnName="Year" />
  24770. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  24771. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  24772. <ScalarProperty Name="CalendarCode" ColumnName="CalendarCode" />
  24773. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  24774. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  24775. </MappingFragment>
  24776. </EntityTypeMapping>
  24777. </EntitySetMapping>
  24778. <EntitySetMapping Name="TelemarketingSMSSettings">
  24779. <EntityTypeMapping TypeName="ProvisionStagingModel.TelemarketingSMSSetting">
  24780. <MappingFragment StoreEntitySet="TelemarketingSMSSettings">
  24781. <ScalarProperty Name="Oid" ColumnName="Oid" />
  24782. <ScalarProperty Name="TelemarketerOffice" ColumnName="TelemarketerOffice" />
  24783. <ScalarProperty Name="SMSUserCode" ColumnName="SMSUserCode" />
  24784. <ScalarProperty Name="SMSPassword" ColumnName="SMSPassword" />
  24785. <ScalarProperty Name="SmsBookingMessage" ColumnName="SmsBookingMessage" />
  24786. <ScalarProperty Name="SmsConfirmationMessage" ColumnName="SmsConfirmationMessage" />
  24787. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24788. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24789. </MappingFragment>
  24790. </EntityTypeMapping>
  24791. </EntitySetMapping>
  24792. <EntitySetMapping Name="Titles">
  24793. <EntityTypeMapping TypeName="ProvisionStagingModel.Title">
  24794. <MappingFragment StoreEntitySet="Titles">
  24795. <ScalarProperty Name="Title1" ColumnName="Title" />
  24796. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24797. <ScalarProperty Name="IsMale" ColumnName="IsMale" />
  24798. <ScalarProperty Name="Hidden" ColumnName="Hidden" />
  24799. </MappingFragment>
  24800. </EntityTypeMapping>
  24801. </EntitySetMapping>
  24802. <EntitySetMapping Name="TransfigContractInfoes">
  24803. <EntityTypeMapping TypeName="ProvisionStagingModel.TransfigContractInfo">
  24804. <MappingFragment StoreEntitySet="TransfigContractInfo">
  24805. <ScalarProperty Name="OID" ColumnName="OID" />
  24806. <ScalarProperty Name="ContractType" ColumnName="ContractType" />
  24807. <ScalarProperty Name="SellingDate" ColumnName="SellingDate" />
  24808. <ScalarProperty Name="ClubUnits" ColumnName="ClubUnits" />
  24809. <ScalarProperty Name="CostPerUnit" ColumnName="CostPerUnit" />
  24810. <ScalarProperty Name="PurchasePrice" ColumnName="PurchasePrice" />
  24811. <ScalarProperty Name="DepositAmount" ColumnName="DepositAmount" />
  24812. <ScalarProperty Name="Period" ColumnName="Period" />
  24813. <ScalarProperty Name="InterestRate" ColumnName="InterestRate" />
  24814. <ScalarProperty Name="TransfigKey" ColumnName="TransfigKey" />
  24815. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24816. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24817. <ScalarProperty Name="DottedStatus" ColumnName="DottedStatus" />
  24818. <ScalarProperty Name="DottedDate" ColumnName="DottedDate" />
  24819. </MappingFragment>
  24820. </EntityTypeMapping>
  24821. </EntitySetMapping>
  24822. <EntitySetMapping Name="TransfigSearchResults">
  24823. <EntityTypeMapping TypeName="ProvisionStagingModel.TransfigSearchResult">
  24824. <MappingFragment StoreEntitySet="TransfigSearchResults">
  24825. <ScalarProperty Name="OID" ColumnName="OID" />
  24826. <ScalarProperty Name="ClientInitials" ColumnName="ClientInitials" />
  24827. <ScalarProperty Name="ClientSurname" ColumnName="ClientSurname" />
  24828. <ScalarProperty Name="ClientTitle" ColumnName="ClientTitle" />
  24829. <ScalarProperty Name="ClientEmail" ColumnName="ClientEmail" />
  24830. <ScalarProperty Name="ClientClub" ColumnName="ClientClub" />
  24831. <ScalarProperty Name="ClientMemNum" ColumnName="ClientMemNum" />
  24832. <ScalarProperty Name="ClientIDNo" ColumnName="ClientIDNo" />
  24833. <ScalarProperty Name="ClientTel" ColumnName="ClientTel" />
  24834. <ScalarProperty Name="SearchResKey" ColumnName="SearchResKey" />
  24835. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24836. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24837. <ScalarProperty Name="Developer" ColumnName="Developer" />
  24838. <ScalarProperty Name="ContractStatus" ColumnName="ContractStatus" />
  24839. <ScalarProperty Name="TypeOfContract" ColumnName="TypeOfContract" />
  24840. <ScalarProperty Name="RCIMemberNo" ColumnName="RCIMemberNo" />
  24841. <ScalarProperty Name="CertificateName" ColumnName="CertificateName" />
  24842. </MappingFragment>
  24843. </EntityTypeMapping>
  24844. </EntitySetMapping>
  24845. <EntitySetMapping Name="Transfigurations">
  24846. <EntityTypeMapping TypeName="ProvisionStagingModel.Transfiguration">
  24847. <MappingFragment StoreEntitySet="Transfigurations">
  24848. <ScalarProperty Name="OID" ColumnName="OID" />
  24849. <ScalarProperty Name="OverideActive" ColumnName="OverideActive" />
  24850. <ScalarProperty Name="SalesManager" ColumnName="SalesManager" />
  24851. <ScalarProperty Name="PrimeRate" ColumnName="PrimeRate" />
  24852. <ScalarProperty Name="TransfigStatus" ColumnName="TransfigStatus" />
  24853. <ScalarProperty Name="SalesAgent" ColumnName="SalesAgent" />
  24854. <ScalarProperty Name="Surname" ColumnName="Surname" />
  24855. <ScalarProperty Name="FirstNames" ColumnName="FirstNames" />
  24856. <ScalarProperty Name="Initials" ColumnName="Initials" />
  24857. <ScalarProperty Name="Title" ColumnName="Title" />
  24858. <ScalarProperty Name="SPSurname" ColumnName="SPSurname" />
  24859. <ScalarProperty Name="SPFirstNames" ColumnName="SPFirstNames" />
  24860. <ScalarProperty Name="SPInitials" ColumnName="SPInitials" />
  24861. <ScalarProperty Name="SPTitle" ColumnName="SPTitle" />
  24862. <ScalarProperty Name="JointPurchase" ColumnName="JointPurchase" />
  24863. <ScalarProperty Name="HowMarried" ColumnName="HowMarried" />
  24864. <ScalarProperty Name="AddrLine1" ColumnName="AddrLine1" />
  24865. <ScalarProperty Name="AddrLine2" ColumnName="AddrLine2" />
  24866. <ScalarProperty Name="AddrLine3" ColumnName="AddrLine3" />
  24867. <ScalarProperty Name="AddrLine4" ColumnName="AddrLine4" />
  24868. <ScalarProperty Name="PostalCode" ColumnName="PostalCode" />
  24869. <ScalarProperty Name="PostAddr1" ColumnName="PostAddr1" />
  24870. <ScalarProperty Name="PostAddr2" ColumnName="PostAddr2" />
  24871. <ScalarProperty Name="PostAddr3" ColumnName="PostAddr3" />
  24872. <ScalarProperty Name="PostAddr4" ColumnName="PostAddr4" />
  24873. <ScalarProperty Name="PostPostCode" ColumnName="PostPostCode" />
  24874. <ScalarProperty Name="MembershipNo" ColumnName="MembershipNo" />
  24875. <ScalarProperty Name="TelephoneNo" ColumnName="TelephoneNo" />
  24876. <ScalarProperty Name="BusinessPhoneNo" ColumnName="BusinessPhoneNo" />
  24877. <ScalarProperty Name="Cellphone" ColumnName="Cellphone" />
  24878. <ScalarProperty Name="Email" ColumnName="Email" />
  24879. <ScalarProperty Name="SPEmail" ColumnName="SPEmail" />
  24880. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  24881. <ScalarProperty Name="SPIDNumber" ColumnName="SPIDNumber" />
  24882. <ScalarProperty Name="MFCommencementDate" ColumnName="MFCommencementDate" />
  24883. <ScalarProperty Name="CapitalCommencementDate" ColumnName="CapitalCommencementDate" />
  24884. <ScalarProperty Name="InsuranceCommencementDate" ColumnName="InsuranceCommencementDate" />
  24885. <ScalarProperty Name="ActivationYear" ColumnName="ActivationYear" />
  24886. <ScalarProperty Name="DeferUsage" ColumnName="DeferUsage" />
  24887. <ScalarProperty Name="Notes" ColumnName="Notes" />
  24888. <ScalarProperty Name="TransfigDate" ColumnName="TransfigDate" />
  24889. <ScalarProperty Name="NewCompany" ColumnName="NewCompany" />
  24890. <ScalarProperty Name="ContractNo" ColumnName="ContractNo" />
  24891. <ScalarProperty Name="TFContractNumber" ColumnName="TFContractNumber" />
  24892. <ScalarProperty Name="Developer" ColumnName="Developer" />
  24893. <ScalarProperty Name="OldCompany" ColumnName="OldCompany" />
  24894. <ScalarProperty Name="ClubUnits" ColumnName="ClubUnits" />
  24895. <ScalarProperty Name="CapitalOutstanding" ColumnName="CapitalOutstanding" />
  24896. <ScalarProperty Name="CapitalBF" ColumnName="CapitalBF" />
  24897. <ScalarProperty Name="CapitalACB" ColumnName="CapitalACB" />
  24898. <ScalarProperty Name="CapitalREC" ColumnName="CapitalREC" />
  24899. <ScalarProperty Name="CapitalDJC" ColumnName="CapitalDJC" />
  24900. <ScalarProperty Name="CapitalDJD" ColumnName="CapitalDJD" />
  24901. <ScalarProperty Name="CapitalSF" ColumnName="CapitalSF" />
  24902. <ScalarProperty Name="CapitalINT" ColumnName="CapitalINT" />
  24903. <ScalarProperty Name="CapitalOther" ColumnName="CapitalOther" />
  24904. <ScalarProperty Name="CapitalInstallment" ColumnName="CapitalInstallment" />
  24905. <ScalarProperty Name="CapitalServiceFee" ColumnName="CapitalServiceFee" />
  24906. <ScalarProperty Name="CapitalInterest" ColumnName="CapitalInterest" />
  24907. <ScalarProperty Name="CapitalArrears" ColumnName="CapitalArrears" />
  24908. <ScalarProperty Name="MFOutstanding" ColumnName="MFOutstanding" />
  24909. <ScalarProperty Name="MFBF" ColumnName="MFBF" />
  24910. <ScalarProperty Name="MFACB" ColumnName="MFACB" />
  24911. <ScalarProperty Name="MFREC" ColumnName="MFREC" />
  24912. <ScalarProperty Name="MFDJC" ColumnName="MFDJC" />
  24913. <ScalarProperty Name="MFDJD" ColumnName="MFDJD" />
  24914. <ScalarProperty Name="MFSF" ColumnName="MFSF" />
  24915. <ScalarProperty Name="MFINT" ColumnName="MFINT" />
  24916. <ScalarProperty Name="MFOther" ColumnName="MFOther" />
  24917. <ScalarProperty Name="MFInstallment" ColumnName="MFInstallment" />
  24918. <ScalarProperty Name="MFServiceFee" ColumnName="MFServiceFee" />
  24919. <ScalarProperty Name="MFArrears" ColumnName="MFArrears" />
  24920. <ScalarProperty Name="LifeOutstanding" ColumnName="LifeOutstanding" />
  24921. <ScalarProperty Name="LifeBF" ColumnName="LifeBF" />
  24922. <ScalarProperty Name="LifeACB" ColumnName="LifeACB" />
  24923. <ScalarProperty Name="LifeREC" ColumnName="LifeREC" />
  24924. <ScalarProperty Name="LifeDJC" ColumnName="LifeDJC" />
  24925. <ScalarProperty Name="LifeDJD" ColumnName="LifeDJD" />
  24926. <ScalarProperty Name="LifeSF" ColumnName="LifeSF" />
  24927. <ScalarProperty Name="LifeINT" ColumnName="LifeINT" />
  24928. <ScalarProperty Name="LifeOther" ColumnName="LifeOther" />
  24929. <ScalarProperty Name="LifeInstallment" ColumnName="LifeInstallment" />
  24930. <ScalarProperty Name="LifeServiceFee" ColumnName="LifeServiceFee" />
  24931. <ScalarProperty Name="LifeArrears" ColumnName="LifeArrears" />
  24932. <ScalarProperty Name="sumOriginalUnits" ColumnName="sumOriginalUnits" />
  24933. <ScalarProperty Name="sumAddendumUnits" ColumnName="sumAddendumUnits" />
  24934. <ScalarProperty Name="sumTradeInUnits" ColumnName="sumTradeInUnits" />
  24935. <ScalarProperty Name="sumFiniteUnits" ColumnName="sumFiniteUnits" />
  24936. <ScalarProperty Name="sumCarryUnits" ColumnName="sumCarryUnits" />
  24937. <ScalarProperty Name="sumManFeeCarry" ColumnName="sumManFeeCarry" />
  24938. <ScalarProperty Name="cccFiniteUnits" ColumnName="cccFiniteUnits" />
  24939. <ScalarProperty Name="cmfCurrentManFee" ColumnName="cmfCurrentManFee" />
  24940. <ScalarProperty Name="cmfClubUnitsAvail" ColumnName="cmfClubUnitsAvail" />
  24941. <ScalarProperty Name="PointSellingPrice" ColumnName="PointSellingPrice" />
  24942. <ScalarProperty Name="NewPoints" ColumnName="NewPoints" />
  24943. <ScalarProperty Name="PaymentType" ColumnName="PaymentType" />
  24944. <ScalarProperty Name="PayPeriod" ColumnName="PayPeriod" />
  24945. <ScalarProperty Name="CashPayPeriod" ColumnName="CashPayPeriod" />
  24946. <ScalarProperty Name="Insurance" ColumnName="Insurance" />
  24947. <ScalarProperty Name="DepositPercent" ColumnName="DepositPercent" />
  24948. <ScalarProperty Name="FinitePoints" ColumnName="FinitePoints" />
  24949. <ScalarProperty Name="InterestCharged" ColumnName="InterestCharged" />
  24950. <ScalarProperty Name="InterestAdjustment" ColumnName="InterestAdjustment" />
  24951. <ScalarProperty Name="ManagementFeeDue" ColumnName="ManagementFeeDue" />
  24952. <ScalarProperty Name="ManagementFeeYear" ColumnName="ManagementFeeYear" />
  24953. <ScalarProperty Name="BaseInstallment" ColumnName="BaseInstallment" />
  24954. <ScalarProperty Name="BankName" ColumnName="BankName" />
  24955. <ScalarProperty Name="BranchName" ColumnName="BranchName" />
  24956. <ScalarProperty Name="BranchNumber" ColumnName="BranchNumber" />
  24957. <ScalarProperty Name="AccountNumber" ColumnName="AccountNumber" />
  24958. <ScalarProperty Name="AccountType" ColumnName="AccountType" />
  24959. <ScalarProperty Name="TotalAmount" ColumnName="TotalAmount" />
  24960. <ScalarProperty Name="RepayPeriod" ColumnName="RepayPeriod" />
  24961. <ScalarProperty Name="DOCommenceDate" ColumnName="DOCommenceDate" />
  24962. <ScalarProperty Name="ReceiveInfo" ColumnName="ReceiveInfo" />
  24963. <ScalarProperty Name="OptOut" ColumnName="OptOut" />
  24964. <ScalarProperty Name="Reconsider" ColumnName="Reconsider" />
  24965. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  24966. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  24967. <ScalarProperty Name="TypeOfContract" ColumnName="TypeOfContract" />
  24968. <ScalarProperty Name="AdditionalDeposit" ColumnName="AdditionalDeposit" />
  24969. <ScalarProperty Name="ManagementFeeOnceOff" ColumnName="ManagementFeeOnceOff" />
  24970. <ScalarProperty Name="WindowPeriod" ColumnName="WindowPeriod" />
  24971. <ScalarProperty Name="Window1Year" ColumnName="Window1Year" />
  24972. <ScalarProperty Name="Window1Points" ColumnName="Window1Points" />
  24973. <ScalarProperty Name="Window2Year" ColumnName="Window2Year" />
  24974. <ScalarProperty Name="Window2Points" ColumnName="Window2Points" />
  24975. <ScalarProperty Name="Window3Year" ColumnName="Window3Year" />
  24976. <ScalarProperty Name="Window3Points" ColumnName="Window3Points" />
  24977. <ScalarProperty Name="FeeType" ColumnName="FeeType" />
  24978. <ScalarProperty Name="ApplySlidingScale" ColumnName="ApplySlidingScale" />
  24979. <ScalarProperty Name="UnpostedAddAmt" ColumnName="UnpostedAddAmt" />
  24980. <ScalarProperty Name="sumUnpostedAddUnits" ColumnName="sumUnpostedAddUnits" />
  24981. <ScalarProperty Name="ZeroInterestDeal" ColumnName="ZeroInterestDeal" />
  24982. <ScalarProperty Name="SentToContracts" ColumnName="SentToContracts" />
  24983. <ScalarProperty Name="SentToContractsDate" ColumnName="SentToContractsDate" />
  24984. <ScalarProperty Name="DontShow" ColumnName="DontShow" />
  24985. <ScalarProperty Name="PaymentOccurrence" ColumnName="PaymentOccurrence" />
  24986. <ScalarProperty Name="DODate" ColumnName="DODate" />
  24987. <ScalarProperty Name="CompanyTrustName" ColumnName="CompanyTrustName" />
  24988. <ScalarProperty Name="CompRegNo" ColumnName="CompRegNo" />
  24989. <ScalarProperty Name="MembershipNumNoClub" ColumnName="MembershipNumNoClub" />
  24990. <ScalarProperty Name="MovedToContracts" ColumnName="MovedToContracts" />
  24991. <ScalarProperty Name="BookingRefText" ColumnName="BookingRefText" />
  24992. <ScalarProperty Name="BookingRef" ColumnName="BookingRef" />
  24993. <ScalarProperty Name="RegFeeDate" ColumnName="RegFeeDate" />
  24994. <ScalarProperty Name="RegistrationFees" ColumnName="RegistrationFees" />
  24995. <ScalarProperty Name="CreditCardNumber" ColumnName="CreditCardNumber" />
  24996. <ScalarProperty Name="CVCNumber" ColumnName="CVCNumber" />
  24997. <ScalarProperty Name="CardType" ColumnName="CardType" />
  24998. <ScalarProperty Name="CardExpiryDate" ColumnName="CardExpiryDate" />
  24999. <ScalarProperty Name="SearchByOption" ColumnName="SearchByOption" />
  25000. <ScalarProperty Name="SearchString" ColumnName="SearchString" />
  25001. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  25002. <ScalarProperty Name="ContractCurrency" ColumnName="ContractCurrency" />
  25003. <ScalarProperty Name="ConversionRate" ColumnName="ConversionRate" />
  25004. <ScalarProperty Name="PeriodInMonths" ColumnName="PeriodInMonths" />
  25005. <ScalarProperty Name="PersonalDataShared" ColumnName="PersonalDataShared" />
  25006. <ScalarProperty Name="UseDefaultInterestAdjustmentValue" ColumnName="UseDefaultInterestAdjustmentValue" />
  25007. <ScalarProperty Name="CommissionCode" ColumnName="CommissionCode" />
  25008. <ScalarProperty Name="AccountTypeTEMP" ColumnName="AccountTypeTEMP" />
  25009. <ScalarProperty Name="InsuranceReason" ColumnName="InsuranceReason" />
  25010. <ScalarProperty Name="FinitePointsExpired" ColumnName="FinitePointsExpired" />
  25011. <ScalarProperty Name="IsCompany" ColumnName="IsCompany" />
  25012. <ScalarProperty Name="ReceiveCorrespondence" ColumnName="ReceiveCorrespondence" />
  25013. <ScalarProperty Name="ReconsiderReceivingInfo" ColumnName="ReconsiderReceivingInfo" />
  25014. <ScalarProperty Name="CapacityOfRepresentative" ColumnName="CapacityOfRepresentative" />
  25015. <ScalarProperty Name="SpouseCellphone" ColumnName="SpouseCellphone" />
  25016. <ScalarProperty Name="SpouseWorkphone" ColumnName="SpouseWorkphone" />
  25017. <ScalarProperty Name="DefaultCommunication" ColumnName="DefaultCommunication" />
  25018. </MappingFragment>
  25019. </EntityTypeMapping>
  25020. </EntitySetMapping>
  25021. <EntitySetMapping Name="UserAccessLogs">
  25022. <EntityTypeMapping TypeName="ProvisionStagingModel.UserAccessLog">
  25023. <MappingFragment StoreEntitySet="UserAccessLog">
  25024. <ScalarProperty Name="OID" ColumnName="OID" />
  25025. <ScalarProperty Name="User" ColumnName="User" />
  25026. <ScalarProperty Name="IPAddress" ColumnName="IPAddress" />
  25027. <ScalarProperty Name="Date" ColumnName="Date" />
  25028. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25029. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25030. <ScalarProperty Name="Origin" ColumnName="Origin" />
  25031. </MappingFragment>
  25032. </EntityTypeMapping>
  25033. </EntitySetMapping>
  25034. <EntitySetMapping Name="Users">
  25035. <EntityTypeMapping TypeName="ProvisionStagingModel.User">
  25036. <MappingFragment StoreEntitySet="Users">
  25037. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25038. <ScalarProperty Name="StoredPassword" ColumnName="StoredPassword" />
  25039. <ScalarProperty Name="UserName" ColumnName="UserName" />
  25040. <ScalarProperty Name="ChangePasswordOnFirstLogon" ColumnName="ChangePasswordOnFirstLogon" />
  25041. <ScalarProperty Name="IsActive" ColumnName="IsActive" />
  25042. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25043. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25044. <ScalarProperty Name="Franchisee" ColumnName="Franchisee" />
  25045. </MappingFragment>
  25046. </EntityTypeMapping>
  25047. </EntitySetMapping>
  25048. <EntitySetMapping Name="TblResorts">
  25049. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResort">
  25050. <MappingFragment StoreEntitySet="TblResort">
  25051. <ScalarProperty Name="Website" ColumnName="Website" />
  25052. <ScalarProperty Name="TradeInWeekend" ColumnName="TradeInWeekend" />
  25053. <ScalarProperty Name="TradeInMidWeek" ColumnName="TradeInMidWeek" />
  25054. <ScalarProperty Name="TradeInFullWeek" ColumnName="TradeInFullWeek" />
  25055. <ScalarProperty Name="InnKeeperMap" ColumnName="InnKeeperMap" />
  25056. <ScalarProperty Name="Available" ColumnName="Available" />
  25057. <ScalarProperty Name="TimeoffResort" ColumnName="TimeoffResort" />
  25058. <ScalarProperty Name="TimeshareResort" ColumnName="TimeshareResort" />
  25059. <ScalarProperty Name="ExternalResortCommYear" ColumnName="ExternalResortCommYear" />
  25060. <ScalarProperty Name="ExcludeForPromotions" ColumnName="ExcludeForPromotions" />
  25061. <ScalarProperty Name="PayableToResort" ColumnName="PayableToResort" />
  25062. <ScalarProperty Name="DripPeriod" ColumnName="DripPeriod" />
  25063. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  25064. <ScalarProperty Name="ExternalResortCommission" ColumnName="ExternalResortCommission" />
  25065. <ScalarProperty Name="TimeOffMaxPercentageOfStock" ColumnName="TimeOffMaxPercentageOfStock" />
  25066. <ScalarProperty Name="ConsoftWeeksStock" ColumnName="ConsoftWeeksStock" />
  25067. <ScalarProperty Name="NoRebate" ColumnName="NoRebate" />
  25068. <ScalarProperty Name="MayNotView" ColumnName="MayNotView" />
  25069. <ScalarProperty Name="ResortRanking" ColumnName="ResortRanking" />
  25070. <ScalarProperty Name="DefaultDeveloper" ColumnName="DefaultDeveloper" />
  25071. <ScalarProperty Name="PurchaseFactor" ColumnName="PurchaseFactor" />
  25072. <ScalarProperty Name="RCIAffiliated" ColumnName="RCIAffiliated" />
  25073. <ScalarProperty Name="ResortManager" ColumnName="ResortManager" />
  25074. <ScalarProperty Name="ManagingAgent" ColumnName="ManagingAgent" />
  25075. <ScalarProperty Name="CheckInDay" ColumnName="CheckInDay" />
  25076. <ScalarProperty Name="CheckOutTime" ColumnName="CheckOutTime" />
  25077. <ScalarProperty Name="CheckInTime" ColumnName="CheckInTime" />
  25078. <ScalarProperty Name="Region" ColumnName="Region" />
  25079. <ScalarProperty Name="C_ResortManager" ColumnName="_ResortManager" />
  25080. <ScalarProperty Name="OldResortCode" ColumnName="OldResortCode" />
  25081. <ScalarProperty Name="Area" ColumnName="Area" />
  25082. <ScalarProperty Name="ResortCode" ColumnName="ResortCode" />
  25083. <ScalarProperty Name="StockLocation" ColumnName="StockLocation" />
  25084. <ScalarProperty Name="DeliveryAddress" ColumnName="DeliveryAddress" />
  25085. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25086. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25087. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25088. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25089. <ScalarProperty Name="ResortName" ColumnName="ResortName" />
  25090. <ScalarProperty Name="OID" ColumnName="OID" />
  25091. </MappingFragment>
  25092. </EntityTypeMapping>
  25093. </EntitySetMapping>
  25094. <EntitySetMapping Name="TblResortExternalSalesPeriods">
  25095. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortExternalSalesPeriod">
  25096. <MappingFragment StoreEntitySet="TblResortExternalSalesPeriod">
  25097. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25098. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25099. <ScalarProperty Name="AlienationPeriod" ColumnName="AlienationPeriod" />
  25100. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  25101. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  25102. <ScalarProperty Name="Resort" ColumnName="Resort" />
  25103. <ScalarProperty Name="OID" ColumnName="OID" />
  25104. </MappingFragment>
  25105. </EntityTypeMapping>
  25106. </EntitySetMapping>
  25107. <EntitySetMapping Name="TblResortExternalSalesPeriodRules">
  25108. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortExternalSalesPeriodRule">
  25109. <MappingFragment StoreEntitySet="TblResortExternalSalesPeriodRules">
  25110. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25111. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25112. <ScalarProperty Name="LeasePriceProrata" ColumnName="LeasePriceProrata" />
  25113. <ScalarProperty Name="RebateProrata" ColumnName="RebateProrata" />
  25114. <ScalarProperty Name="InstalmentPeriod" ColumnName="InstalmentPeriod" />
  25115. <ScalarProperty Name="TermLeft" ColumnName="TermLeft" />
  25116. <ScalarProperty Name="Year" ColumnName="Year" />
  25117. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  25118. <ScalarProperty Name="OID" ColumnName="OID" />
  25119. </MappingFragment>
  25120. </EntityTypeMapping>
  25121. </EntitySetMapping>
  25122. <EntitySetMapping Name="TblResortManagingAgents">
  25123. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortManagingAgent">
  25124. <MappingFragment StoreEntitySet="TblResortManagingAgent">
  25125. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25126. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25127. <ScalarProperty Name="TelephoneNumber" ColumnName="TelephoneNumber" />
  25128. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  25129. <ScalarProperty Name="ManagingAgentName" ColumnName="ManagingAgentName" />
  25130. <ScalarProperty Name="OID" ColumnName="OID" />
  25131. </MappingFragment>
  25132. </EntityTypeMapping>
  25133. </EntitySetMapping>
  25134. <EntitySetMapping Name="TblResortNotes">
  25135. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortNote">
  25136. <MappingFragment StoreEntitySet="TblResortNotes">
  25137. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25138. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25139. <ScalarProperty Name="Notes" ColumnName="Notes" />
  25140. <ScalarProperty Name="ResortKey" ColumnName="ResortKey" />
  25141. <ScalarProperty Name="ExpiryDate" ColumnName="ExpiryDate" />
  25142. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25143. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25144. <ScalarProperty Name="OID" ColumnName="OID" />
  25145. </MappingFragment>
  25146. </EntityTypeMapping>
  25147. </EntitySetMapping>
  25148. <EntitySetMapping Name="TblResortRebateBlocks">
  25149. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortRebateBlock">
  25150. <MappingFragment StoreEntitySet="TblResortRebateBlock">
  25151. <ScalarProperty Name="MaxRebate" ColumnName="MaxRebate" />
  25152. <ScalarProperty Name="AllowedPercentage" ColumnName="AllowedPercentage" />
  25153. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  25154. <ScalarProperty Name="Asset" ColumnName="Asset" />
  25155. <ScalarProperty Name="AssetType" ColumnName="AssetType" />
  25156. <ScalarProperty Name="Season" ColumnName="Season" />
  25157. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25158. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25159. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25160. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25161. <ScalarProperty Name="BlockRebateForOutBal" ColumnName="BlockRebateForOutBal" />
  25162. <ScalarProperty Name="BlockRebate" ColumnName="BlockRebate" />
  25163. <ScalarProperty Name="SalesType" ColumnName="SalesType" />
  25164. <ScalarProperty Name="Club" ColumnName="Club" />
  25165. <ScalarProperty Name="Resort" ColumnName="Resort" />
  25166. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25167. </MappingFragment>
  25168. </EntityTypeMapping>
  25169. </EntitySetMapping>
  25170. <EntitySetMapping Name="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  25171. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  25172. <MappingFragment StoreEntitySet="TblResortResorts_TblPromotionCommissionStructurePromotionCommissionStructures">
  25173. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25174. <ScalarProperty Name="OID" ColumnName="OID" />
  25175. <ScalarProperty Name="Resorts" ColumnName="Resorts" />
  25176. <ScalarProperty Name="PromotionCommissionStructures" ColumnName="PromotionCommissionStructures" />
  25177. </MappingFragment>
  25178. </EntityTypeMapping>
  25179. </EntitySetMapping>
  25180. <EntitySetMapping Name="TblResortSalesPeriods">
  25181. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortSalesPeriod">
  25182. <MappingFragment StoreEntitySet="TblResortSalesPeriod">
  25183. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25184. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25185. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  25186. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  25187. <ScalarProperty Name="Resort" ColumnName="Resort" />
  25188. <ScalarProperty Name="OID" ColumnName="OID" />
  25189. </MappingFragment>
  25190. </EntityTypeMapping>
  25191. </EntitySetMapping>
  25192. <EntitySetMapping Name="TblResortSalesPeriodRules">
  25193. <EntityTypeMapping TypeName="ProvisionStagingModel.TblResortSalesPeriodRule">
  25194. <MappingFragment StoreEntitySet="TblResortSalesPeriodRules">
  25195. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25196. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25197. <ScalarProperty Name="Variance" ColumnName="Variance" />
  25198. <ScalarProperty Name="LeasePriceProrata" ColumnName="LeasePriceProrata" />
  25199. <ScalarProperty Name="RebateProrata" ColumnName="RebateProrata" />
  25200. <ScalarProperty Name="InstalmentPeriod" ColumnName="InstalmentPeriod" />
  25201. <ScalarProperty Name="TermLeft" ColumnName="TermLeft" />
  25202. <ScalarProperty Name="Year" ColumnName="Year" />
  25203. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  25204. <ScalarProperty Name="OID" ColumnName="OID" />
  25205. </MappingFragment>
  25206. </EntityTypeMapping>
  25207. </EntitySetMapping>
  25208. <EntitySetMapping Name="TblSACRRABatches">
  25209. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRABatch">
  25210. <MappingFragment StoreEntitySet="TblSACRRABatch">
  25211. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25212. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25213. <ScalarProperty Name="IsProcessRunning" ColumnName="IsProcessRunning" />
  25214. <ScalarProperty Name="DeleteReason" ColumnName="DeleteReason" />
  25215. <ScalarProperty Name="Step4" ColumnName="Step4" />
  25216. <ScalarProperty Name="Step3" ColumnName="Step3" />
  25217. <ScalarProperty Name="Step2" ColumnName="Step2" />
  25218. <ScalarProperty Name="Step1" ColumnName="Step1" />
  25219. <ScalarProperty Name="Trailer" ColumnName="Trailer" />
  25220. <ScalarProperty Name="Header" ColumnName="Header" />
  25221. <ScalarProperty Name="MonthEndDate" ColumnName="MonthEndDate" />
  25222. <ScalarProperty Name="Type" ColumnName="Type" />
  25223. <ScalarProperty Name="Settings" ColumnName="Settings" />
  25224. <ScalarProperty Name="TestRun" ColumnName="TestRun" />
  25225. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25226. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25227. <ScalarProperty Name="BatchNumber" ColumnName="BatchNumber" />
  25228. <ScalarProperty Name="OID" ColumnName="OID" />
  25229. </MappingFragment>
  25230. </EntityTypeMapping>
  25231. </EntitySetMapping>
  25232. <EntitySetMapping Name="TblSACRRAConsoftDataChecks">
  25233. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAConsoftDataCheck">
  25234. <MappingFragment StoreEntitySet="TblSACRRAConsoftDataChecks">
  25235. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25236. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25237. <ScalarProperty Name="Value" ColumnName="Value" />
  25238. <ScalarProperty Name="OID" ColumnName="OID" />
  25239. </MappingFragment>
  25240. </EntityTypeMapping>
  25241. </EntitySetMapping>
  25242. <EntitySetMapping Name="TblSACRRAConsoftGlobalDatas">
  25243. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAConsoftGlobalData">
  25244. <MappingFragment StoreEntitySet="TblSACRRAConsoftGlobalData">
  25245. <ScalarProperty Name="UID" ColumnName="UID" />
  25246. <ScalarProperty Name="DaysOpen" ColumnName="DaysOpen" />
  25247. <ScalarProperty Name="SendName" ColumnName="SendName" />
  25248. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25249. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25250. <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
  25251. <ScalarProperty Name="DoNotSend" ColumnName="DoNotSend" />
  25252. <ScalarProperty Name="LockDemographics" ColumnName="LockDemographics" />
  25253. <ScalarProperty Name="SACRRAData" ColumnName="SACRRAData" />
  25254. <ScalarProperty Name="SendOnceOff" ColumnName="SendOnceOff" />
  25255. <ScalarProperty Name="EstateLateDate" ColumnName="EstateLateDate" />
  25256. <ScalarProperty Name="IsEstateLate" ColumnName="IsEstateLate" />
  25257. <ScalarProperty Name="IsSoleProprietor" ColumnName="IsSoleProprietor" />
  25258. <ScalarProperty Name="IsCompany" ColumnName="IsCompany" />
  25259. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  25260. <ScalarProperty Name="NoOfParticipantsInJointLoan" ColumnName="NoOfParticipantsInJointLoan" />
  25261. <ScalarProperty Name="StatusDate" ColumnName="StatusDate" />
  25262. <ScalarProperty Name="Terms" ColumnName="Terms" />
  25263. <ScalarProperty Name="StatusCode" ColumnName="StatusCode" />
  25264. <ScalarProperty Name="MonthsInArrears" ColumnName="MonthsInArrears" />
  25265. <ScalarProperty Name="InstalmentAmount" ColumnName="InstalmentAmount" />
  25266. <ScalarProperty Name="AmountOverdue" ColumnName="AmountOverdue" />
  25267. <ScalarProperty Name="CurrentBalance" ColumnName="CurrentBalance" />
  25268. <ScalarProperty Name="OpeningBalance" ColumnName="OpeningBalance" />
  25269. <ScalarProperty Name="DateOfLastPayment" ColumnName="DateOfLastPayment" />
  25270. <ScalarProperty Name="DeferredPaymentDate" ColumnName="DeferredPaymentDate" />
  25271. <ScalarProperty Name="DateAccountOpened" ColumnName="DateAccountOpened" />
  25272. <ScalarProperty Name="OwnershipType" ColumnName="OwnershipType" />
  25273. <ScalarProperty Name="Forename" ColumnName="Forename" />
  25274. <ScalarProperty Name="Surname" ColumnName="Surname" />
  25275. <ScalarProperty Name="AccountNo" ColumnName="AccountNo" />
  25276. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  25277. <ScalarProperty Name="Passport" ColumnName="Passport" />
  25278. <ScalarProperty Name="IsForeigner" ColumnName="IsForeigner" />
  25279. <ScalarProperty Name="ID" ColumnName="ID" />
  25280. <ScalarProperty Name="Dev" ColumnName="Dev" />
  25281. <ScalarProperty Name="Error" ColumnName="Error" />
  25282. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25283. </MappingFragment>
  25284. </EntityTypeMapping>
  25285. </EntitySetMapping>
  25286. <EntitySetMapping Name="TblSACRRAConsoftStatuses">
  25287. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAConsoftStatus">
  25288. <MappingFragment StoreEntitySet="TblSACRRAConsoftStatuses">
  25289. <ScalarProperty Name="Type" ColumnName="Type" />
  25290. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25291. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25292. <ScalarProperty Name="Code" ColumnName="Code" />
  25293. <ScalarProperty Name="OID" ColumnName="OID" />
  25294. </MappingFragment>
  25295. </EntityTypeMapping>
  25296. </EntitySetMapping>
  25297. <EntitySetMapping Name="TblSACRRADatas">
  25298. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAData">
  25299. <MappingFragment StoreEntitySet="TblSACRRAData">
  25300. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  25301. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25302. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25303. <ScalarProperty Name="IsConsoftOnceOff" ColumnName="IsConsoftOnceOff" />
  25304. <ScalarProperty Name="TransactionDate" ColumnName="TransactionDate" />
  25305. <ScalarProperty Name="SupplierReferenceNumber" ColumnName="SupplierReferenceNumber" />
  25306. <ScalarProperty Name="NoOfParticipantsInJointLoan" ColumnName="NoOfParticipantsInJointLoan" />
  25307. <ScalarProperty Name="AccountSoldToThirdParty" ColumnName="AccountSoldToThirdParty" />
  25308. <ScalarProperty Name="ThirdPartyName" ColumnName="ThirdPartyName" />
  25309. <ScalarProperty Name="Occupation" ColumnName="Occupation" />
  25310. <ScalarProperty Name="IncomeFrequency" ColumnName="IncomeFrequency" />
  25311. <ScalarProperty Name="Income" ColumnName="Income" />
  25312. <ScalarProperty Name="EmployerDetail" ColumnName="EmployerDetail" />
  25313. <ScalarProperty Name="WorkTelephone" ColumnName="WorkTelephone" />
  25314. <ScalarProperty Name="Cellular" ColumnName="Cellular" />
  25315. <ScalarProperty Name="HomeTelephone" ColumnName="HomeTelephone" />
  25316. <ScalarProperty Name="OldSupplierReferenceNumber" ColumnName="OldSupplierReferenceNumber" />
  25317. <ScalarProperty Name="OldSubAccountNumber" ColumnName="OldSubAccountNumber" />
  25318. <ScalarProperty Name="OldAccountNumber" ColumnName="OldAccountNumber" />
  25319. <ScalarProperty Name="OldSupplierBranchCode" ColumnName="OldSupplierBranchCode" />
  25320. <ScalarProperty Name="StatusDate" ColumnName="StatusDate" />
  25321. <ScalarProperty Name="Terms" ColumnName="Terms" />
  25322. <ScalarProperty Name="RepaymentFrequency" ColumnName="RepaymentFrequency" />
  25323. <ScalarProperty Name="StatusCode" ColumnName="StatusCode" />
  25324. <ScalarProperty Name="MonthsInArrears" ColumnName="MonthsInArrears" />
  25325. <ScalarProperty Name="InstalmentAmount" ColumnName="InstalmentAmount" />
  25326. <ScalarProperty Name="AmountOverdue" ColumnName="AmountOverdue" />
  25327. <ScalarProperty Name="CurrentBalanceIndicator" ColumnName="CurrentBalanceIndicator" />
  25328. <ScalarProperty Name="CurrentBalance" ColumnName="CurrentBalance" />
  25329. <ScalarProperty Name="OpeningBalance" ColumnName="OpeningBalance" />
  25330. <ScalarProperty Name="DateOfLastPayment" ColumnName="DateOfLastPayment" />
  25331. <ScalarProperty Name="DeferredPaymentDate" ColumnName="DeferredPaymentDate" />
  25332. <ScalarProperty Name="DateAccountOpened" ColumnName="DateAccountOpened" />
  25333. <ScalarProperty Name="TypeOfAccount" ColumnName="TypeOfAccount" />
  25334. <ScalarProperty Name="PaymentType" ColumnName="PaymentType" />
  25335. <ScalarProperty Name="LoanReasonCode" ColumnName="LoanReasonCode" />
  25336. <ScalarProperty Name="OwnershipType" ColumnName="OwnershipType" />
  25337. <ScalarProperty Name="PostPostalCode" ColumnName="PostPostalCode" />
  25338. <ScalarProperty Name="PostAddress4" ColumnName="PostAddress4" />
  25339. <ScalarProperty Name="PostAddress3" ColumnName="PostAddress3" />
  25340. <ScalarProperty Name="PostAddress2" ColumnName="PostAddress2" />
  25341. <ScalarProperty Name="PostAddress1" ColumnName="PostAddress1" />
  25342. <ScalarProperty Name="OwnerTenant" ColumnName="OwnerTenant" />
  25343. <ScalarProperty Name="ResPostalCode" ColumnName="ResPostalCode" />
  25344. <ScalarProperty Name="ResAddress4" ColumnName="ResAddress4" />
  25345. <ScalarProperty Name="ResAddress3" ColumnName="ResAddress3" />
  25346. <ScalarProperty Name="ResAddress2" ColumnName="ResAddress2" />
  25347. <ScalarProperty Name="ResAddress1" ColumnName="ResAddress1" />
  25348. <ScalarProperty Name="Forename3" ColumnName="Forename3" />
  25349. <ScalarProperty Name="Forename2" ColumnName="Forename2" />
  25350. <ScalarProperty Name="Forename1" ColumnName="Forename1" />
  25351. <ScalarProperty Name="Title" ColumnName="Title" />
  25352. <ScalarProperty Name="Surname" ColumnName="Surname" />
  25353. <ScalarProperty Name="SubAccoutNo" ColumnName="SubAccoutNo" />
  25354. <ScalarProperty Name="AccountNo" ColumnName="AccountNo" />
  25355. <ScalarProperty Name="BranchCode" ColumnName="BranchCode" />
  25356. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  25357. <ScalarProperty Name="Gender" ColumnName="Gender" />
  25358. <ScalarProperty Name="NonSAID" ColumnName="NonSAID" />
  25359. <ScalarProperty Name="SAID" ColumnName="SAID" />
  25360. <ScalarProperty Name="Data" ColumnName="Data" />
  25361. <ScalarProperty Name="Error" ColumnName="Error" />
  25362. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  25363. <ScalarProperty Name="Batch" ColumnName="Batch" />
  25364. <ScalarProperty Name="OID" ColumnName="OID" />
  25365. </MappingFragment>
  25366. </EntityTypeMapping>
  25367. </EntitySetMapping>
  25368. <EntitySetMapping Name="TblSACRRADebtorGAPGALs">
  25369. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRADebtorGAPGAL">
  25370. <MappingFragment StoreEntitySet="TblSACRRADebtorGAPGAL">
  25371. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25372. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25373. <ScalarProperty Name="SentToSACRRA" ColumnName="SentToSACRRA" />
  25374. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25375. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  25376. <ScalarProperty Name="OID" ColumnName="OID" />
  25377. </MappingFragment>
  25378. </EntityTypeMapping>
  25379. </EntitySetMapping>
  25380. <EntitySetMapping Name="TblSACRRADebtorStatus">
  25381. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRADebtorStatu">
  25382. <MappingFragment StoreEntitySet="TblSACRRADebtorStatus">
  25383. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25384. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25385. <ScalarProperty Name="DateSent" ColumnName="DateSent" />
  25386. <ScalarProperty Name="Status" ColumnName="Status" />
  25387. <ScalarProperty Name="SentToSACRRA" ColumnName="SentToSACRRA" />
  25388. <ScalarProperty Name="Date" ColumnName="Date" />
  25389. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  25390. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25391. <ScalarProperty Name="OID" ColumnName="OID" />
  25392. </MappingFragment>
  25393. </EntityTypeMapping>
  25394. </EntitySetMapping>
  25395. <EntitySetMapping Name="TblSACRRAFiles">
  25396. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAFile">
  25397. <MappingFragment StoreEntitySet="TblSACRRAFiles">
  25398. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25399. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25400. <ScalarProperty Name="ToSendToSACRRA" ColumnName="ToSendToSACRRA" />
  25401. <ScalarProperty Name="File" ColumnName="File" />
  25402. <ScalarProperty Name="Batch" ColumnName="Batch" />
  25403. <ScalarProperty Name="OID" ColumnName="OID" />
  25404. </MappingFragment>
  25405. </EntityTypeMapping>
  25406. </EntitySetMapping>
  25407. <EntitySetMapping Name="TblSACRRAFileSettings">
  25408. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAFileSetting">
  25409. <MappingFragment StoreEntitySet="TblSACRRAFileSettings">
  25410. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25411. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25412. <ScalarProperty Name="FileType" ColumnName="FileType" />
  25413. <ScalarProperty Name="TestRun" ColumnName="TestRun" />
  25414. <ScalarProperty Name="Type" ColumnName="Type" />
  25415. <ScalarProperty Name="OID" ColumnName="OID" />
  25416. </MappingFragment>
  25417. </EntityTypeMapping>
  25418. </EntitySetMapping>
  25419. <EntitySetMapping Name="TblSACRRAFilesToEncrypts">
  25420. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAFilesToEncrypt">
  25421. <MappingFragment StoreEntitySet="TblSACRRAFilesToEncrypt">
  25422. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25423. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25424. <ScalarProperty Name="DateEncrypted" ColumnName="DateEncrypted" />
  25425. <ScalarProperty Name="NewFileName" ColumnName="NewFileName" />
  25426. <ScalarProperty Name="FileName" ColumnName="FileName" />
  25427. <ScalarProperty Name="Batch" ColumnName="Batch" />
  25428. <ScalarProperty Name="OID" ColumnName="OID" />
  25429. </MappingFragment>
  25430. </EntityTypeMapping>
  25431. </EntitySetMapping>
  25432. <EntitySetMapping Name="TblSACRRAOnceOffStatusSettings">
  25433. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAOnceOffStatusSetting">
  25434. <MappingFragment StoreEntitySet="TblSACRRAOnceOffStatusSettings">
  25435. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25436. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25437. <ScalarProperty Name="SACRRAStatusCode" ColumnName="SACRRAStatusCode" />
  25438. <ScalarProperty Name="Status" ColumnName="Status" />
  25439. <ScalarProperty Name="OID" ColumnName="OID" />
  25440. </MappingFragment>
  25441. </EntityTypeMapping>
  25442. </EntitySetMapping>
  25443. <EntitySetMapping Name="TblSACRRASettings">
  25444. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRASetting">
  25445. <MappingFragment StoreEntitySet="TblSACRRASettings">
  25446. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25447. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25448. <ScalarProperty Name="SenderID" ColumnName="SenderID" />
  25449. <ScalarProperty Name="BranchCode" ColumnName="BranchCode" />
  25450. <ScalarProperty Name="SupplierReference" ColumnName="SupplierReference" />
  25451. <ScalarProperty Name="Developer" ColumnName="Developer" />
  25452. <ScalarProperty Name="OID" ColumnName="OID" />
  25453. </MappingFragment>
  25454. </EntityTypeMapping>
  25455. </EntitySetMapping>
  25456. <EntitySetMapping Name="TblSACRRAStatusExceptions">
  25457. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAStatusException">
  25458. <MappingFragment StoreEntitySet="TblSACRRAStatusExceptions">
  25459. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25460. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25461. <ScalarProperty Name="Status" ColumnName="Status" />
  25462. <ScalarProperty Name="Type" ColumnName="Type" />
  25463. <ScalarProperty Name="OID" ColumnName="OID" />
  25464. </MappingFragment>
  25465. </EntityTypeMapping>
  25466. </EntitySetMapping>
  25467. <EntitySetMapping Name="TblSACRRAStatusSettings">
  25468. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAStatusSetting">
  25469. <MappingFragment StoreEntitySet="TblSACRRAStatusSettings">
  25470. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25471. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25472. <ScalarProperty Name="SACRRACode" ColumnName="SACRRACode" />
  25473. <ScalarProperty Name="Status" ColumnName="Status" />
  25474. <ScalarProperty Name="Type" ColumnName="Type" />
  25475. <ScalarProperty Name="OID" ColumnName="OID" />
  25476. </MappingFragment>
  25477. </EntityTypeMapping>
  25478. </EntitySetMapping>
  25479. <EntitySetMapping Name="TblSACRRAValidStatuses">
  25480. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSACRRAValidStatus">
  25481. <MappingFragment StoreEntitySet="TblSACRRAValidStatuses">
  25482. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25483. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25484. <ScalarProperty Name="Code" ColumnName="Code" />
  25485. <ScalarProperty Name="OID" ColumnName="OID" />
  25486. </MappingFragment>
  25487. </EntityTypeMapping>
  25488. </EntitySetMapping>
  25489. <EntitySetMapping Name="TblSalesCommAmountScales">
  25490. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommAmountScale">
  25491. <MappingFragment StoreEntitySet="TblSalesCommAmountScale">
  25492. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25493. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25494. <ScalarProperty Name="EarnerType" ColumnName="EarnerType" />
  25495. <ScalarProperty Name="Week" ColumnName="Week" />
  25496. <ScalarProperty Name="Percentage" ColumnName="Percentage" />
  25497. <ScalarProperty Name="To" ColumnName="To" />
  25498. <ScalarProperty Name="From" ColumnName="From" />
  25499. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25500. </MappingFragment>
  25501. </EntityTypeMapping>
  25502. </EntitySetMapping>
  25503. <EntitySetMapping Name="TblSalesCommCountScales">
  25504. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommCountScale">
  25505. <MappingFragment StoreEntitySet="TblSalesCommCountScale">
  25506. <ScalarProperty Name="DailyLimit" ColumnName="DailyLimit" />
  25507. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25508. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25509. <ScalarProperty Name="EarnerType" ColumnName="EarnerType" />
  25510. <ScalarProperty Name="Week" ColumnName="Week" />
  25511. <ScalarProperty Name="ConvertedRTAmount" ColumnName="ConvertedRTAmount" />
  25512. <ScalarProperty Name="ConvertedAmount" ColumnName="ConvertedAmount" />
  25513. <ScalarProperty Name="To" ColumnName="To" />
  25514. <ScalarProperty Name="From" ColumnName="From" />
  25515. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25516. </MappingFragment>
  25517. </EntityTypeMapping>
  25518. </EntitySetMapping>
  25519. <EntitySetMapping Name="TblSalesCommDataStores">
  25520. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommDataStore">
  25521. <MappingFragment StoreEntitySet="TblSalesCommDataStore">
  25522. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25523. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25524. <ScalarProperty Name="Booking" ColumnName="Booking" />
  25525. <ScalarProperty Name="Lead" ColumnName="Lead" />
  25526. <ScalarProperty Name="IsFinalizedDeal" ColumnName="IsFinalizedDeal" />
  25527. <ScalarProperty Name="IsFinalizedQShow" ColumnName="IsFinalizedQShow" />
  25528. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25529. </MappingFragment>
  25530. </EntityTypeMapping>
  25531. </EntitySetMapping>
  25532. <EntitySetMapping Name="TblSalesCommEarnerTypes">
  25533. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommEarnerType">
  25534. <MappingFragment StoreEntitySet="TblSalesCommEarnerType">
  25535. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25536. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25537. <ScalarProperty Name="SpecificPersonnel" ColumnName="SpecificPersonnel" />
  25538. <ScalarProperty Name="SalesRegion" ColumnName="SalesRegion" />
  25539. <ScalarProperty Name="Name" ColumnName="Name" />
  25540. <ScalarProperty Name="Type" ColumnName="Type" />
  25541. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25542. </MappingFragment>
  25543. </EntityTypeMapping>
  25544. </EntitySetMapping>
  25545. <EntitySetMapping Name="TblSalesCommFixedAmounts">
  25546. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommFixedAmount">
  25547. <MappingFragment StoreEntitySet="TblSalesCommFixedAmount">
  25548. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25549. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25550. <ScalarProperty Name="EarnerType" ColumnName="EarnerType" />
  25551. <ScalarProperty Name="IsMonthlyAmount" ColumnName="IsMonthlyAmount" />
  25552. <ScalarProperty Name="IsWeeklyAmount" ColumnName="IsWeeklyAmount" />
  25553. <ScalarProperty Name="IsSolid" ColumnName="IsSolid" />
  25554. <ScalarProperty Name="Week" ColumnName="Week" />
  25555. <ScalarProperty Name="RTConvertedAmount" ColumnName="RTConvertedAmount" />
  25556. <ScalarProperty Name="NowahalaConvertedAmount" ColumnName="NowahalaConvertedAmount" />
  25557. <ScalarProperty Name="ConvertedAmount" ColumnName="ConvertedAmount" />
  25558. <ScalarProperty Name="To" ColumnName="To" />
  25559. <ScalarProperty Name="From" ColumnName="From" />
  25560. <ScalarProperty Name="Level" ColumnName="Level" />
  25561. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25562. </MappingFragment>
  25563. </EntityTypeMapping>
  25564. </EntitySetMapping>
  25565. <EntitySetMapping Name="TblSalesCommissionAdditionals">
  25566. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionAdditional">
  25567. <MappingFragment StoreEntitySet="TblSalesCommissionAdditional">
  25568. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25569. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25570. <ScalarProperty Name="SkipInstalments" ColumnName="SkipInstalments" />
  25571. <ScalarProperty Name="NoOfInstalments" ColumnName="NoOfInstalments" />
  25572. <ScalarProperty Name="AdditionalAmountPaid" ColumnName="AdditionalAmountPaid" />
  25573. <ScalarProperty Name="AdditionalAmount" ColumnName="AdditionalAmount" />
  25574. <ScalarProperty Name="SalesCommissionInfo" ColumnName="SalesCommissionInfo" />
  25575. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25576. </MappingFragment>
  25577. </EntityTypeMapping>
  25578. </EntitySetMapping>
  25579. <EntitySetMapping Name="TblSalesCommissionClawbacks">
  25580. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionClawback">
  25581. <MappingFragment StoreEntitySet="TblSalesCommissionClawback">
  25582. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25583. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25584. <ScalarProperty Name="SkipInstalments" ColumnName="SkipInstalments" />
  25585. <ScalarProperty Name="NoOfInstalments" ColumnName="NoOfInstalments" />
  25586. <ScalarProperty Name="ClawbackPaid" ColumnName="ClawbackPaid" />
  25587. <ScalarProperty Name="ClawbackAmount" ColumnName="ClawbackAmount" />
  25588. <ScalarProperty Name="SalesCommissionInfo" ColumnName="SalesCommissionInfo" />
  25589. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25590. </MappingFragment>
  25591. </EntityTypeMapping>
  25592. </EntitySetMapping>
  25593. <EntitySetMapping Name="TblSalesCommissionEquities">
  25594. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionEquity">
  25595. <MappingFragment StoreEntitySet="TblSalesCommissionEquity">
  25596. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25597. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25598. <ScalarProperty Name="StartOnInstalment" ColumnName="StartOnInstalment" />
  25599. <ScalarProperty Name="InstalmentPercentage" ColumnName="InstalmentPercentage" />
  25600. <ScalarProperty Name="MemberPercentage" ColumnName="MemberPercentage" />
  25601. <ScalarProperty Name="NewSalePercentage" ColumnName="NewSalePercentage" />
  25602. <ScalarProperty Name="Rotation" ColumnName="Rotation" />
  25603. <ScalarProperty Name="Category" ColumnName="Category" />
  25604. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25605. </MappingFragment>
  25606. </EntityTypeMapping>
  25607. </EntitySetMapping>
  25608. <EntitySetMapping Name="TblSalesCommissionInfoes">
  25609. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionInfo">
  25610. <MappingFragment StoreEntitySet="TblSalesCommissionInfo">
  25611. <ScalarProperty Name="NewBusinessBonusPercentage" ColumnName="NewBusinessBonusPercentage" />
  25612. <ScalarProperty Name="ResaleContract" ColumnName="ResaleContract" />
  25613. <ScalarProperty Name="Season" ColumnName="Season" />
  25614. <ScalarProperty Name="EquityCommissionTargetPercentage" ColumnName="EquityCommissionTargetPercentage" />
  25615. <ScalarProperty Name="Frozen" ColumnName="Frozen" />
  25616. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25617. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25618. <ScalarProperty Name="RotationCounter" ColumnName="RotationCounter" />
  25619. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  25620. <ScalarProperty Name="CommissionPersonType" ColumnName="CommissionPersonType" />
  25621. <ScalarProperty Name="CommissionOwner" ColumnName="CommissionOwner" />
  25622. <ScalarProperty Name="EquityPayoutPercentage" ColumnName="EquityPayoutPercentage" />
  25623. <ScalarProperty Name="EquityStartOnInstalment" ColumnName="EquityStartOnInstalment" />
  25624. <ScalarProperty Name="NoOfEquiyDrips" ColumnName="NoOfEquiyDrips" />
  25625. <ScalarProperty Name="EquityCommissionPercentage" ColumnName="EquityCommissionPercentage" />
  25626. <ScalarProperty Name="EquityCommissionPaid" ColumnName="EquityCommissionPaid" />
  25627. <ScalarProperty Name="EquityCommission" ColumnName="EquityCommission" />
  25628. <ScalarProperty Name="HousesitCommissionPaid" ColumnName="HousesitCommissionPaid" />
  25629. <ScalarProperty Name="HousesitCommission" ColumnName="HousesitCommission" />
  25630. <ScalarProperty Name="NewLeadCommissionPaid" ColumnName="NewLeadCommissionPaid" />
  25631. <ScalarProperty Name="NewLeadCommission" ColumnName="NewLeadCommission" />
  25632. <ScalarProperty Name="DripsStartOnInstalment" ColumnName="DripsStartOnInstalment" />
  25633. <ScalarProperty Name="NoOfDrips" ColumnName="NoOfDrips" />
  25634. <ScalarProperty Name="DripCommissionPaid" ColumnName="DripCommissionPaid" />
  25635. <ScalarProperty Name="DripCommission" ColumnName="DripCommission" />
  25636. <ScalarProperty Name="UpfrontCommissionPaid" ColumnName="UpfrontCommissionPaid" />
  25637. <ScalarProperty Name="UpfrontCommission" ColumnName="UpfrontCommission" />
  25638. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  25639. <ScalarProperty Name="Contract" ColumnName="Contract" />
  25640. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25641. </MappingFragment>
  25642. </EntityTypeMapping>
  25643. </EntitySetMapping>
  25644. <EntitySetMapping Name="TblSalesCommissionPercentages">
  25645. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionPercentage">
  25646. <MappingFragment StoreEntitySet="TblSalesCommissionPercentages">
  25647. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25648. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25649. <ScalarProperty Name="NoOfDripInstalments" ColumnName="NoOfDripInstalments" />
  25650. <ScalarProperty Name="BonusForNewSalePercentage" ColumnName="BonusForNewSalePercentage" />
  25651. <ScalarProperty Name="DripStartOnInstalment" ColumnName="DripStartOnInstalment" />
  25652. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  25653. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  25654. <ScalarProperty Name="HousesitAmount" ColumnName="HousesitAmount" />
  25655. <ScalarProperty Name="NewLeadAmount" ColumnName="NewLeadAmount" />
  25656. <ScalarProperty Name="FlatRatePercentage" ColumnName="FlatRatePercentage" />
  25657. <ScalarProperty Name="NoOfDSDealCommissionInstalments" ColumnName="NoOfDSDealCommissionInstalments" />
  25658. <ScalarProperty Name="DSDealPercentage" ColumnName="DSDealPercentage" />
  25659. <ScalarProperty Name="CommissionType" ColumnName="CommissionType" />
  25660. <ScalarProperty Name="Description" ColumnName="Description" />
  25661. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25662. </MappingFragment>
  25663. </EntityTypeMapping>
  25664. </EntitySetMapping>
  25665. <EntitySetMapping Name="TblSalesCommissionPeriods">
  25666. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionPeriod">
  25667. <MappingFragment StoreEntitySet="TblSalesCommissionPeriod">
  25668. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25669. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25670. <ScalarProperty Name="ReadyForSignOff" ColumnName="ReadyForSignOff" />
  25671. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  25672. <ScalarProperty Name="CutOffDate" ColumnName="CutOffDate" />
  25673. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  25674. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  25675. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25676. </MappingFragment>
  25677. </EntityTypeMapping>
  25678. </EntitySetMapping>
  25679. <EntitySetMapping Name="TblSalesCommissionSeasons">
  25680. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionSeason">
  25681. <MappingFragment StoreEntitySet="TblSalesCommissionSeasons">
  25682. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25683. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25684. <ScalarProperty Name="SalesCommissionPercentages" ColumnName="SalesCommissionPercentages" />
  25685. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  25686. <ScalarProperty Name="Season" ColumnName="Season" />
  25687. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25688. </MappingFragment>
  25689. </EntityTypeMapping>
  25690. </EntitySetMapping>
  25691. <EntitySetMapping Name="TblSalesCommissionTransactions">
  25692. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommissionTransaction">
  25693. <MappingFragment StoreEntitySet="TblSalesCommissionTransaction">
  25694. <ScalarProperty Name="ClawbackAmountDue" ColumnName="ClawbackAmountDue" />
  25695. <ScalarProperty Name="AdditionalAmountDue" ColumnName="AdditionalAmountDue" />
  25696. <ScalarProperty Name="DripPromotionCommissionDue" ColumnName="DripPromotionCommissionDue" />
  25697. <ScalarProperty Name="UpfrontPromotionCommissionDue" ColumnName="UpfrontPromotionCommissionDue" />
  25698. <ScalarProperty Name="ResaleContract" ColumnName="ResaleContract" />
  25699. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25700. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25701. <ScalarProperty Name="SalesCommissionAdditional" ColumnName="SalesCommissionAdditional" />
  25702. <ScalarProperty Name="SalesCommissionClawback" ColumnName="SalesCommissionClawback" />
  25703. <ScalarProperty Name="SalesCommissionInfo" ColumnName="SalesCommissionInfo" />
  25704. <ScalarProperty Name="CommissionPersonType" ColumnName="CommissionPersonType" />
  25705. <ScalarProperty Name="Paid" ColumnName="Paid" />
  25706. <ScalarProperty Name="SignedOffBy" ColumnName="SignedOffBy" />
  25707. <ScalarProperty Name="SignOffDate" ColumnName="SignOffDate" />
  25708. <ScalarProperty Name="NewLeadCommissionDue" ColumnName="NewLeadCommissionDue" />
  25709. <ScalarProperty Name="HousesitCommissionDue" ColumnName="HousesitCommissionDue" />
  25710. <ScalarProperty Name="EquityCommissionDue" ColumnName="EquityCommissionDue" />
  25711. <ScalarProperty Name="DripCommissionDue" ColumnName="DripCommissionDue" />
  25712. <ScalarProperty Name="UpfrontCommissionDue" ColumnName="UpfrontCommissionDue" />
  25713. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  25714. <ScalarProperty Name="SalesPersonnel" ColumnName="SalesPersonnel" />
  25715. <ScalarProperty Name="TransactionType" ColumnName="TransactionType" />
  25716. <ScalarProperty Name="TransactionDate" ColumnName="TransactionDate" />
  25717. <ScalarProperty Name="Contract" ColumnName="Contract" />
  25718. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25719. </MappingFragment>
  25720. </EntityTypeMapping>
  25721. </EntitySetMapping>
  25722. <EntitySetMapping Name="TblSalesCommMonths">
  25723. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommMonth">
  25724. <MappingFragment StoreEntitySet="TblSalesCommMonth">
  25725. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25726. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25727. <ScalarProperty Name="MonthName" ColumnName="MonthName" />
  25728. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  25729. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  25730. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25731. </MappingFragment>
  25732. </EntityTypeMapping>
  25733. </EntitySetMapping>
  25734. <EntitySetMapping Name="TblSalesCommRegionBasedMonths">
  25735. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommRegionBasedMonth">
  25736. <MappingFragment StoreEntitySet="TblSalesCommRegionBasedMonth">
  25737. <ScalarProperty Name="IsStatementsSent" ColumnName="IsStatementsSent" />
  25738. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25739. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25740. <ScalarProperty Name="IsFinalized" ColumnName="IsFinalized" />
  25741. <ScalarProperty Name="IsStatementsGenerated" ColumnName="IsStatementsGenerated" />
  25742. <ScalarProperty Name="Region" ColumnName="Region" />
  25743. <ScalarProperty Name="Month" ColumnName="Month" />
  25744. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25745. </MappingFragment>
  25746. </EntityTypeMapping>
  25747. </EntitySetMapping>
  25748. <EntitySetMapping Name="TblSalesCommSkippedCommissions">
  25749. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommSkippedCommission">
  25750. <MappingFragment StoreEntitySet="TblSalesCommSkippedCommissions">
  25751. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25752. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25753. <ScalarProperty Name="Reason" ColumnName="Reason" />
  25754. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25755. <ScalarProperty Name="EarnerType" ColumnName="EarnerType" />
  25756. <ScalarProperty Name="Week" ColumnName="Week" />
  25757. <ScalarProperty Name="DataStore" ColumnName="DataStore" />
  25758. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  25759. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25760. </MappingFragment>
  25761. </EntityTypeMapping>
  25762. </EntitySetMapping>
  25763. <EntitySetMapping Name="TblSalesCommStatements">
  25764. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommStatement">
  25765. <MappingFragment StoreEntitySet="TblSalesCommStatement">
  25766. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25767. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25768. <ScalarProperty Name="Reason" ColumnName="Reason" />
  25769. <ScalarProperty Name="DateSignedOff" ColumnName="DateSignedOff" />
  25770. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25771. <ScalarProperty Name="Amount" ColumnName="Amount" />
  25772. <ScalarProperty Name="Week" ColumnName="Week" />
  25773. <ScalarProperty Name="EarnerType" ColumnName="EarnerType" />
  25774. <ScalarProperty Name="DataStore" ColumnName="DataStore" />
  25775. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  25776. <ScalarProperty Name="Percentage" ColumnName="Percentage" />
  25777. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25778. </MappingFragment>
  25779. </EntityTypeMapping>
  25780. </EntitySetMapping>
  25781. <EntitySetMapping Name="TblSalesCommWeeks">
  25782. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesCommWeek">
  25783. <MappingFragment StoreEntitySet="TblSalesCommWeek">
  25784. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25785. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25786. <ScalarProperty Name="Month" ColumnName="Month" />
  25787. <ScalarProperty Name="DollarToShilling" ColumnName="DollarToShilling" />
  25788. <ScalarProperty Name="DollarToKwacha" ColumnName="DollarToKwacha" />
  25789. <ScalarProperty Name="DollarToNaira" ColumnName="DollarToNaira" />
  25790. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  25791. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  25792. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25793. </MappingFragment>
  25794. </EntityTypeMapping>
  25795. </EntitySetMapping>
  25796. <EntitySetMapping Name="TblSalesPeriods">
  25797. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesPeriod">
  25798. <MappingFragment StoreEntitySet="TblSalesPeriod">
  25799. <ScalarProperty Name="FranchisePeriodEnd" ColumnName="FranchisePeriodEnd" />
  25800. <ScalarProperty Name="FranchisePeriodStart" ColumnName="FranchisePeriodStart" />
  25801. <ScalarProperty Name="CommRunDate" ColumnName="CommRunDate" />
  25802. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25803. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25804. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  25805. <ScalarProperty Name="CutOffDate" ColumnName="CutOffDate" />
  25806. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25807. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25808. <ScalarProperty Name="OID" ColumnName="OID" />
  25809. </MappingFragment>
  25810. </EntityTypeMapping>
  25811. </EntitySetMapping>
  25812. <EntitySetMapping Name="TblSalesPeriodWeekEndings">
  25813. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesPeriodWeekEnding">
  25814. <MappingFragment StoreEntitySet="TblSalesPeriodWeekEnding">
  25815. <ScalarProperty Name="TargetFactor" ColumnName="TargetFactor" />
  25816. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25817. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25818. <ScalarProperty Name="WeekEndingDate" ColumnName="WeekEndingDate" />
  25819. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  25820. <ScalarProperty Name="OID" ColumnName="OID" />
  25821. </MappingFragment>
  25822. </EntityTypeMapping>
  25823. </EntitySetMapping>
  25824. <EntitySetMapping Name="TblSalesRegisters">
  25825. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesRegister">
  25826. <MappingFragment StoreEntitySet="TblSalesRegister">
  25827. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25828. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25829. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  25830. <ScalarProperty Name="SalesPeople" ColumnName="SalesPeople" />
  25831. <ScalarProperty Name="OID" ColumnName="OID" />
  25832. </MappingFragment>
  25833. </EntityTypeMapping>
  25834. </EntitySetMapping>
  25835. <EntitySetMapping Name="TblSalesRegisterHdrs">
  25836. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesRegisterHdr">
  25837. <MappingFragment StoreEntitySet="TblSalesRegisterHdr">
  25838. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25839. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25840. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  25841. <ScalarProperty Name="WorkDate" ColumnName="WorkDate" />
  25842. <ScalarProperty Name="OID" ColumnName="OID" />
  25843. </MappingFragment>
  25844. </EntityTypeMapping>
  25845. </EntitySetMapping>
  25846. <EntitySetMapping Name="TblSalesVenues">
  25847. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenue">
  25848. <MappingFragment StoreEntitySet="TblSalesVenue">
  25849. <ScalarProperty Name="DontSendBKConfSMS" ColumnName="DontSendBKConfSMS" />
  25850. <ScalarProperty Name="Resort" ColumnName="Resort" />
  25851. <ScalarProperty Name="CanIssueOYG" ColumnName="CanIssueOYG" />
  25852. <ScalarProperty Name="ClientArrivalManager" ColumnName="ClientArrivalManager" />
  25853. <ScalarProperty Name="SalesVenueCommissionGroup" ColumnName="SalesVenueCommissionGroup" />
  25854. <ScalarProperty Name="RegionalSalesManager2" ColumnName="RegionalSalesManager2" />
  25855. <ScalarProperty Name="Session5Target" ColumnName="Session5Target" />
  25856. <ScalarProperty Name="Session4Target" ColumnName="Session4Target" />
  25857. <ScalarProperty Name="Session3Target" ColumnName="Session3Target" />
  25858. <ScalarProperty Name="Session2Target" ColumnName="Session2Target" />
  25859. <ScalarProperty Name="Session1Target" ColumnName="Session1Target" />
  25860. <ScalarProperty Name="SalesVenueGroup" ColumnName="SalesVenueGroup" />
  25861. <ScalarProperty Name="GroupCode" ColumnName="GroupCode" />
  25862. <ScalarProperty Name="Inactive" ColumnName="Inactive" />
  25863. <ScalarProperty Name="CommissionSplitGroup" ColumnName="CommissionSplitGroup" />
  25864. <ScalarProperty Name="TimeOffDescription" ColumnName="TimeOffDescription" />
  25865. <ScalarProperty Name="TimeOffBookingConfirmationDocumentPath" ColumnName="TimeOffBookingConfirmationDocumentPath" />
  25866. <ScalarProperty Name="IsAgency" ColumnName="IsAgency" />
  25867. <ScalarProperty Name="SalesVenuePrefix" ColumnName="SalesVenuePrefix" />
  25868. <ScalarProperty Name="SendConfirmationLetter" ColumnName="SendConfirmationLetter" />
  25869. <ScalarProperty Name="Company" ColumnName="Company" />
  25870. <ScalarProperty Name="CommonName" ColumnName="CommonName" />
  25871. <ScalarProperty Name="RegionalSalesManager" ColumnName="RegionalSalesManager" />
  25872. <ScalarProperty Name="SunSession1" ColumnName="SunSession1" />
  25873. <ScalarProperty Name="SundaySessions" ColumnName="SundaySessions" />
  25874. <ScalarProperty Name="Country" ColumnName="Country" />
  25875. <ScalarProperty Name="SalesRegion" ColumnName="SalesRegion" />
  25876. <ScalarProperty Name="CannotSellInsurance" ColumnName="CannotSellInsurance" />
  25877. <ScalarProperty Name="ManuallyAllocateConfirmationClerk" ColumnName="ManuallyAllocateConfirmationClerk" />
  25878. <ScalarProperty Name="SpecifyClub" ColumnName="SpecifyClub" />
  25879. <ScalarProperty Name="SalesManager" ColumnName="SalesManager" />
  25880. <ScalarProperty Name="Workdays" ColumnName="Workdays" />
  25881. <ScalarProperty Name="UnivateTarget" ColumnName="UnivateTarget" />
  25882. <ScalarProperty Name="DefaultCurrency" ColumnName="DefaultCurrency" />
  25883. <ScalarProperty Name="VisibleByFranchisee" ColumnName="VisibleByFranchisee" />
  25884. <ScalarProperty Name="Address" ColumnName="Address" />
  25885. <ScalarProperty Name="DefaultDeveloper" ColumnName="DefaultDeveloper" />
  25886. <ScalarProperty Name="StockLocation" ColumnName="StockLocation" />
  25887. <ScalarProperty Name="GpsCoOrdinates" ColumnName="GpsCoOrdinates" />
  25888. <ScalarProperty Name="FaxNumber" ColumnName="FaxNumber" />
  25889. <ScalarProperty Name="TelephoneNumber" ColumnName="TelephoneNumber" />
  25890. <ScalarProperty Name="ConfirmationEmailDocument" ColumnName="ConfirmationEmailDocument" />
  25891. <ScalarProperty Name="NoOfPeopleSession4" ColumnName="NoOfPeopleSession4" />
  25892. <ScalarProperty Name="NoOfPeopleSession3" ColumnName="NoOfPeopleSession3" />
  25893. <ScalarProperty Name="NoOfPeopleSession2" ColumnName="NoOfPeopleSession2" />
  25894. <ScalarProperty Name="NoOfPeopleSession1" ColumnName="NoOfPeopleSession1" />
  25895. <ScalarProperty Name="ContractPrefix" ColumnName="ContractPrefix" />
  25896. <ScalarProperty Name="DefaultSalesClub" ColumnName="DefaultSalesClub" />
  25897. <ScalarProperty Name="SatSession4" ColumnName="SatSession4" />
  25898. <ScalarProperty Name="SatSession3" ColumnName="SatSession3" />
  25899. <ScalarProperty Name="SatSession2" ColumnName="SatSession2" />
  25900. <ScalarProperty Name="SatSession1" ColumnName="SatSession1" />
  25901. <ScalarProperty Name="FriSession4" ColumnName="FriSession4" />
  25902. <ScalarProperty Name="FriSession3" ColumnName="FriSession3" />
  25903. <ScalarProperty Name="FriSession2" ColumnName="FriSession2" />
  25904. <ScalarProperty Name="FriSession1" ColumnName="FriSession1" />
  25905. <ScalarProperty Name="ThuSession4" ColumnName="ThuSession4" />
  25906. <ScalarProperty Name="ThuSession3" ColumnName="ThuSession3" />
  25907. <ScalarProperty Name="ThuSession2" ColumnName="ThuSession2" />
  25908. <ScalarProperty Name="ThuSession1" ColumnName="ThuSession1" />
  25909. <ScalarProperty Name="WedSession4" ColumnName="WedSession4" />
  25910. <ScalarProperty Name="WedSession3" ColumnName="WedSession3" />
  25911. <ScalarProperty Name="WedSession2" ColumnName="WedSession2" />
  25912. <ScalarProperty Name="WedSession1" ColumnName="WedSession1" />
  25913. <ScalarProperty Name="TueSession4" ColumnName="TueSession4" />
  25914. <ScalarProperty Name="TueSession3" ColumnName="TueSession3" />
  25915. <ScalarProperty Name="TueSession2" ColumnName="TueSession2" />
  25916. <ScalarProperty Name="TueSession1" ColumnName="TueSession1" />
  25917. <ScalarProperty Name="MonSession4" ColumnName="MonSession4" />
  25918. <ScalarProperty Name="MonSession3" ColumnName="MonSession3" />
  25919. <ScalarProperty Name="MonSession2" ColumnName="MonSession2" />
  25920. <ScalarProperty Name="MonSession1" ColumnName="MonSession1" />
  25921. <ScalarProperty Name="PrizeDrawDocumentPath" ColumnName="PrizeDrawDocumentPath" />
  25922. <ScalarProperty Name="MealVoucherDocumentPath" ColumnName="MealVoucherDocumentPath" />
  25923. <ScalarProperty Name="PrizeDrawActive" ColumnName="PrizeDrawActive" />
  25924. <ScalarProperty Name="LeadSheetDocumentPath" ColumnName="LeadSheetDocumentPath" />
  25925. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  25926. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25927. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25928. <ScalarProperty Name="SaturdaySessions" ColumnName="SaturdaySessions" />
  25929. <ScalarProperty Name="FridaySessions" ColumnName="FridaySessions" />
  25930. <ScalarProperty Name="ThursdaySessions" ColumnName="ThursdaySessions" />
  25931. <ScalarProperty Name="WednesdaySessions" ColumnName="WednesdaySessions" />
  25932. <ScalarProperty Name="TuesdaySessions" ColumnName="TuesdaySessions" />
  25933. <ScalarProperty Name="MondaySessions" ColumnName="MondaySessions" />
  25934. <ScalarProperty Name="ImageUrl" ColumnName="ImageUrl" />
  25935. <ScalarProperty Name="DirectionsText" ColumnName="DirectionsText" />
  25936. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  25937. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  25938. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  25939. <ScalarProperty Name="OID" ColumnName="OID" />
  25940. </MappingFragment>
  25941. </EntityTypeMapping>
  25942. </EntitySetMapping>
  25943. <EntitySetMapping Name="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  25944. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  25945. <MappingFragment StoreEntitySet="TblSalesVenueCAOverrideUsers_TblPersonnelCAOverride">
  25946. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25947. <ScalarProperty Name="OID" ColumnName="OID" />
  25948. <ScalarProperty Name="CAOverrideUsers" ColumnName="CAOverrideUsers" />
  25949. <ScalarProperty Name="CAOverride" ColumnName="CAOverride" />
  25950. </MappingFragment>
  25951. </EntityTypeMapping>
  25952. </EntitySetMapping>
  25953. <EntitySetMapping Name="TblSalesVenueClubAdjustments">
  25954. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueClubAdjustment">
  25955. <MappingFragment StoreEntitySet="TblSalesVenueClubAdjustments">
  25956. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25957. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25958. <ScalarProperty Name="IntrestAdjustment" ColumnName="IntrestAdjustment" />
  25959. <ScalarProperty Name="SalesClub" ColumnName="SalesClub" />
  25960. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  25961. <ScalarProperty Name="OID" ColumnName="OID" />
  25962. </MappingFragment>
  25963. </EntityTypeMapping>
  25964. </EntitySetMapping>
  25965. <EntitySetMapping Name="TblSalesVenueClubDevelopers">
  25966. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueClubDeveloper">
  25967. <MappingFragment StoreEntitySet="TblSalesVenueClubDevelopers">
  25968. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25969. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25970. <ScalarProperty Name="TblSalesVenue" ColumnName="TblSalesVenue" />
  25971. <ScalarProperty Name="Developer" ColumnName="Developer" />
  25972. <ScalarProperty Name="Club" ColumnName="Club" />
  25973. <ScalarProperty Name="OID" ColumnName="OID" />
  25974. </MappingFragment>
  25975. </EntityTypeMapping>
  25976. </EntitySetMapping>
  25977. <EntitySetMapping Name="TblSalesVenueCommissionGroups">
  25978. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueCommissionGroup">
  25979. <MappingFragment StoreEntitySet="TblSalesVenueCommissionGroup">
  25980. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25981. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25982. <ScalarProperty Name="Name" ColumnName="Name" />
  25983. <ScalarProperty Name="Oid" ColumnName="Oid" />
  25984. </MappingFragment>
  25985. </EntityTypeMapping>
  25986. </EntitySetMapping>
  25987. <EntitySetMapping Name="TblSalesVenueCommissionsSplits">
  25988. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueCommissionsSplit">
  25989. <MappingFragment StoreEntitySet="TblSalesVenueCommissionsSplit">
  25990. <ScalarProperty Name="InstallmentPerc" ColumnName="InstallmentPerc" />
  25991. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  25992. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  25993. <ScalarProperty Name="DepositOnContract" ColumnName="DepositOnContract" />
  25994. <ScalarProperty Name="IncludeInterest" ColumnName="IncludeInterest" />
  25995. <ScalarProperty Name="DepositPerc" ColumnName="DepositPerc" />
  25996. <ScalarProperty Name="CommissionPerc" ColumnName="CommissionPerc" />
  25997. <ScalarProperty Name="PointSellPrice" ColumnName="PointSellPrice" />
  25998. <ScalarProperty Name="PointBuyPrice" ColumnName="PointBuyPrice" />
  25999. <ScalarProperty Name="Description" ColumnName="Description" />
  26000. <ScalarProperty Name="SalesAgency" ColumnName="SalesAgency" />
  26001. <ScalarProperty Name="OID" ColumnName="OID" />
  26002. </MappingFragment>
  26003. </EntityTypeMapping>
  26004. </EntitySetMapping>
  26005. <EntitySetMapping Name="TblSalesVenueCommissionsSplitCommissionTypes">
  26006. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueCommissionsSplitCommissionType">
  26007. <MappingFragment StoreEntitySet="TblSalesVenueCommissionsSplitCommissionType">
  26008. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26009. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26010. <ScalarProperty Name="Description" ColumnName="Description" />
  26011. <ScalarProperty Name="OID" ColumnName="OID" />
  26012. </MappingFragment>
  26013. </EntityTypeMapping>
  26014. </EntitySetMapping>
  26015. <EntitySetMapping Name="TblSalesVenueComSplitLines">
  26016. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueComSplitLine">
  26017. <MappingFragment StoreEntitySet="TblSalesVenueComSplitLines">
  26018. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26019. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26020. <ScalarProperty Name="SubTypePercentage" ColumnName="SubTypePercentage" />
  26021. <ScalarProperty Name="SubType" ColumnName="SubType" />
  26022. <ScalarProperty Name="Category" ColumnName="Category" />
  26023. <ScalarProperty Name="CommissionSplit" ColumnName="CommissionSplit" />
  26024. <ScalarProperty Name="OID" ColumnName="OID" />
  26025. </MappingFragment>
  26026. </EntityTypeMapping>
  26027. </EntitySetMapping>
  26028. <EntitySetMapping Name="TblSalesVenueGroups">
  26029. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueGroup">
  26030. <MappingFragment StoreEntitySet="TblSalesVenueGroup">
  26031. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26032. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26033. <ScalarProperty Name="GroupName" ColumnName="GroupName" />
  26034. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26035. </MappingFragment>
  26036. </EntityTypeMapping>
  26037. </EntitySetMapping>
  26038. <EntitySetMapping Name="TblSalesVenueImportSources">
  26039. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueImportSource">
  26040. <MappingFragment StoreEntitySet="TblSalesVenueImportSource">
  26041. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26042. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26043. <ScalarProperty Name="ExcludeThis" ColumnName="ExcludeThis" />
  26044. <ScalarProperty Name="ImportSource" ColumnName="ImportSource" />
  26045. <ScalarProperty Name="TblSalesVenue" ColumnName="TblSalesVenue" />
  26046. <ScalarProperty Name="OID" ColumnName="OID" />
  26047. </MappingFragment>
  26048. </EntityTypeMapping>
  26049. </EntitySetMapping>
  26050. <EntitySetMapping Name="TblSalesVenuePersonnels">
  26051. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenuePersonnel">
  26052. <MappingFragment StoreEntitySet="TblSalesVenuePersonnel">
  26053. <ScalarProperty Name="ShowsTarget" ColumnName="ShowsTarget" />
  26054. <ScalarProperty Name="BookingTarget" ColumnName="BookingTarget" />
  26055. <ScalarProperty Name="CallsMinSeconds" ColumnName="CallsMinSeconds" />
  26056. <ScalarProperty Name="CallsPerHourTarget" ColumnName="CallsPerHourTarget" />
  26057. <ScalarProperty Name="PodManager" ColumnName="PodManager" />
  26058. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26059. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26060. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  26061. <ScalarProperty Name="TblSalesVenue" ColumnName="TblSalesVenue" />
  26062. <ScalarProperty Name="OID" ColumnName="OID" />
  26063. </MappingFragment>
  26064. </EntityTypeMapping>
  26065. </EntitySetMapping>
  26066. <EntitySetMapping Name="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  26067. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  26068. <MappingFragment StoreEntitySet="TblSalesVenuePitchedLeadsReportVenue_TblPersonnelPitchedLeadsReportRecipients">
  26069. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26070. <ScalarProperty Name="OID" ColumnName="OID" />
  26071. <ScalarProperty Name="PitchedLeadsReportVenue" ColumnName="PitchedLeadsReportVenue" />
  26072. <ScalarProperty Name="PitchedLeadsReportRecipients" ColumnName="PitchedLeadsReportRecipients" />
  26073. </MappingFragment>
  26074. </EntityTypeMapping>
  26075. </EntitySetMapping>
  26076. <EntitySetMapping Name="TblSalesVenueRegFees">
  26077. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueRegFee">
  26078. <MappingFragment StoreEntitySet="TblSalesVenueRegFee">
  26079. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26080. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26081. <ScalarProperty Name="Registrationfee" ColumnName="Registrationfee" />
  26082. <ScalarProperty Name="TblSalesVenue" ColumnName="TblSalesVenue" />
  26083. <ScalarProperty Name="ContractType" ColumnName="ContractType" />
  26084. <ScalarProperty Name="Club" ColumnName="Club" />
  26085. <ScalarProperty Name="OID" ColumnName="OID" />
  26086. </MappingFragment>
  26087. </EntityTypeMapping>
  26088. </EntitySetMapping>
  26089. <EntitySetMapping Name="TblSalesVenueRegions">
  26090. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueRegion">
  26091. <MappingFragment StoreEntitySet="TblSalesVenueRegion">
  26092. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26093. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26094. <ScalarProperty Name="TblSalesVenue" ColumnName="TblSalesVenue" />
  26095. <ScalarProperty Name="Region" ColumnName="Region" />
  26096. <ScalarProperty Name="OID" ColumnName="OID" />
  26097. </MappingFragment>
  26098. </EntityTypeMapping>
  26099. </EntitySetMapping>
  26100. <EntitySetMapping Name="TblSalesVenueRegisters">
  26101. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueRegister">
  26102. <MappingFragment StoreEntitySet="TblSalesVenueRegister">
  26103. <ScalarProperty Name="Remarks" ColumnName="Remarks" />
  26104. <ScalarProperty Name="Time" ColumnName="Time" />
  26105. <ScalarProperty Name="AtWork" ColumnName="AtWork" />
  26106. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26107. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26108. <ScalarProperty Name="SalesConsultants" ColumnName="SalesConsultants" />
  26109. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  26110. <ScalarProperty Name="OID" ColumnName="OID" />
  26111. </MappingFragment>
  26112. </EntityTypeMapping>
  26113. </EntitySetMapping>
  26114. <EntitySetMapping Name="TblSalesVenueRegisterHdrs">
  26115. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueRegisterHdr">
  26116. <MappingFragment StoreEntitySet="TblSalesVenueRegisterHdr">
  26117. <ScalarProperty Name="EmailSent" ColumnName="EmailSent" />
  26118. <ScalarProperty Name="TimeChecked" ColumnName="TimeChecked" />
  26119. <ScalarProperty Name="NotAtWork" ColumnName="NotAtWork" />
  26120. <ScalarProperty Name="AtWork" ColumnName="AtWork" />
  26121. <ScalarProperty Name="RegionalManager" ColumnName="RegionalManager" />
  26122. <ScalarProperty Name="SalesTeamManager" ColumnName="SalesTeamManager" />
  26123. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26124. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26125. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26126. <ScalarProperty Name="WorkDate" ColumnName="WorkDate" />
  26127. <ScalarProperty Name="OID" ColumnName="OID" />
  26128. </MappingFragment>
  26129. </EntityTypeMapping>
  26130. </EntitySetMapping>
  26131. <EntitySetMapping Name="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  26132. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  26133. <MappingFragment StoreEntitySet="TblSalesVenueSalesVenues_TblPromotionCommissionStructurePromotionCommissionStructures">
  26134. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26135. <ScalarProperty Name="OID" ColumnName="OID" />
  26136. <ScalarProperty Name="SalesVenues" ColumnName="SalesVenues" />
  26137. <ScalarProperty Name="PromotionCommissionStructures" ColumnName="PromotionCommissionStructures" />
  26138. </MappingFragment>
  26139. </EntityTypeMapping>
  26140. </EntitySetMapping>
  26141. <EntitySetMapping Name="TblSalesVenueTelemarketerOffices">
  26142. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueTelemarketerOffice">
  26143. <MappingFragment StoreEntitySet="TblSalesVenueTelemarketerOffice">
  26144. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26145. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26146. <ScalarProperty Name="ConfirmationEmailDocument" ColumnName="ConfirmationEmailDocument" />
  26147. <ScalarProperty Name="TelemarketerOffice" ColumnName="TelemarketerOffice" />
  26148. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26149. <ScalarProperty Name="OID" ColumnName="OID" />
  26150. </MappingFragment>
  26151. </EntityTypeMapping>
  26152. </EntitySetMapping>
  26153. <EntitySetMapping Name="TblSalesVenueTelemarketerOffice_bak">
  26154. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueTelemarketerOffice_bak">
  26155. <MappingFragment StoreEntitySet="TblSalesVenueTelemarketerOffice-bak">
  26156. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26157. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26158. <ScalarProperty Name="ConfirmationEmailDocument" ColumnName="ConfirmationEmailDocument" />
  26159. <ScalarProperty Name="TelemarketerOffice" ColumnName="TelemarketerOffice" />
  26160. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26161. <ScalarProperty Name="OID" ColumnName="OID" />
  26162. </MappingFragment>
  26163. </EntityTypeMapping>
  26164. </EntitySetMapping>
  26165. <EntitySetMapping Name="TblSalesVenueWeeklyTargetSplits">
  26166. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSalesVenueWeeklyTargetSplit">
  26167. <MappingFragment StoreEntitySet="TblSalesVenueWeeklyTargetSplit">
  26168. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26169. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26170. <ScalarProperty Name="UnivateTarget" ColumnName="UnivateTarget" />
  26171. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  26172. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  26173. <ScalarProperty Name="WeekNumber" ColumnName="WeekNumber" />
  26174. <ScalarProperty Name="Year" ColumnName="Year" />
  26175. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26176. <ScalarProperty Name="OID" ColumnName="OID" />
  26177. </MappingFragment>
  26178. </EntityTypeMapping>
  26179. </EntitySetMapping>
  26180. <EntitySetMapping Name="TblSCV2CommissionContract">
  26181. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2CommissionContract">
  26182. <MappingFragment StoreEntitySet="TblSCV2CommissionContract">
  26183. <ScalarProperty Name="ReducedAmount" ColumnName="ReducedAmount" />
  26184. <ScalarProperty Name="Rotation" ColumnName="Rotation" />
  26185. <ScalarProperty Name="ResaleContract" ColumnName="ResaleContract" />
  26186. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26187. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26188. <ScalarProperty Name="QualifyForBonus" ColumnName="QualifyForBonus" />
  26189. <ScalarProperty Name="BusinessFutureValue" ColumnName="BusinessFutureValue" />
  26190. <ScalarProperty Name="EquityTargetPercentage" ColumnName="EquityTargetPercentage" />
  26191. <ScalarProperty Name="EquityPayoutPercentage" ColumnName="EquityPayoutPercentage" />
  26192. <ScalarProperty Name="DSDealPayoutPercentage" ColumnName="DSDealPayoutPercentage" />
  26193. <ScalarProperty Name="NoOfDrips" ColumnName="NoOfDrips" />
  26194. <ScalarProperty Name="DripStartsOnInstalment" ColumnName="DripStartsOnInstalment" />
  26195. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  26196. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  26197. <ScalarProperty Name="Factor" ColumnName="Factor" />
  26198. <ScalarProperty Name="BCInstalment" ColumnName="BCInstalment" />
  26199. <ScalarProperty Name="IsEquityDeal" ColumnName="IsEquityDeal" />
  26200. <ScalarProperty Name="StopPayout" ColumnName="StopPayout" />
  26201. <ScalarProperty Name="CommissionWeek" ColumnName="CommissionWeek" />
  26202. <ScalarProperty Name="SalesPersonType" ColumnName="SalesPersonType" />
  26203. <ScalarProperty Name="SalesPerson" ColumnName="SalesPerson" />
  26204. <ScalarProperty Name="DripPaid" ColumnName="DripPaid" />
  26205. <ScalarProperty Name="UpfrontPaid" ColumnName="UpfrontPaid" />
  26206. <ScalarProperty Name="DripCommission" ColumnName="DripCommission" />
  26207. <ScalarProperty Name="UpfrontCommission" ColumnName="UpfrontCommission" />
  26208. <ScalarProperty Name="NewLeadCommissionPaid" ColumnName="NewLeadCommissionPaid" />
  26209. <ScalarProperty Name="NewLeadCommission" ColumnName="NewLeadCommission" />
  26210. <ScalarProperty Name="HousesitCommissionPaid" ColumnName="HousesitCommissionPaid" />
  26211. <ScalarProperty Name="HousesitCommission" ColumnName="HousesitCommission" />
  26212. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  26213. <ScalarProperty Name="Contract" ColumnName="Contract" />
  26214. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26215. </MappingFragment>
  26216. </EntityTypeMapping>
  26217. </EntitySetMapping>
  26218. <EntitySetMapping Name="TblSCV2CommissionPeriod">
  26219. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2CommissionPeriod">
  26220. <MappingFragment StoreEntitySet="TblSCV2CommissionPeriod">
  26221. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26222. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26223. <ScalarProperty Name="ReadyForSignOff" ColumnName="ReadyForSignOff" />
  26224. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26225. <ScalarProperty Name="PayDate" ColumnName="PayDate" />
  26226. <ScalarProperty Name="DotCutOff" ColumnName="DotCutOff" />
  26227. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  26228. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  26229. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26230. </MappingFragment>
  26231. </EntityTypeMapping>
  26232. </EntitySetMapping>
  26233. <EntitySetMapping Name="TblSCV2CommissionStructure">
  26234. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2CommissionStructure">
  26235. <MappingFragment StoreEntitySet="TblSCV2CommissionStructure">
  26236. <ScalarProperty Name="RegionalSalesManagerType" ColumnName="RegionalSalesManagerType" />
  26237. <ScalarProperty Name="NonLPAPercentage" ColumnName="NonLPAPercentage" />
  26238. <ScalarProperty Name="DSDealPercentage" ColumnName="DSDealPercentage" />
  26239. <ScalarProperty Name="IsRegional" ColumnName="IsRegional" />
  26240. <ScalarProperty Name="NoOfDSDrips" ColumnName="NoOfDSDrips" />
  26241. <ScalarProperty Name="DSDealDripStartOnInstalment" ColumnName="DSDealDripStartOnInstalment" />
  26242. <ScalarProperty Name="DSDealPayoutPercentage" ColumnName="DSDealPayoutPercentage" />
  26243. <ScalarProperty Name="DripStartsOnInstalment" ColumnName="DripStartsOnInstalment" />
  26244. <ScalarProperty Name="NoOfDrips" ColumnName="NoOfDrips" />
  26245. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  26246. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  26247. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26248. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26249. <ScalarProperty Name="NoOfDealsForBonus" ColumnName="NoOfDealsForBonus" />
  26250. <ScalarProperty Name="BonusPercentage" ColumnName="BonusPercentage" />
  26251. <ScalarProperty Name="Name" ColumnName="Name" />
  26252. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26253. </MappingFragment>
  26254. </EntityTypeMapping>
  26255. </EntitySetMapping>
  26256. <EntitySetMapping Name="TblSCV2CommissionWeek">
  26257. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2CommissionWeek">
  26258. <MappingFragment StoreEntitySet="TblSCV2CommissionWeek">
  26259. <ScalarProperty Name="WeekNumber" ColumnName="WeekNumber" />
  26260. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26261. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26262. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26263. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  26264. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  26265. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26266. </MappingFragment>
  26267. </EntityTypeMapping>
  26268. </EntitySetMapping>
  26269. <EntitySetMapping Name="TblSCV2ErrorLog">
  26270. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2ErrorLog">
  26271. <MappingFragment StoreEntitySet="TblSCV2ErrorLog">
  26272. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26273. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26274. <ScalarProperty Name="Description" ColumnName="Description" />
  26275. <ScalarProperty Name="Date" ColumnName="Date" />
  26276. <ScalarProperty Name="SalesPersonType" ColumnName="SalesPersonType" />
  26277. <ScalarProperty Name="Contract" ColumnName="Contract" />
  26278. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26279. </MappingFragment>
  26280. </EntityTypeMapping>
  26281. </EntitySetMapping>
  26282. <EntitySetMapping Name="TblSCV2RegionalManagerContractTypeOverride">
  26283. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2RegionalManagerContractTypeOverride">
  26284. <MappingFragment StoreEntitySet="TblSCV2RegionalManagerContractTypeOverride">
  26285. <ScalarProperty Name="SpecialStructure" ColumnName="SpecialStructure" />
  26286. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26287. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26288. <ScalarProperty Name="CommissionStructure" ColumnName="CommissionStructure" />
  26289. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  26290. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  26291. <ScalarProperty Name="ContractType" ColumnName="ContractType" />
  26292. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26293. </MappingFragment>
  26294. </EntityTypeMapping>
  26295. </EntitySetMapping>
  26296. <EntitySetMapping Name="TblSCV2SalesVenueScale">
  26297. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2SalesVenueScale">
  26298. <MappingFragment StoreEntitySet="TblSCV2SalesVenueScale">
  26299. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26300. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26301. <ScalarProperty Name="RegionalSalesManagerType" ColumnName="RegionalSalesManagerType" />
  26302. <ScalarProperty Name="Percentage" ColumnName="Percentage" />
  26303. <ScalarProperty Name="To" ColumnName="To" />
  26304. <ScalarProperty Name="From" ColumnName="From" />
  26305. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26306. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26307. </MappingFragment>
  26308. </EntityTypeMapping>
  26309. </EntitySetMapping>
  26310. <EntitySetMapping Name="TblSCV2Scales">
  26311. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2Scales">
  26312. <MappingFragment StoreEntitySet="TblSCV2Scales">
  26313. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26314. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26315. <ScalarProperty Name="CommissionStructure" ColumnName="CommissionStructure" />
  26316. <ScalarProperty Name="NoOfDrips" ColumnName="NoOfDrips" />
  26317. <ScalarProperty Name="DripsStartsOnInstalment" ColumnName="DripsStartsOnInstalment" />
  26318. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  26319. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  26320. <ScalarProperty Name="HousesitAmount" ColumnName="HousesitAmount" />
  26321. <ScalarProperty Name="NewLeadAmount" ColumnName="NewLeadAmount" />
  26322. <ScalarProperty Name="DSDealPercentagePayout" ColumnName="DSDealPercentagePayout" />
  26323. <ScalarProperty Name="IsDSDeal" ColumnName="IsDSDeal" />
  26324. <ScalarProperty Name="ContractType" ColumnName="ContractType" />
  26325. <ScalarProperty Name="Factor" ColumnName="Factor" />
  26326. <ScalarProperty Name="PaidUpPercentage" ColumnName="PaidUpPercentage" />
  26327. <ScalarProperty Name="Percentage" ColumnName="Percentage" />
  26328. <ScalarProperty Name="To" ColumnName="To" />
  26329. <ScalarProperty Name="From" ColumnName="From" />
  26330. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26331. </MappingFragment>
  26332. </EntityTypeMapping>
  26333. </EntitySetMapping>
  26334. <EntitySetMapping Name="TblSCV2SpecialScales">
  26335. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2SpecialScales">
  26336. <MappingFragment StoreEntitySet="TblSCV2SpecialScales">
  26337. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26338. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26339. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  26340. <ScalarProperty Name="MonthlyBusinessCredit" ColumnName="MonthlyBusinessCredit" />
  26341. <ScalarProperty Name="Structure" ColumnName="Structure" />
  26342. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26343. </MappingFragment>
  26344. </EntityTypeMapping>
  26345. </EntitySetMapping>
  26346. <EntitySetMapping Name="TblSCV2SpecialStructure">
  26347. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2SpecialStructure">
  26348. <MappingFragment StoreEntitySet="TblSCV2SpecialStructure">
  26349. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26350. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26351. <ScalarProperty Name="DSDealDripStartsOnInstalment" ColumnName="DSDealDripStartsOnInstalment" />
  26352. <ScalarProperty Name="NumberOfDrips" ColumnName="NumberOfDrips" />
  26353. <ScalarProperty Name="DripStartOnInstalment" ColumnName="DripStartOnInstalment" />
  26354. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  26355. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  26356. <ScalarProperty Name="DLDealPayoutPercentage" ColumnName="DLDealPayoutPercentage" />
  26357. <ScalarProperty Name="DLDealCommissionPercentage" ColumnName="DLDealCommissionPercentage" />
  26358. <ScalarProperty Name="SalesCommissionGroup" ColumnName="SalesCommissionGroup" />
  26359. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  26360. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26361. </MappingFragment>
  26362. </EntityTypeMapping>
  26363. </EntitySetMapping>
  26364. <EntitySetMapping Name="TblSCV2Transaction">
  26365. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSCV2Transaction">
  26366. <MappingFragment StoreEntitySet="TblSCV2Transaction">
  26367. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26368. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26369. <ScalarProperty Name="Paid" ColumnName="Paid" />
  26370. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26371. <ScalarProperty Name="TransactionDate" ColumnName="TransactionDate" />
  26372. <ScalarProperty Name="SignOffBy" ColumnName="SignOffBy" />
  26373. <ScalarProperty Name="SignOffDate" ColumnName="SignOffDate" />
  26374. <ScalarProperty Name="HousesitCommission" ColumnName="HousesitCommission" />
  26375. <ScalarProperty Name="NewLeadCommission" ColumnName="NewLeadCommission" />
  26376. <ScalarProperty Name="DripCommission" ColumnName="DripCommission" />
  26377. <ScalarProperty Name="UpfrontCommission" ColumnName="UpfrontCommission" />
  26378. <ScalarProperty Name="CommissionContract" ColumnName="CommissionContract" />
  26379. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26380. </MappingFragment>
  26381. </EntityTypeMapping>
  26382. </EntitySetMapping>
  26383. <EntitySetMapping Name="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  26384. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  26385. <MappingFragment StoreEntitySet="TblSeasonSeasons_TblPromotionCommissionStructurePromotionCommissionStructure">
  26386. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26387. <ScalarProperty Name="OID" ColumnName="OID" />
  26388. <ScalarProperty Name="Seasons" ColumnName="Seasons" />
  26389. <ScalarProperty Name="PromotionCommissionStructure" ColumnName="PromotionCommissionStructure" />
  26390. </MappingFragment>
  26391. </EntityTypeMapping>
  26392. </EntitySetMapping>
  26393. <EntitySetMapping Name="TblSeasonsRankings">
  26394. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSeasonsRanking">
  26395. <MappingFragment StoreEntitySet="TblSeasonsRankings">
  26396. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26397. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26398. <ScalarProperty Name="Ranking" ColumnName="Ranking" />
  26399. <ScalarProperty Name="Season" ColumnName="Season" />
  26400. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  26401. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26402. <ScalarProperty Name="Rankings" ColumnName="Rankings" />
  26403. <ScalarProperty Name="OID" ColumnName="OID" />
  26404. </MappingFragment>
  26405. </EntityTypeMapping>
  26406. </EntitySetMapping>
  26407. <EntitySetMapping Name="TblSessionOverrides">
  26408. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSessionOverride">
  26409. <MappingFragment StoreEntitySet="TblSessionOverride">
  26410. <ScalarProperty Name="ShowDateTo" ColumnName="ShowDateTo" />
  26411. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26412. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26413. <ScalarProperty Name="Session4" ColumnName="Session4" />
  26414. <ScalarProperty Name="Session3" ColumnName="Session3" />
  26415. <ScalarProperty Name="Session2" ColumnName="Session2" />
  26416. <ScalarProperty Name="Session1" ColumnName="Session1" />
  26417. <ScalarProperty Name="NumberOfSessions" ColumnName="NumberOfSessions" />
  26418. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  26419. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26420. <ScalarProperty Name="Reason" ColumnName="Reason" />
  26421. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26422. <ScalarProperty Name="ShowDate" ColumnName="ShowDate" />
  26423. <ScalarProperty Name="OID" ColumnName="OID" />
  26424. </MappingFragment>
  26425. </EntityTypeMapping>
  26426. </EntitySetMapping>
  26427. <EntitySetMapping Name="TblSleeperRankings">
  26428. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSleeperRanking">
  26429. <MappingFragment StoreEntitySet="TblSleeperRankings">
  26430. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26431. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26432. <ScalarProperty Name="Ranking" ColumnName="Ranking" />
  26433. <ScalarProperty Name="Sleeper" ColumnName="Sleeper" />
  26434. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  26435. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26436. <ScalarProperty Name="Rankings" ColumnName="Rankings" />
  26437. <ScalarProperty Name="OID" ColumnName="OID" />
  26438. </MappingFragment>
  26439. </EntityTypeMapping>
  26440. </EntitySetMapping>
  26441. <EntitySetMapping Name="TblSMICommissionContracts">
  26442. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMICommissionContract">
  26443. <MappingFragment StoreEntitySet="TblSMICommissionContract">
  26444. <ScalarProperty Name="StopPayout" ColumnName="StopPayout" />
  26445. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26446. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26447. <ScalarProperty Name="DripStartsOnInstallment" ColumnName="DripStartsOnInstallment" />
  26448. <ScalarProperty Name="NoOfDrips" ColumnName="NoOfDrips" />
  26449. <ScalarProperty Name="SalesWeek" ColumnName="SalesWeek" />
  26450. <ScalarProperty Name="DripPaid" ColumnName="DripPaid" />
  26451. <ScalarProperty Name="UpfrontPaid" ColumnName="UpfrontPaid" />
  26452. <ScalarProperty Name="DripCommission" ColumnName="DripCommission" />
  26453. <ScalarProperty Name="UpfrontCommission" ColumnName="UpfrontCommission" />
  26454. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  26455. <ScalarProperty Name="Contract" ColumnName="Contract" />
  26456. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26457. </MappingFragment>
  26458. </EntityTypeMapping>
  26459. </EntitySetMapping>
  26460. <EntitySetMapping Name="TblSMICommissionInfoes">
  26461. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMICommissionInfo">
  26462. <MappingFragment StoreEntitySet="TblSMICommissionInfo">
  26463. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26464. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26465. <ScalarProperty Name="SalesPerson" ColumnName="SalesPerson" />
  26466. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26467. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26468. </MappingFragment>
  26469. </EntityTypeMapping>
  26470. </EntitySetMapping>
  26471. <EntitySetMapping Name="TblSMICommissionPeriods">
  26472. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMICommissionPeriod">
  26473. <MappingFragment StoreEntitySet="TblSMICommissionPeriod">
  26474. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26475. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26476. <ScalarProperty Name="ReadyForSignOff" ColumnName="ReadyForSignOff" />
  26477. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26478. <ScalarProperty Name="PayDate" ColumnName="PayDate" />
  26479. <ScalarProperty Name="DotCutOff" ColumnName="DotCutOff" />
  26480. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  26481. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  26482. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26483. </MappingFragment>
  26484. </EntityTypeMapping>
  26485. </EntitySetMapping>
  26486. <EntitySetMapping Name="TblSMICommissionWeeks">
  26487. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMICommissionWeek">
  26488. <MappingFragment StoreEntitySet="TblSMICommissionWeek">
  26489. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26490. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26491. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26492. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  26493. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  26494. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26495. </MappingFragment>
  26496. </EntityTypeMapping>
  26497. </EntitySetMapping>
  26498. <EntitySetMapping Name="TblSMIIncentives">
  26499. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMIIncentive">
  26500. <MappingFragment StoreEntitySet="TblSMIIncentive">
  26501. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26502. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26503. <ScalarProperty Name="DripStartsOnInstallment" ColumnName="DripStartsOnInstallment" />
  26504. <ScalarProperty Name="NumberOfDrips" ColumnName="NumberOfDrips" />
  26505. <ScalarProperty Name="DripPayout" ColumnName="DripPayout" />
  26506. <ScalarProperty Name="UpfrontPayout" ColumnName="UpfrontPayout" />
  26507. <ScalarProperty Name="SalesPersonType" ColumnName="SalesPersonType" />
  26508. <ScalarProperty Name="IncludePromotions" ColumnName="IncludePromotions" />
  26509. <ScalarProperty Name="NewBusinessPercentage" ColumnName="NewBusinessPercentage" />
  26510. <ScalarProperty Name="Description" ColumnName="Description" />
  26511. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26512. </MappingFragment>
  26513. </EntityTypeMapping>
  26514. </EntitySetMapping>
  26515. <EntitySetMapping Name="TblSMIIncentiveLevels">
  26516. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMIIncentiveLevel">
  26517. <MappingFragment StoreEntitySet="TblSMIIncentiveLevel">
  26518. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26519. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26520. <ScalarProperty Name="Incentive" ColumnName="Incentive" />
  26521. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  26522. <ScalarProperty Name="WeeklyBusinessCreditTarget" ColumnName="WeeklyBusinessCreditTarget" />
  26523. <ScalarProperty Name="Level" ColumnName="Level" />
  26524. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26525. </MappingFragment>
  26526. </EntityTypeMapping>
  26527. </EntitySetMapping>
  26528. <EntitySetMapping Name="TblSMISalesPersonWeeks">
  26529. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMISalesPersonWeek">
  26530. <MappingFragment StoreEntitySet="TblSMISalesPersonWeek">
  26531. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26532. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26533. <ScalarProperty Name="Comments" ColumnName="Comments" />
  26534. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  26535. <ScalarProperty Name="Turnover" ColumnName="Turnover" />
  26536. <ScalarProperty Name="NewBusinessPercentage" ColumnName="NewBusinessPercentage" />
  26537. <ScalarProperty Name="TargetMade" ColumnName="TargetMade" />
  26538. <ScalarProperty Name="CommissionInfo" ColumnName="CommissionInfo" />
  26539. <ScalarProperty Name="CommissionWeek" ColumnName="CommissionWeek" />
  26540. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26541. </MappingFragment>
  26542. </EntityTypeMapping>
  26543. </EntitySetMapping>
  26544. <EntitySetMapping Name="TblSMITransactions">
  26545. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMITransaction">
  26546. <MappingFragment StoreEntitySet="TblSMITransaction">
  26547. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26548. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26549. <ScalarProperty Name="SignOffBy" ColumnName="SignOffBy" />
  26550. <ScalarProperty Name="SignOffDate" ColumnName="SignOffDate" />
  26551. <ScalarProperty Name="Paid" ColumnName="Paid" />
  26552. <ScalarProperty Name="DripCommissionDue" ColumnName="DripCommissionDue" />
  26553. <ScalarProperty Name="UpfrontCommissionDue" ColumnName="UpfrontCommissionDue" />
  26554. <ScalarProperty Name="CommissionPeriod" ColumnName="CommissionPeriod" />
  26555. <ScalarProperty Name="TransactionDate" ColumnName="TransactionDate" />
  26556. <ScalarProperty Name="CommissionContract" ColumnName="CommissionContract" />
  26557. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26558. </MappingFragment>
  26559. </EntityTypeMapping>
  26560. </EntitySetMapping>
  26561. <EntitySetMapping Name="TblSMSCampaignMessages">
  26562. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMSCampaignMessage">
  26563. <MappingFragment StoreEntitySet="TblSMSCampaignMessages">
  26564. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26565. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26566. <ScalarProperty Name="IsSpouse" ColumnName="IsSpouse" />
  26567. <ScalarProperty Name="Guest" ColumnName="Guest" />
  26568. <ScalarProperty Name="Sent" ColumnName="Sent" />
  26569. <ScalarProperty Name="ActionDate" ColumnName="ActionDate" />
  26570. <ScalarProperty Name="MemberNumber" ColumnName="MemberNumber" />
  26571. <ScalarProperty Name="SMSResult" ColumnName="SMSResult" />
  26572. <ScalarProperty Name="CellPhoneNumber" ColumnName="CellPhoneNumber" />
  26573. <ScalarProperty Name="SMSType" ColumnName="SMSType" />
  26574. <ScalarProperty Name="Contract" ColumnName="Contract" />
  26575. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  26576. <ScalarProperty Name="Message" ColumnName="Message" />
  26577. <ScalarProperty Name="DateSent" ColumnName="DateSent" />
  26578. <ScalarProperty Name="OID" ColumnName="OID" />
  26579. </MappingFragment>
  26580. </EntityTypeMapping>
  26581. </EntitySetMapping>
  26582. <EntitySetMapping Name="TblSMSCampaignTemplates">
  26583. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSMSCampaignTemplate">
  26584. <MappingFragment StoreEntitySet="TblSMSCampaignTemplate">
  26585. <ScalarProperty Name="DoNotSendSMS" ColumnName="DoNotSendSMS" />
  26586. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26587. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26588. <ScalarProperty Name="Message" ColumnName="Message" />
  26589. <ScalarProperty Name="Type" ColumnName="Type" />
  26590. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26591. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  26592. <ScalarProperty Name="OID" ColumnName="OID" />
  26593. </MappingFragment>
  26594. </EntityTypeMapping>
  26595. </EntitySetMapping>
  26596. <EntitySetMapping Name="TblStreamlines">
  26597. <EntityTypeMapping TypeName="ProvisionStagingModel.TblStreamline">
  26598. <MappingFragment StoreEntitySet="TblStreamline">
  26599. <ScalarProperty Name="DateOfSale" ColumnName="DateOfSale" />
  26600. <ScalarProperty Name="SalesAgent" ColumnName="SalesAgent" />
  26601. <ScalarProperty Name="PrevOutstandingDebtor" ColumnName="PrevOutstandingDebtor" />
  26602. <ScalarProperty Name="PreviousDateOfSale" ColumnName="PreviousDateOfSale" />
  26603. <ScalarProperty Name="PointsPurchased" ColumnName="PointsPurchased" />
  26604. <ScalarProperty Name="AmendedBalanceDueDate" ColumnName="AmendedBalanceDueDate" />
  26605. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26606. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26607. <ScalarProperty Name="GeneratedFile" ColumnName="GeneratedFile" />
  26608. <ScalarProperty Name="ManagementFee" ColumnName="ManagementFee" />
  26609. <ScalarProperty Name="NoMonths" ColumnName="NoMonths" />
  26610. <ScalarProperty Name="CommencementDate" ColumnName="CommencementDate" />
  26611. <ScalarProperty Name="Deposit" ColumnName="Deposit" />
  26612. <ScalarProperty Name="InstalmentFee" ColumnName="InstalmentFee" />
  26613. <ScalarProperty Name="PrevContract" ColumnName="PrevContract" />
  26614. <ScalarProperty Name="SpouseIdNumber" ColumnName="SpouseIdNumber" />
  26615. <ScalarProperty Name="SpouseSurname" ColumnName="SpouseSurname" />
  26616. <ScalarProperty Name="SpouseFirstName" ColumnName="SpouseFirstName" />
  26617. <ScalarProperty Name="SpouseTitle" ColumnName="SpouseTitle" />
  26618. <ScalarProperty Name="MarriedType" ColumnName="MarriedType" />
  26619. <ScalarProperty Name="JointPurchase" ColumnName="JointPurchase" />
  26620. <ScalarProperty Name="IdNumber" ColumnName="IdNumber" />
  26621. <ScalarProperty Name="Surname" ColumnName="Surname" />
  26622. <ScalarProperty Name="FirstName" ColumnName="FirstName" />
  26623. <ScalarProperty Name="Title" ColumnName="Title" />
  26624. <ScalarProperty Name="Developer" ColumnName="Developer" />
  26625. <ScalarProperty Name="Club" ColumnName="Club" />
  26626. <ScalarProperty Name="SignedDate" ColumnName="SignedDate" />
  26627. <ScalarProperty Name="SignedAt" ColumnName="SignedAt" />
  26628. <ScalarProperty Name="CellPhoneAlt" ColumnName="CellPhoneAlt" />
  26629. <ScalarProperty Name="CellPhone" ColumnName="CellPhone" />
  26630. <ScalarProperty Name="WorkPhone" ColumnName="WorkPhone" />
  26631. <ScalarProperty Name="HomePhone" ColumnName="HomePhone" />
  26632. <ScalarProperty Name="MonthlyManFeeInstalmentCommDate" ColumnName="MonthlyManFeeInstalmentCommDate" />
  26633. <ScalarProperty Name="MonthlyInstalmentCommDate" ColumnName="MonthlyInstalmentCommDate" />
  26634. <ScalarProperty Name="OccupationYear" ColumnName="OccupationYear" />
  26635. <ScalarProperty Name="NoMonthsFromComm" ColumnName="NoMonthsFromComm" />
  26636. <ScalarProperty Name="RegistrationFeePayable" ColumnName="RegistrationFeePayable" />
  26637. <ScalarProperty Name="MonthlyACB" ColumnName="MonthlyACB" />
  26638. <ScalarProperty Name="CurrentMonthlyManagement" ColumnName="CurrentMonthlyManagement" />
  26639. <ScalarProperty Name="CurrentAnnualMangement" ColumnName="CurrentAnnualMangement" />
  26640. <ScalarProperty Name="DepositPayable" ColumnName="DepositPayable" />
  26641. <ScalarProperty Name="AmendedMonthlyInstalment" ColumnName="AmendedMonthlyInstalment" />
  26642. <ScalarProperty Name="AmendedBalanceDue" ColumnName="AmendedBalanceDue" />
  26643. <ScalarProperty Name="RegFYN" ColumnName="RegFYN" />
  26644. <ScalarProperty Name="MFCommDCl" ColumnName="MFCommDCl" />
  26645. <ScalarProperty Name="OFMthCl" ColumnName="OFMthCl" />
  26646. <ScalarProperty Name="OccYrCl" ColumnName="OccYrCl" />
  26647. <ScalarProperty Name="MFInCl" ColumnName="MFInCl" />
  26648. <ScalarProperty Name="CurMFCl" ColumnName="CurMFCl" />
  26649. <ScalarProperty Name="CommDCl" ColumnName="CommDCl" />
  26650. <ScalarProperty Name="DepCl" ColumnName="DepCl" />
  26651. <ScalarProperty Name="NoMthCl" ColumnName="NoMthCl" />
  26652. <ScalarProperty Name="MthInCl" ColumnName="MthInCl" />
  26653. <ScalarProperty Name="BalCla" ColumnName="BalCla" />
  26654. <ScalarProperty Name="PaymentMethod" ColumnName="PaymentMethod" />
  26655. <ScalarProperty Name="PostalAddress" ColumnName="PostalAddress" />
  26656. <ScalarProperty Name="PhysicalAddress" ColumnName="PhysicalAddress" />
  26657. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  26658. <ScalarProperty Name="SpouseEmailAddress" ColumnName="SpouseEmailAddress" />
  26659. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  26660. <ScalarProperty Name="Flow" ColumnName="Flow" />
  26661. <ScalarProperty Name="PreviousContractNo" ColumnName="PreviousContractNo" />
  26662. <ScalarProperty Name="ContractNo" ColumnName="ContractNo" />
  26663. <ScalarProperty Name="OID" ColumnName="OID" />
  26664. </MappingFragment>
  26665. </EntityTypeMapping>
  26666. </EntitySetMapping>
  26667. <EntitySetMapping Name="TblSubStatus">
  26668. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSubStatu">
  26669. <MappingFragment StoreEntitySet="TblSubStatus">
  26670. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26671. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26672. <ScalarProperty Name="LookupDisplay" ColumnName="LookupDisplay" />
  26673. <ScalarProperty Name="Description" ColumnName="Description" />
  26674. <ScalarProperty Name="Code" ColumnName="Code" />
  26675. <ScalarProperty Name="OID" ColumnName="OID" />
  26676. </MappingFragment>
  26677. </EntityTypeMapping>
  26678. </EntitySetMapping>
  26679. <EntitySetMapping Name="TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  26680. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  26681. <MappingFragment StoreEntitySet="TblSubStatusSubStatus_TblCCDStatusCCDStatus">
  26682. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26683. <ScalarProperty Name="OID" ColumnName="OID" />
  26684. <ScalarProperty Name="SubStatus" ColumnName="SubStatus" />
  26685. <ScalarProperty Name="CCDStatus" ColumnName="CCDStatus" />
  26686. </MappingFragment>
  26687. </EntityTypeMapping>
  26688. </EntitySetMapping>
  26689. <EntitySetMapping Name="TblSubStatusSubStatuses_StatusStatus">
  26690. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSubStatusSubStatuses_StatusStatus">
  26691. <MappingFragment StoreEntitySet="TblSubStatusSubStatuses_StatusStatus">
  26692. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26693. <ScalarProperty Name="OID" ColumnName="OID" />
  26694. <ScalarProperty Name="SubStatuses" ColumnName="SubStatuses" />
  26695. <ScalarProperty Name="Status" ColumnName="Status" />
  26696. </MappingFragment>
  26697. </EntityTypeMapping>
  26698. </EntitySetMapping>
  26699. <EntitySetMapping Name="TblSuspenseTransactions">
  26700. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSuspenseTransaction">
  26701. <MappingFragment StoreEntitySet="TblSuspenseTransaction">
  26702. <ScalarProperty Name="JournalLine" ColumnName="JournalLine" />
  26703. <ScalarProperty Name="OtherEntity" ColumnName="OtherEntity" />
  26704. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  26705. <ScalarProperty Name="AllocatedBankAccount" ColumnName="AllocatedBankAccount" />
  26706. <ScalarProperty Name="SupportingDocument" ColumnName="SupportingDocument" />
  26707. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26708. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26709. <ScalarProperty Name="StatementLine" ColumnName="StatementLine" />
  26710. <ScalarProperty Name="AllowcatedAccount" ColumnName="AllowcatedAccount" />
  26711. <ScalarProperty Name="TransferBankReference" ColumnName="TransferBankReference" />
  26712. <ScalarProperty Name="AllowcatedDate" ColumnName="AllowcatedDate" />
  26713. <ScalarProperty Name="BankSMTNumber" ColumnName="BankSMTNumber" />
  26714. <ScalarProperty Name="DollarAmount" ColumnName="DollarAmount" />
  26715. <ScalarProperty Name="Amount" ColumnName="Amount" />
  26716. <ScalarProperty Name="Description" ColumnName="Description" />
  26717. <ScalarProperty Name="BankAccount" ColumnName="BankAccount" />
  26718. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26719. <ScalarProperty Name="TransactionDate" ColumnName="TransactionDate" />
  26720. <ScalarProperty Name="Comments" ColumnName="Comments" />
  26721. <ScalarProperty Name="OID" ColumnName="OID" />
  26722. </MappingFragment>
  26723. </EntityTypeMapping>
  26724. </EntitySetMapping>
  26725. <EntitySetMapping Name="TblSuspenseTransactionSplits">
  26726. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSuspenseTransactionSplit">
  26727. <MappingFragment StoreEntitySet="TblSuspenseTransactionSplit">
  26728. <ScalarProperty Name="OtherEntity" ColumnName="OtherEntity" />
  26729. <ScalarProperty Name="Comments" ColumnName="Comments" />
  26730. <ScalarProperty Name="AllocatedBankAccount" ColumnName="AllocatedBankAccount" />
  26731. <ScalarProperty Name="Suspense" ColumnName="Suspense" />
  26732. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26733. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26734. <ScalarProperty Name="SuspenseLine" ColumnName="SuspenseLine" />
  26735. <ScalarProperty Name="Account" ColumnName="Account" />
  26736. <ScalarProperty Name="DollarAmount" ColumnName="DollarAmount" />
  26737. <ScalarProperty Name="Amount" ColumnName="Amount" />
  26738. <ScalarProperty Name="OID" ColumnName="OID" />
  26739. </MappingFragment>
  26740. </EntityTypeMapping>
  26741. </EntitySetMapping>
  26742. <EntitySetMapping Name="TblSystems">
  26743. <EntityTypeMapping TypeName="ProvisionStagingModel.TblSystem">
  26744. <MappingFragment StoreEntitySet="TblSystem">
  26745. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26746. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26747. <ScalarProperty Name="Description" ColumnName="Description" />
  26748. <ScalarProperty Name="OID" ColumnName="OID" />
  26749. </MappingFragment>
  26750. </EntityTypeMapping>
  26751. </EntitySetMapping>
  26752. <EntitySetMapping Name="TblTelemarketerOffices">
  26753. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelemarketerOffice">
  26754. <MappingFragment StoreEntitySet="TblTelemarketerOffice">
  26755. <ScalarProperty Name="HighlightInReport" ColumnName="HighlightInReport" />
  26756. <ScalarProperty Name="Commissionable" ColumnName="Commissionable" />
  26757. <ScalarProperty Name="SalesRegion" ColumnName="SalesRegion" />
  26758. <ScalarProperty Name="SMSSettings" ColumnName="SMSSettings" />
  26759. <ScalarProperty Name="External" ColumnName="External" />
  26760. <ScalarProperty Name="ShowInMonthlyReport" ColumnName="ShowInMonthlyReport" />
  26761. <ScalarProperty Name="ShowInWeeklyReport" ColumnName="ShowInWeeklyReport" />
  26762. <ScalarProperty Name="ShowInDailyReport" ColumnName="ShowInDailyReport" />
  26763. <ScalarProperty Name="WeeklyTarget" ColumnName="WeeklyTarget" />
  26764. <ScalarProperty Name="isInactive" ColumnName="isInactive" />
  26765. <ScalarProperty Name="FaxNumber" ColumnName="FaxNumber" />
  26766. <ScalarProperty Name="TelephoneNumber" ColumnName="TelephoneNumber" />
  26767. <ScalarProperty Name="SmsConfirmationMessage" ColumnName="SmsConfirmationMessage" />
  26768. <ScalarProperty Name="SmsBookingMessage" ColumnName="SmsBookingMessage" />
  26769. <ScalarProperty Name="Franchisee" ColumnName="Franchisee" />
  26770. <ScalarProperty Name="SendingEmailAddress" ColumnName="SendingEmailAddress" />
  26771. <ScalarProperty Name="SMSPassword" ColumnName="SMSPassword" />
  26772. <ScalarProperty Name="SMSUserCode" ColumnName="SMSUserCode" />
  26773. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26774. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26775. <ScalarProperty Name="EndTime" ColumnName="EndTime" />
  26776. <ScalarProperty Name="StartTime" ColumnName="StartTime" />
  26777. <ScalarProperty Name="Company" ColumnName="Company" />
  26778. <ScalarProperty Name="province" ColumnName="province" />
  26779. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  26780. <ScalarProperty Name="OID" ColumnName="OID" />
  26781. </MappingFragment>
  26782. </EntityTypeMapping>
  26783. </EntitySetMapping>
  26784. <EntitySetMapping Name="TblTelemarketerRegisters">
  26785. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelemarketerRegister">
  26786. <MappingFragment StoreEntitySet="TblTelemarketerRegister">
  26787. <ScalarProperty Name="Type" ColumnName="Type" />
  26788. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26789. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26790. <ScalarProperty Name="SeatPosition" ColumnName="SeatPosition" />
  26791. <ScalarProperty Name="EndTime" ColumnName="EndTime" />
  26792. <ScalarProperty Name="StartTime" ColumnName="StartTime" />
  26793. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  26794. <ScalarProperty Name="Telemarketers" ColumnName="Telemarketers" />
  26795. <ScalarProperty Name="OID" ColumnName="OID" />
  26796. </MappingFragment>
  26797. </EntityTypeMapping>
  26798. </EntitySetMapping>
  26799. <EntitySetMapping Name="TblTelemarketerRegisterHdrs">
  26800. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelemarketerRegisterHdr">
  26801. <MappingFragment StoreEntitySet="TblTelemarketerRegisterHdr">
  26802. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  26803. <ScalarProperty Name="Type" ColumnName="Type" />
  26804. <ScalarProperty Name="NoOfPeopleSession4" ColumnName="NoOfPeopleSession4" />
  26805. <ScalarProperty Name="NoOfPeopleSession3" ColumnName="NoOfPeopleSession3" />
  26806. <ScalarProperty Name="NoOfPeopleSession2" ColumnName="NoOfPeopleSession2" />
  26807. <ScalarProperty Name="NoOfPeopleSession1" ColumnName="NoOfPeopleSession1" />
  26808. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26809. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26810. <ScalarProperty Name="TelemarketerOffice" ColumnName="TelemarketerOffice" />
  26811. <ScalarProperty Name="WorkDate" ColumnName="WorkDate" />
  26812. <ScalarProperty Name="OID" ColumnName="OID" />
  26813. </MappingFragment>
  26814. </EntityTypeMapping>
  26815. </EntitySetMapping>
  26816. <EntitySetMapping Name="TblTelemarketerSlidingScales">
  26817. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelemarketerSlidingScale">
  26818. <MappingFragment StoreEntitySet="TblTelemarketerSlidingScale">
  26819. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26820. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26821. <ScalarProperty Name="CommisonPerSolidClearedDeal" ColumnName="CommisonPerSolidClearedDeal" />
  26822. <ScalarProperty Name="MaxQShowPerWeek" ColumnName="MaxQShowPerWeek" />
  26823. <ScalarProperty Name="AmountPerQShow" ColumnName="AmountPerQShow" />
  26824. <ScalarProperty Name="ToQShowCount" ColumnName="ToQShowCount" />
  26825. <ScalarProperty Name="FromQShowCount" ColumnName="FromQShowCount" />
  26826. <ScalarProperty Name="CommisionMonth" ColumnName="CommisionMonth" />
  26827. <ScalarProperty Name="Oid" ColumnName="Oid" />
  26828. </MappingFragment>
  26829. </EntityTypeMapping>
  26830. </EntitySetMapping>
  26831. <EntitySetMapping Name="TblTelemarketingCompanies">
  26832. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelemarketingCompany">
  26833. <MappingFragment StoreEntitySet="TblTelemarketingCompany">
  26834. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26835. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26836. <ScalarProperty Name="Name" ColumnName="Name" />
  26837. <ScalarProperty Name="OID" ColumnName="OID" />
  26838. </MappingFragment>
  26839. </EntityTypeMapping>
  26840. </EntitySetMapping>
  26841. <EntitySetMapping Name="TblTelephoneCodes">
  26842. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelephoneCode">
  26843. <MappingFragment StoreEntitySet="TblTelephoneCodes">
  26844. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26845. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26846. <ScalarProperty Name="IsCellphone" ColumnName="IsCellphone" />
  26847. <ScalarProperty Name="IsLandline" ColumnName="IsLandline" />
  26848. <ScalarProperty Name="Code" ColumnName="Code" />
  26849. <ScalarProperty Name="OID" ColumnName="OID" />
  26850. </MappingFragment>
  26851. </EntityTypeMapping>
  26852. </EntitySetMapping>
  26853. <EntitySetMapping Name="TblTelephones">
  26854. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelephone">
  26855. <MappingFragment StoreEntitySet="TblTelephones">
  26856. <ScalarProperty Name="TelephoneNum" ColumnName="TelephoneNum" />
  26857. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26858. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26859. <ScalarProperty Name="InvalidInfo" ColumnName="InvalidInfo" />
  26860. <ScalarProperty Name="InvalidUser" ColumnName="InvalidUser" />
  26861. <ScalarProperty Name="InvalidDate" ColumnName="InvalidDate" />
  26862. <ScalarProperty Name="Invalid" ColumnName="Invalid" />
  26863. <ScalarProperty Name="DefaultNumber" ColumnName="DefaultNumber" />
  26864. <ScalarProperty Name="TelephoneNumber" ColumnName="TelephoneNumber" />
  26865. <ScalarProperty Name="TelephoneType" ColumnName="TelephoneType" />
  26866. <ScalarProperty Name="PortfolioNumber" ColumnName="PortfolioNumber" />
  26867. <ScalarProperty Name="OID" ColumnName="OID" />
  26868. </MappingFragment>
  26869. </EntityTypeMapping>
  26870. </EntitySetMapping>
  26871. <EntitySetMapping Name="TblTelephoneTypes">
  26872. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTelephoneType">
  26873. <MappingFragment StoreEntitySet="TblTelephoneTypes">
  26874. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26875. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26876. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  26877. <ScalarProperty Name="OID" ColumnName="OID" />
  26878. </MappingFragment>
  26879. </EntityTypeMapping>
  26880. </EntitySetMapping>
  26881. <EntitySetMapping Name="TblTFGLeads">
  26882. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTFGLead">
  26883. <MappingFragment StoreEntitySet="TblTFGLeads">
  26884. <ScalarProperty Name="IsLease" ColumnName="IsLease" />
  26885. <ScalarProperty Name="DateTimeUpdated" ColumnName="DateTimeUpdated" />
  26886. <ScalarProperty Name="OldContractStatus" ColumnName="OldContractStatus" />
  26887. <ScalarProperty Name="Blocked" ColumnName="Blocked" />
  26888. <ScalarProperty Name="ReleasedDate" ColumnName="ReleasedDate" />
  26889. <ScalarProperty Name="CallBackTime" ColumnName="CallBackTime" />
  26890. <ScalarProperty Name="CallBack" ColumnName="CallBack" />
  26891. <ScalarProperty Name="Rebate" ColumnName="Rebate" />
  26892. <ScalarProperty Name="Arrears2014" ColumnName="Arrears2014" />
  26893. <ScalarProperty Name="PriorArrears2013" ColumnName="PriorArrears2013" />
  26894. <ScalarProperty Name="Levy2017" ColumnName="Levy2017" />
  26895. <ScalarProperty Name="Levy2016" ColumnName="Levy2016" />
  26896. <ScalarProperty Name="Levy2015" ColumnName="Levy2015" />
  26897. <ScalarProperty Name="Levy2014" ColumnName="Levy2014" />
  26898. <ScalarProperty Name="Unit" ColumnName="Unit" />
  26899. <ScalarProperty Name="IsCrystal" ColumnName="IsCrystal" />
  26900. <ScalarProperty Name="Weektype" ColumnName="Weektype" />
  26901. <ScalarProperty Name="AccountNumber" ColumnName="AccountNumber" />
  26902. <ScalarProperty Name="Email" ColumnName="Email" />
  26903. <ScalarProperty Name="PurchasePrice" ColumnName="PurchasePrice" />
  26904. <ScalarProperty Name="Season" ColumnName="Season" />
  26905. <ScalarProperty Name="MaxSLP" ColumnName="MaxSLP" />
  26906. <ScalarProperty Name="Configuration" ColumnName="Configuration" />
  26907. <ScalarProperty Name="Weekmodule" ColumnName="Weekmodule" />
  26908. <ScalarProperty Name="Adr5" ColumnName="Adr5" />
  26909. <ScalarProperty Name="AssotiationFee" ColumnName="AssotiationFee" />
  26910. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  26911. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  26912. <ScalarProperty Name="ManagementFeesBalance" ColumnName="ManagementFeesBalance" />
  26913. <ScalarProperty Name="Typeoftransfig" ColumnName="Typeoftransfig" />
  26914. <ScalarProperty Name="AccNumber" ColumnName="AccNumber" />
  26915. <ScalarProperty Name="BranchCode" ColumnName="BranchCode" />
  26916. <ScalarProperty Name="BranchName" ColumnName="BranchName" />
  26917. <ScalarProperty Name="BankName" ColumnName="BankName" />
  26918. <ScalarProperty Name="AccHolder" ColumnName="AccHolder" />
  26919. <ScalarProperty Name="AccType" ColumnName="AccType" />
  26920. <ScalarProperty Name="CertName" ColumnName="CertName" />
  26921. <ScalarProperty Name="BondArrearsPeriod" ColumnName="BondArrearsPeriod" />
  26922. <ScalarProperty Name="ContractStatus" ColumnName="ContractStatus" />
  26923. <ScalarProperty Name="PostalCode" ColumnName="PostalCode" />
  26924. <ScalarProperty Name="Adr4" ColumnName="Adr4" />
  26925. <ScalarProperty Name="Adr3" ColumnName="Adr3" />
  26926. <ScalarProperty Name="Adr2" ColumnName="Adr2" />
  26927. <ScalarProperty Name="Adr1" ColumnName="Adr1" />
  26928. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26929. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26930. <ScalarProperty Name="AllocatedDateTime" ColumnName="AllocatedDateTime" />
  26931. <ScalarProperty Name="AllocatedTo" ColumnName="AllocatedTo" />
  26932. <ScalarProperty Name="DoNotContact" ColumnName="DoNotContact" />
  26933. <ScalarProperty Name="LastNumberCalled" ColumnName="LastNumberCalled" />
  26934. <ScalarProperty Name="LastCalled" ColumnName="LastCalled" />
  26935. <ScalarProperty Name="DateAllocated" ColumnName="DateAllocated" />
  26936. <ScalarProperty Name="OwnedBy" ColumnName="OwnedBy" />
  26937. <ScalarProperty Name="DataDated" ColumnName="DataDated" />
  26938. <ScalarProperty Name="CapitalArrears" ColumnName="CapitalArrears" />
  26939. <ScalarProperty Name="OutstandingBalance" ColumnName="OutstandingBalance" />
  26940. <ScalarProperty Name="CancelledDate" ColumnName="CancelledDate" />
  26941. <ScalarProperty Name="Developer" ColumnName="Developer" />
  26942. <ScalarProperty Name="LatestSaleAgent" ColumnName="LatestSaleAgent" />
  26943. <ScalarProperty Name="InitialSaleAgent" ColumnName="InitialSaleAgent" />
  26944. <ScalarProperty Name="LatestSellingDate" ColumnName="LatestSellingDate" />
  26945. <ScalarProperty Name="FinitePoints" ColumnName="FinitePoints" />
  26946. <ScalarProperty Name="AddendumPoints" ColumnName="AddendumPoints" />
  26947. <ScalarProperty Name="AddendumCount" ColumnName="AddendumCount" />
  26948. <ScalarProperty Name="Points" ColumnName="Points" />
  26949. <ScalarProperty Name="InitialSellingDate" ColumnName="InitialSellingDate" />
  26950. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  26951. <ScalarProperty Name="CellphoneNumber" ColumnName="CellphoneNumber" />
  26952. <ScalarProperty Name="WorkPhoneNumber" ColumnName="WorkPhoneNumber" />
  26953. <ScalarProperty Name="HomePhoneNumber" ColumnName="HomePhoneNumber" />
  26954. <ScalarProperty Name="Surname" ColumnName="Surname" />
  26955. <ScalarProperty Name="Initials" ColumnName="Initials" />
  26956. <ScalarProperty Name="Title" ColumnName="Title" />
  26957. <ScalarProperty Name="ContractNumber" ColumnName="ContractNumber" />
  26958. <ScalarProperty Name="Code" ColumnName="Code" />
  26959. <ScalarProperty Name="Club" ColumnName="Club" />
  26960. <ScalarProperty Name="OID" ColumnName="OID" />
  26961. </MappingFragment>
  26962. </EntityTypeMapping>
  26963. </EntitySetMapping>
  26964. <EntitySetMapping Name="TblTimeOffCampaigns">
  26965. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffCampaign">
  26966. <MappingFragment StoreEntitySet="TblTimeOffCampaign">
  26967. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26968. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26969. <ScalarProperty Name="CampaignName" ColumnName="CampaignName" />
  26970. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26971. <ScalarProperty Name="OID" ColumnName="OID" />
  26972. </MappingFragment>
  26973. </EntityTypeMapping>
  26974. </EntitySetMapping>
  26975. <EntitySetMapping Name="TblTimeOffCompetitions">
  26976. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffCompetition">
  26977. <MappingFragment StoreEntitySet="TblTimeOffCompetition">
  26978. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26979. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26980. <ScalarProperty Name="Winner" ColumnName="Winner" />
  26981. <ScalarProperty Name="DateEnd" ColumnName="DateEnd" />
  26982. <ScalarProperty Name="DateStart" ColumnName="DateStart" />
  26983. <ScalarProperty Name="CompetitionName" ColumnName="CompetitionName" />
  26984. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  26985. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  26986. <ScalarProperty Name="OID" ColumnName="OID" />
  26987. </MappingFragment>
  26988. </EntityTypeMapping>
  26989. </EntitySetMapping>
  26990. <EntitySetMapping Name="TblTimeOffCompetitionCampaigns">
  26991. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffCompetitionCampaign">
  26992. <MappingFragment StoreEntitySet="TblTimeOffCompetitionCampaign">
  26993. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  26994. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  26995. <ScalarProperty Name="Winner" ColumnName="Winner" />
  26996. <ScalarProperty Name="DateEnd" ColumnName="DateEnd" />
  26997. <ScalarProperty Name="DateStart" ColumnName="DateStart" />
  26998. <ScalarProperty Name="CampaignName" ColumnName="CampaignName" />
  26999. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27000. <ScalarProperty Name="OID" ColumnName="OID" />
  27001. </MappingFragment>
  27002. </EntityTypeMapping>
  27003. </EntitySetMapping>
  27004. <EntitySetMapping Name="TblTimeOffCompetitionEntries">
  27005. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffCompetitionEntry">
  27006. <MappingFragment StoreEntitySet="TblTimeOffCompetitionEntry">
  27007. <ScalarProperty Name="Competition" ColumnName="Competition" />
  27008. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  27009. <ScalarProperty Name="Suburb" ColumnName="Suburb" />
  27010. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27011. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27012. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27013. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  27014. <ScalarProperty Name="CellphoneNumber" ColumnName="CellphoneNumber" />
  27015. <ScalarProperty Name="NameAndSurname" ColumnName="NameAndSurname" />
  27016. <ScalarProperty Name="School" ColumnName="School" />
  27017. <ScalarProperty Name="Lead" ColumnName="Lead" />
  27018. <ScalarProperty Name="OID" ColumnName="OID" />
  27019. </MappingFragment>
  27020. </EntityTypeMapping>
  27021. </EntitySetMapping>
  27022. <EntitySetMapping Name="TblTimeOffConsoftComms">
  27023. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffConsoftComm">
  27024. <MappingFragment StoreEntitySet="TblTimeOffConsoftComm">
  27025. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27026. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27027. <ScalarProperty Name="VoucherNr" ColumnName="VoucherNr" />
  27028. <ScalarProperty Name="ReceivedFrom" ColumnName="ReceivedFrom" />
  27029. <ScalarProperty Name="SendTo" ColumnName="SendTo" />
  27030. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27031. <ScalarProperty Name="OID" ColumnName="OID" />
  27032. </MappingFragment>
  27033. </EntityTypeMapping>
  27034. </EntitySetMapping>
  27035. <EntitySetMapping Name="TblTimeOffFriends">
  27036. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffFriend">
  27037. <MappingFragment StoreEntitySet="TblTimeOffFriends">
  27038. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27039. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27040. <ScalarProperty Name="Profile" ColumnName="Profile" />
  27041. <ScalarProperty Name="Arrived" ColumnName="Arrived" />
  27042. <ScalarProperty Name="Lead" ColumnName="Lead" />
  27043. <ScalarProperty Name="Surname" ColumnName="Surname" />
  27044. <ScalarProperty Name="Name" ColumnName="Name" />
  27045. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27046. </MappingFragment>
  27047. </EntityTypeMapping>
  27048. </EntitySetMapping>
  27049. <EntitySetMapping Name="TblTimeOffNoVouchers">
  27050. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffNoVoucher">
  27051. <MappingFragment StoreEntitySet="TblTimeOffNoVouchers">
  27052. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  27053. <ScalarProperty Name="Age" ColumnName="Age" />
  27054. <ScalarProperty Name="CallbackTime" ColumnName="CallbackTime" />
  27055. <ScalarProperty Name="CallbackOption" ColumnName="CallbackOption" />
  27056. <ScalarProperty Name="Comments" ColumnName="Comments" />
  27057. <ScalarProperty Name="WantingToAttend" ColumnName="WantingToAttend" />
  27058. <ScalarProperty Name="HowDidYouHearAboutUs" ColumnName="HowDidYouHearAboutUs" />
  27059. <ScalarProperty Name="Contacted" ColumnName="Contacted" />
  27060. <ScalarProperty Name="WelcomeMessageSent" ColumnName="WelcomeMessageSent" />
  27061. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27062. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27063. <ScalarProperty Name="BookingReference" ColumnName="BookingReference" />
  27064. <ScalarProperty Name="Lead" ColumnName="Lead" />
  27065. <ScalarProperty Name="PasswordByte" ColumnName="PasswordByte" />
  27066. <ScalarProperty Name="Password" ColumnName="Password" />
  27067. <ScalarProperty Name="OneTimePassword" ColumnName="OneTimePassword" />
  27068. <ScalarProperty Name="CellPhoneNumber" ColumnName="CellPhoneNumber" />
  27069. <ScalarProperty Name="OtherOwnedHolidayAccomodationDescription" ColumnName="OtherOwnedHolidayAccomodationDescription" />
  27070. <ScalarProperty Name="OtherOwnedHolidayAccomodation" ColumnName="OtherOwnedHolidayAccomodation" />
  27071. <ScalarProperty Name="TimeShare" ColumnName="TimeShare" />
  27072. <ScalarProperty Name="HolidayHome" ColumnName="HolidayHome" />
  27073. <ScalarProperty Name="IncomeBracket" ColumnName="IncomeBracket" />
  27074. <ScalarProperty Name="SpouseOccupation" ColumnName="SpouseOccupation" />
  27075. <ScalarProperty Name="MaritalStatus" ColumnName="MaritalStatus" />
  27076. <ScalarProperty Name="Occupation" ColumnName="Occupation" />
  27077. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  27078. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  27079. <ScalarProperty Name="Initials" ColumnName="Initials" />
  27080. <ScalarProperty Name="Surname" ColumnName="Surname" />
  27081. <ScalarProperty Name="FirstNames" ColumnName="FirstNames" />
  27082. <ScalarProperty Name="Title" ColumnName="Title" />
  27083. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27084. <ScalarProperty Name="OID" ColumnName="OID" />
  27085. </MappingFragment>
  27086. </EntityTypeMapping>
  27087. </EntitySetMapping>
  27088. <EntitySetMapping Name="TblTimeOffReferalProfiles">
  27089. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffReferalProfile">
  27090. <MappingFragment StoreEntitySet="TblTimeOffReferalProfile">
  27091. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27092. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27093. <ScalarProperty Name="Qualify" ColumnName="Qualify" />
  27094. <ScalarProperty Name="MemberNo" ColumnName="MemberNo" />
  27095. <ScalarProperty Name="TotalShows" ColumnName="TotalShows" />
  27096. <ScalarProperty Name="Name" ColumnName="Name" />
  27097. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27098. </MappingFragment>
  27099. </EntityTypeMapping>
  27100. </EntitySetMapping>
  27101. <EntitySetMapping Name="TblTimeOffVouchers">
  27102. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTimeOffVoucher">
  27103. <MappingFragment StoreEntitySet="TblTimeOffVouchers">
  27104. <ScalarProperty Name="AdditionalCellPhoneNumber" ColumnName="AdditionalCellPhoneNumber" />
  27105. <ScalarProperty Name="VoucherRegDate" ColumnName="VoucherRegDate" />
  27106. <ScalarProperty Name="ResortBookingDate" ColumnName="ResortBookingDate" />
  27107. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  27108. <ScalarProperty Name="SurveyEmailSent" ColumnName="SurveyEmailSent" />
  27109. <ScalarProperty Name="DayOfDepartureMessageSent" ColumnName="DayOfDepartureMessageSent" />
  27110. <ScalarProperty Name="ConfigurationCode" ColumnName="ConfigurationCode" />
  27111. <ScalarProperty Name="WeekReminderEmailSent" ColumnName="WeekReminderEmailSent" />
  27112. <ScalarProperty Name="DayOfArrivalMessageSent" ColumnName="DayOfArrivalMessageSent" />
  27113. <ScalarProperty Name="WelcomeMessageSent" ColumnName="WelcomeMessageSent" />
  27114. <ScalarProperty Name="VehicleRegNo" ColumnName="VehicleRegNo" />
  27115. <ScalarProperty Name="SpecialDietaryRequirements" ColumnName="SpecialDietaryRequirements" />
  27116. <ScalarProperty Name="Disabilities" ColumnName="Disabilities" />
  27117. <ScalarProperty Name="Child3Name" ColumnName="Child3Name" />
  27118. <ScalarProperty Name="Child2Name" ColumnName="Child2Name" />
  27119. <ScalarProperty Name="Child1Name" ColumnName="Child1Name" />
  27120. <ScalarProperty Name="Guest2IdNumber" ColumnName="Guest2IdNumber" />
  27121. <ScalarProperty Name="Guest2Surname" ColumnName="Guest2Surname" />
  27122. <ScalarProperty Name="Guest2Name" ColumnName="Guest2Name" />
  27123. <ScalarProperty Name="Guest1IdNumber" ColumnName="Guest1IdNumber" />
  27124. <ScalarProperty Name="Guest1Surname" ColumnName="Guest1Surname" />
  27125. <ScalarProperty Name="Guest1Name" ColumnName="Guest1Name" />
  27126. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27127. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27128. <ScalarProperty Name="Contacted" ColumnName="Contacted" />
  27129. <ScalarProperty Name="Arrived" ColumnName="Arrived" />
  27130. <ScalarProperty Name="UnitNumber" ColumnName="UnitNumber" />
  27131. <ScalarProperty Name="Rating" ColumnName="Rating" />
  27132. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  27133. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  27134. <ScalarProperty Name="Contract" ColumnName="Contract" />
  27135. <ScalarProperty Name="BookingReference" ColumnName="BookingReference" />
  27136. <ScalarProperty Name="Resort" ColumnName="Resort" />
  27137. <ScalarProperty Name="Lead" ColumnName="Lead" />
  27138. <ScalarProperty Name="PasswordByte" ColumnName="PasswordByte" />
  27139. <ScalarProperty Name="Password" ColumnName="Password" />
  27140. <ScalarProperty Name="OneTimePassword" ColumnName="OneTimePassword" />
  27141. <ScalarProperty Name="CellPhoneNumber" ColumnName="CellPhoneNumber" />
  27142. <ScalarProperty Name="OtherOwnedHolidayAccomodationDescription" ColumnName="OtherOwnedHolidayAccomodationDescription" />
  27143. <ScalarProperty Name="OtherOwnedHolidayAccomodation" ColumnName="OtherOwnedHolidayAccomodation" />
  27144. <ScalarProperty Name="TimeShare" ColumnName="TimeShare" />
  27145. <ScalarProperty Name="HolidayHome" ColumnName="HolidayHome" />
  27146. <ScalarProperty Name="IncomeBracket" ColumnName="IncomeBracket" />
  27147. <ScalarProperty Name="SpouseOccupation" ColumnName="SpouseOccupation" />
  27148. <ScalarProperty Name="MaritalStatus" ColumnName="MaritalStatus" />
  27149. <ScalarProperty Name="Occupation" ColumnName="Occupation" />
  27150. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  27151. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  27152. <ScalarProperty Name="Initials" ColumnName="Initials" />
  27153. <ScalarProperty Name="Surname" ColumnName="Surname" />
  27154. <ScalarProperty Name="FirstNames" ColumnName="FirstNames" />
  27155. <ScalarProperty Name="Title" ColumnName="Title" />
  27156. <ScalarProperty Name="VoucherNumber" ColumnName="VoucherNumber" />
  27157. <ScalarProperty Name="VoucherType" ColumnName="VoucherType" />
  27158. <ScalarProperty Name="Retailer" ColumnName="Retailer" />
  27159. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27160. <ScalarProperty Name="OID" ColumnName="OID" />
  27161. </MappingFragment>
  27162. </EntityTypeMapping>
  27163. </EntitySetMapping>
  27164. <EntitySetMapping Name="TblTMCommBasicTransactions">
  27165. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommBasicTransaction">
  27166. <MappingFragment StoreEntitySet="TblTMCommBasicTransactions">
  27167. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27168. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27169. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  27170. <ScalarProperty Name="ProRata" ColumnName="ProRata" />
  27171. <ScalarProperty Name="Amount" ColumnName="Amount" />
  27172. <ScalarProperty Name="DaysPaidFor" ColumnName="DaysPaidFor" />
  27173. <ScalarProperty Name="DaysInPeriod" ColumnName="DaysInPeriod" />
  27174. <ScalarProperty Name="CommMonth" ColumnName="CommMonth" />
  27175. <ScalarProperty Name="OID" ColumnName="OID" />
  27176. </MappingFragment>
  27177. </EntityTypeMapping>
  27178. </EntitySetMapping>
  27179. <EntitySetMapping Name="TblTMCommDeals">
  27180. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommDeal">
  27181. <MappingFragment StoreEntitySet="TblTMCommDeals">
  27182. <ScalarProperty Name="StatusActiveDate" ColumnName="StatusActiveDate" />
  27183. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27184. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27185. <ScalarProperty Name="Week" ColumnName="Week" />
  27186. <ScalarProperty Name="PeriodPaidIn" ColumnName="PeriodPaidIn" />
  27187. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  27188. <ScalarProperty Name="DatePaid" ColumnName="DatePaid" />
  27189. <ScalarProperty Name="Contract" ColumnName="Contract" />
  27190. <ScalarProperty Name="Person" ColumnName="Person" />
  27191. <ScalarProperty Name="Type" ColumnName="Type" />
  27192. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27193. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27194. <ScalarProperty Name="OID" ColumnName="OID" />
  27195. </MappingFragment>
  27196. </EntityTypeMapping>
  27197. </EntitySetMapping>
  27198. <EntitySetMapping Name="TblTMCommDealTargets">
  27199. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommDealTarget">
  27200. <MappingFragment StoreEntitySet="TblTMCommDealTargets">
  27201. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27202. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27203. <ScalarProperty Name="TargetBonus" ColumnName="TargetBonus" />
  27204. <ScalarProperty Name="Target" ColumnName="Target" />
  27205. <ScalarProperty Name="TMTable" ColumnName="TMTable" />
  27206. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27207. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27208. <ScalarProperty Name="OID" ColumnName="OID" />
  27209. </MappingFragment>
  27210. </EntityTypeMapping>
  27211. </EntitySetMapping>
  27212. <EntitySetMapping Name="TblTMCommGroups">
  27213. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommGroup">
  27214. <MappingFragment StoreEntitySet="TblTMCommGroups">
  27215. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27216. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27217. <ScalarProperty Name="Structure" ColumnName="Structure" />
  27218. <ScalarProperty Name="GroupName" ColumnName="GroupName" />
  27219. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27220. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27221. <ScalarProperty Name="OID" ColumnName="OID" />
  27222. </MappingFragment>
  27223. </EntityTypeMapping>
  27224. </EntitySetMapping>
  27225. <EntitySetMapping Name="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  27226. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  27227. <MappingFragment StoreEntitySet="TblTMCommGroupsTMCommGroups_TblPersonnelPersonnelList">
  27228. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27229. <ScalarProperty Name="OID" ColumnName="OID" />
  27230. <ScalarProperty Name="TMCommGroups" ColumnName="TMCommGroups" />
  27231. <ScalarProperty Name="PersonnelList" ColumnName="PersonnelList" />
  27232. </MappingFragment>
  27233. </EntityTypeMapping>
  27234. </EntitySetMapping>
  27235. <EntitySetMapping Name="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  27236. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  27237. <MappingFragment StoreEntitySet="TblTMCommGroupsTMCommGroups_TblSalesVenueSalesVenues">
  27238. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27239. <ScalarProperty Name="OID" ColumnName="OID" />
  27240. <ScalarProperty Name="TMCommGroups" ColumnName="TMCommGroups" />
  27241. <ScalarProperty Name="SalesVenues" ColumnName="SalesVenues" />
  27242. </MappingFragment>
  27243. </EntityTypeMapping>
  27244. </EntitySetMapping>
  27245. <EntitySetMapping Name="TblTMCommsAudits">
  27246. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommsAudit">
  27247. <MappingFragment StoreEntitySet="TblTMCommsAudit">
  27248. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27249. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27250. <ScalarProperty Name="Type" ColumnName="Type" />
  27251. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27252. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  27253. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27254. <ScalarProperty Name="OID" ColumnName="OID" />
  27255. </MappingFragment>
  27256. </EntityTypeMapping>
  27257. </EntitySetMapping>
  27258. <EntitySetMapping Name="TblTMCommsMonths">
  27259. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommsMonth">
  27260. <MappingFragment StoreEntitySet="TblTMCommsMonth">
  27261. <ScalarProperty Name="TMCutOff" ColumnName="TMCutOff" />
  27262. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27263. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27264. <ScalarProperty Name="CommClosed" ColumnName="CommClosed" />
  27265. <ScalarProperty Name="IsCurrent" ColumnName="IsCurrent" />
  27266. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  27267. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  27268. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  27269. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27270. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27271. <ScalarProperty Name="OID" ColumnName="OID" />
  27272. </MappingFragment>
  27273. </EntityTypeMapping>
  27274. </EntitySetMapping>
  27275. <EntitySetMapping Name="TblTMCommStructures">
  27276. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommStructure">
  27277. <MappingFragment StoreEntitySet="TblTMCommStructure">
  27278. <ScalarProperty Name="DoNotPayOnThisStructure" ColumnName="DoNotPayOnThisStructure" />
  27279. <ScalarProperty Name="AddsomeLevel2Amount" ColumnName="AddsomeLevel2Amount" />
  27280. <ScalarProperty Name="AddsomeDaysMissedForLevel2" ColumnName="AddsomeDaysMissedForLevel2" />
  27281. <ScalarProperty Name="DealTargetFour" ColumnName="DealTargetFour" />
  27282. <ScalarProperty Name="PublicHolidayAmount" ColumnName="PublicHolidayAmount" />
  27283. <ScalarProperty Name="AddSomeAmount" ColumnName="AddSomeAmount" />
  27284. <ScalarProperty Name="DealTargetThree" ColumnName="DealTargetThree" />
  27285. <ScalarProperty Name="DealTargetTwo" ColumnName="DealTargetTwo" />
  27286. <ScalarProperty Name="DealTargetOne" ColumnName="DealTargetOne" />
  27287. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27288. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27289. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  27290. <ScalarProperty Name="BonusPercentage" ColumnName="BonusPercentage" />
  27291. <ScalarProperty Name="BonusTarget" ColumnName="BonusTarget" />
  27292. <ScalarProperty Name="StructureName" ColumnName="StructureName" />
  27293. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27294. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27295. <ScalarProperty Name="OID" ColumnName="OID" />
  27296. </MappingFragment>
  27297. </EntityTypeMapping>
  27298. </EntitySetMapping>
  27299. <EntitySetMapping Name="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  27300. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  27301. <MappingFragment StoreEntitySet="TblTMCommStructureTMCommStructures_TblPersonnelPersonnelList">
  27302. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27303. <ScalarProperty Name="OID" ColumnName="OID" />
  27304. <ScalarProperty Name="TMCommStructures" ColumnName="TMCommStructures" />
  27305. <ScalarProperty Name="PersonnelList" ColumnName="PersonnelList" />
  27306. </MappingFragment>
  27307. </EntityTypeMapping>
  27308. </EntitySetMapping>
  27309. <EntitySetMapping Name="TblTMCommsWeeks">
  27310. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommsWeek">
  27311. <MappingFragment StoreEntitySet="TblTMCommsWeek">
  27312. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27313. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27314. <ScalarProperty Name="TMMonth" ColumnName="TMMonth" />
  27315. <ScalarProperty Name="WeekNumber" ColumnName="WeekNumber" />
  27316. <ScalarProperty Name="TargetFactor" ColumnName="TargetFactor" />
  27317. <ScalarProperty Name="WeekEnd" ColumnName="WeekEnd" />
  27318. <ScalarProperty Name="WeekStart" ColumnName="WeekStart" />
  27319. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27320. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27321. <ScalarProperty Name="OID" ColumnName="OID" />
  27322. </MappingFragment>
  27323. </EntityTypeMapping>
  27324. </EntitySetMapping>
  27325. <EntitySetMapping Name="TblTMCommTables">
  27326. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommTable">
  27327. <MappingFragment StoreEntitySet="TblTMCommTable">
  27328. <ScalarProperty Name="FourDealRate" ColumnName="FourDealRate" />
  27329. <ScalarProperty Name="ThreeDealRate" ColumnName="ThreeDealRate" />
  27330. <ScalarProperty Name="TwoDealRate" ColumnName="TwoDealRate" />
  27331. <ScalarProperty Name="OneDealRate" ColumnName="OneDealRate" />
  27332. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27333. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27334. <ScalarProperty Name="Structure" ColumnName="Structure" />
  27335. <ScalarProperty Name="QShowRate" ColumnName="QShowRate" />
  27336. <ScalarProperty Name="SessionNo" ColumnName="SessionNo" />
  27337. <ScalarProperty Name="Day" ColumnName="Day" />
  27338. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27339. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27340. <ScalarProperty Name="OID" ColumnName="OID" />
  27341. </MappingFragment>
  27342. </EntityTypeMapping>
  27343. </EntitySetMapping>
  27344. <EntitySetMapping Name="TblTMCommTransactions">
  27345. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommTransaction">
  27346. <MappingFragment StoreEntitySet="TblTMCommTransactions">
  27347. <ScalarProperty Name="StatusLastChange" ColumnName="StatusLastChange" />
  27348. <ScalarProperty Name="CommissionType" ColumnName="CommissionType" />
  27349. <ScalarProperty Name="Username" ColumnName="Username" />
  27350. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27351. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27352. <ScalarProperty Name="ContractStatus" ColumnName="ContractStatus" />
  27353. <ScalarProperty Name="SessionNo" ColumnName="SessionNo" />
  27354. <ScalarProperty Name="Day" ColumnName="Day" />
  27355. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  27356. <ScalarProperty Name="Type" ColumnName="Type" />
  27357. <ScalarProperty Name="CommAmount" ColumnName="CommAmount" />
  27358. <ScalarProperty Name="ContractNo" ColumnName="ContractNo" />
  27359. <ScalarProperty Name="Booking" ColumnName="Booking" />
  27360. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  27361. <ScalarProperty Name="PresentationDate" ColumnName="PresentationDate" />
  27362. <ScalarProperty Name="WeekNo" ColumnName="WeekNo" />
  27363. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  27364. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27365. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27366. <ScalarProperty Name="OID" ColumnName="OID" />
  27367. </MappingFragment>
  27368. </EntityTypeMapping>
  27369. </EntitySetMapping>
  27370. <EntitySetMapping Name="TblTMCommTypes">
  27371. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTMCommType">
  27372. <MappingFragment StoreEntitySet="TblTMCommType">
  27373. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27374. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27375. <ScalarProperty Name="Type" ColumnName="Type" />
  27376. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27377. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27378. <ScalarProperty Name="OID" ColumnName="OID" />
  27379. </MappingFragment>
  27380. </EntityTypeMapping>
  27381. </EntitySetMapping>
  27382. <EntitySetMapping Name="TblTrainingManagerCommissionSeasonPercentages">
  27383. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTrainingManagerCommissionSeasonPercentage">
  27384. <MappingFragment StoreEntitySet="TblTrainingManagerCommissionSeasonPercentage">
  27385. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27386. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27387. <ScalarProperty Name="SalesCommissionPercentages" ColumnName="SalesCommissionPercentages" />
  27388. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  27389. <ScalarProperty Name="EmploymentDuration" ColumnName="EmploymentDuration" />
  27390. <ScalarProperty Name="Season" ColumnName="Season" />
  27391. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27392. </MappingFragment>
  27393. </EntityTypeMapping>
  27394. </EntitySetMapping>
  27395. <EntitySetMapping Name="TblTrainingManuals">
  27396. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTrainingManual">
  27397. <MappingFragment StoreEntitySet="TblTrainingManuals">
  27398. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27399. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27400. <ScalarProperty Name="TrainingDocuments" ColumnName="TrainingDocuments" />
  27401. <ScalarProperty Name="Description" ColumnName="Description" />
  27402. <ScalarProperty Name="CategoryName" ColumnName="CategoryName" />
  27403. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27404. </MappingFragment>
  27405. </EntityTypeMapping>
  27406. </EntitySetMapping>
  27407. <EntitySetMapping Name="TblTrainngManagerCommissionPercentages">
  27408. <EntityTypeMapping TypeName="ProvisionStagingModel.TblTrainngManagerCommissionPercentage">
  27409. <MappingFragment StoreEntitySet="TblTrainngManagerCommissionPercentage">
  27410. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27411. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27412. <ScalarProperty Name="SalesCommissionPercentages" ColumnName="SalesCommissionPercentages" />
  27413. <ScalarProperty Name="CommissionPercentage" ColumnName="CommissionPercentage" />
  27414. <ScalarProperty Name="EmploymentDuration" ColumnName="EmploymentDuration" />
  27415. <ScalarProperty Name="PercentageType" ColumnName="PercentageType" />
  27416. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27417. </MappingFragment>
  27418. </EntityTypeMapping>
  27419. </EntitySetMapping>
  27420. <EntitySetMapping Name="TblDebtors">
  27421. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtor">
  27422. <MappingFragment StoreEntitySet="TblDebtor">
  27423. <ScalarProperty Name="LastUnpaidAmount" ColumnName="LastUnpaidAmount" />
  27424. <ScalarProperty Name="LastUnpaidTransactionDate" ColumnName="LastUnpaidTransactionDate" />
  27425. <ScalarProperty Name="AmountPaid" ColumnName="AmountPaid" />
  27426. <ScalarProperty Name="FinancedAmount" ColumnName="FinancedAmount" />
  27427. <ScalarProperty Name="UndertakingConsultant" ColumnName="UndertakingConsultant" />
  27428. <ScalarProperty Name="RestructuredDate" ColumnName="RestructuredDate" />
  27429. <ScalarProperty Name="PrescribedAmount" ColumnName="PrescribedAmount" />
  27430. <ScalarProperty Name="CapitalOutstanding" ColumnName="CapitalOutstanding" />
  27431. <ScalarProperty Name="AgeStatus" ColumnName="AgeStatus" />
  27432. <ScalarProperty Name="NewExpiryDate" ColumnName="NewExpiryDate" />
  27433. <ScalarProperty Name="ExitUndertaking" ColumnName="ExitUndertaking" />
  27434. <ScalarProperty Name="ServiceFee" ColumnName="ServiceFee" />
  27435. <ScalarProperty Name="LeaseBalance" ColumnName="LeaseBalance" />
  27436. <ScalarProperty Name="SettlementAmount" ColumnName="SettlementAmount" />
  27437. <ScalarProperty Name="NextLevyInstalmentDue" ColumnName="NextLevyInstalmentDue" />
  27438. <ScalarProperty Name="LevyInstalmentDue" ColumnName="LevyInstalmentDue" />
  27439. <ScalarProperty Name="NextOccupationDate" ColumnName="NextOccupationDate" />
  27440. <ScalarProperty Name="PaymentDay" ColumnName="PaymentDay" />
  27441. <ScalarProperty Name="DateFirstPortfolioFeeRaised" ColumnName="DateFirstPortfolioFeeRaised" />
  27442. <ScalarProperty Name="PeriodInMonths" ColumnName="PeriodInMonths" />
  27443. <ScalarProperty Name="DateCancelled" ColumnName="DateCancelled" />
  27444. <ScalarProperty Name="CancelInsurance" ColumnName="CancelInsurance" />
  27445. <ScalarProperty Name="Developer" ColumnName="Developer" />
  27446. <ScalarProperty Name="NumberOfMonthsRemaining" ColumnName="NumberOfMonthsRemaining" />
  27447. <ScalarProperty Name="AssetNumber" ColumnName="AssetNumber" />
  27448. <ScalarProperty Name="ConversionRate" ColumnName="ConversionRate" />
  27449. <ScalarProperty Name="MatrixDepositOutstanding" ColumnName="MatrixDepositOutstanding" />
  27450. <ScalarProperty Name="MatrixDepositAmount" ColumnName="MatrixDepositAmount" />
  27451. <ScalarProperty Name="LastStatusUpdate" ColumnName="LastStatusUpdate" />
  27452. <ScalarProperty Name="PaymentMethod" ColumnName="PaymentMethod" />
  27453. <ScalarProperty Name="LevyNextArrivalDate" ColumnName="LevyNextArrivalDate" />
  27454. <ScalarProperty Name="DormantEffectiveTo" ColumnName="DormantEffectiveTo" />
  27455. <ScalarProperty Name="OccupationYear" ColumnName="OccupationYear" />
  27456. <ScalarProperty Name="IsSent" ColumnName="IsSent" />
  27457. <ScalarProperty Name="IsAllocated" ColumnName="IsAllocated" />
  27458. <ScalarProperty Name="AllocatedTo" ColumnName="AllocatedTo" />
  27459. <ScalarProperty Name="ReportsTo" ColumnName="ReportsTo" />
  27460. <ScalarProperty Name="DateAllocated" ColumnName="DateAllocated" />
  27461. <ScalarProperty Name="CollectionStatus" ColumnName="CollectionStatus" />
  27462. <ScalarProperty Name="IsCancelledLease" ColumnName="IsCancelledLease" />
  27463. <ScalarProperty Name="Override" ColumnName="Override" />
  27464. <ScalarProperty Name="InsurancePremium" ColumnName="InsurancePremium" />
  27465. <ScalarProperty Name="RemainingTerm" ColumnName="RemainingTerm" />
  27466. <ScalarProperty Name="PendingCredit" ColumnName="PendingCredit" />
  27467. <ScalarProperty Name="DateLastSentToCollectionSystem" ColumnName="DateLastSentToCollectionSystem" />
  27468. <ScalarProperty Name="SendToCollectionSystem" ColumnName="SendToCollectionSystem" />
  27469. <ScalarProperty Name="ConsoftNo" ColumnName="ConsoftNo" />
  27470. <ScalarProperty Name="TempConsoftTakeOnStatus" ColumnName="TempConsoftTakeOnStatus" />
  27471. <ScalarProperty Name="LastYearManagementFeeRaised" ColumnName="LastYearManagementFeeRaised" />
  27472. <ScalarProperty Name="PointsPurchased" ColumnName="PointsPurchased" />
  27473. <ScalarProperty Name="ContractType" ColumnName="ContractType" />
  27474. <ScalarProperty Name="AssetType" ColumnName="AssetType" />
  27475. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  27476. <ScalarProperty Name="Resort" ColumnName="Resort" />
  27477. <ScalarProperty Name="CurrentMonthlyInstalment" ColumnName="CurrentMonthlyInstalment" />
  27478. <ScalarProperty Name="MembershipNumber" ColumnName="MembershipNumber" />
  27479. <ScalarProperty Name="TotalArrears" ColumnName="TotalArrears" />
  27480. <ScalarProperty Name="MembershipExpiryDate" ColumnName="MembershipExpiryDate" />
  27481. <ScalarProperty Name="Status" ColumnName="Status" />
  27482. <ScalarProperty Name="DebtorString" ColumnName="DebtorString" />
  27483. <ScalarProperty Name="LastUpdated" ColumnName="LastUpdated" />
  27484. <ScalarProperty Name="LastPaidDate" ColumnName="LastPaidDate" />
  27485. <ScalarProperty Name="LastPaidAmount" ColumnName="LastPaidAmount" />
  27486. <ScalarProperty Name="Interest" ColumnName="Interest" />
  27487. <ScalarProperty Name="Fees" ColumnName="Fees" />
  27488. <ScalarProperty Name="Capital" ColumnName="Capital" />
  27489. <ScalarProperty Name="ConsoftReference" ColumnName="ConsoftReference" />
  27490. <ScalarProperty Name="DateDepositPaid" ColumnName="DateDepositPaid" />
  27491. <ScalarProperty Name="ZeroInterestDeal" ColumnName="ZeroInterestDeal" />
  27492. <ScalarProperty Name="Currency" ColumnName="Currency" />
  27493. <ScalarProperty Name="LookupDisplaytext" ColumnName="LookupDisplaytext" />
  27494. <ScalarProperty Name="Instalment" ColumnName="Instalment" />
  27495. <ScalarProperty Name="InstalmentStartDate" ColumnName="InstalmentStartDate" />
  27496. <ScalarProperty Name="LinkedToPrime" ColumnName="LinkedToPrime" />
  27497. <ScalarProperty Name="PrimeAdjustment" ColumnName="PrimeAdjustment" />
  27498. <ScalarProperty Name="FixedInterestRate" ColumnName="FixedInterestRate" />
  27499. <ScalarProperty Name="Club" ColumnName="Club" />
  27500. <ScalarProperty Name="Current" ColumnName="Current" />
  27501. <ScalarProperty Name="DepositOutstanding" ColumnName="DepositOutstanding" />
  27502. <ScalarProperty Name="DepositAmount" ColumnName="DepositAmount" />
  27503. <ScalarProperty Name="InvoiceAmount" ColumnName="InvoiceAmount" />
  27504. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27505. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27506. <ScalarProperty Name="Contract" ColumnName="Contract" />
  27507. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27508. <ScalarProperty Name="AccountType" ColumnName="AccountType" />
  27509. <ScalarProperty Name="CurrentAge" ColumnName="CurrentAge" />
  27510. <ScalarProperty Name="Installment" ColumnName="Installment" />
  27511. <ScalarProperty Name="AmountDue" ColumnName="AmountDue" />
  27512. <ScalarProperty Name="Days180" ColumnName="Days180" />
  27513. <ScalarProperty Name="Days150" ColumnName="Days150" />
  27514. <ScalarProperty Name="Days120" ColumnName="Days120" />
  27515. <ScalarProperty Name="Days90" ColumnName="Days90" />
  27516. <ScalarProperty Name="Days60" ColumnName="Days60" />
  27517. <ScalarProperty Name="Days30" ColumnName="Days30" />
  27518. <ScalarProperty Name="Sundries" ColumnName="Sundries" />
  27519. <ScalarProperty Name="Balance" ColumnName="Balance" />
  27520. <ScalarProperty Name="DebtorNo" ColumnName="DebtorNo" />
  27521. <ScalarProperty Name="OID" ColumnName="OID" />
  27522. </MappingFragment>
  27523. </EntityTypeMapping>
  27524. </EntitySetMapping>
  27525. <EntitySetMapping Name="TblDebtorBankings">
  27526. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorBanking">
  27527. <MappingFragment StoreEntitySet="TblDebtorBanking">
  27528. <ScalarProperty Name="OverrideDefaultBanking" ColumnName="OverrideDefaultBanking" />
  27529. <ScalarProperty Name="ACBStatus" ColumnName="ACBStatus" />
  27530. <ScalarProperty Name="OnHoldUpUntil" ColumnName="OnHoldUpUntil" />
  27531. <ScalarProperty Name="ACBDefaultBanking" ColumnName="ACBDefaultBanking" />
  27532. <ScalarProperty Name="ClubBanking" ColumnName="ClubBanking" />
  27533. <ScalarProperty Name="CreditCardDetails" ColumnName="CreditCardDetails" />
  27534. <ScalarProperty Name="MonthsRemaining" ColumnName="MonthsRemaining" />
  27535. <ScalarProperty Name="NumberOfMonths" ColumnName="NumberOfMonths" />
  27536. <ScalarProperty Name="DateLastSentToCollectionSystem" ColumnName="DateLastSentToCollectionSystem" />
  27537. <ScalarProperty Name="SendToCollectionSystem" ColumnName="SendToCollectionSystem" />
  27538. <ScalarProperty Name="Amendment" ColumnName="Amendment" />
  27539. <ScalarProperty Name="CCToken" ColumnName="CCToken" />
  27540. <ScalarProperty Name="CreditCard" ColumnName="CreditCard" />
  27541. <ScalarProperty Name="RunASAP" ColumnName="RunASAP" />
  27542. <ScalarProperty Name="LastUpdated" ColumnName="LastUpdated" />
  27543. <ScalarProperty Name="Status" ColumnName="Status" />
  27544. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  27545. <ScalarProperty Name="LastGenerated" ColumnName="LastGenerated" />
  27546. <ScalarProperty Name="CancelledDate" ColumnName="CancelledDate" />
  27547. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27548. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27549. <ScalarProperty Name="RejectionCode" ColumnName="RejectionCode" />
  27550. <ScalarProperty Name="InvalidDate" ColumnName="InvalidDate" />
  27551. <ScalarProperty Name="Percentage" ColumnName="Percentage" />
  27552. <ScalarProperty Name="Amount" ColumnName="Amount" />
  27553. <ScalarProperty Name="StrikeDay" ColumnName="StrikeDay" />
  27554. <ScalarProperty Name="AcbType" ColumnName="AcbType" />
  27555. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  27556. <ScalarProperty Name="BankDetail" ColumnName="BankDetail" />
  27557. <ScalarProperty Name="DebtorNo" ColumnName="DebtorNo" />
  27558. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27559. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27560. <ScalarProperty Name="OID" ColumnName="OID" />
  27561. </MappingFragment>
  27562. </EntityTypeMapping>
  27563. </EntitySetMapping>
  27564. <EntitySetMapping Name="TblDebtorBankingAmendments">
  27565. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorBankingAmendment">
  27566. <MappingFragment StoreEntitySet="TblDebtorBankingAmendment">
  27567. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27568. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27569. <ScalarProperty Name="DebtorBanking" ColumnName="DebtorBanking" />
  27570. <ScalarProperty Name="AmendmentCode" ColumnName="AmendmentCode" />
  27571. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27572. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27573. <ScalarProperty Name="OID" ColumnName="OID" />
  27574. </MappingFragment>
  27575. </EntityTypeMapping>
  27576. </EntitySetMapping>
  27577. <EntitySetMapping Name="TblDebtorCategoryBreakdowns">
  27578. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorCategoryBreakdown">
  27579. <MappingFragment StoreEntitySet="TblDebtorCategoryBreakdown">
  27580. <ScalarProperty Name="Description" ColumnName="Description" />
  27581. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27582. <ScalarProperty Name="AmountAllocated" ColumnName="AmountAllocated" />
  27583. <ScalarProperty Name="AmountRaised" ColumnName="AmountRaised" />
  27584. <ScalarProperty Name="Category" ColumnName="Category" />
  27585. <ScalarProperty Name="Sequence" ColumnName="Sequence" />
  27586. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  27587. </MappingFragment>
  27588. </EntityTypeMapping>
  27589. </EntitySetMapping>
  27590. <EntitySetMapping Name="TblDebtorCategoryCodes">
  27591. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorCategoryCode">
  27592. <MappingFragment StoreEntitySet="TblDebtorCategoryCode">
  27593. <ScalarProperty Name="IsCapitalCategory" ColumnName="IsCapitalCategory" />
  27594. <ScalarProperty Name="AllocateAgingOnNegativeAmount" ColumnName="AllocateAgingOnNegativeAmount" />
  27595. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27596. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27597. <ScalarProperty Name="SplitRaiseMonthlyInvoice" ColumnName="SplitRaiseMonthlyInvoice" />
  27598. <ScalarProperty Name="SplitReversals" ColumnName="SplitReversals" />
  27599. <ScalarProperty Name="Category" ColumnName="Category" />
  27600. <ScalarProperty Name="Description" ColumnName="Description" />
  27601. <ScalarProperty Name="OID" ColumnName="OID" />
  27602. </MappingFragment>
  27603. </EntityTypeMapping>
  27604. </EntitySetMapping>
  27605. <EntitySetMapping Name="TblDebtorCodings">
  27606. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorCoding">
  27607. <MappingFragment StoreEntitySet="TblDebtorCoding">
  27608. <ScalarProperty Name="OracleExpenseCode" ColumnName="OracleExpenseCode" />
  27609. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27610. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27611. <ScalarProperty Name="Code" ColumnName="Code" />
  27612. <ScalarProperty Name="Description" ColumnName="Description" />
  27613. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27614. </MappingFragment>
  27615. </EntityTypeMapping>
  27616. </EntitySetMapping>
  27617. <EntitySetMapping Name="TblDebtorConsoftTakeonValues">
  27618. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorConsoftTakeonValue">
  27619. <MappingFragment StoreEntitySet="TblDebtorConsoftTakeonValues">
  27620. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27621. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27622. <ScalarProperty Name="Days180" ColumnName="Days180" />
  27623. <ScalarProperty Name="Days150" ColumnName="Days150" />
  27624. <ScalarProperty Name="Days120" ColumnName="Days120" />
  27625. <ScalarProperty Name="Days90" ColumnName="Days90" />
  27626. <ScalarProperty Name="Days60" ColumnName="Days60" />
  27627. <ScalarProperty Name="Days30" ColumnName="Days30" />
  27628. <ScalarProperty Name="Current" ColumnName="Current" />
  27629. <ScalarProperty Name="Balance" ColumnName="Balance" />
  27630. <ScalarProperty Name="AccountType" ColumnName="AccountType" />
  27631. <ScalarProperty Name="MembershipNumber" ColumnName="MembershipNumber" />
  27632. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27633. </MappingFragment>
  27634. </EntityTypeMapping>
  27635. </EntitySetMapping>
  27636. <EntitySetMapping Name="TblDebtorDocuments">
  27637. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorDocument">
  27638. <MappingFragment StoreEntitySet="TblDebtorDocuments">
  27639. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27640. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27641. <ScalarProperty Name="Document" ColumnName="Document" />
  27642. <ScalarProperty Name="DocumentType" ColumnName="DocumentType" />
  27643. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27644. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27645. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  27646. <ScalarProperty Name="OID" ColumnName="OID" />
  27647. </MappingFragment>
  27648. </EntityTypeMapping>
  27649. </EntitySetMapping>
  27650. <EntitySetMapping Name="TblDebtorFeedbacks">
  27651. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorFeedback">
  27652. <MappingFragment StoreEntitySet="TblDebtorFeedback">
  27653. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27654. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27655. <ScalarProperty Name="DebtorNo" ColumnName="DebtorNo" />
  27656. <ScalarProperty Name="Notes" ColumnName="Notes" />
  27657. <ScalarProperty Name="Feedback" ColumnName="Feedback" />
  27658. <ScalarProperty Name="Name" ColumnName="Name" />
  27659. <ScalarProperty Name="Date" ColumnName="Date" />
  27660. <ScalarProperty Name="OID" ColumnName="OID" />
  27661. </MappingFragment>
  27662. </EntityTypeMapping>
  27663. </EntitySetMapping>
  27664. <EntitySetMapping Name="TblDebtorInterestRates">
  27665. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorInterestRate">
  27666. <MappingFragment StoreEntitySet="TblDebtorInterestRates">
  27667. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27668. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27669. <ScalarProperty Name="InterestEffectiveDate" ColumnName="InterestEffectiveDate" />
  27670. <ScalarProperty Name="InterestRate" ColumnName="InterestRate" />
  27671. <ScalarProperty Name="DebtorNo" ColumnName="DebtorNo" />
  27672. <ScalarProperty Name="OID" ColumnName="OID" />
  27673. </MappingFragment>
  27674. </EntityTypeMapping>
  27675. </EntitySetMapping>
  27676. <EntitySetMapping Name="TblDebtorManagementFeeValues">
  27677. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorManagementFeeValue">
  27678. <MappingFragment StoreEntitySet="TblDebtorManagementFeeValues">
  27679. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27680. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27681. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  27682. <ScalarProperty Name="LastUpdated" ColumnName="LastUpdated" />
  27683. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  27684. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  27685. <ScalarProperty Name="FeeYear" ColumnName="FeeYear" />
  27686. <ScalarProperty Name="MaxLevyMonths" ColumnName="MaxLevyMonths" />
  27687. <ScalarProperty Name="LevyInstalmentDue" ColumnName="LevyInstalmentDue" />
  27688. <ScalarProperty Name="ManagementFee" ColumnName="ManagementFee" />
  27689. <ScalarProperty Name="Estimate" ColumnName="Estimate" />
  27690. <ScalarProperty Name="StartDateAdjusted" ColumnName="StartDateAdjusted" />
  27691. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  27692. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  27693. <ScalarProperty Name="OID" ColumnName="OID" />
  27694. </MappingFragment>
  27695. </EntityTypeMapping>
  27696. </EntitySetMapping>
  27697. <EntitySetMapping Name="TblDebtorNotes">
  27698. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorNote">
  27699. <MappingFragment StoreEntitySet="TblDebtorNotes">
  27700. <ScalarProperty Name="Deleted" ColumnName="Deleted" />
  27701. <ScalarProperty Name="Posted" ColumnName="Posted" />
  27702. <ScalarProperty Name="LetterIndicator" ColumnName="LetterIndicator" />
  27703. <ScalarProperty Name="User" ColumnName="User" />
  27704. <ScalarProperty Name="ActionDate" ColumnName="ActionDate" />
  27705. <ScalarProperty Name="Amount" ColumnName="Amount" />
  27706. <ScalarProperty Name="MessageText" ColumnName="MessageText" />
  27707. <ScalarProperty Name="MessageDate" ColumnName="MessageDate" />
  27708. <ScalarProperty Name="MessageId" ColumnName="MessageId" />
  27709. <ScalarProperty Name="MessageCat" ColumnName="MessageCat" />
  27710. <ScalarProperty Name="MsgType" ColumnName="MsgType" />
  27711. <ScalarProperty Name="Account" ColumnName="Account" />
  27712. <ScalarProperty Name="Company" ColumnName="Company" />
  27713. <ScalarProperty Name="Category" ColumnName="Category" />
  27714. <ScalarProperty Name="MessageNo" ColumnName="MessageNo" />
  27715. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27716. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27717. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27718. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27719. <ScalarProperty Name="Comments" ColumnName="Comments" />
  27720. <ScalarProperty Name="MessageCode" ColumnName="MessageCode" />
  27721. <ScalarProperty Name="TblDebtor" ColumnName="TblDebtor" />
  27722. <ScalarProperty Name="OID" ColumnName="OID" />
  27723. </MappingFragment>
  27724. </EntityTypeMapping>
  27725. </EntitySetMapping>
  27726. <EntitySetMapping Name="TblDebtorReportsRecipients">
  27727. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorReportsRecipient">
  27728. <MappingFragment StoreEntitySet="TblDebtorReportsRecipients">
  27729. <ScalarProperty Name="DoNotSend" ColumnName="DoNotSend" />
  27730. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27731. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27732. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  27733. <ScalarProperty Name="User" ColumnName="User" />
  27734. <ScalarProperty Name="OID" ColumnName="OID" />
  27735. </MappingFragment>
  27736. </EntityTypeMapping>
  27737. </EntitySetMapping>
  27738. <EntitySetMapping Name="TblDebtorResaleTransfers">
  27739. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorResaleTransfer">
  27740. <MappingFragment StoreEntitySet="TblDebtorResaleTransfers">
  27741. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27742. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27743. <ScalarProperty Name="DebtorNumber" ColumnName="DebtorNumber" />
  27744. <ScalarProperty Name="TransferTransaction" ColumnName="TransferTransaction" />
  27745. <ScalarProperty Name="BankTransferLine" ColumnName="BankTransferLine" />
  27746. <ScalarProperty Name="OID" ColumnName="OID" />
  27747. </MappingFragment>
  27748. </EntityTypeMapping>
  27749. </EntitySetMapping>
  27750. <EntitySetMapping Name="TblDebtorTransactions">
  27751. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorTransaction">
  27752. <MappingFragment StoreEntitySet="TblDebtorTransactions">
  27753. <ScalarProperty Name="IsTempReversed" ColumnName="IsTempReversed" />
  27754. <ScalarProperty Name="AllBankStatementLines" ColumnName="AllBankStatementLines" />
  27755. <ScalarProperty Name="ChequeNumber" ColumnName="ChequeNumber" />
  27756. <ScalarProperty Name="BreakDownAmount" ColumnName="BreakDownAmount" />
  27757. <ScalarProperty Name="SentToConsfot" ColumnName="SentToConsfot" />
  27758. <ScalarProperty Name="DebtorStatus" ColumnName="DebtorStatus" />
  27759. <ScalarProperty Name="ManFeeAdjustmentLetterGenerated" ColumnName="ManFeeAdjustmentLetterGenerated" />
  27760. <ScalarProperty Name="ManFeeAdjustedAmount" ColumnName="ManFeeAdjustedAmount" />
  27761. <ScalarProperty Name="ConversionRate" ColumnName="ConversionRate" />
  27762. <ScalarProperty Name="BankTransfer" ColumnName="BankTransfer" />
  27763. <ScalarProperty Name="CommissionProcessedDate" ColumnName="CommissionProcessedDate" />
  27764. <ScalarProperty Name="HideDebtorTransaction" ColumnName="HideDebtorTransaction" />
  27765. <ScalarProperty Name="DebtorCode" ColumnName="DebtorCode" />
  27766. <ScalarProperty Name="DeltaInstalment" ColumnName="DeltaInstalment" />
  27767. <ScalarProperty Name="Instalment" ColumnName="Instalment" />
  27768. <ScalarProperty Name="CommissionProcessed" ColumnName="CommissionProcessed" />
  27769. <ScalarProperty Name="DsDealInvoice" ColumnName="DsDealInvoice" />
  27770. <ScalarProperty Name="CancellationProccess" ColumnName="CancellationProccess" />
  27771. <ScalarProperty Name="Override" ColumnName="Override" />
  27772. <ScalarProperty Name="DateSentToNetready" ColumnName="DateSentToNetready" />
  27773. <ScalarProperty Name="CollectionFee" ColumnName="CollectionFee" />
  27774. <ScalarProperty Name="DateRanThroughCommissionsReport" ColumnName="DateRanThroughCommissionsReport" />
  27775. <ScalarProperty Name="ManualCategoryAllocation" ColumnName="ManualCategoryAllocation" />
  27776. <ScalarProperty Name="IsReversed" ColumnName="IsReversed" />
  27777. <ScalarProperty Name="CollectionTran" ColumnName="CollectionTran" />
  27778. <ScalarProperty Name="DateLastSentToCollectionSystem" ColumnName="DateLastSentToCollectionSystem" />
  27779. <ScalarProperty Name="SendToCollectionSystem" ColumnName="SendToCollectionSystem" />
  27780. <ScalarProperty Name="ConsoftCategory" ColumnName="ConsoftCategory" />
  27781. <ScalarProperty Name="ManagementFeeAdjusted" ColumnName="ManagementFeeAdjusted" />
  27782. <ScalarProperty Name="IsManFeeEstimate" ColumnName="IsManFeeEstimate" />
  27783. <ScalarProperty Name="ManagementFeeYearRaised" ColumnName="ManagementFeeYearRaised" />
  27784. <ScalarProperty Name="TotalAmountReversedSoFar" ColumnName="TotalAmountReversedSoFar" />
  27785. <ScalarProperty Name="AllJournalLines" ColumnName="AllJournalLines" />
  27786. <ScalarProperty Name="DeltaInterest" ColumnName="DeltaInterest" />
  27787. <ScalarProperty Name="DeltaFees" ColumnName="DeltaFees" />
  27788. <ScalarProperty Name="DeltaCapital" ColumnName="DeltaCapital" />
  27789. <ScalarProperty Name="Interest" ColumnName="Interest" />
  27790. <ScalarProperty Name="Fees" ColumnName="Fees" />
  27791. <ScalarProperty Name="Capital" ColumnName="Capital" />
  27792. <ScalarProperty Name="PayType" ColumnName="PayType" />
  27793. <ScalarProperty Name="CurrentAge" ColumnName="CurrentAge" />
  27794. <ScalarProperty Name="BankAccount" ColumnName="BankAccount" />
  27795. <ScalarProperty Name="Comments" ColumnName="Comments" />
  27796. <ScalarProperty Name="DeltaDeposit" ColumnName="DeltaDeposit" />
  27797. <ScalarProperty Name="TblJournalLines" ColumnName="TblJournalLines" />
  27798. <ScalarProperty Name="Reversed" ColumnName="Reversed" />
  27799. <ScalarProperty Name="Deposit" ColumnName="Deposit" />
  27800. <ScalarProperty Name="DeltaDays180" ColumnName="DeltaDays180" />
  27801. <ScalarProperty Name="DeltaDays150" ColumnName="DeltaDays150" />
  27802. <ScalarProperty Name="DeltaDays120" ColumnName="DeltaDays120" />
  27803. <ScalarProperty Name="DeltaDays90" ColumnName="DeltaDays90" />
  27804. <ScalarProperty Name="DeltaDays60" ColumnName="DeltaDays60" />
  27805. <ScalarProperty Name="DeltaDays30" ColumnName="DeltaDays30" />
  27806. <ScalarProperty Name="DeltaCurrent" ColumnName="DeltaCurrent" />
  27807. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27808. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27809. <ScalarProperty Name="Days180" ColumnName="Days180" />
  27810. <ScalarProperty Name="Days150" ColumnName="Days150" />
  27811. <ScalarProperty Name="Days120" ColumnName="Days120" />
  27812. <ScalarProperty Name="Days90" ColumnName="Days90" />
  27813. <ScalarProperty Name="Days60" ColumnName="Days60" />
  27814. <ScalarProperty Name="Days30" ColumnName="Days30" />
  27815. <ScalarProperty Name="Current" ColumnName="Current" />
  27816. <ScalarProperty Name="StatementPeriod" ColumnName="StatementPeriod" />
  27817. <ScalarProperty Name="Amount" ColumnName="Amount" />
  27818. <ScalarProperty Name="ReferenceNumber" ColumnName="ReferenceNumber" />
  27819. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27820. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27821. <ScalarProperty Name="EffectiveDate" ColumnName="EffectiveDate" />
  27822. <ScalarProperty Name="TransactionType" ColumnName="TransactionType" />
  27823. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  27824. <ScalarProperty Name="OID" ColumnName="OID" />
  27825. </MappingFragment>
  27826. </EntityTypeMapping>
  27827. </EntitySetMapping>
  27828. <EntitySetMapping Name="TblDebtorTransactionsCatBreakdowns">
  27829. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorTransactionsCatBreakdown">
  27830. <MappingFragment StoreEntitySet="TblDebtorTransactionsCatBreakdown">
  27831. <ScalarProperty Name="Description" ColumnName="Description" />
  27832. <ScalarProperty Name="TransactionType" ColumnName="TransactionType" />
  27833. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27834. <ScalarProperty Name="AmountAllocated" ColumnName="AmountAllocated" />
  27835. <ScalarProperty Name="AmountRaised" ColumnName="AmountRaised" />
  27836. <ScalarProperty Name="Category" ColumnName="Category" />
  27837. <ScalarProperty Name="Sequence" ColumnName="Sequence" />
  27838. <ScalarProperty Name="DebtorTransaction" ColumnName="DebtorTransaction" />
  27839. </MappingFragment>
  27840. </EntityTypeMapping>
  27841. </EntitySetMapping>
  27842. <EntitySetMapping Name="TblDebtorTransactionTypeReportGroups">
  27843. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorTransactionTypeReportGroup">
  27844. <MappingFragment StoreEntitySet="TblDebtorTransactionTypeReportGroup">
  27845. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27846. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27847. <ScalarProperty Name="Name" ColumnName="Name" />
  27848. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27849. </MappingFragment>
  27850. </EntityTypeMapping>
  27851. </EntitySetMapping>
  27852. <EntitySetMapping Name="TblDebtorTranTypes">
  27853. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorTranType">
  27854. <MappingFragment StoreEntitySet="TblDebtorTranTypes">
  27855. <ScalarProperty Name="UnpaidPaymentTransaction" ColumnName="UnpaidPaymentTransaction" />
  27856. <ScalarProperty Name="ReversalTranType" ColumnName="ReversalTranType" />
  27857. <ScalarProperty Name="ContractStatus" ColumnName="ContractStatus" />
  27858. <ScalarProperty Name="DebtorOnJournalCanBeBlank" ColumnName="DebtorOnJournalCanBeBlank" />
  27859. <ScalarProperty Name="DoNotGenerateBankTransferAdmin" ColumnName="DoNotGenerateBankTransferAdmin" />
  27860. <ScalarProperty Name="DoNotGenerateBankTransferLevy" ColumnName="DoNotGenerateBankTransferLevy" />
  27861. <ScalarProperty Name="DoNotGenerateBankTransferCapital" ColumnName="DoNotGenerateBankTransferCapital" />
  27862. <ScalarProperty Name="ConsoftCode" ColumnName="ConsoftCode" />
  27863. <ScalarProperty Name="DebtorTransactionTypeReportGroup" ColumnName="DebtorTransactionTypeReportGroup" />
  27864. <ScalarProperty Name="AccountingType" ColumnName="AccountingType" />
  27865. <ScalarProperty Name="CalculateCollectionFee" ColumnName="CalculateCollectionFee" />
  27866. <ScalarProperty Name="PaymentType" ColumnName="PaymentType" />
  27867. <ScalarProperty Name="IsReversable" ColumnName="IsReversable" />
  27868. <ScalarProperty Name="IsReversal" ColumnName="IsReversal" />
  27869. <ScalarProperty Name="MainTransactionType" ColumnName="MainTransactionType" />
  27870. <ScalarProperty Name="TransferTransaction" ColumnName="TransferTransaction" />
  27871. <ScalarProperty Name="TransactionCategory" ColumnName="TransactionCategory" />
  27872. <ScalarProperty Name="Reversal" ColumnName="Reversal" />
  27873. <ScalarProperty Name="Code" ColumnName="Code" />
  27874. <ScalarProperty Name="TransactionSign" ColumnName="TransactionSign" />
  27875. <ScalarProperty Name="JournalsAllowed" ColumnName="JournalsAllowed" />
  27876. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27877. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27878. <ScalarProperty Name="PaymentTransaction" ColumnName="PaymentTransaction" />
  27879. <ScalarProperty Name="GroupCategory" ColumnName="GroupCategory" />
  27880. <ScalarProperty Name="CalculateInterest" ColumnName="CalculateInterest" />
  27881. <ScalarProperty Name="Description" ColumnName="Description" />
  27882. <ScalarProperty Name="OID" ColumnName="OID" />
  27883. </MappingFragment>
  27884. </EntityTypeMapping>
  27885. </EntitySetMapping>
  27886. <EntitySetMapping Name="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  27887. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  27888. <MappingFragment StoreEntitySet="TblDebtorTranTypesReversalsTemp_TblDebtorTranTypesReversals">
  27889. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27890. <ScalarProperty Name="OID" ColumnName="OID" />
  27891. <ScalarProperty Name="ReversalsTemp" ColumnName="ReversalsTemp" />
  27892. <ScalarProperty Name="Reversals" ColumnName="Reversals" />
  27893. </MappingFragment>
  27894. </EntityTypeMapping>
  27895. </EntitySetMapping>
  27896. <EntitySetMapping Name="TblDebtorWeekModuleExceptions">
  27897. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDebtorWeekModuleException">
  27898. <MappingFragment StoreEntitySet="TblDebtorWeekModuleException">
  27899. <ScalarProperty Name="OverrideArrivalDate" ColumnName="OverrideArrivalDate" />
  27900. <ScalarProperty Name="Month" ColumnName="Month" />
  27901. <ScalarProperty Name="MonthOverride" ColumnName="MonthOverride" />
  27902. <ScalarProperty Name="EstimateArrivalDate" ColumnName="EstimateArrivalDate" />
  27903. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27904. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27905. <ScalarProperty Name="ManFeeYear" ColumnName="ManFeeYear" />
  27906. <ScalarProperty Name="FixedArrangement" ColumnName="FixedArrangement" />
  27907. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27908. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27909. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  27910. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  27911. <ScalarProperty Name="WeekModuleYear" ColumnName="WeekModuleYear" />
  27912. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  27913. <ScalarProperty Name="ResortCode" ColumnName="ResortCode" />
  27914. <ScalarProperty Name="Exception" ColumnName="Exception" />
  27915. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  27916. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27917. </MappingFragment>
  27918. </EntityTypeMapping>
  27919. </EntitySetMapping>
  27920. <EntitySetMapping Name="TblDefaults">
  27921. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDefault">
  27922. <MappingFragment StoreEntitySet="TblDefault">
  27923. <ScalarProperty Name="StringValue" ColumnName="StringValue" />
  27924. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27925. <ScalarProperty Name="Oid" ColumnName="Oid" />
  27926. <ScalarProperty Name="Value" ColumnName="Value" />
  27927. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  27928. </MappingFragment>
  27929. </EntityTypeMapping>
  27930. </EntitySetMapping>
  27931. <EntitySetMapping Name="TblDepartments">
  27932. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDepartment">
  27933. <MappingFragment StoreEntitySet="TblDepartment">
  27934. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27935. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27936. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27937. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  27938. <ScalarProperty Name="DepartmentCode" ColumnName="DepartmentCode" />
  27939. </MappingFragment>
  27940. </EntityTypeMapping>
  27941. </EntitySetMapping>
  27942. <EntitySetMapping Name="TblDetailedInfoes">
  27943. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDetailedInfo">
  27944. <MappingFragment StoreEntitySet="TblDetailedInfo">
  27945. <ScalarProperty Name="Initials" ColumnName="Initials" />
  27946. <ScalarProperty Name="OtherOwnedHolidayAccomodationDescription" ColumnName="OtherOwnedHolidayAccomodationDescription" />
  27947. <ScalarProperty Name="OtherOwnedHolidayAccomodation" ColumnName="OtherOwnedHolidayAccomodation" />
  27948. <ScalarProperty Name="TimeShare" ColumnName="TimeShare" />
  27949. <ScalarProperty Name="HolidayHome" ColumnName="HolidayHome" />
  27950. <ScalarProperty Name="PasswordByte" ColumnName="PasswordByte" />
  27951. <ScalarProperty Name="Password" ColumnName="Password" />
  27952. <ScalarProperty Name="OneTimePassword" ColumnName="OneTimePassword" />
  27953. <ScalarProperty Name="SpouseOccupation" ColumnName="SpouseOccupation" />
  27954. <ScalarProperty Name="Occupation" ColumnName="Occupation" />
  27955. <ScalarProperty Name="HowDidYouHearAboutUs" ColumnName="HowDidYouHearAboutUs" />
  27956. <ScalarProperty Name="Contacted" ColumnName="Contacted" />
  27957. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  27958. <ScalarProperty Name="Title" ColumnName="Title" />
  27959. <ScalarProperty Name="Ethnicity" ColumnName="Ethnicity" />
  27960. <ScalarProperty Name="MaritalStatus" ColumnName="MaritalStatus" />
  27961. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  27962. <ScalarProperty Name="OID" ColumnName="OID" />
  27963. </MappingFragment>
  27964. </EntityTypeMapping>
  27965. </EntitySetMapping>
  27966. <EntitySetMapping Name="TblDevelopers">
  27967. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDeveloper">
  27968. <MappingFragment StoreEntitySet="TblDeveloper">
  27969. <ScalarProperty Name="SecretKey" ColumnName="SecretKey" />
  27970. <ScalarProperty Name="AccessKey" ColumnName="AccessKey" />
  27971. <ScalarProperty Name="LevyBankingDetails" ColumnName="LevyBankingDetails" />
  27972. <ScalarProperty Name="EmailSubject" ColumnName="EmailSubject" />
  27973. <ScalarProperty Name="ManagementStatementAccount" ColumnName="ManagementStatementAccount" />
  27974. <ScalarProperty Name="CapitalStatementBankAccount" ColumnName="CapitalStatementBankAccount" />
  27975. <ScalarProperty Name="Company" ColumnName="Company" />
  27976. <ScalarProperty Name="AVSCode" ColumnName="AVSCode" />
  27977. <ScalarProperty Name="Key" ColumnName="Key" />
  27978. <ScalarProperty Name="ExternalDeveloper" ColumnName="ExternalDeveloper" />
  27979. <ScalarProperty Name="MayTranscollect" ColumnName="MayTranscollect" />
  27980. <ScalarProperty Name="FaxNumber" ColumnName="FaxNumber" />
  27981. <ScalarProperty Name="BankingDetails" ColumnName="BankingDetails" />
  27982. <ScalarProperty Name="PostalAddress" ColumnName="PostalAddress" />
  27983. <ScalarProperty Name="MayUpgrade" ColumnName="MayUpgrade" />
  27984. <ScalarProperty Name="MayTransfigure" ColumnName="MayTransfigure" />
  27985. <ScalarProperty Name="DocumentsSignedBy" ColumnName="DocumentsSignedBy" />
  27986. <ScalarProperty Name="Abbreviation" ColumnName="Abbreviation" />
  27987. <ScalarProperty Name="RegistrationNumber" ColumnName="RegistrationNumber" />
  27988. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  27989. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  27990. <ScalarProperty Name="TelephoneNumber" ColumnName="TelephoneNumber" />
  27991. <ScalarProperty Name="Address" ColumnName="Address" />
  27992. <ScalarProperty Name="NCRNumber" ColumnName="NCRNumber" />
  27993. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  27994. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  27995. <ScalarProperty Name="Name" ColumnName="Name" />
  27996. <ScalarProperty Name="OID" ColumnName="OID" />
  27997. </MappingFragment>
  27998. </EntityTypeMapping>
  27999. </EntitySetMapping>
  28000. <EntitySetMapping Name="TblDialCodes">
  28001. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDialCode">
  28002. <MappingFragment StoreEntitySet="TblDialCodes">
  28003. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28004. <ScalarProperty Name="DialCode" ColumnName="DialCode" />
  28005. <ScalarProperty Name="PhoneType" ColumnName="PhoneType" />
  28006. </MappingFragment>
  28007. </EntityTypeMapping>
  28008. </EntitySetMapping>
  28009. <EntitySetMapping Name="TblDocumentTypes">
  28010. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDocumentType">
  28011. <MappingFragment StoreEntitySet="TblDocumentType">
  28012. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28013. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28014. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  28015. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28016. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28017. <ScalarProperty Name="OID" ColumnName="OID" />
  28018. </MappingFragment>
  28019. </EntityTypeMapping>
  28020. </EntitySetMapping>
  28021. <EntitySetMapping Name="TblDottedReasons">
  28022. <EntityTypeMapping TypeName="ProvisionStagingModel.TblDottedReason">
  28023. <MappingFragment StoreEntitySet="TblDottedReason">
  28024. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28025. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28026. <ScalarProperty Name="DottedReason" ColumnName="DottedReason" />
  28027. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28028. </MappingFragment>
  28029. </EntityTypeMapping>
  28030. </EntitySetMapping>
  28031. <EntitySetMapping Name="TblEmailRecipiants">
  28032. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEmailRecipiant">
  28033. <MappingFragment StoreEntitySet="TblEmailRecipiants">
  28034. <ScalarProperty Name="RecipiantEmail" ColumnName="RecipiantEmail" />
  28035. <ScalarProperty Name="RecipiantName" ColumnName="RecipiantName" />
  28036. <ScalarProperty Name="SenderEmail" ColumnName="SenderEmail" />
  28037. <ScalarProperty Name="SenderName" ColumnName="SenderName" />
  28038. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28039. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28040. <ScalarProperty Name="HasAttatchments" ColumnName="HasAttatchments" />
  28041. <ScalarProperty Name="IsQuartzJob" ColumnName="IsQuartzJob" />
  28042. <ScalarProperty Name="Description" ColumnName="Description" />
  28043. <ScalarProperty Name="Subject" ColumnName="Subject" />
  28044. <ScalarProperty Name="OID" ColumnName="OID" />
  28045. </MappingFragment>
  28046. </EntityTypeMapping>
  28047. </EntitySetMapping>
  28048. <EntitySetMapping Name="TblEquityCommissionTargets">
  28049. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEquityCommissionTarget">
  28050. <MappingFragment StoreEntitySet="TblEquityCommissionTarget">
  28051. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28052. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28053. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  28054. <ScalarProperty Name="Target" ColumnName="Target" />
  28055. <ScalarProperty Name="RecalculateDate" ColumnName="RecalculateDate" />
  28056. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  28057. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  28058. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28059. </MappingFragment>
  28060. </EntityTypeMapping>
  28061. </EntitySetMapping>
  28062. <EntitySetMapping Name="TblEquityTargetPercentages">
  28063. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEquityTargetPercentage">
  28064. <MappingFragment StoreEntitySet="TblEquityTargetPercentage">
  28065. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28066. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28067. <ScalarProperty Name="EquityPercentage" ColumnName="EquityPercentage" />
  28068. <ScalarProperty Name="TargetPercentage" ColumnName="TargetPercentage" />
  28069. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28070. </MappingFragment>
  28071. </EntityTypeMapping>
  28072. </EntitySetMapping>
  28073. <EntitySetMapping Name="TblEthnicities">
  28074. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEthnicity">
  28075. <MappingFragment StoreEntitySet="TblEthnicity">
  28076. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28077. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28078. <ScalarProperty Name="Description" ColumnName="Description" />
  28079. <ScalarProperty Name="OID" ColumnName="OID" />
  28080. </MappingFragment>
  28081. </EntityTypeMapping>
  28082. </EntitySetMapping>
  28083. <EntitySetMapping Name="TblEVouchers">
  28084. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEVoucher">
  28085. <MappingFragment StoreEntitySet="TblEVoucher">
  28086. <ScalarProperty Name="VoucherRedeemed" ColumnName="VoucherRedeemed" />
  28087. <ScalarProperty Name="InTransaction" ColumnName="InTransaction" />
  28088. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28089. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28090. <ScalarProperty Name="EmailSent" ColumnName="EmailSent" />
  28091. <ScalarProperty Name="SMSSent" ColumnName="SMSSent" />
  28092. <ScalarProperty Name="Booking" ColumnName="Booking" />
  28093. <ScalarProperty Name="Number" ColumnName="Number" />
  28094. <ScalarProperty Name="DateAllocated" ColumnName="DateAllocated" />
  28095. <ScalarProperty Name="DateRegistered" ColumnName="DateRegistered" />
  28096. <ScalarProperty Name="VoucherCategory" ColumnName="VoucherCategory" />
  28097. <ScalarProperty Name="VoucherType" ColumnName="VoucherType" />
  28098. <ScalarProperty Name="VoucherSeries" ColumnName="VoucherSeries" />
  28099. <ScalarProperty Name="Authorised" ColumnName="Authorised" />
  28100. <ScalarProperty Name="Disabled" ColumnName="Disabled" />
  28101. <ScalarProperty Name="OTP" ColumnName="OTP" />
  28102. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  28103. <ScalarProperty Name="VoucherNumber" ColumnName="VoucherNumber" />
  28104. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28105. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28106. <ScalarProperty Name="OID" ColumnName="OID" />
  28107. </MappingFragment>
  28108. </EntityTypeMapping>
  28109. </EntitySetMapping>
  28110. <EntitySetMapping Name="TblEVoucherCategories">
  28111. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEVoucherCategory">
  28112. <MappingFragment StoreEntitySet="TblEVoucherCategory">
  28113. <ScalarProperty Name="Subject" ColumnName="Subject" />
  28114. <ScalarProperty Name="BannerURL" ColumnName="BannerURL" />
  28115. <ScalarProperty Name="MainURL" ColumnName="MainURL" />
  28116. <ScalarProperty Name="LogoURL" ColumnName="LogoURL" />
  28117. <ScalarProperty Name="HTMLTemplate" ColumnName="HTMLTemplate" />
  28118. <ScalarProperty Name="IsCBC" ColumnName="IsCBC" />
  28119. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28120. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28121. <ScalarProperty Name="FullName" ColumnName="FullName" />
  28122. <ScalarProperty Name="SMSTemplate" ColumnName="SMSTemplate" />
  28123. <ScalarProperty Name="VoucherValue" ColumnName="VoucherValue" />
  28124. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  28125. <ScalarProperty Name="Decommissioned" ColumnName="Decommissioned" />
  28126. <ScalarProperty Name="CategoryName" ColumnName="CategoryName" />
  28127. <ScalarProperty Name="Prefix" ColumnName="Prefix" />
  28128. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28129. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28130. <ScalarProperty Name="OID" ColumnName="OID" />
  28131. </MappingFragment>
  28132. </EntityTypeMapping>
  28133. </EntitySetMapping>
  28134. <EntitySetMapping Name="TblEVoucherNotes">
  28135. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEVoucherNote">
  28136. <MappingFragment StoreEntitySet="TblEVoucherNotes">
  28137. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28138. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28139. <ScalarProperty Name="Comments" ColumnName="Comments" />
  28140. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28141. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28142. <ScalarProperty Name="TblEVoucher" ColumnName="TblEVoucher" />
  28143. <ScalarProperty Name="OID" ColumnName="OID" />
  28144. </MappingFragment>
  28145. </EntityTypeMapping>
  28146. </EntitySetMapping>
  28147. <EntitySetMapping Name="TblEVoucherSeries">
  28148. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEVoucherSery">
  28149. <MappingFragment StoreEntitySet="TblEVoucherSeries">
  28150. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28151. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28152. <ScalarProperty Name="Prefix" ColumnName="Prefix" />
  28153. <ScalarProperty Name="SeriesName" ColumnName="SeriesName" />
  28154. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28155. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28156. <ScalarProperty Name="OID" ColumnName="OID" />
  28157. </MappingFragment>
  28158. </EntityTypeMapping>
  28159. </EntitySetMapping>
  28160. <EntitySetMapping Name="TblEVoucherTypes">
  28161. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEVoucherType">
  28162. <MappingFragment StoreEntitySet="TblEVoucherType">
  28163. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28164. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28165. <ScalarProperty Name="CurrentRotation" ColumnName="CurrentRotation" />
  28166. <ScalarProperty Name="RotationLinksTo" ColumnName="RotationLinksTo" />
  28167. <ScalarProperty Name="RotationNumber" ColumnName="RotationNumber" />
  28168. <ScalarProperty Name="FullType" ColumnName="FullType" />
  28169. <ScalarProperty Name="SMSTemplate" ColumnName="SMSTemplate" />
  28170. <ScalarProperty Name="HTMLTemplate1" ColumnName="HTMLTemplate1" />
  28171. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  28172. <ScalarProperty Name="Prefix" ColumnName="Prefix" />
  28173. <ScalarProperty Name="Type" ColumnName="Type" />
  28174. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28175. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28176. <ScalarProperty Name="OID" ColumnName="OID" />
  28177. </MappingFragment>
  28178. </EntityTypeMapping>
  28179. </EntitySetMapping>
  28180. <EntitySetMapping Name="TblEVoucherWeekTypes">
  28181. <EntityTypeMapping TypeName="ProvisionStagingModel.TblEVoucherWeekType">
  28182. <MappingFragment StoreEntitySet="TblEVoucherWeekType">
  28183. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28184. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28185. <ScalarProperty Name="Prefix" ColumnName="Prefix" />
  28186. <ScalarProperty Name="Type" ColumnName="Type" />
  28187. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28188. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28189. <ScalarProperty Name="OID" ColumnName="OID" />
  28190. </MappingFragment>
  28191. </EntityTypeMapping>
  28192. </EntitySetMapping>
  28193. <EntitySetMapping Name="TblExpenseCodes">
  28194. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExpenseCode">
  28195. <MappingFragment StoreEntitySet="TblExpenseCodes">
  28196. <ScalarProperty Name="PettyCashTransfer" ColumnName="PettyCashTransfer" />
  28197. <ScalarProperty Name="BankingTransfer" ColumnName="BankingTransfer" />
  28198. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28199. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28200. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28201. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28202. <ScalarProperty Name="Description" ColumnName="Description" />
  28203. <ScalarProperty Name="ExpenseCode" ColumnName="ExpenseCode" />
  28204. <ScalarProperty Name="OID" ColumnName="OID" />
  28205. </MappingFragment>
  28206. </EntityTypeMapping>
  28207. </EntitySetMapping>
  28208. <EntitySetMapping Name="TblExpenseCodesCompanies">
  28209. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExpenseCodesCompany">
  28210. <MappingFragment StoreEntitySet="TblExpenseCodesCompany">
  28211. <ScalarProperty Name="InterimActualAmount" ColumnName="InterimActualAmount" />
  28212. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28213. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28214. <ScalarProperty Name="ManualAuthorisePayment" ColumnName="ManualAuthorisePayment" />
  28215. <ScalarProperty Name="LastUpdated" ColumnName="LastUpdated" />
  28216. <ScalarProperty Name="ActualNextYear" ColumnName="ActualNextYear" />
  28217. <ScalarProperty Name="ActualLastYear" ColumnName="ActualLastYear" />
  28218. <ScalarProperty Name="ActualThisYear" ColumnName="ActualThisYear" />
  28219. <ScalarProperty Name="BudgetNextYear" ColumnName="BudgetNextYear" />
  28220. <ScalarProperty Name="BudgetLastYear" ColumnName="BudgetLastYear" />
  28221. <ScalarProperty Name="BudgetThisYear" ColumnName="BudgetThisYear" />
  28222. <ScalarProperty Name="Company" ColumnName="Company" />
  28223. <ScalarProperty Name="ExpenseCode" ColumnName="ExpenseCode" />
  28224. <ScalarProperty Name="OID" ColumnName="OID" />
  28225. </MappingFragment>
  28226. </EntityTypeMapping>
  28227. </EntitySetMapping>
  28228. <EntitySetMapping Name="TblExpenseCodeTransactionsDetails">
  28229. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExpenseCodeTransactionsDetail">
  28230. <MappingFragment StoreEntitySet="TblExpenseCodeTransactionsDetail">
  28231. <ScalarProperty Name="Comments" ColumnName="Comments" />
  28232. <ScalarProperty Name="ReferenceKey" ColumnName="ReferenceKey" />
  28233. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28234. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28235. <ScalarProperty Name="DocType" ColumnName="DocType" />
  28236. <ScalarProperty Name="Amount" ColumnName="Amount" />
  28237. <ScalarProperty Name="ExpenseCode" ColumnName="ExpenseCode" />
  28238. <ScalarProperty Name="ExpenseCodeTransactionsHeader" ColumnName="ExpenseCodeTransactionsHeader" />
  28239. <ScalarProperty Name="EnteredBy" ColumnName="EnteredBy" />
  28240. <ScalarProperty Name="DateEntered" ColumnName="DateEntered" />
  28241. <ScalarProperty Name="OID" ColumnName="OID" />
  28242. </MappingFragment>
  28243. </EntityTypeMapping>
  28244. </EntitySetMapping>
  28245. <EntitySetMapping Name="TblExpenseCodeTransactionsHeaders">
  28246. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExpenseCodeTransactionsHeader">
  28247. <MappingFragment StoreEntitySet="TblExpenseCodeTransactionsHeader">
  28248. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28249. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28250. <ScalarProperty Name="EffectiveDate" ColumnName="EffectiveDate" />
  28251. <ScalarProperty Name="Company" ColumnName="Company" />
  28252. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28253. <ScalarProperty Name="RequestedBy" ColumnName="RequestedBy" />
  28254. <ScalarProperty Name="OID" ColumnName="OID" />
  28255. </MappingFragment>
  28256. </EntityTypeMapping>
  28257. </EntitySetMapping>
  28258. <EntitySetMapping Name="TblExternalResortCommissions">
  28259. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExternalResortCommission">
  28260. <MappingFragment StoreEntitySet="TblExternalResortCommission">
  28261. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28262. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28263. <ScalarProperty Name="CapitalDebtor" ColumnName="CapitalDebtor" />
  28264. <ScalarProperty Name="GenerationRule" ColumnName="GenerationRule" />
  28265. <ScalarProperty Name="Week" ColumnName="Week" />
  28266. <ScalarProperty Name="TotalCommission" ColumnName="TotalCommission" />
  28267. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  28268. <ScalarProperty Name="Asset" ColumnName="Asset" />
  28269. <ScalarProperty Name="Resort" ColumnName="Resort" />
  28270. <ScalarProperty Name="Contract" ColumnName="Contract" />
  28271. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28272. <ScalarProperty Name="OID" ColumnName="OID" />
  28273. </MappingFragment>
  28274. </EntityTypeMapping>
  28275. </EntitySetMapping>
  28276. <EntitySetMapping Name="TblExternalResortCommissionTransactions">
  28277. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExternalResortCommissionTransaction">
  28278. <MappingFragment StoreEntitySet="TblExternalResortCommissionTransactions">
  28279. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28280. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28281. <ScalarProperty Name="CurrentDeveloper" ColumnName="CurrentDeveloper" />
  28282. <ScalarProperty Name="PreviousDeveloper" ColumnName="PreviousDeveloper" />
  28283. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  28284. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28285. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28286. <ScalarProperty Name="Commission" ColumnName="Commission" />
  28287. <ScalarProperty Name="OID" ColumnName="OID" />
  28288. </MappingFragment>
  28289. </EntityTypeMapping>
  28290. </EntitySetMapping>
  28291. <EntitySetMapping Name="TblExternalResortCommissionWeeks">
  28292. <EntityTypeMapping TypeName="ProvisionStagingModel.TblExternalResortCommissionWeek">
  28293. <MappingFragment StoreEntitySet="TblExternalResortCommissionWeeks">
  28294. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28295. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28296. <ScalarProperty Name="CommissionsPaid" ColumnName="CommissionsPaid" />
  28297. <ScalarProperty Name="TotalCommission" ColumnName="TotalCommission" />
  28298. <ScalarProperty Name="Asset" ColumnName="Asset" />
  28299. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  28300. <ScalarProperty Name="Resort" ColumnName="Resort" />
  28301. <ScalarProperty Name="OID" ColumnName="OID" />
  28302. </MappingFragment>
  28303. </EntityTypeMapping>
  28304. </EntitySetMapping>
  28305. <EntitySetMapping Name="TblFeedbackTypes">
  28306. <EntityTypeMapping TypeName="ProvisionStagingModel.TblFeedbackType">
  28307. <MappingFragment StoreEntitySet="TblFeedbackType">
  28308. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28309. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28310. <ScalarProperty Name="DoNotCall" ColumnName="DoNotCall" />
  28311. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28312. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28313. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  28314. <ScalarProperty Name="OID" ColumnName="OID" />
  28315. </MappingFragment>
  28316. </EntityTypeMapping>
  28317. </EntitySetMapping>
  28318. <EntitySetMapping Name="TblFriends">
  28319. <EntityTypeMapping TypeName="ProvisionStagingModel.TblFriend">
  28320. <MappingFragment StoreEntitySet="TblFriends">
  28321. <ScalarProperty Name="Profile" ColumnName="Profile" />
  28322. <ScalarProperty Name="Arrived" ColumnName="Arrived" />
  28323. <ScalarProperty Name="OID" ColumnName="OID" />
  28324. </MappingFragment>
  28325. </EntityTypeMapping>
  28326. </EntitySetMapping>
  28327. <EntitySetMapping Name="TblGalvanizedDeals">
  28328. <EntityTypeMapping TypeName="ProvisionStagingModel.TblGalvanizedDeal">
  28329. <MappingFragment StoreEntitySet="TblGalvanizedDeals">
  28330. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  28331. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28332. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28333. <ScalarProperty Name="AllocatedTo" ColumnName="AllocatedTo" />
  28334. <ScalarProperty Name="PrevailAffordNewPoints" ColumnName="PrevailAffordNewPoints" />
  28335. <ScalarProperty Name="PrevailCurrentYear" ColumnName="PrevailCurrentYear" />
  28336. <ScalarProperty Name="PrevailNewFee" ColumnName="PrevailNewFee" />
  28337. <ScalarProperty Name="Affordability" ColumnName="Affordability" />
  28338. <ScalarProperty Name="PrevailNewPoints" ColumnName="PrevailNewPoints" />
  28339. <ScalarProperty Name="PrevailNewManagementFeeTotal" ColumnName="PrevailNewManagementFeeTotal" />
  28340. <ScalarProperty Name="PrevailCurrentManagementFee" ColumnName="PrevailCurrentManagementFee" />
  28341. <ScalarProperty Name="PrevailTradePoints" ColumnName="PrevailTradePoints" />
  28342. <ScalarProperty Name="PrevailFinitePoints" ColumnName="PrevailFinitePoints" />
  28343. <ScalarProperty Name="PrevailAddendumPoints" ColumnName="PrevailAddendumPoints" />
  28344. <ScalarProperty Name="PrevailPoints" ColumnName="PrevailPoints" />
  28345. <ScalarProperty Name="PrevailSelected" ColumnName="PrevailSelected" />
  28346. <ScalarProperty Name="DetailsSentDate" ColumnName="DetailsSentDate" />
  28347. <ScalarProperty Name="DocumentationReceivedDate" ColumnName="DocumentationReceivedDate" />
  28348. <ScalarProperty Name="DocumentationSentDate" ColumnName="DocumentationSentDate" />
  28349. <ScalarProperty Name="ApprovedDate" ColumnName="ApprovedDate" />
  28350. <ScalarProperty Name="DealStatus" ColumnName="DealStatus" />
  28351. <ScalarProperty Name="SelectedDate" ColumnName="SelectedDate" />
  28352. <ScalarProperty Name="SelectedOption" ColumnName="SelectedOption" />
  28353. <ScalarProperty Name="WithBubbleGalInstalmentYR7" ColumnName="WithBubbleGalInstalmentYR7" />
  28354. <ScalarProperty Name="WithBubbleGalInstalmentYR6" ColumnName="WithBubbleGalInstalmentYR6" />
  28355. <ScalarProperty Name="WithBubbleGalInstalmentYR5" ColumnName="WithBubbleGalInstalmentYR5" />
  28356. <ScalarProperty Name="WithBubbleGalInstalmentYR4" ColumnName="WithBubbleGalInstalmentYR4" />
  28357. <ScalarProperty Name="WithBubbleGalInstalmentYR3" ColumnName="WithBubbleGalInstalmentYR3" />
  28358. <ScalarProperty Name="WithBubbleGalInstalmentYR2" ColumnName="WithBubbleGalInstalmentYR2" />
  28359. <ScalarProperty Name="WithBubbleGalInstalmentYR1" ColumnName="WithBubbleGalInstalmentYR1" />
  28360. <ScalarProperty Name="WithBubbleGalInstalment" ColumnName="WithBubbleGalInstalment" />
  28361. <ScalarProperty Name="WithBubbleIntRate" ColumnName="WithBubbleIntRate" />
  28362. <ScalarProperty Name="WithBubblePeriod" ColumnName="WithBubblePeriod" />
  28363. <ScalarProperty Name="BubblePercentageOverride" ColumnName="BubblePercentageOverride" />
  28364. <ScalarProperty Name="BubblePerc" ColumnName="BubblePerc" />
  28365. <ScalarProperty Name="GalInstalmentYR7" ColumnName="GalInstalmentYR7" />
  28366. <ScalarProperty Name="GalInstalmentYR6" ColumnName="GalInstalmentYR6" />
  28367. <ScalarProperty Name="GalInstalmentYR5" ColumnName="GalInstalmentYR5" />
  28368. <ScalarProperty Name="GalInstalmentYR4" ColumnName="GalInstalmentYR4" />
  28369. <ScalarProperty Name="GalInstalmentYR3" ColumnName="GalInstalmentYR3" />
  28370. <ScalarProperty Name="GalInstalmentYR2" ColumnName="GalInstalmentYR2" />
  28371. <ScalarProperty Name="GalInstalmentYR1" ColumnName="GalInstalmentYR1" />
  28372. <ScalarProperty Name="DowngradeGalInstalment" ColumnName="DowngradeGalInstalment" />
  28373. <ScalarProperty Name="DowngradeIntRate" ColumnName="DowngradeIntRate" />
  28374. <ScalarProperty Name="DowngradePeriod" ColumnName="DowngradePeriod" />
  28375. <ScalarProperty Name="DowngradeUnitsBy" ColumnName="DowngradeUnitsBy" />
  28376. <ScalarProperty Name="CostPerUnit" ColumnName="CostPerUnit" />
  28377. <ScalarProperty Name="DeclinedDate" ColumnName="DeclinedDate" />
  28378. <ScalarProperty Name="ApprovalComments" ColumnName="ApprovalComments" />
  28379. <ScalarProperty Name="CollectorComments" ColumnName="CollectorComments" />
  28380. <ScalarProperty Name="ManFeeEFTPayment" ColumnName="ManFeeEFTPayment" />
  28381. <ScalarProperty Name="EFTPayment" ColumnName="EFTPayment" />
  28382. <ScalarProperty Name="GalvanizedPeriod" ColumnName="GalvanizedPeriod" />
  28383. <ScalarProperty Name="ClubUnits" ColumnName="ClubUnits" />
  28384. <ScalarProperty Name="AddendumUnits" ColumnName="AddendumUnits" />
  28385. <ScalarProperty Name="GalvanizedInterestRate" ColumnName="GalvanizedInterestRate" />
  28386. <ScalarProperty Name="TotalArrears" ColumnName="TotalArrears" />
  28387. <ScalarProperty Name="OutstandingBalance" ColumnName="OutstandingBalance" />
  28388. <ScalarProperty Name="Receipts" ColumnName="Receipts" />
  28389. <ScalarProperty Name="Instalment" ColumnName="Instalment" />
  28390. <ScalarProperty Name="CapitalOutstanding" ColumnName="CapitalOutstanding" />
  28391. <ScalarProperty Name="PrescribedCapital" ColumnName="PrescribedCapital" />
  28392. <ScalarProperty Name="GalvanizedPresentValue" ColumnName="GalvanizedPresentValue" />
  28393. <ScalarProperty Name="PrincipalName" ColumnName="PrincipalName" />
  28394. <ScalarProperty Name="SpouseIDNUmber" ColumnName="SpouseIDNUmber" />
  28395. <ScalarProperty Name="SpouseName" ColumnName="SpouseName" />
  28396. <ScalarProperty Name="AdminFee" ColumnName="AdminFee" />
  28397. <ScalarProperty Name="DeferOccupation" ColumnName="DeferOccupation" />
  28398. <ScalarProperty Name="StrikeDate" ColumnName="StrikeDate" />
  28399. <ScalarProperty Name="InstalmentStartDate" ColumnName="InstalmentStartDate" />
  28400. <ScalarProperty Name="ContractDate" ColumnName="ContractDate" />
  28401. <ScalarProperty Name="CCDStatus" ColumnName="CCDStatus" />
  28402. <ScalarProperty Name="SubStatus" ColumnName="SubStatus" />
  28403. <ScalarProperty Name="Status" ColumnName="Status" />
  28404. <ScalarProperty Name="ContractNumber" ColumnName="ContractNumber" />
  28405. <ScalarProperty Name="WebcollectorKey" ColumnName="WebcollectorKey" />
  28406. <ScalarProperty Name="MemberName" ColumnName="MemberName" />
  28407. <ScalarProperty Name="AccountNumber" ColumnName="AccountNumber" />
  28408. <ScalarProperty Name="OID" ColumnName="OID" />
  28409. </MappingFragment>
  28410. </EntityTypeMapping>
  28411. </EntitySetMapping>
  28412. <EntitySetMapping Name="TblGalvanizedTransactions">
  28413. <EntityTypeMapping TypeName="ProvisionStagingModel.TblGalvanizedTransaction">
  28414. <MappingFragment StoreEntitySet="TblGalvanizedTransactions">
  28415. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28416. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28417. <ScalarProperty Name="WebcollectorKey" ColumnName="WebcollectorKey" />
  28418. <ScalarProperty Name="AccountNumber" ColumnName="AccountNumber" />
  28419. <ScalarProperty Name="Amount" ColumnName="Amount" />
  28420. <ScalarProperty Name="Reference" ColumnName="Reference" />
  28421. <ScalarProperty Name="TransactionDate" ColumnName="TransactionDate" />
  28422. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28423. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28424. </MappingFragment>
  28425. </EntityTypeMapping>
  28426. </EntitySetMapping>
  28427. <EntitySetMapping Name="TblGroupCategories">
  28428. <EntityTypeMapping TypeName="ProvisionStagingModel.TblGroupCategory">
  28429. <MappingFragment StoreEntitySet="TblGroupCategory">
  28430. <ScalarProperty Name="UseCategoryToBalanceManFees" ColumnName="UseCategoryToBalanceManFees" />
  28431. <ScalarProperty Name="UsecategoryToRaiseManFees" ColumnName="UsecategoryToRaiseManFees" />
  28432. <ScalarProperty Name="Club" ColumnName="Club" />
  28433. <ScalarProperty Name="TransferPaymentsBankAccount" ColumnName="TransferPaymentsBankAccount" />
  28434. <ScalarProperty Name="TblDebtorTranTypes" ColumnName="TblDebtorTranTypes" />
  28435. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28436. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28437. <ScalarProperty Name="GroupCategory" ColumnName="GroupCategory" />
  28438. <ScalarProperty Name="Year" ColumnName="Year" />
  28439. <ScalarProperty Name="OID" ColumnName="OID" />
  28440. </MappingFragment>
  28441. </EntityTypeMapping>
  28442. </EntitySetMapping>
  28443. <EntitySetMapping Name="TblGroupCodeCommissionTypes">
  28444. <EntityTypeMapping TypeName="ProvisionStagingModel.TblGroupCodeCommissionType">
  28445. <MappingFragment StoreEntitySet="TblGroupCodeCommissionType">
  28446. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28447. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28448. <ScalarProperty Name="GroupCode" ColumnName="GroupCode" />
  28449. <ScalarProperty Name="Default" ColumnName="Default" />
  28450. <ScalarProperty Name="CommissionType" ColumnName="CommissionType" />
  28451. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28452. </MappingFragment>
  28453. </EntityTypeMapping>
  28454. </EntitySetMapping>
  28455. <EntitySetMapping Name="TblHideDebtorTransactions">
  28456. <EntityTypeMapping TypeName="ProvisionStagingModel.TblHideDebtorTransaction">
  28457. <MappingFragment StoreEntitySet="TblHideDebtorTransaction">
  28458. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28459. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28460. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  28461. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28462. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28463. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28464. </MappingFragment>
  28465. </EntityTypeMapping>
  28466. </EntitySetMapping>
  28467. <EntitySetMapping Name="TblHyphenBankResults">
  28468. <EntityTypeMapping TypeName="ProvisionStagingModel.TblHyphenBankResult">
  28469. <MappingFragment StoreEntitySet="TblHyphenBankResult">
  28470. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28471. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28472. <ScalarProperty Name="Description" ColumnName="Description" />
  28473. <ScalarProperty Name="FACSCode" ColumnName="FACSCode" />
  28474. <ScalarProperty Name="Code" ColumnName="Code" />
  28475. <ScalarProperty Name="OID" ColumnName="OID" />
  28476. </MappingFragment>
  28477. </EntityTypeMapping>
  28478. </EntitySetMapping>
  28479. <EntitySetMapping Name="TblImportSources">
  28480. <EntityTypeMapping TypeName="ProvisionStagingModel.TblImportSource">
  28481. <MappingFragment StoreEntitySet="TblImportSource">
  28482. <ScalarProperty Name="Details" ColumnName="Details" />
  28483. <ScalarProperty Name="OldOid" ColumnName="OldOid" />
  28484. <ScalarProperty Name="MinAllowedCallbackDays" ColumnName="MinAllowedCallbackDays" />
  28485. <ScalarProperty Name="VisibleToTelemarketers" ColumnName="VisibleToTelemarketers" />
  28486. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28487. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28488. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28489. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28490. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  28491. <ScalarProperty Name="OID" ColumnName="OID" />
  28492. </MappingFragment>
  28493. </EntityTypeMapping>
  28494. </EntitySetMapping>
  28495. <EntitySetMapping Name="TblIncomeBrackets">
  28496. <EntityTypeMapping TypeName="ProvisionStagingModel.TblIncomeBracket">
  28497. <MappingFragment StoreEntitySet="TblIncomeBracket">
  28498. <ScalarProperty Name="Randvalue" ColumnName="Randvalue" />
  28499. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28500. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28501. <ScalarProperty Name="IncomeBracket" ColumnName="IncomeBracket" />
  28502. <ScalarProperty Name="OID" ColumnName="OID" />
  28503. </MappingFragment>
  28504. </EntityTypeMapping>
  28505. </EntitySetMapping>
  28506. <EntitySetMapping Name="TblInsuranceReasons">
  28507. <EntityTypeMapping TypeName="ProvisionStagingModel.TblInsuranceReason">
  28508. <MappingFragment StoreEntitySet="TblInsuranceReason">
  28509. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28510. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28511. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  28512. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28513. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28514. <ScalarProperty Name="OID" ColumnName="OID" />
  28515. </MappingFragment>
  28516. </EntityTypeMapping>
  28517. </EntitySetMapping>
  28518. <EntitySetMapping Name="TblInterestAdjustments">
  28519. <EntityTypeMapping TypeName="ProvisionStagingModel.TblInterestAdjustment">
  28520. <MappingFragment StoreEntitySet="TblInterestAdjustment">
  28521. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28522. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28523. <ScalarProperty Name="Interest" ColumnName="Interest" />
  28524. <ScalarProperty Name="ValueStoredInTable" ColumnName="ValueStoredInTable" />
  28525. <ScalarProperty Name="OID" ColumnName="OID" />
  28526. </MappingFragment>
  28527. </EntityTypeMapping>
  28528. </EntitySetMapping>
  28529. <EntitySetMapping Name="TblInterestRates">
  28530. <EntityTypeMapping TypeName="ProvisionStagingModel.TblInterestRate">
  28531. <MappingFragment StoreEntitySet="TblInterestRates">
  28532. <ScalarProperty Name="CompanyActiveDate" ColumnName="CompanyActiveDate" />
  28533. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28534. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28535. <ScalarProperty Name="EffectiveRate" ColumnName="EffectiveRate" />
  28536. <ScalarProperty Name="EffectiveDate" ColumnName="EffectiveDate" />
  28537. <ScalarProperty Name="OID" ColumnName="OID" />
  28538. </MappingFragment>
  28539. </EntityTypeMapping>
  28540. </EntitySetMapping>
  28541. <EntitySetMapping Name="TblInvoiceLines">
  28542. <EntityTypeMapping TypeName="ProvisionStagingModel.TblInvoiceLine">
  28543. <MappingFragment StoreEntitySet="TblInvoiceLines">
  28544. <ScalarProperty Name="ExtendedAmountExcl" ColumnName="ExtendedAmountExcl" />
  28545. <ScalarProperty Name="ExtendedAmount" ColumnName="ExtendedAmount" />
  28546. <ScalarProperty Name="TaxAmount" ColumnName="TaxAmount" />
  28547. <ScalarProperty Name="UseExtendedValue" ColumnName="UseExtendedValue" />
  28548. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28549. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28550. <ScalarProperty Name="TaxCode" ColumnName="TaxCode" />
  28551. <ScalarProperty Name="UnitPrice" ColumnName="UnitPrice" />
  28552. <ScalarProperty Name="Quantity" ColumnName="Quantity" />
  28553. <ScalarProperty Name="Description" ColumnName="Description" />
  28554. <ScalarProperty Name="ExpenseCode" ColumnName="ExpenseCode" />
  28555. <ScalarProperty Name="StockItem" ColumnName="StockItem" />
  28556. <ScalarProperty Name="InvoiceNumber" ColumnName="InvoiceNumber" />
  28557. <ScalarProperty Name="OID" ColumnName="OID" />
  28558. </MappingFragment>
  28559. </EntityTypeMapping>
  28560. </EntitySetMapping>
  28561. <EntitySetMapping Name="TblInvoices">
  28562. <EntityTypeMapping TypeName="ProvisionStagingModel.TblInvoice">
  28563. <MappingFragment StoreEntitySet="TblInvoices">
  28564. <ScalarProperty Name="DatePaid" ColumnName="DatePaid" />
  28565. <ScalarProperty Name="InvoiceNumber" ColumnName="InvoiceNumber" />
  28566. <ScalarProperty Name="TotalTaxAmount" ColumnName="TotalTaxAmount" />
  28567. <ScalarProperty Name="TotalAmountExcl" ColumnName="TotalAmountExcl" />
  28568. <ScalarProperty Name="TotalAmount" ColumnName="TotalAmount" />
  28569. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28570. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28571. <ScalarProperty Name="RecurringFrom" ColumnName="RecurringFrom" />
  28572. <ScalarProperty Name="NumberOfMonths" ColumnName="NumberOfMonths" />
  28573. <ScalarProperty Name="DateLastInvoiced" ColumnName="DateLastInvoiced" />
  28574. <ScalarProperty Name="Recurring" ColumnName="Recurring" />
  28575. <ScalarProperty Name="DateInvoicePrinted" ColumnName="DateInvoicePrinted" />
  28576. <ScalarProperty Name="BankingDetails" ColumnName="BankingDetails" />
  28577. <ScalarProperty Name="DeliveryAddress" ColumnName="DeliveryAddress" />
  28578. <ScalarProperty Name="DeliveryDate" ColumnName="DeliveryDate" />
  28579. <ScalarProperty Name="Comments" ColumnName="Comments" />
  28580. <ScalarProperty Name="ReferenceNumber" ColumnName="ReferenceNumber" />
  28581. <ScalarProperty Name="Resort" ColumnName="Resort" />
  28582. <ScalarProperty Name="Company" ColumnName="Company" />
  28583. <ScalarProperty Name="InvoiceDate" ColumnName="InvoiceDate" />
  28584. <ScalarProperty Name="Customer" ColumnName="Customer" />
  28585. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28586. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28587. <ScalarProperty Name="OID" ColumnName="OID" />
  28588. </MappingFragment>
  28589. </EntityTypeMapping>
  28590. </EntitySetMapping>
  28591. <EntitySetMapping Name="TblJournalBatches">
  28592. <EntityTypeMapping TypeName="ProvisionStagingModel.TblJournalBatch">
  28593. <MappingFragment StoreEntitySet="TblJournalBatch">
  28594. <ScalarProperty Name="Captured" ColumnName="Captured" />
  28595. <ScalarProperty Name="CancellationSettlement" ColumnName="CancellationSettlement" />
  28596. <ScalarProperty Name="CreatedNotificationSend" ColumnName="CreatedNotificationSend" />
  28597. <ScalarProperty Name="Checked" ColumnName="Checked" />
  28598. <ScalarProperty Name="Declined" ColumnName="Declined" />
  28599. <ScalarProperty Name="BankAccounts" ColumnName="BankAccounts" />
  28600. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28601. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28602. <ScalarProperty Name="CalculatedTotal" ColumnName="CalculatedTotal" />
  28603. <ScalarProperty Name="FullyAuthorised" ColumnName="FullyAuthorised" />
  28604. <ScalarProperty Name="AuthoriseBy" ColumnName="AuthoriseBy" />
  28605. <ScalarProperty Name="TransactionType" ColumnName="TransactionType" />
  28606. <ScalarProperty Name="BatchAmount" ColumnName="BatchAmount" />
  28607. <ScalarProperty Name="PostedToDebtors" ColumnName="PostedToDebtors" />
  28608. <ScalarProperty Name="CapturedBy" ColumnName="CapturedBy" />
  28609. <ScalarProperty Name="DateCaptured" ColumnName="DateCaptured" />
  28610. <ScalarProperty Name="OID" ColumnName="OID" />
  28611. </MappingFragment>
  28612. </EntityTypeMapping>
  28613. </EntitySetMapping>
  28614. <EntitySetMapping Name="TblJournalLineCatBreakdowns">
  28615. <EntityTypeMapping TypeName="ProvisionStagingModel.TblJournalLineCatBreakdown">
  28616. <MappingFragment StoreEntitySet="TblJournalLineCatBreakdown">
  28617. <ScalarProperty Name="Description" ColumnName="Description" />
  28618. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28619. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28620. <ScalarProperty Name="JournalLine" ColumnName="JournalLine" />
  28621. <ScalarProperty Name="AmountAllocated" ColumnName="AmountAllocated" />
  28622. <ScalarProperty Name="AmountRaised" ColumnName="AmountRaised" />
  28623. <ScalarProperty Name="Category" ColumnName="Category" />
  28624. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28625. </MappingFragment>
  28626. </EntityTypeMapping>
  28627. </EntitySetMapping>
  28628. <EntitySetMapping Name="TblJournalLines">
  28629. <EntityTypeMapping TypeName="ProvisionStagingModel.TblJournalLine">
  28630. <MappingFragment StoreEntitySet="TblJournalLines">
  28631. <ScalarProperty Name="CancellationJournal" ColumnName="CancellationJournal" />
  28632. <ScalarProperty Name="TrfValidate" ColumnName="TrfValidate" />
  28633. <ScalarProperty Name="ChequeNumber" ColumnName="ChequeNumber" />
  28634. <ScalarProperty Name="Posted" ColumnName="Posted" />
  28635. <ScalarProperty Name="SupportingDocument" ColumnName="SupportingDocument" />
  28636. <ScalarProperty Name="DeltaInstalment" ColumnName="DeltaInstalment" />
  28637. <ScalarProperty Name="Instalment" ColumnName="Instalment" />
  28638. <ScalarProperty Name="ManagementFeeYear" ColumnName="ManagementFeeYear" />
  28639. <ScalarProperty Name="Override" ColumnName="Override" />
  28640. <ScalarProperty Name="DeltaDays180" ColumnName="DeltaDays180" />
  28641. <ScalarProperty Name="DeltaDays150" ColumnName="DeltaDays150" />
  28642. <ScalarProperty Name="DeltaDays120" ColumnName="DeltaDays120" />
  28643. <ScalarProperty Name="DeltaDays90" ColumnName="DeltaDays90" />
  28644. <ScalarProperty Name="DeltaDays60" ColumnName="DeltaDays60" />
  28645. <ScalarProperty Name="DeltaDays30" ColumnName="DeltaDays30" />
  28646. <ScalarProperty Name="DeltaCurrent" ColumnName="DeltaCurrent" />
  28647. <ScalarProperty Name="Days180" ColumnName="Days180" />
  28648. <ScalarProperty Name="Days150" ColumnName="Days150" />
  28649. <ScalarProperty Name="Days120" ColumnName="Days120" />
  28650. <ScalarProperty Name="Days90" ColumnName="Days90" />
  28651. <ScalarProperty Name="Days60" ColumnName="Days60" />
  28652. <ScalarProperty Name="Days30" ColumnName="Days30" />
  28653. <ScalarProperty Name="Current" ColumnName="Current" />
  28654. <ScalarProperty Name="IsMultiReversal" ColumnName="IsMultiReversal" />
  28655. <ScalarProperty Name="BankAccount" ColumnName="BankAccount" />
  28656. <ScalarProperty Name="LineTransactionType" ColumnName="LineTransactionType" />
  28657. <ScalarProperty Name="ToAccount" ColumnName="ToAccount" />
  28658. <ScalarProperty Name="DebtorInterest" ColumnName="DebtorInterest" />
  28659. <ScalarProperty Name="DebtorFees" ColumnName="DebtorFees" />
  28660. <ScalarProperty Name="DebtorCapital" ColumnName="DebtorCapital" />
  28661. <ScalarProperty Name="InterestAllocation" ColumnName="InterestAllocation" />
  28662. <ScalarProperty Name="FeesAllocation" ColumnName="FeesAllocation" />
  28663. <ScalarProperty Name="CapitalAllocation" ColumnName="CapitalAllocation" />
  28664. <ScalarProperty Name="PayType" ColumnName="PayType" />
  28665. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28666. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28667. <ScalarProperty Name="ReferenceNumber" ColumnName="ReferenceNumber" />
  28668. <ScalarProperty Name="EffectiveDate" ColumnName="EffectiveDate" />
  28669. <ScalarProperty Name="Comments" ColumnName="Comments" />
  28670. <ScalarProperty Name="Amount" ColumnName="Amount" />
  28671. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  28672. <ScalarProperty Name="JournalBatch" ColumnName="JournalBatch" />
  28673. <ScalarProperty Name="OID" ColumnName="OID" />
  28674. </MappingFragment>
  28675. </EntityTypeMapping>
  28676. </EntitySetMapping>
  28677. <EntitySetMapping Name="TblJournalLineTransactions">
  28678. <EntityTypeMapping TypeName="ProvisionStagingModel.TblJournalLineTransaction">
  28679. <MappingFragment StoreEntitySet="TblJournalLineTransactions">
  28680. <ScalarProperty Name="InterestAllocated" ColumnName="InterestAllocated" />
  28681. <ScalarProperty Name="FeesAllocated" ColumnName="FeesAllocated" />
  28682. <ScalarProperty Name="CapitalAllocated" ColumnName="CapitalAllocated" />
  28683. <ScalarProperty Name="DeltaDays180" ColumnName="DeltaDays180" />
  28684. <ScalarProperty Name="DeltaDays150" ColumnName="DeltaDays150" />
  28685. <ScalarProperty Name="DeltaDays120" ColumnName="DeltaDays120" />
  28686. <ScalarProperty Name="DeltaDays90" ColumnName="DeltaDays90" />
  28687. <ScalarProperty Name="DeltaDays60" ColumnName="DeltaDays60" />
  28688. <ScalarProperty Name="DeltaDays30" ColumnName="DeltaDays30" />
  28689. <ScalarProperty Name="DeltaCurrent" ColumnName="DeltaCurrent" />
  28690. <ScalarProperty Name="DeltaInstalment" ColumnName="DeltaInstalment" />
  28691. <ScalarProperty Name="TranType" ColumnName="TranType" />
  28692. <ScalarProperty Name="NonReverseTranTypes" ColumnName="NonReverseTranTypes" />
  28693. <ScalarProperty Name="AmountOfJournalTrans" ColumnName="AmountOfJournalTrans" />
  28694. <ScalarProperty Name="JournalTransStatus" ColumnName="JournalTransStatus" />
  28695. <ScalarProperty Name="IsReversal" ColumnName="IsReversal" />
  28696. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28697. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28698. <ScalarProperty Name="AmountToReverse" ColumnName="AmountToReverse" />
  28699. <ScalarProperty Name="Reverse" ColumnName="Reverse" />
  28700. <ScalarProperty Name="TotalAmountReversedSoFar" ColumnName="TotalAmountReversedSoFar" />
  28701. <ScalarProperty Name="OriginalTransaction" ColumnName="OriginalTransaction" />
  28702. <ScalarProperty Name="JournalLine" ColumnName="JournalLine" />
  28703. <ScalarProperty Name="OID" ColumnName="OID" />
  28704. </MappingFragment>
  28705. </EntityTypeMapping>
  28706. </EntitySetMapping>
  28707. <EntitySetMapping Name="TblJournalLineTransactionsCatBreakdowns">
  28708. <EntityTypeMapping TypeName="ProvisionStagingModel.TblJournalLineTransactionsCatBreakdown">
  28709. <MappingFragment StoreEntitySet="TblJournalLineTransactionsCatBreakdown">
  28710. <ScalarProperty Name="Description" ColumnName="Description" />
  28711. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28712. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28713. <ScalarProperty Name="AmountAllocated" ColumnName="AmountAllocated" />
  28714. <ScalarProperty Name="JournalLineTransaction" ColumnName="JournalLineTransaction" />
  28715. <ScalarProperty Name="AmountRaised" ColumnName="AmountRaised" />
  28716. <ScalarProperty Name="Category" ColumnName="Category" />
  28717. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28718. </MappingFragment>
  28719. </EntityTypeMapping>
  28720. </EntitySetMapping>
  28721. <EntitySetMapping Name="TblLeadCategories">
  28722. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLeadCategory">
  28723. <MappingFragment StoreEntitySet="TblLeadCategory">
  28724. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28725. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28726. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  28727. <ScalarProperty Name="OID" ColumnName="OID" />
  28728. </MappingFragment>
  28729. </EntityTypeMapping>
  28730. </EntitySetMapping>
  28731. <EntitySetMapping Name="TblLeadFeedbacks">
  28732. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLeadFeedback">
  28733. <MappingFragment StoreEntitySet="TblLeadFeedback">
  28734. <ScalarProperty Name="TFGLeadsKey" ColumnName="TFGLeadsKey" />
  28735. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28736. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28737. <ScalarProperty Name="LeadsKey" ColumnName="LeadsKey" />
  28738. <ScalarProperty Name="Notes" ColumnName="Notes" />
  28739. <ScalarProperty Name="Feedback" ColumnName="Feedback" />
  28740. <ScalarProperty Name="Telemarketer" ColumnName="Telemarketer" />
  28741. <ScalarProperty Name="Date" ColumnName="Date" />
  28742. <ScalarProperty Name="OID" ColumnName="OID" />
  28743. </MappingFragment>
  28744. </EntityTypeMapping>
  28745. </EntitySetMapping>
  28746. <EntitySetMapping Name="TblLeads">
  28747. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLead">
  28748. <MappingFragment StoreEntitySet="TblLeads">
  28749. <ScalarProperty Name="CanMakeBooking" ColumnName="CanMakeBooking" />
  28750. <ScalarProperty Name="MarketingCampaign" ColumnName="MarketingCampaign" />
  28751. <ScalarProperty Name="OPCLocation" ColumnName="OPCLocation" />
  28752. <ScalarProperty Name="UseATM" ColumnName="UseATM" />
  28753. <ScalarProperty Name="UseCheque" ColumnName="UseCheque" />
  28754. <ScalarProperty Name="UseCreditCard" ColumnName="UseCreditCard" />
  28755. <ScalarProperty Name="HolidayInternational" ColumnName="HolidayInternational" />
  28756. <ScalarProperty Name="HolidayInNigeria" ColumnName="HolidayInNigeria" />
  28757. <ScalarProperty Name="SpouseOccupationNew" ColumnName="SpouseOccupationNew" />
  28758. <ScalarProperty Name="OccupationNew" ColumnName="OccupationNew" />
  28759. <ScalarProperty Name="TimeOffNonVoucherNumber" ColumnName="TimeOffNonVoucherNumber" />
  28760. <ScalarProperty Name="TimeOffVoucherNumber" ColumnName="TimeOffVoucherNumber" />
  28761. <ScalarProperty Name="TimeOffLead" ColumnName="TimeOffLead" />
  28762. <ScalarProperty Name="SoftBlock" ColumnName="SoftBlock" />
  28763. <ScalarProperty Name="SoftblockDateTime" ColumnName="SoftblockDateTime" />
  28764. <ScalarProperty Name="MostRecentRanking" ColumnName="MostRecentRanking" />
  28765. <ScalarProperty Name="Countryname" ColumnName="Countryname" />
  28766. <ScalarProperty Name="SalesRegion" ColumnName="SalesRegion" />
  28767. <ScalarProperty Name="CallStatus" ColumnName="CallStatus" />
  28768. <ScalarProperty Name="SurveyorName" ColumnName="SurveyorName" />
  28769. <ScalarProperty Name="HardBlock" ColumnName="HardBlock" />
  28770. <ScalarProperty Name="RegionText" ColumnName="RegionText" />
  28771. <ScalarProperty Name="ImportSourceText" ColumnName="ImportSourceText" />
  28772. <ScalarProperty Name="CreditCard" ColumnName="CreditCard" />
  28773. <ScalarProperty Name="CallReschedule" ColumnName="CallReschedule" />
  28774. <ScalarProperty Name="SpecialTMAllocation" ColumnName="SpecialTMAllocation" />
  28775. <ScalarProperty Name="CTBatchNumber" ColumnName="CTBatchNumber" />
  28776. <ScalarProperty Name="LastShow" ColumnName="LastShow" />
  28777. <ScalarProperty Name="DuplicateLead" ColumnName="DuplicateLead" />
  28778. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28779. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28780. <ScalarProperty Name="PriorPresentedBy" ColumnName="PriorPresentedBy" />
  28781. <ScalarProperty Name="SurveyedByWhom" ColumnName="SurveyedByWhom" />
  28782. <ScalarProperty Name="SurveyedBefore" ColumnName="SurveyedBefore" />
  28783. <ScalarProperty Name="Comments" ColumnName="Comments" />
  28784. <ScalarProperty Name="Surveyor" ColumnName="Surveyor" />
  28785. <ScalarProperty Name="ReferredBy" ColumnName="ReferredBy" />
  28786. <ScalarProperty Name="VoucherNo" ColumnName="VoucherNo" />
  28787. <ScalarProperty Name="NotQualified" ColumnName="NotQualified" />
  28788. <ScalarProperty Name="BatchNumber" ColumnName="BatchNumber" />
  28789. <ScalarProperty Name="Ethnicity" ColumnName="Ethnicity" />
  28790. <ScalarProperty Name="IncomeGroup" ColumnName="IncomeGroup" />
  28791. <ScalarProperty Name="LeadID" ColumnName="LeadID" />
  28792. <ScalarProperty Name="AgeBand" ColumnName="AgeBand" />
  28793. <ScalarProperty Name="LastHolidayYear" ColumnName="LastHolidayYear" />
  28794. <ScalarProperty Name="LastHolidayDestination" ColumnName="LastHolidayDestination" />
  28795. <ScalarProperty Name="DreamDestination" ColumnName="DreamDestination" />
  28796. <ScalarProperty Name="IntHolidayDuration" ColumnName="IntHolidayDuration" />
  28797. <ScalarProperty Name="LocalHolidayDuration" ColumnName="LocalHolidayDuration" />
  28798. <ScalarProperty Name="TotalHolidayDuration" ColumnName="TotalHolidayDuration" />
  28799. <ScalarProperty Name="RegularHolidays" ColumnName="RegularHolidays" />
  28800. <ScalarProperty Name="SpouseOccupation" ColumnName="SpouseOccupation" />
  28801. <ScalarProperty Name="Occupation" ColumnName="Occupation" />
  28802. <ScalarProperty Name="Age" ColumnName="Age" />
  28803. <ScalarProperty Name="Language" ColumnName="Language" />
  28804. <ScalarProperty Name="LastNumberCalled" ColumnName="LastNumberCalled" />
  28805. <ScalarProperty Name="Region" ColumnName="Region" />
  28806. <ScalarProperty Name="FaxNumber" ColumnName="FaxNumber" />
  28807. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28808. <ScalarProperty Name="ImportSource" ColumnName="ImportSource" />
  28809. <ScalarProperty Name="OPCCompany" ColumnName="OPCCompany" />
  28810. <ScalarProperty Name="OPCDate" ColumnName="OPCDate" />
  28811. <ScalarProperty Name="OPCRef" ColumnName="OPCRef" />
  28812. <ScalarProperty Name="LeadDate" ColumnName="LeadDate" />
  28813. <ScalarProperty Name="AllocatedDateTime" ColumnName="AllocatedDateTime" />
  28814. <ScalarProperty Name="AllocatedTo" ColumnName="AllocatedTo" />
  28815. <ScalarProperty Name="OwnedBy" ColumnName="OwnedBy" />
  28816. <ScalarProperty Name="DoNotContact" ColumnName="DoNotContact" />
  28817. <ScalarProperty Name="ConsentToCall" ColumnName="ConsentToCall" />
  28818. <ScalarProperty Name="LastCalled" ColumnName="LastCalled" />
  28819. <ScalarProperty Name="AddressLine5" ColumnName="AddressLine5" />
  28820. <ScalarProperty Name="AddressLine4" ColumnName="AddressLine4" />
  28821. <ScalarProperty Name="AddressLine3" ColumnName="AddressLine3" />
  28822. <ScalarProperty Name="AddressLine2" ColumnName="AddressLine2" />
  28823. <ScalarProperty Name="AddressLine1" ColumnName="AddressLine1" />
  28824. <ScalarProperty Name="SpouseDateOfBirth" ColumnName="SpouseDateOfBirth" />
  28825. <ScalarProperty Name="SpouseIDNumber" ColumnName="SpouseIDNumber" />
  28826. <ScalarProperty Name="SpouseSurname" ColumnName="SpouseSurname" />
  28827. <ScalarProperty Name="SpouseInitials" ColumnName="SpouseInitials" />
  28828. <ScalarProperty Name="SpouseFirstName" ColumnName="SpouseFirstName" />
  28829. <ScalarProperty Name="SpouseTitle" ColumnName="SpouseTitle" />
  28830. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  28831. <ScalarProperty Name="HomePhone" ColumnName="HomePhone" />
  28832. <ScalarProperty Name="WorkPhone" ColumnName="WorkPhone" />
  28833. <ScalarProperty Name="Cellphone" ColumnName="Cellphone" />
  28834. <ScalarProperty Name="MaritalStatus" ColumnName="MaritalStatus" />
  28835. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  28836. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  28837. <ScalarProperty Name="Surname" ColumnName="Surname" />
  28838. <ScalarProperty Name="Initials" ColumnName="Initials" />
  28839. <ScalarProperty Name="FirstName" ColumnName="FirstName" />
  28840. <ScalarProperty Name="Title" ColumnName="Title" />
  28841. <ScalarProperty Name="LeadNum" ColumnName="LeadNum" />
  28842. </MappingFragment>
  28843. </EntityTypeMapping>
  28844. </EntitySetMapping>
  28845. <EntitySetMapping Name="TblLeadsCallHistories">
  28846. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLeadsCallHistory">
  28847. <MappingFragment StoreEntitySet="TblLeadsCallHistory">
  28848. <ScalarProperty Name="RecordingUpdated" ColumnName="RecordingUpdated" />
  28849. <ScalarProperty Name="TelemarketerCompany" ColumnName="TelemarketerCompany" />
  28850. <ScalarProperty Name="TelemarketerOffice" ColumnName="TelemarketerOffice" />
  28851. <ScalarProperty Name="Podmanager" ColumnName="Podmanager" />
  28852. <ScalarProperty Name="Recording" ColumnName="Recording" />
  28853. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28854. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28855. <ScalarProperty Name="LeadsKey" ColumnName="LeadsKey" />
  28856. <ScalarProperty Name="Telemarketer" ColumnName="Telemarketer" />
  28857. <ScalarProperty Name="AsteriskChannel" ColumnName="AsteriskChannel" />
  28858. <ScalarProperty Name="AsteriskIP" ColumnName="AsteriskIP" />
  28859. <ScalarProperty Name="Disposition" ColumnName="Disposition" />
  28860. <ScalarProperty Name="BillSeconds" ColumnName="BillSeconds" />
  28861. <ScalarProperty Name="CallDuration" ColumnName="CallDuration" />
  28862. <ScalarProperty Name="DateTimeCalled" ColumnName="DateTimeCalled" />
  28863. <ScalarProperty Name="CallToNumber" ColumnName="CallToNumber" />
  28864. <ScalarProperty Name="CallFromNumber" ColumnName="CallFromNumber" />
  28865. <ScalarProperty Name="OID" ColumnName="OID" />
  28866. </MappingFragment>
  28867. </EntityTypeMapping>
  28868. </EntitySetMapping>
  28869. <EntitySetMapping Name="TblLeaseFactors">
  28870. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLeaseFactor">
  28871. <MappingFragment StoreEntitySet="TblLeaseFactor">
  28872. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28873. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28874. <ScalarProperty Name="ContractType" ColumnName="ContractType" />
  28875. <ScalarProperty Name="Escalation" ColumnName="Escalation" />
  28876. <ScalarProperty Name="Factor" ColumnName="Factor" />
  28877. <ScalarProperty Name="FinancePeriod" ColumnName="FinancePeriod" />
  28878. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28879. </MappingFragment>
  28880. </EntityTypeMapping>
  28881. </EntitySetMapping>
  28882. <EntitySetMapping Name="TblLevelBasedCommPercs">
  28883. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLevelBasedCommPerc">
  28884. <MappingFragment StoreEntitySet="TblLevelBasedCommPerc">
  28885. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28886. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28887. <ScalarProperty Name="CommisionPercentage" ColumnName="CommisionPercentage" />
  28888. <ScalarProperty Name="PurchaseLevel" ColumnName="PurchaseLevel" />
  28889. <ScalarProperty Name="Country" ColumnName="Country" />
  28890. <ScalarProperty Name="DepositLevel" ColumnName="DepositLevel" />
  28891. <ScalarProperty Name="Oid" ColumnName="Oid" />
  28892. </MappingFragment>
  28893. </EntityTypeMapping>
  28894. </EntitySetMapping>
  28895. <EntitySetMapping Name="TblLevyConsoftReceiptQueries">
  28896. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLevyConsoftReceiptQuery">
  28897. <MappingFragment StoreEntitySet="TblLevyConsoftReceiptQuery">
  28898. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28899. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28900. <ScalarProperty Name="BankNumber" ColumnName="BankNumber" />
  28901. <ScalarProperty Name="BalanceAmount" ColumnName="BalanceAmount" />
  28902. <ScalarProperty Name="AmountRec" ColumnName="AmountRec" />
  28903. <ScalarProperty Name="combinedkey" ColumnName="combinedkey" />
  28904. <ScalarProperty Name="RecNO" ColumnName="RecNO" />
  28905. <ScalarProperty Name="TranType" ColumnName="TranType" />
  28906. <ScalarProperty Name="TranDate" ColumnName="TranDate" />
  28907. <ScalarProperty Name="Description" ColumnName="Description" />
  28908. <ScalarProperty Name="ContNo" ColumnName="ContNo" />
  28909. <ScalarProperty Name="MemNO" ColumnName="MemNO" />
  28910. <ScalarProperty Name="OID" ColumnName="OID" />
  28911. </MappingFragment>
  28912. </EntityTypeMapping>
  28913. </EntitySetMapping>
  28914. <EntitySetMapping Name="TblLogos">
  28915. <EntityTypeMapping TypeName="ProvisionStagingModel.TblLogo">
  28916. <MappingFragment StoreEntitySet="TblLogos">
  28917. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28918. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28919. <ScalarProperty Name="ForAllYears" ColumnName="ForAllYears" />
  28920. <ScalarProperty Name="LogonImage" ColumnName="LogonImage" />
  28921. <ScalarProperty Name="MenuImage" ColumnName="MenuImage" />
  28922. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  28923. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  28924. <ScalarProperty Name="OID" ColumnName="OID" />
  28925. </MappingFragment>
  28926. </EntityTypeMapping>
  28927. </EntitySetMapping>
  28928. <EntitySetMapping Name="TblManagementFeeInstalments">
  28929. <EntityTypeMapping TypeName="ProvisionStagingModel.TblManagementFeeInstalment">
  28930. <MappingFragment StoreEntitySet="TblManagementFeeInstalments">
  28931. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28932. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28933. <ScalarProperty Name="ManagementFeeYear" ColumnName="ManagementFeeYear" />
  28934. <ScalarProperty Name="InstalmentRaised" ColumnName="InstalmentRaised" />
  28935. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28936. <ScalarProperty Name="InstalmentAmount" ColumnName="InstalmentAmount" />
  28937. <ScalarProperty Name="StatementPeriodInt" ColumnName="StatementPeriodInt" />
  28938. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  28939. <ScalarProperty Name="OID" ColumnName="OID" />
  28940. </MappingFragment>
  28941. </EntityTypeMapping>
  28942. </EntitySetMapping>
  28943. <EntitySetMapping Name="TblManagementFeeOverrides">
  28944. <EntityTypeMapping TypeName="ProvisionStagingModel.TblManagementFeeOverride">
  28945. <MappingFragment StoreEntitySet="TblManagementFeeOverride">
  28946. <ScalarProperty Name="FixedArrangement" ColumnName="FixedArrangement" />
  28947. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28948. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28949. <ScalarProperty Name="NumberOfMonths" ColumnName="NumberOfMonths" />
  28950. <ScalarProperty Name="ManagementFeeYear" ColumnName="ManagementFeeYear" />
  28951. <ScalarProperty Name="PaymentAmount" ColumnName="PaymentAmount" />
  28952. <ScalarProperty Name="DateOfPayment" ColumnName="DateOfPayment" />
  28953. <ScalarProperty Name="PaymentType" ColumnName="PaymentType" />
  28954. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  28955. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  28956. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  28957. <ScalarProperty Name="OID" ColumnName="OID" />
  28958. </MappingFragment>
  28959. </EntityTypeMapping>
  28960. </EntitySetMapping>
  28961. <EntitySetMapping Name="TblManagementFeesDocuments">
  28962. <EntityTypeMapping TypeName="ProvisionStagingModel.TblManagementFeesDocument">
  28963. <MappingFragment StoreEntitySet="TblManagementFeesDocuments">
  28964. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28965. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28966. <ScalarProperty Name="DebtorOtherFeesDocument" ColumnName="DebtorOtherFeesDocument" />
  28967. <ScalarProperty Name="Content" ColumnName="Content" />
  28968. <ScalarProperty Name="Date" ColumnName="Date" />
  28969. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  28970. <ScalarProperty Name="OID" ColumnName="OID" />
  28971. </MappingFragment>
  28972. </EntityTypeMapping>
  28973. </EntitySetMapping>
  28974. <EntitySetMapping Name="TblManagementFeesToAdjusts">
  28975. <EntityTypeMapping TypeName="ProvisionStagingModel.TblManagementFeesToAdjust">
  28976. <MappingFragment StoreEntitySet="TblManagementFeesToAdjust">
  28977. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  28978. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  28979. <ScalarProperty Name="ActualAmountAdjusted" ColumnName="ActualAmountAdjusted" />
  28980. <ScalarProperty Name="DebtorTransaction" ColumnName="DebtorTransaction" />
  28981. <ScalarProperty Name="Error" ColumnName="Error" />
  28982. <ScalarProperty Name="Status" ColumnName="Status" />
  28983. <ScalarProperty Name="Resort" ColumnName="Resort" />
  28984. <ScalarProperty Name="ActualAmount" ColumnName="ActualAmount" />
  28985. <ScalarProperty Name="EstimatedAmount" ColumnName="EstimatedAmount" />
  28986. <ScalarProperty Name="ManagementFeeYear" ColumnName="ManagementFeeYear" />
  28987. <ScalarProperty Name="OID" ColumnName="OID" />
  28988. </MappingFragment>
  28989. </EntityTypeMapping>
  28990. </EntitySetMapping>
  28991. <EntitySetMapping Name="TblMarketingCampaigns">
  28992. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMarketingCampaign">
  28993. <MappingFragment StoreEntitySet="TblMarketingCampaign">
  28994. <ScalarProperty Name="ResortBookingConfirmationDocumentPath" ColumnName="ResortBookingConfirmationDocumentPath" />
  28995. <ScalarProperty Name="AvailabilityEnd" ColumnName="AvailabilityEnd" />
  28996. <ScalarProperty Name="AvailabilityStart" ColumnName="AvailabilityStart" />
  28997. <ScalarProperty Name="TimeSpesificAvailability" ColumnName="TimeSpesificAvailability" />
  28998. <ScalarProperty Name="SmsPassword" ColumnName="SmsPassword" />
  28999. <ScalarProperty Name="SmsUser" ColumnName="SmsUser" />
  29000. <ScalarProperty Name="Prefix" ColumnName="Prefix" />
  29001. <ScalarProperty Name="LastVoucherNumberUsed" ColumnName="LastVoucherNumberUsed" />
  29002. <ScalarProperty Name="Description" ColumnName="Description" />
  29003. <ScalarProperty Name="Partner" ColumnName="Partner" />
  29004. <ScalarProperty Name="Brand" ColumnName="Brand" />
  29005. <ScalarProperty Name="Name" ColumnName="Name" />
  29006. <ScalarProperty Name="CreatedDate" ColumnName="CreatedDate" />
  29007. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29008. <ScalarProperty Name="OID" ColumnName="OID" />
  29009. </MappingFragment>
  29010. </EntityTypeMapping>
  29011. </EntitySetMapping>
  29012. <EntitySetMapping Name="TblMarketingCampaignResorts">
  29013. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMarketingCampaignResort">
  29014. <MappingFragment StoreEntitySet="TblMarketingCampaignResort">
  29015. <ScalarProperty Name="Weekend" ColumnName="Weekend" />
  29016. <ScalarProperty Name="MidWeek" ColumnName="MidWeek" />
  29017. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  29018. <ScalarProperty Name="Resort" ColumnName="Resort" />
  29019. <ScalarProperty Name="OID" ColumnName="OID" />
  29020. </MappingFragment>
  29021. </EntityTypeMapping>
  29022. </EntitySetMapping>
  29023. <EntitySetMapping Name="TblMarketingConsoftComms">
  29024. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMarketingConsoftComm">
  29025. <MappingFragment StoreEntitySet="TblMarketingConsoftComm">
  29026. <ScalarProperty Name="Type" ColumnName="Type" />
  29027. <ScalarProperty Name="IsTest" ColumnName="IsTest" />
  29028. <ScalarProperty Name="VoucherNumber" ColumnName="VoucherNumber" />
  29029. <ScalarProperty Name="ReceivedFrom" ColumnName="ReceivedFrom" />
  29030. <ScalarProperty Name="SendTo" ColumnName="SendTo" />
  29031. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29032. <ScalarProperty Name="OID" ColumnName="OID" />
  29033. </MappingFragment>
  29034. </EntityTypeMapping>
  29035. </EntitySetMapping>
  29036. <EntitySetMapping Name="TblMessageCodes">
  29037. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMessageCode">
  29038. <MappingFragment StoreEntitySet="TblMessageCode">
  29039. <ScalarProperty Name="MessageType" ColumnName="MessageType" />
  29040. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29041. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29042. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29043. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29044. <ScalarProperty Name="Description" ColumnName="Description" />
  29045. <ScalarProperty Name="MessageCode" ColumnName="MessageCode" />
  29046. <ScalarProperty Name="OID" ColumnName="OID" />
  29047. </MappingFragment>
  29048. </EntityTypeMapping>
  29049. </EntitySetMapping>
  29050. <EntitySetMapping Name="TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  29051. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  29052. <MappingFragment StoreEntitySet="TblMessageCodeMessageGroup_MessageCodeGroupGroup">
  29053. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29054. <ScalarProperty Name="OID" ColumnName="OID" />
  29055. <ScalarProperty Name="MessageGroup" ColumnName="MessageGroup" />
  29056. <ScalarProperty Name="Group" ColumnName="Group" />
  29057. </MappingFragment>
  29058. </EntityTypeMapping>
  29059. </EntitySetMapping>
  29060. <EntitySetMapping Name="TblMonthEndRoles">
  29061. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMonthEndRole">
  29062. <MappingFragment StoreEntitySet="TblMonthEndRoles">
  29063. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29064. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29065. <ScalarProperty Name="Role" ColumnName="Role" />
  29066. <ScalarProperty Name="OID" ColumnName="OID" />
  29067. </MappingFragment>
  29068. </EntityTypeMapping>
  29069. </EntitySetMapping>
  29070. <EntitySetMapping Name="TblMonthEndRolesObjectExceptions">
  29071. <EntityTypeMapping TypeName="ProvisionStagingModel.TblMonthEndRolesObjectException">
  29072. <MappingFragment StoreEntitySet="TblMonthEndRolesObjectExceptions">
  29073. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29074. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29075. <ScalarProperty Name="BlockAccess" ColumnName="BlockAccess" />
  29076. <ScalarProperty Name="TargetType" ColumnName="TargetType" />
  29077. <ScalarProperty Name="OID" ColumnName="OID" />
  29078. </MappingFragment>
  29079. </EntityTypeMapping>
  29080. </EntitySetMapping>
  29081. <EntitySetMapping Name="TblOldImportSources">
  29082. <EntityTypeMapping TypeName="ProvisionStagingModel.TblOldImportSource">
  29083. <MappingFragment StoreEntitySet="TblOldImportSource">
  29084. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29085. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29086. <ScalarProperty Name="ImportSource" ColumnName="ImportSource" />
  29087. <ScalarProperty Name="Name" ColumnName="Name" />
  29088. <ScalarProperty Name="OID" ColumnName="OID" />
  29089. </MappingFragment>
  29090. </EntityTypeMapping>
  29091. </EntitySetMapping>
  29092. <EntitySetMapping Name="TblOverrideAudits">
  29093. <EntityTypeMapping TypeName="ProvisionStagingModel.TblOverrideAudit">
  29094. <MappingFragment StoreEntitySet="TblOverrideAudit">
  29095. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  29096. <ScalarProperty Name="TransfigurationsConversionRateOverrideValue" ColumnName="TransfigurationsConversionRateOverrideValue" />
  29097. <ScalarProperty Name="TransfigurationsConversionRateOriginalValue" ColumnName="TransfigurationsConversionRateOriginalValue" />
  29098. <ScalarProperty Name="TransfigurationsContractCurrencyOverrideValue" ColumnName="TransfigurationsContractCurrencyOverrideValue" />
  29099. <ScalarProperty Name="TransfigurationsContractCurrencyOriginalValue" ColumnName="TransfigurationsContractCurrencyOriginalValue" />
  29100. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29101. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29102. <ScalarProperty Name="TransfigurationsApplySlidingScaleOverrideValue" ColumnName="TransfigurationsApplySlidingScaleOverrideValue" />
  29103. <ScalarProperty Name="TransfigurationsApplySlidingScaleOriginalValue" ColumnName="TransfigurationsApplySlidingScaleOriginalValue" />
  29104. <ScalarProperty Name="TransfigurationsPointSellingPriceOverrideValue" ColumnName="TransfigurationsPointSellingPriceOverrideValue" />
  29105. <ScalarProperty Name="TransfigurationsPointSellingPriceOriginalValue" ColumnName="TransfigurationsPointSellingPriceOriginalValue" />
  29106. <ScalarProperty Name="TransfigurationsZeroInterestDealOverrideValue" ColumnName="TransfigurationsZeroInterestDealOverrideValue" />
  29107. <ScalarProperty Name="TransfigurationsZeroInterestDealOriginalValue" ColumnName="TransfigurationsZeroInterestDealOriginalValue" />
  29108. <ScalarProperty Name="TblContractDSDealOverrideValue" ColumnName="TblContractDSDealOverrideValue" />
  29109. <ScalarProperty Name="TblContractDSDealOriginalValue" ColumnName="TblContractDSDealOriginalValue" />
  29110. <ScalarProperty Name="TblContractZeroInterestDealOverrideValue" ColumnName="TblContractZeroInterestDealOverrideValue" />
  29111. <ScalarProperty Name="TblContractZeroInterestDealOriginalValue" ColumnName="TblContractZeroInterestDealOriginalValue" />
  29112. <ScalarProperty Name="TblContractDiscountAmountOverrideValue" ColumnName="TblContractDiscountAmountOverrideValue" />
  29113. <ScalarProperty Name="TblContractDiscountAmountOriginalValue" ColumnName="TblContractDiscountAmountOriginalValue" />
  29114. <ScalarProperty Name="TblContractInsuranceOverrideValue" ColumnName="TblContractInsuranceOverrideValue" />
  29115. <ScalarProperty Name="TblContractInsuranceOriginalValue" ColumnName="TblContractInsuranceOriginalValue" />
  29116. <ScalarProperty Name="TblContractInterestAdjOverrideValue" ColumnName="TblContractInterestAdjOverrideValue" />
  29117. <ScalarProperty Name="TblContractInterestAdjOriginalValue" ColumnName="TblContractInterestAdjOriginalValue" />
  29118. <ScalarProperty Name="TblContractInstalCommenceDateOverrideValue" ColumnName="TblContractInstalCommenceDateOverrideValue" />
  29119. <ScalarProperty Name="TblContractInstalCommenceDateOriginalValue" ColumnName="TblContractInstalCommenceDateOriginalValue" />
  29120. <ScalarProperty Name="TblContractOverrideDepositAmountOverrideValue" ColumnName="TblContractOverrideDepositAmountOverrideValue" />
  29121. <ScalarProperty Name="TblContractOverrideDepositAmountOriginalValue" ColumnName="TblContractOverrideDepositAmountOriginalValue" />
  29122. <ScalarProperty Name="TblContractConversionRateOverrideValue" ColumnName="TblContractConversionRateOverrideValue" />
  29123. <ScalarProperty Name="TblContractConversionRateOriginalValue" ColumnName="TblContractConversionRateOriginalValue" />
  29124. <ScalarProperty Name="TblContractContractCurrencyOverrideValue" ColumnName="TblContractContractCurrencyOverrideValue" />
  29125. <ScalarProperty Name="TblContractContractCurrencyOriginalValue" ColumnName="TblContractContractCurrencyOriginalValue" />
  29126. <ScalarProperty Name="TblContractUnitPriceOverrideValue" ColumnName="TblContractUnitPriceOverrideValue" />
  29127. <ScalarProperty Name="TblContractUnitPriceOriginalValue" ColumnName="TblContractUnitPriceOriginalValue" />
  29128. <ScalarProperty Name="OverrideUser" ColumnName="OverrideUser" />
  29129. <ScalarProperty Name="OverrideDate" ColumnName="OverrideDate" />
  29130. <ScalarProperty Name="TransfigurationsKey" ColumnName="TransfigurationsKey" />
  29131. <ScalarProperty Name="TblContractKey" ColumnName="TblContractKey" />
  29132. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29133. <ScalarProperty Name="OID" ColumnName="OID" />
  29134. </MappingFragment>
  29135. </EntityTypeMapping>
  29136. </EntitySetMapping>
  29137. <EntitySetMapping Name="TblPaymentPlans">
  29138. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPaymentPlan">
  29139. <MappingFragment StoreEntitySet="TblPaymentPlan">
  29140. <ScalarProperty Name="DeletedBy" ColumnName="DeletedBy" />
  29141. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29142. <ScalarProperty Name="NumberOfMonthsUsedInCalc" ColumnName="NumberOfMonthsUsedInCalc" />
  29143. <ScalarProperty Name="TableEntryNumber" ColumnName="TableEntryNumber" />
  29144. <ScalarProperty Name="TableUsedInCalc" ColumnName="TableUsedInCalc" />
  29145. <ScalarProperty Name="PaymentType" ColumnName="PaymentType" />
  29146. <ScalarProperty Name="TransactionType" ColumnName="TransactionType" />
  29147. <ScalarProperty Name="ACBRaised" ColumnName="ACBRaised" />
  29148. <ScalarProperty Name="ManagementFeeYear" ColumnName="ManagementFeeYear" />
  29149. <ScalarProperty Name="InstalmentRaised" ColumnName="InstalmentRaised" />
  29150. <ScalarProperty Name="InsurancePortion" ColumnName="InsurancePortion" />
  29151. <ScalarProperty Name="ServiceFeePortion" ColumnName="ServiceFeePortion" />
  29152. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29153. <ScalarProperty Name="InstalmentAmount" ColumnName="InstalmentAmount" />
  29154. <ScalarProperty Name="StatementPeriodInt" ColumnName="StatementPeriodInt" />
  29155. <ScalarProperty Name="AccountPaymentType" ColumnName="AccountPaymentType" />
  29156. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29157. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29158. <ScalarProperty Name="InstallmentAmount" ColumnName="InstallmentAmount" />
  29159. <ScalarProperty Name="StatementPeriod" ColumnName="StatementPeriod" />
  29160. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  29161. <ScalarProperty Name="OID" ColumnName="OID" />
  29162. </MappingFragment>
  29163. </EntityTypeMapping>
  29164. </EntitySetMapping>
  29165. <EntitySetMapping Name="TblPaymentTypes">
  29166. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPaymentType">
  29167. <MappingFragment StoreEntitySet="TblPaymentTypes">
  29168. <ScalarProperty Name="ConsoftAbbreviation" ColumnName="ConsoftAbbreviation" />
  29169. <ScalarProperty Name="MethodOfPayment" ColumnName="MethodOfPayment" />
  29170. <ScalarProperty Name="WaitingPeriod" ColumnName="WaitingPeriod" />
  29171. <ScalarProperty Name="Abbreviation" ColumnName="Abbreviation" />
  29172. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29173. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29174. <ScalarProperty Name="Description" ColumnName="Description" />
  29175. <ScalarProperty Name="OID" ColumnName="OID" />
  29176. </MappingFragment>
  29177. </EntityTypeMapping>
  29178. </EntitySetMapping>
  29179. <EntitySetMapping Name="TblPayTypes">
  29180. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPayType">
  29181. <MappingFragment StoreEntitySet="TblPayType">
  29182. <ScalarProperty Name="WaitingPeriod" ColumnName="WaitingPeriod" />
  29183. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29184. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29185. <ScalarProperty Name="Abreviation" ColumnName="Abreviation" />
  29186. <ScalarProperty Name="Description" ColumnName="Description" />
  29187. <ScalarProperty Name="OID" ColumnName="OID" />
  29188. </MappingFragment>
  29189. </EntityTypeMapping>
  29190. </EntitySetMapping>
  29191. <EntitySetMapping Name="TblPeriodsInMonths">
  29192. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPeriodsInMonth">
  29193. <MappingFragment StoreEntitySet="TblPeriodsInMonths">
  29194. <ScalarProperty Name="ShowInReports" ColumnName="ShowInReports" />
  29195. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29196. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29197. <ScalarProperty Name="IncludeForClubs" ColumnName="IncludeForClubs" />
  29198. <ScalarProperty Name="IncludeForLease" ColumnName="IncludeForLease" />
  29199. <ScalarProperty Name="Period" ColumnName="Period" />
  29200. <ScalarProperty Name="Oid" ColumnName="Oid" />
  29201. </MappingFragment>
  29202. </EntityTypeMapping>
  29203. </EntitySetMapping>
  29204. <EntitySetMapping Name="TblPersonnels">
  29205. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnel">
  29206. <MappingFragment StoreEntitySet="TblPersonnel">
  29207. <ScalarProperty Name="IsConfirmationClerk" ColumnName="IsConfirmationClerk" />
  29208. <ScalarProperty Name="PrimarySalesDeck" ColumnName="PrimarySalesDeck" />
  29209. <ScalarProperty Name="BasicEndDate" ColumnName="BasicEndDate" />
  29210. <ScalarProperty Name="NewCommStructure" ColumnName="NewCommStructure" />
  29211. <ScalarProperty Name="SCVStructure" ColumnName="SCVStructure" />
  29212. <ScalarProperty Name="TrainingManager" ColumnName="TrainingManager" />
  29213. <ScalarProperty Name="IsTrainingManager" ColumnName="IsTrainingManager" />
  29214. <ScalarProperty Name="HRWarningRecipient" ColumnName="HRWarningRecipient" />
  29215. <ScalarProperty Name="HRWarningRecipiant" ColumnName="HRWarningRecipiant" />
  29216. <ScalarProperty Name="IsPresenter" ColumnName="IsPresenter" />
  29217. <ScalarProperty Name="IsManager" ColumnName="IsManager" />
  29218. <ScalarProperty Name="IsJuniorManager" ColumnName="IsJuniorManager" />
  29219. <ScalarProperty Name="IsTMManager" ColumnName="IsTMManager" />
  29220. <ScalarProperty Name="IsSupervisor" ColumnName="IsSupervisor" />
  29221. <ScalarProperty Name="SMI" ColumnName="SMI" />
  29222. <ScalarProperty Name="IsTrainee" ColumnName="IsTrainee" />
  29223. <ScalarProperty Name="Supervisor" ColumnName="Supervisor" />
  29224. <ScalarProperty Name="AllowAllContractFlow" ColumnName="AllowAllContractFlow" />
  29225. <ScalarProperty Name="SalesCommQueryCategory" ColumnName="SalesCommQueryCategory" />
  29226. <ScalarProperty Name="EquityCommissionPercentage" ColumnName="EquityCommissionPercentage" />
  29227. <ScalarProperty Name="PayrollCompany" ColumnName="PayrollCompany" />
  29228. <ScalarProperty Name="SalesCommissionRotation" ColumnName="SalesCommissionRotation" />
  29229. <ScalarProperty Name="SalesCommissionEquityCategory" ColumnName="SalesCommissionEquityCategory" />
  29230. <ScalarProperty Name="SalesCommissionStructure" ColumnName="SalesCommissionStructure" />
  29231. <ScalarProperty Name="IsTestAdmin" ColumnName="IsTestAdmin" />
  29232. <ScalarProperty Name="IsDeveloper" ColumnName="IsDeveloper" />
  29233. <ScalarProperty Name="IsTelemarketingDirector" ColumnName="IsTelemarketingDirector" />
  29234. <ScalarProperty Name="IsNotHuman" ColumnName="IsNotHuman" />
  29235. <ScalarProperty Name="NameAndSurname" ColumnName="NameAndSurname" />
  29236. <ScalarProperty Name="Transport" ColumnName="Transport" />
  29237. <ScalarProperty Name="Addsome" ColumnName="Addsome" />
  29238. <ScalarProperty Name="IsTester" ColumnName="IsTester" />
  29239. <ScalarProperty Name="InvoiceForAccess" ColumnName="InvoiceForAccess" />
  29240. <ScalarProperty Name="PayPoint" ColumnName="PayPoint" />
  29241. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29242. <ScalarProperty Name="PAAss" ColumnName="PAAss" />
  29243. <ScalarProperty Name="PAUserCode" ColumnName="PAUserCode" />
  29244. <ScalarProperty Name="ContractLastAllocated" ColumnName="ContractLastAllocated" />
  29245. <ScalarProperty Name="ContractFlowRole" ColumnName="ContractFlowRole" />
  29246. <ScalarProperty Name="RegionalSalesManager" ColumnName="RegionalSalesManager" />
  29247. <ScalarProperty Name="IsRegionalSalesManager" ColumnName="IsRegionalSalesManager" />
  29248. <ScalarProperty Name="ISnowahala" ColumnName="ISnowahala" />
  29249. <ScalarProperty Name="IsSurveyor" ColumnName="IsSurveyor" />
  29250. <ScalarProperty Name="IsTelemarketer" ColumnName="IsTelemarketer" />
  29251. <ScalarProperty Name="IsSalesConsultant" ColumnName="IsSalesConsultant" />
  29252. <ScalarProperty Name="IsSalesManager" ColumnName="IsSalesManager" />
  29253. <ScalarProperty Name="IsConfirmationManager" ColumnName="IsConfirmationManager" />
  29254. <ScalarProperty Name="IsSalesDirector" ColumnName="IsSalesDirector" />
  29255. <ScalarProperty Name="IsPodManager" ColumnName="IsPodManager" />
  29256. <ScalarProperty Name="UserName" ColumnName="UserName" />
  29257. <ScalarProperty Name="IsHRUser" ColumnName="IsHRUser" />
  29258. <ScalarProperty Name="EmployeeNumber" ColumnName="EmployeeNumber" />
  29259. <ScalarProperty Name="aNotifyTask" ColumnName="aNotifyTask" />
  29260. <ScalarProperty Name="ConsoftAgentCode" ColumnName="ConsoftAgentCode" />
  29261. <ScalarProperty Name="CanAssignTasksToAnybody" ColumnName="CanAssignTasksToAnybody" />
  29262. <ScalarProperty Name="UnivateTarget" ColumnName="UnivateTarget" />
  29263. <ScalarProperty Name="aProTask" ColumnName="aProTask" />
  29264. <ScalarProperty Name="employeeLevel" ColumnName="employeeLevel" />
  29265. <ScalarProperty Name="Workdays" ColumnName="Workdays" />
  29266. <ScalarProperty Name="EmailNotificationRecipient" ColumnName="EmailNotificationRecipient" />
  29267. <ScalarProperty Name="PitchedLeadsReportVenue" ColumnName="PitchedLeadsReportVenue" />
  29268. <ScalarProperty Name="CommissionLinkedTo" ColumnName="CommissionLinkedTo" />
  29269. <ScalarProperty Name="Franchisee" ColumnName="Franchisee" />
  29270. <ScalarProperty Name="PayrollNumber" ColumnName="PayrollNumber" />
  29271. <ScalarProperty Name="BookingSessionCounter" ColumnName="BookingSessionCounter" />
  29272. <ScalarProperty Name="ReportsTo" ColumnName="ReportsTo" />
  29273. <ScalarProperty Name="CommStructure" ColumnName="CommStructure" />
  29274. <ScalarProperty Name="SalesManager" ColumnName="SalesManager" />
  29275. <ScalarProperty Name="BasicSalary" ColumnName="BasicSalary" />
  29276. <ScalarProperty Name="AsteriskCallerID" ColumnName="AsteriskCallerID" />
  29277. <ScalarProperty Name="AsteriskPassword" ColumnName="AsteriskPassword" />
  29278. <ScalarProperty Name="AsteriskUserCode" ColumnName="AsteriskUserCode" />
  29279. <ScalarProperty Name="AsteriskIP" ColumnName="AsteriskIP" />
  29280. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29281. <ScalarProperty Name="NextofKinRelationship" ColumnName="NextofKinRelationship" />
  29282. <ScalarProperty Name="NextOfKinSurname" ColumnName="NextOfKinSurname" />
  29283. <ScalarProperty Name="NextOfKinFirstName" ColumnName="NextOfKinFirstName" />
  29284. <ScalarProperty Name="SpouseIdNumber" ColumnName="SpouseIdNumber" />
  29285. <ScalarProperty Name="SpouseSurname" ColumnName="SpouseSurname" />
  29286. <ScalarProperty Name="SpouseFirstName" ColumnName="SpouseFirstName" />
  29287. <ScalarProperty Name="BranchName" ColumnName="BranchName" />
  29288. <ScalarProperty Name="BankAccountType" ColumnName="BankAccountType" />
  29289. <ScalarProperty Name="BankBranch" ColumnName="BankBranch" />
  29290. <ScalarProperty Name="BankAccountHolder" ColumnName="BankAccountHolder" />
  29291. <ScalarProperty Name="BankAccountNumber" ColumnName="BankAccountNumber" />
  29292. <ScalarProperty Name="BankName" ColumnName="BankName" />
  29293. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  29294. <ScalarProperty Name="DateResigned" ColumnName="DateResigned" />
  29295. <ScalarProperty Name="TelemarketerOffice" ColumnName="TelemarketerOffice" />
  29296. <ScalarProperty Name="DateJoined" ColumnName="DateJoined" />
  29297. <ScalarProperty Name="SuspendedDate" ColumnName="SuspendedDate" />
  29298. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29299. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29300. <ScalarProperty Name="UserCode" ColumnName="UserCode" />
  29301. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  29302. <ScalarProperty Name="Department" ColumnName="Department" />
  29303. <ScalarProperty Name="Initials" ColumnName="Initials" />
  29304. <ScalarProperty Name="Surname" ColumnName="Surname" />
  29305. <ScalarProperty Name="FirstName" ColumnName="FirstName" />
  29306. <ScalarProperty Name="Title" ColumnName="Title" />
  29307. <ScalarProperty Name="Company" ColumnName="Company" />
  29308. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29309. </MappingFragment>
  29310. </EntityTypeMapping>
  29311. </EntitySetMapping>
  29312. <EntitySetMapping Name="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  29313. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  29314. <MappingFragment StoreEntitySet="TblPersonnelBCCRecipiants_DynamicMailingBCCRecipiantOf">
  29315. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29316. <ScalarProperty Name="OID" ColumnName="OID" />
  29317. <ScalarProperty Name="BCCRecipiants" ColumnName="BCCRecipiants" />
  29318. <ScalarProperty Name="BCCRecipiantOf" ColumnName="BCCRecipiantOf" />
  29319. </MappingFragment>
  29320. </EntityTypeMapping>
  29321. </EntitySetMapping>
  29322. <EntitySetMapping Name="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  29323. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  29324. <MappingFragment StoreEntitySet="TblPersonnelCCRecipiants_DynamicMailingCCRecipiantOf">
  29325. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29326. <ScalarProperty Name="OID" ColumnName="OID" />
  29327. <ScalarProperty Name="CCRecipiants" ColumnName="CCRecipiants" />
  29328. <ScalarProperty Name="CCRecipiantOf" ColumnName="CCRecipiantOf" />
  29329. </MappingFragment>
  29330. </EntityTypeMapping>
  29331. </EntitySetMapping>
  29332. <EntitySetMapping Name="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  29333. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  29334. <MappingFragment StoreEntitySet="TblPersonnelCheckingPersonnel_CheckingTypesCheckingType">
  29335. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29336. <ScalarProperty Name="OID" ColumnName="OID" />
  29337. <ScalarProperty Name="CheckingPersonnel" ColumnName="CheckingPersonnel" />
  29338. <ScalarProperty Name="CheckingType" ColumnName="CheckingType" />
  29339. </MappingFragment>
  29340. </EntityTypeMapping>
  29341. </EntitySetMapping>
  29342. <EntitySetMapping Name="TblPersonnelDocuments">
  29343. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelDocument">
  29344. <MappingFragment StoreEntitySet="TblPersonnelDocuments">
  29345. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29346. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29347. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29348. <ScalarProperty Name="DocumentType" ColumnName="DocumentType" />
  29349. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29350. <ScalarProperty Name="File" ColumnName="File" />
  29351. <ScalarProperty Name="Oid" ColumnName="Oid" />
  29352. </MappingFragment>
  29353. </EntityTypeMapping>
  29354. </EntitySetMapping>
  29355. <EntitySetMapping Name="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  29356. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  29357. <MappingFragment StoreEntitySet="TblPersonnelExpertEmailRecipiants_TblContractExpirySettingsExpertEmails">
  29358. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29359. <ScalarProperty Name="OID" ColumnName="OID" />
  29360. <ScalarProperty Name="ExpertEmailRecipiants" ColumnName="ExpertEmailRecipiants" />
  29361. <ScalarProperty Name="ExpertEmails" ColumnName="ExpertEmails" />
  29362. </MappingFragment>
  29363. </EntityTypeMapping>
  29364. </EntitySetMapping>
  29365. <EntitySetMapping Name="TblPersonnelImportSources">
  29366. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelImportSource">
  29367. <MappingFragment StoreEntitySet="TblPersonnelImportSource">
  29368. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29369. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29370. <ScalarProperty Name="ImportSource" ColumnName="ImportSource" />
  29371. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29372. <ScalarProperty Name="OID" ColumnName="OID" />
  29373. </MappingFragment>
  29374. </EntityTypeMapping>
  29375. </EntitySetMapping>
  29376. <EntitySetMapping Name="TblPersonnelLeaves">
  29377. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelLeave">
  29378. <MappingFragment StoreEntitySet="TblPersonnelLeave">
  29379. <ScalarProperty Name="Type" ColumnName="Type" />
  29380. <ScalarProperty Name="Comments" ColumnName="Comments" />
  29381. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29382. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29383. <ScalarProperty Name="LeaveTo" ColumnName="LeaveTo" />
  29384. <ScalarProperty Name="LeaveFrom" ColumnName="LeaveFrom" />
  29385. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29386. <ScalarProperty Name="OID" ColumnName="OID" />
  29387. </MappingFragment>
  29388. </EntityTypeMapping>
  29389. </EntitySetMapping>
  29390. <EntitySetMapping Name="TblPersonnelPersonnel_TblImportSourceImportSource">
  29391. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelPersonnel_TblImportSourceImportSource">
  29392. <MappingFragment StoreEntitySet="TblPersonnelPersonnel_TblImportSourceImportSource">
  29393. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29394. <ScalarProperty Name="OID" ColumnName="OID" />
  29395. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  29396. <ScalarProperty Name="ImportSource" ColumnName="ImportSource" />
  29397. </MappingFragment>
  29398. </EntityTypeMapping>
  29399. </EntitySetMapping>
  29400. <EntitySetMapping Name="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  29401. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  29402. <MappingFragment StoreEntitySet="TblPersonnelPersonnelAllowed_FlowCheckStageFlowCheckStage">
  29403. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29404. <ScalarProperty Name="OID" ColumnName="OID" />
  29405. <ScalarProperty Name="PersonnelAllowed" ColumnName="PersonnelAllowed" />
  29406. <ScalarProperty Name="FlowCheckStage" ColumnName="FlowCheckStage" />
  29407. </MappingFragment>
  29408. </EntityTypeMapping>
  29409. </EntitySetMapping>
  29410. <EntitySetMapping Name="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  29411. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  29412. <MappingFragment StoreEntitySet="TblPersonnelPersonnelToNotify_TblEmailNotifyEmails">
  29413. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29414. <ScalarProperty Name="OID" ColumnName="OID" />
  29415. <ScalarProperty Name="PersonnelToNotify" ColumnName="PersonnelToNotify" />
  29416. <ScalarProperty Name="NotifyEmails" ColumnName="NotifyEmails" />
  29417. </MappingFragment>
  29418. </EntityTypeMapping>
  29419. </EntitySetMapping>
  29420. <EntitySetMapping Name="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  29421. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  29422. <MappingFragment StoreEntitySet="TblPersonnelRecipiants_TblEmailRecipiantsEmailRecipiantOf">
  29423. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29424. <ScalarProperty Name="OID" ColumnName="OID" />
  29425. <ScalarProperty Name="Recipiants" ColumnName="Recipiants" />
  29426. <ScalarProperty Name="EmailRecipiantOf" ColumnName="EmailRecipiantOf" />
  29427. </MappingFragment>
  29428. </EntityTypeMapping>
  29429. </EntitySetMapping>
  29430. <EntitySetMapping Name="TblPersonnelTelephones">
  29431. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelTelephone">
  29432. <MappingFragment StoreEntitySet="TblPersonnelTelephone">
  29433. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29434. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29435. <ScalarProperty Name="TelephoneType" ColumnName="TelephoneType" />
  29436. <ScalarProperty Name="TelephoneNumber" ColumnName="TelephoneNumber" />
  29437. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29438. <ScalarProperty Name="OID" ColumnName="OID" />
  29439. </MappingFragment>
  29440. </EntityTypeMapping>
  29441. </EntitySetMapping>
  29442. <EntitySetMapping Name="TblPersonnelUnivateTargets">
  29443. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelUnivateTarget">
  29444. <MappingFragment StoreEntitySet="TblPersonnelUnivateTarget">
  29445. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29446. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29447. <ScalarProperty Name="Target" ColumnName="Target" />
  29448. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  29449. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29450. <ScalarProperty Name="OID" ColumnName="OID" />
  29451. </MappingFragment>
  29452. </EntityTypeMapping>
  29453. </EntitySetMapping>
  29454. <EntitySetMapping Name="TblPersonnelWeeklyTargetSplits">
  29455. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelWeeklyTargetSplit">
  29456. <MappingFragment StoreEntitySet="TblPersonnelWeeklyTargetSplit">
  29457. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29458. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29459. <ScalarProperty Name="Target" ColumnName="Target" />
  29460. <ScalarProperty Name="DateTo" ColumnName="DateTo" />
  29461. <ScalarProperty Name="DateFrom" ColumnName="DateFrom" />
  29462. <ScalarProperty Name="WeekNumber" ColumnName="WeekNumber" />
  29463. <ScalarProperty Name="Year" ColumnName="Year" />
  29464. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  29465. <ScalarProperty Name="OID" ColumnName="OID" />
  29466. </MappingFragment>
  29467. </EntityTypeMapping>
  29468. </EntitySetMapping>
  29469. <EntitySetMapping Name="TblPersonnelWeeklyTargetSplitPerSalesVenues">
  29470. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersonnelWeeklyTargetSplitPerSalesVenue">
  29471. <MappingFragment StoreEntitySet="TblPersonnelWeeklyTargetSplitPerSalesVenue">
  29472. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29473. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29474. <ScalarProperty Name="Target" ColumnName="Target" />
  29475. <ScalarProperty Name="DateTo" ColumnName="DateTo" />
  29476. <ScalarProperty Name="DateFrom" ColumnName="DateFrom" />
  29477. <ScalarProperty Name="WeekNumber" ColumnName="WeekNumber" />
  29478. <ScalarProperty Name="Year" ColumnName="Year" />
  29479. <ScalarProperty Name="SalesVenue" ColumnName="SalesVenue" />
  29480. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  29481. <ScalarProperty Name="OID" ColumnName="OID" />
  29482. </MappingFragment>
  29483. </EntityTypeMapping>
  29484. </EntitySetMapping>
  29485. <EntitySetMapping Name="TblPersTransfigs">
  29486. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPersTransfig">
  29487. <MappingFragment StoreEntitySet="TblPersTransfig">
  29488. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29489. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29490. <ScalarProperty Name="TblPersonnellKey" ColumnName="TblPersonnellKey" />
  29491. <ScalarProperty Name="TransfigTo" ColumnName="TransfigTo" />
  29492. <ScalarProperty Name="TransfigFrom" ColumnName="TransfigFrom" />
  29493. <ScalarProperty Name="OID" ColumnName="OID" />
  29494. </MappingFragment>
  29495. </EntityTypeMapping>
  29496. </EntitySetMapping>
  29497. <EntitySetMapping Name="TblPodManagers">
  29498. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPodManager">
  29499. <MappingFragment StoreEntitySet="TblPodManager">
  29500. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29501. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29502. <ScalarProperty Name="PodManagers" ColumnName="PodManagers" />
  29503. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  29504. <ScalarProperty Name="OID" ColumnName="OID" />
  29505. </MappingFragment>
  29506. </EntityTypeMapping>
  29507. </EntitySetMapping>
  29508. <EntitySetMapping Name="TblPortfolios">
  29509. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPortfolio">
  29510. <MappingFragment StoreEntitySet="TblPortfolio">
  29511. <ScalarProperty Name="PurchasedToExchange" ColumnName="PurchasedToExchange" />
  29512. <ScalarProperty Name="PurchasedToOccupy" ColumnName="PurchasedToOccupy" />
  29513. <ScalarProperty Name="NameChange" ColumnName="NameChange" />
  29514. <ScalarProperty Name="CapacityOfRepresentative" ColumnName="CapacityOfRepresentative" />
  29515. <ScalarProperty Name="EstateLateSpouseSent" ColumnName="EstateLateSpouseSent" />
  29516. <ScalarProperty Name="EstateLateSent" ColumnName="EstateLateSent" />
  29517. <ScalarProperty Name="DateSpouseEstateLate" ColumnName="DateSpouseEstateLate" />
  29518. <ScalarProperty Name="DateEstateLate" ColumnName="DateEstateLate" />
  29519. <ScalarProperty Name="IsSpouseEstateLate" ColumnName="IsSpouseEstateLate" />
  29520. <ScalarProperty Name="IsEstateLate" ColumnName="IsEstateLate" />
  29521. <ScalarProperty Name="SoleProprietor" ColumnName="SoleProprietor" />
  29522. <ScalarProperty Name="SpousePassportNumber" ColumnName="SpousePassportNumber" />
  29523. <ScalarProperty Name="IsSpouseForeigner" ColumnName="IsSpouseForeigner" />
  29524. <ScalarProperty Name="SpouseDOB" ColumnName="SpouseDOB" />
  29525. <ScalarProperty Name="PassportNumber" ColumnName="PassportNumber" />
  29526. <ScalarProperty Name="IsForeigner" ColumnName="IsForeigner" />
  29527. <ScalarProperty Name="CustomerVATNr" ColumnName="CustomerVATNr" />
  29528. <ScalarProperty Name="ReceiveLeaseInfo" ColumnName="ReceiveLeaseInfo" />
  29529. <ScalarProperty Name="POAAmendPersonalInformation" ColumnName="POAAmendPersonalInformation" />
  29530. <ScalarProperty Name="POAEnquireFinancialDetails" ColumnName="POAEnquireFinancialDetails" />
  29531. <ScalarProperty Name="POAEquireAvailableBenefits" ColumnName="POAEquireAvailableBenefits" />
  29532. <ScalarProperty Name="POAMakeReservation" ColumnName="POAMakeReservation" />
  29533. <ScalarProperty Name="ReconsiderTwoYearsSelected" ColumnName="ReconsiderTwoYearsSelected" />
  29534. <ScalarProperty Name="ReconsiderTwoYears" ColumnName="ReconsiderTwoYears" />
  29535. <ScalarProperty Name="POFAIDNumber" ColumnName="POFAIDNumber" />
  29536. <ScalarProperty Name="PowerOfAttorney" ColumnName="PowerOfAttorney" />
  29537. <ScalarProperty Name="IsCompany" ColumnName="IsCompany" />
  29538. <ScalarProperty Name="RCIEnrolledDate" ColumnName="RCIEnrolledDate" />
  29539. <ScalarProperty Name="DoNotDecreaseInstallment" ColumnName="DoNotDecreaseInstallment" />
  29540. <ScalarProperty Name="FundInstallment" ColumnName="FundInstallment" />
  29541. <ScalarProperty Name="DateLastSentToCollectionSystem" ColumnName="DateLastSentToCollectionSystem" />
  29542. <ScalarProperty Name="SendToCollectionSystem" ColumnName="SendToCollectionSystem" />
  29543. <ScalarProperty Name="PasswordByte" ColumnName="PasswordByte" />
  29544. <ScalarProperty Name="DefaultComAddress" ColumnName="DefaultComAddress" />
  29545. <ScalarProperty Name="Password" ColumnName="Password" />
  29546. <ScalarProperty Name="CertificateName" ColumnName="CertificateName" />
  29547. <ScalarProperty Name="RCINumber" ColumnName="RCINumber" />
  29548. <ScalarProperty Name="Status" ColumnName="Status" />
  29549. <ScalarProperty Name="LastUpdated" ColumnName="LastUpdated" />
  29550. <ScalarProperty Name="PortfolioString" ColumnName="PortfolioString" />
  29551. <ScalarProperty Name="Post" ColumnName="Post" />
  29552. <ScalarProperty Name="Email" ColumnName="Email" />
  29553. <ScalarProperty Name="DefaultTelephone" ColumnName="DefaultTelephone" />
  29554. <ScalarProperty Name="TempPwd" ColumnName="TempPwd" />
  29555. <ScalarProperty Name="LinkedInAddress" ColumnName="LinkedInAddress" />
  29556. <ScalarProperty Name="SkypeAddress" ColumnName="SkypeAddress" />
  29557. <ScalarProperty Name="IMAddress" ColumnName="IMAddress" />
  29558. <ScalarProperty Name="WebAddress" ColumnName="WebAddress" />
  29559. <ScalarProperty Name="DateTimeSent" ColumnName="DateTimeSent" />
  29560. <ScalarProperty Name="DebtReviewDate" ColumnName="DebtReviewDate" />
  29561. <ScalarProperty Name="DateTimeUpdated" ColumnName="DateTimeUpdated" />
  29562. <ScalarProperty Name="TwitterAddress" ColumnName="TwitterAddress" />
  29563. <ScalarProperty Name="FacebookAddress" ColumnName="FacebookAddress" />
  29564. <ScalarProperty Name="BookingRef" ColumnName="BookingRef" />
  29565. <ScalarProperty Name="ExternalAccountNumber" ColumnName="ExternalAccountNumber" />
  29566. <ScalarProperty Name="OtherContact" ColumnName="OtherContact" />
  29567. <ScalarProperty Name="JointPurchase" ColumnName="JointPurchase" />
  29568. <ScalarProperty Name="HowMarried" ColumnName="HowMarried" />
  29569. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29570. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29571. <ScalarProperty Name="BookingRefText" ColumnName="BookingRefText" />
  29572. <ScalarProperty Name="CompanyRegNo" ColumnName="CompanyRegNo" />
  29573. <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
  29574. <ScalarProperty Name="SpouseEmailAddress" ColumnName="SpouseEmailAddress" />
  29575. <ScalarProperty Name="SpouseCellphoneNumber" ColumnName="SpouseCellphoneNumber" />
  29576. <ScalarProperty Name="SpouseWorkPhoneNumber" ColumnName="SpouseWorkPhoneNumber" />
  29577. <ScalarProperty Name="SpouseIDNumber" ColumnName="SpouseIDNumber" />
  29578. <ScalarProperty Name="SpouseSurname" ColumnName="SpouseSurname" />
  29579. <ScalarProperty Name="SpouseFirstName" ColumnName="SpouseFirstName" />
  29580. <ScalarProperty Name="SpouseInitials" ColumnName="SpouseInitials" />
  29581. <ScalarProperty Name="SpouseTitle" ColumnName="SpouseTitle" />
  29582. <ScalarProperty Name="DateOfBirth" ColumnName="DateOfBirth" />
  29583. <ScalarProperty Name="Reconsider" ColumnName="Reconsider" />
  29584. <ScalarProperty Name="PersonalDataShared" ColumnName="PersonalDataShared" />
  29585. <ScalarProperty Name="OptOut" ColumnName="OptOut" />
  29586. <ScalarProperty Name="ReceiveInfo" ColumnName="ReceiveInfo" />
  29587. <ScalarProperty Name="IDNumber" ColumnName="IDNumber" />
  29588. <ScalarProperty Name="Surname" ColumnName="Surname" />
  29589. <ScalarProperty Name="FirstNames" ColumnName="FirstNames" />
  29590. <ScalarProperty Name="Initials" ColumnName="Initials" />
  29591. <ScalarProperty Name="Title" ColumnName="Title" />
  29592. <ScalarProperty Name="EmailAddress" ColumnName="EmailAddress" />
  29593. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29594. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29595. <ScalarProperty Name="PortfolioNumber" ColumnName="PortfolioNumber" />
  29596. <ScalarProperty Name="OID" ColumnName="OID" />
  29597. </MappingFragment>
  29598. </EntityTypeMapping>
  29599. </EntitySetMapping>
  29600. <EntitySetMapping Name="TblPortfolioDocuments">
  29601. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPortfolioDocument">
  29602. <MappingFragment StoreEntitySet="TblPortfolioDocuments">
  29603. <ScalarProperty Name="IsStatement" ColumnName="IsStatement" />
  29604. <ScalarProperty Name="Period" ColumnName="Period" />
  29605. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29606. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29607. <ScalarProperty Name="Document" ColumnName="Document" />
  29608. <ScalarProperty Name="DocumentType" ColumnName="DocumentType" />
  29609. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29610. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29611. <ScalarProperty Name="PortFolio" ColumnName="PortFolio" />
  29612. <ScalarProperty Name="OID" ColumnName="OID" />
  29613. </MappingFragment>
  29614. </EntityTypeMapping>
  29615. </EntitySetMapping>
  29616. <EntitySetMapping Name="TblPortfolioFeeInsurances">
  29617. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPortfolioFeeInsurance">
  29618. <MappingFragment StoreEntitySet="TblPortfolioFeeInsurance">
  29619. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29620. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29621. <ScalarProperty Name="Percentage" ColumnName="Percentage" />
  29622. <ScalarProperty Name="Description" ColumnName="Description" />
  29623. <ScalarProperty Name="Oid" ColumnName="Oid" />
  29624. </MappingFragment>
  29625. </EntityTypeMapping>
  29626. </EntitySetMapping>
  29627. <EntitySetMapping Name="TblPortfolioNotes">
  29628. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPortfolioNote">
  29629. <MappingFragment StoreEntitySet="TblPortfolioNotes">
  29630. <ScalarProperty Name="DebtorBanking" ColumnName="DebtorBanking" />
  29631. <ScalarProperty Name="Reference" ColumnName="Reference" />
  29632. <ScalarProperty Name="MessageType" ColumnName="MessageType" />
  29633. <ScalarProperty Name="SentToCollectionSystem" ColumnName="SentToCollectionSystem" />
  29634. <ScalarProperty Name="Contract" ColumnName="Contract" />
  29635. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  29636. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  29637. <ScalarProperty Name="ActionDate" ColumnName="ActionDate" />
  29638. <ScalarProperty Name="TblDebtor" ColumnName="TblDebtor" />
  29639. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29640. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29641. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29642. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29643. <ScalarProperty Name="Comments" ColumnName="Comments" />
  29644. <ScalarProperty Name="MessageCode" ColumnName="MessageCode" />
  29645. <ScalarProperty Name="TblPortfolio" ColumnName="TblPortfolio" />
  29646. <ScalarProperty Name="OID" ColumnName="OID" />
  29647. </MappingFragment>
  29648. </EntityTypeMapping>
  29649. </EntitySetMapping>
  29650. <EntitySetMapping Name="TblPortfolioResetEstateLates">
  29651. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPortfolioResetEstateLate">
  29652. <MappingFragment StoreEntitySet="TblPortfolioResetEstateLate">
  29653. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29654. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29655. <ScalarProperty Name="Reason" ColumnName="Reason" />
  29656. <ScalarProperty Name="UnFlagSpouse" ColumnName="UnFlagSpouse" />
  29657. <ScalarProperty Name="UnFlagMain" ColumnName="UnFlagMain" />
  29658. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29659. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29660. <ScalarProperty Name="Portfolio" ColumnName="Portfolio" />
  29661. <ScalarProperty Name="OID" ColumnName="OID" />
  29662. </MappingFragment>
  29663. </EntityTypeMapping>
  29664. </EntitySetMapping>
  29665. <EntitySetMapping Name="TblPostCodes">
  29666. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPostCode">
  29667. <MappingFragment StoreEntitySet="TblPostCodes">
  29668. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29669. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29670. <ScalarProperty Name="Area" ColumnName="Area" />
  29671. <ScalarProperty Name="Region" ColumnName="Region" />
  29672. <ScalarProperty Name="StreetCode" ColumnName="StreetCode" />
  29673. <ScalarProperty Name="PostBoxCode" ColumnName="PostBoxCode" />
  29674. <ScalarProperty Name="PlaceName" ColumnName="PlaceName" />
  29675. <ScalarProperty Name="OID" ColumnName="OID" />
  29676. </MappingFragment>
  29677. </EntityTypeMapping>
  29678. </EntitySetMapping>
  29679. <EntitySetMapping Name="TblPreviousAgeings">
  29680. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPreviousAgeing">
  29681. <MappingFragment StoreEntitySet="TblPreviousAgeing">
  29682. <ScalarProperty Name="AmountDue" ColumnName="AmountDue" />
  29683. <ScalarProperty Name="CurrentAge" ColumnName="CurrentAge" />
  29684. <ScalarProperty Name="Instalment" ColumnName="Instalment" />
  29685. <ScalarProperty Name="Interest" ColumnName="Interest" />
  29686. <ScalarProperty Name="Fees" ColumnName="Fees" />
  29687. <ScalarProperty Name="Capital" ColumnName="Capital" />
  29688. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29689. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29690. <ScalarProperty Name="NowDue" ColumnName="NowDue" />
  29691. <ScalarProperty Name="Age" ColumnName="Age" />
  29692. <ScalarProperty Name="Installment" ColumnName="Installment" />
  29693. <ScalarProperty Name="Days180" ColumnName="Days180" />
  29694. <ScalarProperty Name="Days150" ColumnName="Days150" />
  29695. <ScalarProperty Name="Days120" ColumnName="Days120" />
  29696. <ScalarProperty Name="Days90" ColumnName="Days90" />
  29697. <ScalarProperty Name="Days60" ColumnName="Days60" />
  29698. <ScalarProperty Name="Days30" ColumnName="Days30" />
  29699. <ScalarProperty Name="Current" ColumnName="Current" />
  29700. <ScalarProperty Name="Balance" ColumnName="Balance" />
  29701. <ScalarProperty Name="StatementPeriod" ColumnName="StatementPeriod" />
  29702. <ScalarProperty Name="Date" ColumnName="Date" />
  29703. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  29704. <ScalarProperty Name="OID" ColumnName="OID" />
  29705. </MappingFragment>
  29706. </EntityTypeMapping>
  29707. </EntitySetMapping>
  29708. <EntitySetMapping Name="TblPreviousAgings">
  29709. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPreviousAging">
  29710. <MappingFragment StoreEntitySet="TblPreviousAging">
  29711. <ScalarProperty Name="Current" ColumnName="Current" />
  29712. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29713. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29714. <ScalarProperty Name="NowDue" ColumnName="NowDue" />
  29715. <ScalarProperty Name="Age" ColumnName="Age" />
  29716. <ScalarProperty Name="Installment" ColumnName="Installment" />
  29717. <ScalarProperty Name="Days180" ColumnName="Days180" />
  29718. <ScalarProperty Name="Days150" ColumnName="Days150" />
  29719. <ScalarProperty Name="Days120" ColumnName="Days120" />
  29720. <ScalarProperty Name="Days90" ColumnName="Days90" />
  29721. <ScalarProperty Name="Days60" ColumnName="Days60" />
  29722. <ScalarProperty Name="Days30" ColumnName="Days30" />
  29723. <ScalarProperty Name="Sundries" ColumnName="Sundries" />
  29724. <ScalarProperty Name="Balance" ColumnName="Balance" />
  29725. <ScalarProperty Name="StatementPeriod" ColumnName="StatementPeriod" />
  29726. <ScalarProperty Name="Debtor" ColumnName="Debtor" />
  29727. <ScalarProperty Name="OID" ColumnName="OID" />
  29728. </MappingFragment>
  29729. </EntityTypeMapping>
  29730. </EntitySetMapping>
  29731. <EntitySetMapping Name="TblPromoCategories">
  29732. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromoCategory">
  29733. <MappingFragment StoreEntitySet="TblPromoCategory">
  29734. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29735. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29736. <ScalarProperty Name="Description" ColumnName="Description" />
  29737. <ScalarProperty Name="Code" ColumnName="Code" />
  29738. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29739. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29740. <ScalarProperty Name="OID" ColumnName="OID" />
  29741. </MappingFragment>
  29742. </EntityTypeMapping>
  29743. </EntitySetMapping>
  29744. <EntitySetMapping Name="TblPromoConfigs">
  29745. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromoConfig">
  29746. <MappingFragment StoreEntitySet="TblPromoConfig">
  29747. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29748. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29749. <ScalarProperty Name="ImportTemplate" ColumnName="ImportTemplate" />
  29750. <ScalarProperty Name="HTMLTemplate" ColumnName="HTMLTemplate" />
  29751. <ScalarProperty Name="PromoCode" ColumnName="PromoCode" />
  29752. <ScalarProperty Name="ValueType" ColumnName="ValueType" />
  29753. <ScalarProperty Name="Value" ColumnName="Value" />
  29754. <ScalarProperty Name="PromoResort" ColumnName="PromoResort" />
  29755. <ScalarProperty Name="Resort" ColumnName="Resort" />
  29756. <ScalarProperty Name="Category" ColumnName="Category" />
  29757. <ScalarProperty Name="PromoDepartureDate" ColumnName="PromoDepartureDate" />
  29758. <ScalarProperty Name="PromoArrivalDate" ColumnName="PromoArrivalDate" />
  29759. <ScalarProperty Name="DepartureDate" ColumnName="DepartureDate" />
  29760. <ScalarProperty Name="ArrivalDate" ColumnName="ArrivalDate" />
  29761. <ScalarProperty Name="EndDate" ColumnName="EndDate" />
  29762. <ScalarProperty Name="StartDate" ColumnName="StartDate" />
  29763. <ScalarProperty Name="CampaignName" ColumnName="CampaignName" />
  29764. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29765. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29766. <ScalarProperty Name="OID" ColumnName="OID" />
  29767. </MappingFragment>
  29768. </EntityTypeMapping>
  29769. </EntitySetMapping>
  29770. <EntitySetMapping Name="TblPromoDocuments">
  29771. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromoDocument">
  29772. <MappingFragment StoreEntitySet="TblPromoDocuments">
  29773. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29774. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29775. <ScalarProperty Name="Document" ColumnName="Document" />
  29776. <ScalarProperty Name="PromoConfig" ColumnName="PromoConfig" />
  29777. <ScalarProperty Name="Description" ColumnName="Description" />
  29778. <ScalarProperty Name="DocumentType" ColumnName="DocumentType" />
  29779. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29780. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29781. <ScalarProperty Name="OID" ColumnName="OID" />
  29782. </MappingFragment>
  29783. </EntityTypeMapping>
  29784. </EntitySetMapping>
  29785. <EntitySetMapping Name="TblPromoMembers">
  29786. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromoMember">
  29787. <MappingFragment StoreEntitySet="TblPromoMembers">
  29788. <ScalarProperty Name="RedeemedDate" ColumnName="RedeemedDate" />
  29789. <ScalarProperty Name="SentToUni" ColumnName="SentToUni" />
  29790. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29791. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29792. <ScalarProperty Name="Redeemed" ColumnName="Redeemed" />
  29793. <ScalarProperty Name="Campaign" ColumnName="Campaign" />
  29794. <ScalarProperty Name="MembershipNo" ColumnName="MembershipNo" />
  29795. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29796. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29797. <ScalarProperty Name="OID" ColumnName="OID" />
  29798. </MappingFragment>
  29799. </EntityTypeMapping>
  29800. </EntitySetMapping>
  29801. <EntitySetMapping Name="TblPromotions">
  29802. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotion">
  29803. <MappingFragment StoreEntitySet="TblPromotion">
  29804. <ScalarProperty Name="PromotionType" ColumnName="PromotionType" />
  29805. <ScalarProperty Name="WeekModule" ColumnName="WeekModule" />
  29806. <ScalarProperty Name="UseRebate" ColumnName="UseRebate" />
  29807. <ScalarProperty Name="UsePrice2" ColumnName="UsePrice2" />
  29808. <ScalarProperty Name="UsePrice1" ColumnName="UsePrice1" />
  29809. <ScalarProperty Name="RebatePercentage" ColumnName="RebatePercentage" />
  29810. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29811. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29812. <ScalarProperty Name="DiscountPercentage" ColumnName="DiscountPercentage" />
  29813. <ScalarProperty Name="Price2" ColumnName="Price2" />
  29814. <ScalarProperty Name="Price1" ColumnName="Price1" />
  29815. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  29816. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  29817. <ScalarProperty Name="WeekType" ColumnName="WeekType" />
  29818. <ScalarProperty Name="UnitNumber" ColumnName="UnitNumber" />
  29819. <ScalarProperty Name="SleeperSize" ColumnName="SleeperSize" />
  29820. <ScalarProperty Name="Season" ColumnName="Season" />
  29821. <ScalarProperty Name="Resort" ColumnName="Resort" />
  29822. <ScalarProperty Name="Oid" ColumnName="Oid" />
  29823. </MappingFragment>
  29824. </EntityTypeMapping>
  29825. </EntitySetMapping>
  29826. <EntitySetMapping Name="TblPromotionCommissions">
  29827. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotionCommission">
  29828. <MappingFragment StoreEntitySet="TblPromotionCommission">
  29829. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29830. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29831. <ScalarProperty Name="PromotionCommissionStructure" ColumnName="PromotionCommissionStructure" />
  29832. <ScalarProperty Name="DripStartOnInstallment" ColumnName="DripStartOnInstallment" />
  29833. <ScalarProperty Name="NumberOfDrips" ColumnName="NumberOfDrips" />
  29834. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  29835. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  29836. <ScalarProperty Name="DripAmountPaid" ColumnName="DripAmountPaid" />
  29837. <ScalarProperty Name="DripAmount" ColumnName="DripAmount" />
  29838. <ScalarProperty Name="UpfrontAmountPaid" ColumnName="UpfrontAmountPaid" />
  29839. <ScalarProperty Name="UpfrontAmount" ColumnName="UpfrontAmount" />
  29840. <ScalarProperty Name="UseAmount" ColumnName="UseAmount" />
  29841. <ScalarProperty Name="PromotionAmount" ColumnName="PromotionAmount" />
  29842. <ScalarProperty Name="PromotionPercentage" ColumnName="PromotionPercentage" />
  29843. <ScalarProperty Name="SalesCommissionInfo" ColumnName="SalesCommissionInfo" />
  29844. <ScalarProperty Name="Oid" ColumnName="Oid" />
  29845. </MappingFragment>
  29846. </EntityTypeMapping>
  29847. </EntitySetMapping>
  29848. <EntitySetMapping Name="TblPromotionCommissionStructures">
  29849. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotionCommissionStructure">
  29850. <MappingFragment StoreEntitySet="TblPromotionCommissionStructure">
  29851. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29852. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29853. <ScalarProperty Name="DripStartOnInstallment" ColumnName="DripStartOnInstallment" />
  29854. <ScalarProperty Name="NumberOfDrips" ColumnName="NumberOfDrips" />
  29855. <ScalarProperty Name="DripPercentage" ColumnName="DripPercentage" />
  29856. <ScalarProperty Name="UpfrontPercentage" ColumnName="UpfrontPercentage" />
  29857. <ScalarProperty Name="PromotionAmount" ColumnName="PromotionAmount" />
  29858. <ScalarProperty Name="UseAmount" ColumnName="UseAmount" />
  29859. <ScalarProperty Name="PromotionPercentage" ColumnName="PromotionPercentage" />
  29860. <ScalarProperty Name="UsePercentage" ColumnName="UsePercentage" />
  29861. <ScalarProperty Name="ToDate" ColumnName="ToDate" />
  29862. <ScalarProperty Name="FromDate" ColumnName="FromDate" />
  29863. <ScalarProperty Name="Name" ColumnName="Name" />
  29864. <ScalarProperty Name="Oid" ColumnName="Oid" />
  29865. </MappingFragment>
  29866. </EntityTypeMapping>
  29867. </EntitySetMapping>
  29868. <EntitySetMapping Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  29869. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  29870. <MappingFragment StoreEntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblContractTypeContractTypes">
  29871. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29872. <ScalarProperty Name="OID" ColumnName="OID" />
  29873. <ScalarProperty Name="PromotionCommissionStructures" ColumnName="PromotionCommissionStructures" />
  29874. <ScalarProperty Name="ContractTypes" ColumnName="ContractTypes" />
  29875. </MappingFragment>
  29876. </EntityTypeMapping>
  29877. </EntitySetMapping>
  29878. <EntitySetMapping Name="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  29879. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  29880. <MappingFragment StoreEntitySet="TblPromotionCommissionStructurePromotionCommissionStructures_TblPersonnelPersonnel">
  29881. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29882. <ScalarProperty Name="OID" ColumnName="OID" />
  29883. <ScalarProperty Name="PromotionCommissionStructures" ColumnName="PromotionCommissionStructures" />
  29884. <ScalarProperty Name="Personnel" ColumnName="Personnel" />
  29885. </MappingFragment>
  29886. </EntityTypeMapping>
  29887. </EntitySetMapping>
  29888. <EntitySetMapping Name="TblPromotionTypes">
  29889. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotionType">
  29890. <MappingFragment StoreEntitySet="TblPromotionType">
  29891. <ScalarProperty Name="SCV2PaymentDuration" ColumnName="SCV2PaymentDuration" />
  29892. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29893. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29894. <ScalarProperty Name="DefaultContractType" ColumnName="DefaultContractType" />
  29895. <ScalarProperty Name="PaymentDuration" ColumnName="PaymentDuration" />
  29896. <ScalarProperty Name="ContractDuration" ColumnName="ContractDuration" />
  29897. <ScalarProperty Name="Description" ColumnName="Description" />
  29898. <ScalarProperty Name="OID" ColumnName="OID" />
  29899. </MappingFragment>
  29900. </EntityTypeMapping>
  29901. </EntitySetMapping>
  29902. <EntitySetMapping Name="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  29903. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  29904. <MappingFragment StoreEntitySet="TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures">
  29905. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29906. <ScalarProperty Name="OID" ColumnName="OID" />
  29907. <ScalarProperty Name="PromotionTypes" ColumnName="PromotionTypes" />
  29908. <ScalarProperty Name="PromotionCommissionStructures" ColumnName="PromotionCommissionStructures" />
  29909. </MappingFragment>
  29910. </EntityTypeMapping>
  29911. </EntitySetMapping>
  29912. <EntitySetMapping Name="TblPublicHolidays">
  29913. <EntityTypeMapping TypeName="ProvisionStagingModel.TblPublicHoliday">
  29914. <MappingFragment StoreEntitySet="TblPublicHoliday">
  29915. <ScalarProperty Name="ThisYearOnly" ColumnName="ThisYearOnly" />
  29916. <ScalarProperty Name="Description" ColumnName="Description" />
  29917. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29918. <ScalarProperty Name="Date" ColumnName="Date" />
  29919. </MappingFragment>
  29920. </EntityTypeMapping>
  29921. </EntitySetMapping>
  29922. <EntitySetMapping Name="TblQNQReasons">
  29923. <EntityTypeMapping TypeName="ProvisionStagingModel.TblQNQReason">
  29924. <MappingFragment StoreEntitySet="TblQNQReasons">
  29925. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29926. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29927. <ScalarProperty Name="Qualified" ColumnName="Qualified" />
  29928. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29929. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29930. <ScalarProperty Name="Descrip" ColumnName="Descrip" />
  29931. <ScalarProperty Name="OID" ColumnName="OID" />
  29932. </MappingFragment>
  29933. </EntityTypeMapping>
  29934. </EntitySetMapping>
  29935. <EntitySetMapping Name="TblQueryCategories">
  29936. <EntityTypeMapping TypeName="ProvisionStagingModel.TblQueryCategory">
  29937. <MappingFragment StoreEntitySet="TblQueryCategories">
  29938. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29939. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29940. <ScalarProperty Name="Description" ColumnName="Description" />
  29941. <ScalarProperty Name="OID" ColumnName="OID" />
  29942. </MappingFragment>
  29943. </EntityTypeMapping>
  29944. </EntitySetMapping>
  29945. <EntitySetMapping Name="TblQueryCategories1">
  29946. <EntityTypeMapping TypeName="ProvisionStagingModel.TblQueryCategory1">
  29947. <MappingFragment StoreEntitySet="TblQueryCategory">
  29948. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29949. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29950. <ScalarProperty Name="System" ColumnName="System" />
  29951. <ScalarProperty Name="HourlyRate" ColumnName="HourlyRate" />
  29952. <ScalarProperty Name="FixedRate" ColumnName="FixedRate" />
  29953. <ScalarProperty Name="FeeType" ColumnName="FeeType" />
  29954. <ScalarProperty Name="QueryCategory" ColumnName="QueryCategory" />
  29955. <ScalarProperty Name="OID" ColumnName="OID" />
  29956. </MappingFragment>
  29957. </EntityTypeMapping>
  29958. </EntitySetMapping>
  29959. <EntitySetMapping Name="TblQueryRecipients">
  29960. <EntityTypeMapping TypeName="ProvisionStagingModel.TblQueryRecipient">
  29961. <MappingFragment StoreEntitySet="TblQueryRecipient">
  29962. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29963. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29964. <ScalarProperty Name="BCCRecipient" ColumnName="BCCRecipient" />
  29965. <ScalarProperty Name="CCRecipient" ColumnName="CCRecipient" />
  29966. <ScalarProperty Name="MainRecipient" ColumnName="MainRecipient" />
  29967. <ScalarProperty Name="System" ColumnName="System" />
  29968. <ScalarProperty Name="OID" ColumnName="OID" />
  29969. </MappingFragment>
  29970. </EntityTypeMapping>
  29971. </EntitySetMapping>
  29972. <EntitySetMapping Name="TblRankingPoints">
  29973. <EntityTypeMapping TypeName="ProvisionStagingModel.TblRankingPoint">
  29974. <MappingFragment StoreEntitySet="TblRankingPoints">
  29975. <ScalarProperty Name="NominalFeeEsclation" ColumnName="NominalFeeEsclation" />
  29976. <ScalarProperty Name="WeekendPrice" ColumnName="WeekendPrice" />
  29977. <ScalarProperty Name="MidWeekPrice" ColumnName="MidWeekPrice" />
  29978. <ScalarProperty Name="NominalFee" ColumnName="NominalFee" />
  29979. <ScalarProperty Name="MennoxPercentage" ColumnName="MennoxPercentage" />
  29980. <ScalarProperty Name="FoundationFeePercentage" ColumnName="FoundationFeePercentage" />
  29981. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29982. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29983. <ScalarProperty Name="Rankings" ColumnName="Rankings" />
  29984. <ScalarProperty Name="SalesPrice" ColumnName="SalesPrice" />
  29985. <ScalarProperty Name="PerRank" ColumnName="PerRank" />
  29986. <ScalarProperty Name="Rank" ColumnName="Rank" />
  29987. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  29988. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  29989. <ScalarProperty Name="OID" ColumnName="OID" />
  29990. </MappingFragment>
  29991. </EntityTypeMapping>
  29992. </EntitySetMapping>
  29993. <EntitySetMapping Name="TblRankings">
  29994. <EntityTypeMapping TypeName="ProvisionStagingModel.TblRanking">
  29995. <MappingFragment StoreEntitySet="TblRankings">
  29996. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  29997. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  29998. <ScalarProperty Name="Years" ColumnName="Years" />
  29999. <ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
  30000. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  30001. <ScalarProperty Name="OID" ColumnName="OID" />
  30002. </MappingFragment>
  30003. </EntityTypeMapping>
  30004. </EntitySetMapping>
  30005. <EntitySetMapping Name="TblRawSalesCommDatas">
  30006. <EntityTypeMapping TypeName="ProvisionStagingModel.TblRawSalesCommData">
  30007. <MappingFragment StoreEntitySet="TblRawSalesCommData">
  30008. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  30009. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  30010. <ScalarProperty Name="ContractPeriod" ColumnName="ContractPeriod" />
  30011. <ScalarProperty Name="AgentName" ColumnName="AgentName" />
  30012. <ScalarProperty Name="SalesManager" ColumnName="SalesManager" />
  30013. <ScalarProperty Name="FourPercentComm" ColumnName="FourPercentComm" />
  30014. <ScalarProperty Name="SalesPeriod" ColumnName="SalesPeriod" />
  30015. <ScalarProperty Name="UniqueNo" ColumnName="UniqueNo" />
  30016. <ScalarProperty Name="Add3" ColumnName="Add3" />
  30017. <ScalarProperty Name="Add2" ColumnName="Add2" />
  30018. <ScalarProperty Name="Add1" ColumnName="Add1" />
  30019. <ScalarProperty Name="Deposit" ColumnName="Deposit" />
  30020. <ScalarProperty Name="Developer" ColumnName="Developer" />
  30021. <ScalarProperty Name="InterestPayable" ColumnName="InterestPayable" />
  30022. <ScalarProperty Name="InstalmentDate" ColumnName="InstalmentDate" />
  30023. <ScalarProperty Name="CFlag" ColumnName="CFlag" />
  30024. <ScalarProperty Name="StdAddendum" ColumnName="StdAddendum" />
  30025. <ScalarProperty Name="ContractNumber" ColumnName="ContractNumber" />
  30026. <ScalarProperty Name="St2" ColumnName="St2" />
  30027. <ScalarProperty Name="St1" ColumnName="St1" />
  30028. <ScalarProperty Name="ContractStatus" ColumnName="ContractStatus" />
  30029. <ScalarProperty Name="DateWritten" ColumnName="DateWritten" />
  30030. <ScalarProperty Name="DateCaptured" ColumnName="DateCaptured" />
  30031. <ScalarProperty Name="Price" ColumnName="Price" />
  30032. <ScalarProperty Name="Units" ColumnName="Units" />
  30033. <ScalarProperty Name="CustomerSurname" ColumnName="CustomerSurname" />
  30034. <ScalarProperty Name="AccountNumber" ColumnName="AccountNumber" />
  30035. <ScalarProperty Name="GroupCode" ColumnName="GroupCode" />
  30036. <ScalarProperty Name="SalesConsultant" ColumnName="SalesConsultant" />
  30037. <ScalarProperty Name="Company" ColumnName="Company" />
  30038. <ScalarProperty Name="OID" ColumnName="OID" />
  30039. </MappingFragment>
  30040. </EntityTypeMapping>
  30041. </EntitySetMapping>
  30042. <EntitySetMapping Name="TblRCIDates">
  30043. <EntityTypeMapping TypeName="ProvisionStagingModel.TblRCIDate">
  30044. <MappingFragment StoreEntitySet="TblRCIDates">
  30045. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  30046. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  30047. <ScalarProperty Name="FullWeekShares" ColumnName="FullWeekShares" />
  30048. <ScalarProperty Name="MidweekShares" ColumnName="MidweekShares" />
  30049. <ScalarProperty Name="WeekendShares" ColumnName="WeekendShares" />
  30050. <ScalarProperty Name="Resort" ColumnName="Resort" />
  30051. <ScalarProperty Name="StartingWeek" ColumnName="StartingWeek" />
  30052. <ScalarProperty Name="Year" ColumnName="Year" />
  30053. <ScalarProperty Name="OID" ColumnName="OID" />
  30054. </MappingFragment>
  30055. </EntityTypeMapping>
  30056. </EntitySetMapping>
  30057. <EntitySetMapping Name="TblRebatePaymentCategoryCodes">
  30058. <EntityTypeMapping TypeName="ProvisionStagingModel.TblRebatePaymentCategoryCode">
  30059. <MappingFragment StoreEntitySet="TblRebatePaymentCategoryCode">
  30060. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  30061. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  30062. <ScalarProperty Name="IsCreditAgreement" ColumnName="IsCreditAgreement" />
  30063. <ScalarProperty Name="IsLease" ColumnName="IsLease" />
  30064. <ScalarProperty Name="CategoryCode" ColumnName="CategoryCode" />
  30065. <ScalarProperty Name="OID" ColumnName="OID" />
  30066. </MappingFragment>
  30067. </EntityTypeMapping>
  30068. </EntitySetMapping>
  30069. <EntitySetMapping Name="TblReferalProfiles">
  30070. <EntityTypeMapping TypeName="ProvisionStagingModel.TblReferalProfile">
  30071. <MappingFragment StoreEntitySet="TblReferalProfile">
  30072. <ScalarProperty Name="Voucher" ColumnName="Voucher" />
  30073. <ScalarProperty Name="Qualify" ColumnName="Qualify" />
  30074. <ScalarProperty Name="MemberNo" ColumnName="MemberNo" />
  30075. <ScalarProperty Name="TotalShows" ColumnName="TotalShows" />
  30076. <ScalarProperty Name="OID" ColumnName="OID" />
  30077. </MappingFragment>
  30078. </EntityTypeMapping>
  30079. </EntitySetMapping>
  30080. <EntitySetMapping Name="TblReleaseClientBookings">
  30081. <EntityTypeMapping TypeName="ProvisionStagingModel.TblReleaseClientBooking">
  30082. <MappingFragment StoreEntitySet="TblReleaseClientBookings">
  30083. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  30084. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  30085. <ScalarProperty Name="ReleaseClient" ColumnName="ReleaseClient" />
  30086. <ScalarProperty Name="SessionNo" ColumnName="SessionNo" />
  30087. <ScalarProperty Name="ShowStart" ColumnName="ShowStart" />
  30088. <ScalarProperty Name="Attended" ColumnName="Attended" />
  30089. <ScalarProperty Name="Name" ColumnName="Name" />
  30090. <ScalarProperty Name="PresentationDate" ColumnName="PresentationDate" />
  30091. <ScalarProperty Name="BookingRef" ColumnName="BookingRef" />
  30092. <ScalarProperty Name="OID" ColumnName="OID" />
  30093. </MappingFragment>
  30094. </EntityTypeMapping>
  30095. </EntitySetMapping>
  30096. <EntitySetMapping Name="TblRescheduleCalls">
  30097. <EntityTypeMapping TypeName="ProvisionStagingModel.TblRescheduleCall">
  30098. <MappingFragment StoreEntitySet="TblRescheduleCalls">
  30099. <ScalarProperty Name="GCRecord" ColumnName="GCRecord" />
  30100. <ScalarProperty Name="OptimisticLockField" ColumnName="OptimisticLockField" />
  30101. <ScalarProperty Name="Telemarketer" ColumnName="Telemarketer" />
  30102. <ScalarProperty Name="DateProcessed" ColumnName="DateProcessed" />
  30103. <ScalarProperty Name="LeadNum" ColumnName="LeadNum" />
  30104. <ScalarProperty Name="dateTimeToCall" ColumnName="dateTimeToCall" />
  30105. <ScalarProperty Name="DateCreated" ColumnName="DateCreated" />
  30106. <ScalarProperty Name="PersonnelCode" ColumnName="PersonnelCode" />
  30107. <ScalarProperty Name="OID" ColumnName="OID" />
  30108. </MappingFragment>
  30109. </EntityTypeMapping>
  30110. </EntitySetMapping>
  30111. </EntityContainerMapping>
  30112. </Mapping>
  30113. </edmx:Mappings>
  30114. </edmx:Runtime>
  30115. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  30116. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  30117. <Connection>
  30118. <DesignerInfoPropertySet>
  30119. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  30120. </DesignerInfoPropertySet>
  30121. </Connection>
  30122. <Options>
  30123. <DesignerInfoPropertySet>
  30124. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  30125. <DesignerProperty Name="EnablePluralization" Value="true" />
  30126. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  30127. <DesignerProperty Name="UseLegacyProvider" Value="true" />
  30128. <DesignerProperty Name="CodeGenerationStrategy" Value="None" />
  30129. </DesignerInfoPropertySet>
  30130. </Options>
  30131. <!-- Diagram content (shape and connector positions) -->
  30132. <Diagrams></Diagrams>
  30133. </Designer>
  30134. </edmx:Edmx>