StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Apply Server Changes
Apply Server Changes
Post Reply
Like
0
Apply Server Changes
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Bill Cunnien
Bill Cunnien
posted 16 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 785,
Visits: 3.6K
Good afternoon!
If a user opens a window and searches for a specific record, then someone else does something to change that record, how could I retrieve those changes on the server and update the specific record? I'd like to attach this functionality to a button on the form so that the user can just check for changes whenever they need to.
Thanks!
Bill
Reply
Like
0
Replies
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Ideally, I would like to alert the user in real-time that the order was shipped, but I will settle for the user manually initiating the refresh of just the status field. Sure, I could re-query the whole BO, but I don't think it is necessary when only one field has been affected.
In a previous post I mentioned using the row version in a scalar method to just query on a threaded timer to check for an update. This is something that we do in our medical software for check for updates in a real-time environment.
You can create a scalar method to check back with the server every 1-2 seconds to see if the status has changed. If so, notify the local client. You can also force the check prior to saving the record. This would prevent the need to have a button that checks the status.
Reply
Like
0
Bill Cunnien
Bill Cunnien
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 785,
Visits: 3.6K
Oh, yeah...I'll get there one day. I have to get the row version column setup and all that. I do like the concept, though. Thanks!
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Apply Server Changes
Bill Cunnien
-
16 Years Ago
Hi Bill,
I guess you will need some flag field to determine what...
Edhy Rijo
-
16 Years Ago
Hi Bill,
SF also has an automated RecordVersion number...
Peter Jones
-
16 Years Ago
Pete just hit on a point that I was going to make in regards to using...
Trent L. Taylor
-
16 Years Ago
My solution was to add a small button to the right of the status. If...
Bill Cunnien
-
16 Years Ago
If it solves your problem, then no. :)
Trent L. Taylor
-
16 Years Ago
Just tested in the application...apparently, the code does not do what...
Bill Cunnien
-
16 Years Ago
You will have to go back to the server to update. Again, I guess I...
Trent L. Taylor
-
16 Years Ago
I don't think I am side-stepping concurrency.
A sales...
Bill Cunnien
-
16 Years Ago
[quote]Ideally, I would like to alert the user in real-time that the...
Trent L. Taylor
-
16 Years Ago
Oh, yeah...I'll get there one day. I have to get the row version...
Bill Cunnien
-
16 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search