[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Using xCRL to model departmental contacts
I'm trying to use xCRL to model organisation contacts. So for instance, Dudley Brown works in the Marketing Services department in an organisation called the "Sports Fitness and Recreation Industry Training Organisation - Sports Advisory Group" and is the contact within that organisation for all queries to do with Press Releases. If I've got this right (?!*) I can use a relationship record to model Dudley as the orgnisations contact e.g. <!-- Dudley Brown National Manager - Marketing Services Sports Fitness and Recreation Industry Training Organisation - Sports Advisory Group Level 7, Xacta Towers, 94 Dixon Street PO Box PO Box 8638 PO Box location Riccarton Christchurch Telephone 03 348-1506 Fax 03 348-1906 Email hortito@xtra.co.nz Web http://www.etito.co.nz --> <RelationshipRecord> <Customer PartyType="Organisation"> <i:CustomerID>22</i:CustomerID> <n:NameDetails> <n:OrganisationNameDetails> <n:OrganisationName>Sports Fitness and Recreation Industry Training Organisation - Sports Advisory Group</n:OrganisationName> </n:OrganisationNameDetails> </n:NameDetails> <a:AddressDetails> <a:Country> <a:CountryName>New Zealand</a:CountryName> <a:AddressLines> <a:AddressLine>Level 7, Xacta Towers, 94 Dixon Street</a:AddressLine> <a:AddressLine>PO Box 8638</a:AddressLine> <a:AddressLine>Riccarton</a:AddressLine> <a:AddressLine>Christchurch</a:AddressLine> </a:AddressLines> </a:Country> </a:AddressDetails> <i:OrganisationInfo> <i:URLs> <i:URL Title="http://www.etito.co.nz">http://www.etito.co.nz</i:URL> </i:URLs> </i:OrganisationInfo> </Customer> <InRelationshipWith RelationshipType="Organisation-Person"> <Customer PartyType="Person"> <i:CustomerID>23</i:CustomerID> <n:NameDetails> <n:PersonName> <n:FirstName>Dudley</n:FirstName> <n:LastName>Brown</n:LastName> </n:PersonName> </n:NameDetails> <i:PersonInfo> <i:ContactNumbers> <i:ContactNumber Type="Fax" NumberType="Business Number" ContactNature="Business"> <i:CountryCode>64</i:CountryCode> <i:AreaCode>03</i:AreaCode> <i:Number>3481906</i:Number> </i:ContactNumber> </i:ContactNumbers> <i:Occupations> <i:Occupation> <i:Position> <i:PositionTitle>National Manager</i:PositionTitle> </i:Position> <a:Department> <a:DepartmentName>Marketing Services</a:DepartmentName> </a:Department> </i:Occupation> </i:Occupations> <i:EmailAddresses> <i:EmailAddress Type="Business">hortito@xtra.co.nz</i:EmailAddress> </i:EmailAddresses> </i:PersonInfo> </Customer> </InRelationshipWith> </RelationshipRecord> Fine. Now what happens if it's a department within the organisation that is responsible for handling queries (say an organisation has a high staff turn-over and just has generic contacts based on departments) and that department has phone, postal and email contacts. Do I model that as a nameless entity with an occupation as below? Or is there a way in xCIL alone? <!-- Contact Operations Officer Approvals, Accreditation and Audit NZQA PO Box 160 WELLINGTON Telephone: 04 802 3000 Fax: 04 382 6895 Email: aaa@nzqa.govt.nz --> <RelationshipRecord> <Customer PartyType="Organisation"> <i:CustomerID>24</i:CustomerID> <n:NameDetails> <n:OrganisationNameDetails> <n:OrganisationName>New Zealand Qualifications Authority</n:OrganisationName> </n:OrganisationNameDetails> <n:OrganisationKnownAs Type="Abbreviation"> <n:Namedetails> <n:OrganisationNameDetails> <n:OrganisationName>NZQA</n:OrganisationName> </n:OrganisationNameDetails> </n:Namedetails> </n:OrganisationKnownAs> </n:NameDetails> <a:AddressDetails> <a:Country> <a:CountryName>New Zealand</a:CountryName> <a:AddressLines> <a:AddressLine>PO Box 160</a:AddressLine> <a:AddressLine>Wellington</a:AddressLine> </a:AddressLines> </a:Country> </a:AddressDetails> <i:OrganisationInfo> <i:URLs> <i:URL Title="http://www.nzqa.govt.nz/ncea/acrp/">http://www.nzqa.govt.nz/ncea/acrp/</i:URL> </i:URLs> </i:OrganisationInfo> </Customer> <InRelationshipWith RelationshipType="Organisation-Person"> <Customer PartyType="Person"> <i:CustomerID>25</i:CustomerID> <i:PersonInfo> <i:ContactNumbers> <i:ContactNumber Type="Fax" NumberType="Business Number" ContactNature="Business"> <i:CountryCode>64</i:CountryCode> <i:AreaCode>4</i:AreaCode> <i:Number>3826895</i:Number> </i:ContactNumber> </i:ContactNumbers> <i:Occupations> <i:Occupation> <i:Position> <i:PositionTitle>Operations Officer</i:PositionTitle> <i:Role>Administration Officer</i:Role> </i:Position> <a:Department> <a:DepartmentName>Approvals, Accreditation and Audit</a:DepartmentName> </a:Department> </i:Occupation> </i:Occupations> <i:EmailAddresses> <i:EmailAddress Type="Business">aaa@nzqa.govt.nz</i:EmailAddress> </i:EmailAddresses> </i:PersonInfo> </Customer> </InRelationshipWith> </RelationshipRecord> Or do I extend the organisation name? I hope it makes sense to ask this question and if this is not the right place to ask could you suggest somewhere that I find some answers? Cheers, Fraser --
Fraser Crichton Web Developer SolNet Solutions Limited L12, SolNet House, 70 The Terrace PO Box 397, Wellington, Aotearoa / New Zealand www.solnetsolutions.co.nz DDI: 04-462-5078 Mob: 027-278-3392 Fax: 04-462-5011 email: fraser.crichton@solnetsolutions.co.nz Attention: This email may contain information intended for the sole use of the original recipient. Please respect this when sharing or disclosing this email's contents with any third party. If you believe you have received this email in error, please delete it and notify the sender or postmaster@solnetsolutions.co.nz as soon as possible. The content of this email does not necessarily reflect the views of SolNet Solutions Ltd. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]