Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Application Inheritance
OI9
I have been in the habit of creating separate copies of an application when they are to be modified for diffent clients.
I am trying to convert myself to what I understand is the proper way taking advantage of application Inheritance(well, what I believe anyway)
I assume:
create master application BSBS
create application FM Inherited from BSBS
open application FM then open Form ABC that is inherited from BSBS
You get changes cant be made warning
SaveAs the form using same name (overwrite-Yes)
Change event and update.
Save the form and I get message ‘ inherited entity cant be modified’ which is the event I just changed
But, if I run the form, the change is there.
If I open BSBS and the same form the change is not there.
So, why the message in FM>
What is the correct procedure for making changes to a form from one application to another.
Sorry if this is not worded correctly, but I hope you get what I am trying to do.
BTW: did the same thing in OI10 and same message.
I have been in the habit of creating separate copies of an application when they are to be modified for diffent clients.
I am trying to convert myself to what I understand is the proper way taking advantage of application Inheritance(well, what I believe anyway)
I assume:
create master application BSBS
create application FM Inherited from BSBS
open application FM then open Form ABC that is inherited from BSBS
You get changes cant be made warning
SaveAs the form using same name (overwrite-Yes)
Change event and update.
Save the form and I get message ‘ inherited entity cant be modified’ which is the event I just changed
But, if I run the form, the change is there.
If I open BSBS and the same form the change is not there.
So, why the message in FM>
What is the correct procedure for making changes to a form from one application to another.
Sorry if this is not worded correctly, but I hope you get what I am trying to do.
BTW: did the same thing in OI10 and same message.
Comments
Other than manually copying over the script event handlers (which is a major chore), I suggest you run the SYSCOPYAPPS form from the parent app and select all of the events you want to copy into your child app. That will take care of this relatively easily.