Hi Anil 

We ended up having to do some coding. I will explain why....

Your suggestion removes access from the function "Create Credit 
Note". This function resides on the Sales Order header and Lines, it 
enables you to copy a previous order's data and create a credit note 
from it (invert sign). 

I removed this feature as well, but i needed to restict users from 
creating a sales order with a negative item qty, irrespective of 
whether they have access to the feature mentioned above.

What we do now is check whether or not the nett value of the line is 
less than zero, if so we do a further check to see whether or not 
the user has access to the "create credit note" function on the 
sales order lines or not.

You can create a brand new security key, but we took a short cut, 
the logic being that if a user has access to the function (Create 
Credit Note) he/she should have control over credit note as well. If 
the user not not have access then the system returns a error.

The only shortfall is that the user goup security setting either 
works with full control or none. We still can't control who can view 
credit notes, but this turned out to be a red herring in any case.

So the battle has been won, thanks

Kind Regards
Ulrich

--- In Axapta-Knowledge-Village@yahoogroups.com, "anilsinha1968" 
<[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> If your customer is using Sales Order -> Function -> Create Credit 
> Note function to create credit note then you can use User group 
> Permission and restrict creation of Credit Note by certain Users.
> 
> Go to User Group Permission select Security in Viewing. Then 
expand 
> Accounts Receivable -> Daily -> Functions -> Create Credit Note. 
Set 
> it to No Access.
> 
> Hope this helps you!
> 
> Regards
> Anil Sinha
> 
> --- In Axapta-Knowledge-Village@yahoogroups.com, "ulrichtheaart" 
> <[EMAIL PROTECTED]> wrote:
> > 
> > Hi,
> > 
> > (Or "Hoesit" in Afrikaans)
> > 
> > My customer requires that creation, editing and viewing of 
credit 
> > notes may only be done by certain users. (Accounts Receivable / 
> > Sales Orders).
> > 
> > I cannot think of any setting that provides this, or any user 
group 
> > permission that can be set to accomplish what they seek.
> > 
> > Does anyone have a neat and tidy solution for this issue?
> > 
> > Kind Regards,
> > Ulrich





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to