IncludeInFormEditType- MFTS


Author
Message
StrataFrame Team
S
StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)StrataFrame Developer (4.6K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Thanks, tell me what objects are in the GetListOfEditBOs().  And, if any of them are idle, then it should enable the edit button, so if the correct business objects are in that collection, then check to see if all of them are not Idle (in their EditingState).
Tim Dol
Tim Dol
StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Ben, okay I have additional information.

On main forms it does work fine, but the form I'm having problems with is a child form.  As soon as I change the IncludeInFormEditType = DeterminedByBusinessObject, the event doesn't fire.  Hope this helps.

Tim

Tim Dol
Tim Dol
StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Ben, I emailed you a sample project that replicates my problem. 

Tim

Tim Dol
Tim Dol
StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)StrataFrame User (446 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Hi Ben,

Just following up to see if you had a chance to look at the project I sent you.

Thanks

Tim

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Tim,

OK....this actually was not a bug.  Sorry it took so long to figure out what was going on.  Here is your problem.  You are setting the IncludeInFormEdit property to True on the Child form, but the parent forms Customers BO IncludeInFormEdit is set to False.  Since you are using the ChildFormDialog and translating the BOs,  the entire BO from the parent gets translated to the child.  So it does not matter what properties you set on the child since the parents BO will be the actual object that you are talking to on the child form.  Make sense?  To see what I am talking about, set the parent forms IncludeInFormEdit to true and then run your sample.  You will see that the Edit button becomes enabled.  The reason the PrimaryBusiness object option worked the way you expected is because both the parent and child forms had the Customers BO set as the primary BO and it did not need to look at the IncludeInForm... properties to determine the BOs inclusions.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search