Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen / Macro Customization

Status
Not open for further replies.

iwells

Programmer
Oct 2, 2012
284
CA
Hi,

We've created a macro that needs to run whenever a user receives anything on a receipt or uses the receive all button. I've been told the only way we can do this is to create a macro and place it in the same location as the existing RCP entry screen, then rename the old RCP entry screen to something like "*** DO NOT USE ***. This seems like it leaves room for user error and I'm surprised there's no way to edit the existing screen or remove access to it totally. Suggestions?
 
If you want to do it 100% securely then you need to jump into the SDK, no other way. In the SDK you would have to subclass the view, trap the event and inject your code. The way you did it is basically just hacking the system.
The existing screens cannot be edited, unless you have access to the source code - which you don't, and no one else has outside of Sage.
You can do a VB6 project and compile an EXE, then edit the GRP file and replace the standard screen with your EXE.

Sage 300 ERP Certified Consultant
 
Fair enough, but is there no way to remove the existing screen rather than just renaming it?
 
Tuba, I'm not sure I understand what you mean. I can locate the dat file, but I can't edit it. Do you have a link or resource to help explain? Googling now in the meantime.
 
Yea I just read that, we don't have the SDK.
 
Figured ... just don't like having that screen there since I know people will use it.
 
Have a look at Orchid's View Extender product. It allows you to insert your own business logic based on view events. Depending on what your needs are this might do the trick and you can stick with the native screens.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top