Possible to effectively disable a BO method?

Interesting angle. I never thought about it but I'll look.
Thx
Rob

--- On Fri, 11/14/08, Mark Wonsil <mark_wonsil@...> wrote:

From: Mark Wonsil <mark_wonsil@...>
Subject: RE: [Vantage] possible to effectively disable a BO method?
To: vantage@yahoogroups.com
Date: Friday, November 14, 2008, 10:05 AM






> Anyone know of a way to effectively disable a business object method
> within an app (a BO method launched by the New icon menu - so not
> possible to simply disable the form object that triggers it)?
>
> In DMR processing, I'm looking for a way to prevent processing of the
> GetNewDMRActnReject method of DMR adapter.
>
> Easy to trap with either a Before_ or After_ adapter subroutine.. . But
> then what are the options to prevent completion of processing?
>
> (Are there ANY options?)

Can you get the granularity that you want with Process Security?

Mark W.
Anyone know of a way to effectively disable a business object method within an app (a BO method launched by the New icon menu - so not possible to simply disable the form object that triggers it)?

In DMR processing, I'm looking for a way to prevent processing of the GetNewDMRActnReject method of DMR adapter.

Easy to trap with either a Before_ or After_ adapter subroutine... But then what are the options to prevent completion of processing?

(Are there ANY options?)

Rob
Robert,

You can disable the New Button if you like (via
customization), but shortcut keys etc will cause it to still fire.



There are two options either customization with the before adapter, and
you set the args.Cancel = true (cancelling the call) [ note in some
screens it doesn't always call before adapter method - this is a bug if
it doesn't]

Or create a pre process BPM on the business object method and raise an
exception action [This is the best method unless you are locking down
just one customization of the screen]



Regards,



Stephen



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Robert Brown
Sent: 14 November 2008 09:52
To: vantage@yahoogroups.com
Subject: [Vantage] possible to effectively disable a BO method?



Anyone know of a way to effectively disable a business object method
within an app (a BO method launched by the New icon menu - so not
possible to simply disable the form object that triggers it)?

In DMR processing, I'm looking for a way to prevent processing of the
GetNewDMRActnReject method of DMR adapter.

Easy to trap with either a Before_ or After_ adapter subroutine... But
then what are the options to prevent completion of processing?

(Are there ANY options?)

Rob





[Non-text portions of this message have been removed]
If you use the "Base" method in bpm it is supposed to replace the action
of the native method call.



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Robert Brown
Sent: Friday, November 14, 2008 5:52 AM
To: vantage@yahoogroups.com
Subject: [Vantage] possible to effectively disable a BO method?



Anyone know of a way to effectively disable a business object method
within an app (a BO method launched by the New icon menu - so not
possible to simply disable the form object that triggers it)?

In DMR processing, I'm looking for a way to prevent processing of the
GetNewDMRActnReject method of DMR adapter.

Easy to trap with either a Before_ or After_ adapter subroutine... But
then what are the options to prevent completion of processing?

(Are there ANY options?)

Rob





[Non-text portions of this message have been removed]
Thanks Stephen. I'll give it a try.
Rob

--- On Fri, 11/14/08, Stephen Edginton <stephene@...> wrote:

From: Stephen Edginton <stephene@...>
Subject: RE: [Vantage] possible to effectively disable a BO method?
To: vantage@yahoogroups.com
Date: Friday, November 14, 2008, 6:47 AM






Robert,

You can disable the New Button if you like (via
customization) , but shortcut keys etc will cause it to still fire.

There are two options either customization with the before adapter, and
you set the args.Cancel = true (cancelling the call) [ note in some
screens it doesn't always call before adapter method - this is a bug if
it doesn't]

Or create a pre process BPM on the business object method and raise an
exception action [This is the best method unless you are locking down
just one customization of the screen]

Regards,

Stephen

From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf
Of Robert Brown
Sent: 14 November 2008 09:52
To: vantage@yahoogroups .com
Subject: [Vantage] possible to effectively disable a BO method?

Anyone know of a way to effectively disable a business object method
within an app (a BO method launched by the New icon menu - so not
possible to simply disable the form object that triggers it)?

In DMR processing, I'm looking for a way to prevent processing of the
GetNewDMRActnReject method of DMR adapter.

Easy to trap with either a Before_ or After_ adapter subroutine.. . But
then what are the options to prevent completion of processing?

(Are there ANY options?)

Rob

[Non-text portions of this message have been removed]
> Anyone know of a way to effectively disable a business object method
> within an app (a BO method launched by the New icon menu - so not
> possible to simply disable the form object that triggers it)?
>
> In DMR processing, I'm looking for a way to prevent processing of the
> GetNewDMRActnReject method of DMR adapter.
>
> Easy to trap with either a Before_ or After_ adapter subroutine.. . But
> then what are the options to prevent completion of processing?
>
> (Are there ANY options?)

Can you get the granularity that you want with Process Security?

Mark W.