﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Location Id Field Global Variable</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 21:07:06 GMT</lastBuildDate><ttl>20</ttl><item><title>Location Id Field Global Variable</title><link>http://forum.strataframe.net/FindPost3333.aspx</link><description>I'm stuck :) &lt;/P&gt;&lt;P&gt;I have a field that is in most tables that is a branch office Id. &lt;/P&gt;&lt;P&gt;I have a subclassed Bo that all my application bo's inherit from.&lt;/P&gt;&lt;P&gt;Rather that set this in every bo's default values&amp;nbsp;I would like to this a bit smarter and have added&amp;nbsp;2 property's to the base bo.&lt;/P&gt;&lt;P&gt;PopulateOfficeid (Boolean)&lt;/P&gt;&lt;P&gt;OfficeIdField (string)&lt;/P&gt;&lt;P&gt;Now in the override for default values I need to be able to retrieve a value from somewhere to populate the id field. This is where I am stuck. The Office Id comes and office profile table that is loaded at application startup. Because the subclasses are in a separate project they know nothing about what is going on in the main application.&lt;/P&gt;&lt;P&gt;Hopefully I explained it well enough. &lt;/P&gt;&lt;P&gt;Any ideas you guys have would be great&lt;/P&gt;&lt;P&gt;Paul</description><pubDate>Mon, 09 Oct 2006 09:54:14 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Location Id Field Global Variable</title><link>http://forum.strataframe.net/FindPost3397.aspx</link><description>Thanks Trent that makes sense</description><pubDate>Mon, 09 Oct 2006 09:54:14 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: Location Id Field Global Variable</title><link>http://forum.strataframe.net/FindPost3343.aspx</link><description>Well, the easiest thing would be to have the business objects or methods that are needed in both places to reference a common assembly which houses the OfficeID method or BO.&amp;nbsp; For example, you may want to create a Base Business Objects library which both assemblies reference.</description><pubDate>Thu, 05 Oct 2006 15:53:54 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>