Location Id Field Global Variable


Author
Message
Paul Chase
Paul Chase
Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)Advanced StrataFrame User (806 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
I'm stuck Smile

I have a field that is in most tables that is a branch office Id.

I have a subclassed Bo that all my application bo's inherit from.

Rather that set this in every bo's default values I would like to this a bit smarter and have added 2 property's to the base bo.

PopulateOfficeid (Boolean)

OfficeIdField (string)

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.

Hopefully I explained it well enough.

Any ideas you guys have would be great

Paul

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search