Authorization Rule for Sales Order Does Not Seem to Work

Dear Experts,

I am trying to create an Authorization Rule for Sales Orders. Tried doing Itemwise discounts, Average Discounts and Grand Total but all don't seem to work. I have a workflow for Sales Orders and initially thought this might block Authorization Rules... Will this block?

I tried disabling the rule and retested but it didn't help the problem.

I have tried for Quotations and that seems to work.

Any chance you could shed some light?

Thanks very much as always. You guys are awesome.


Javier




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/4640d4d7-3ffd-4d90-b04e-e52bec5e3f64%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


On 04-Sep-2014, at 2:56 pm, Javier <bo...@gmail.com> wrote:

Dear Experts,

I am trying to create an Authorization Rule for Sales Orders. Tried doing Itemwise discounts, Average Discounts and Grand Total but all don't seem to work. I have a workflow for Sales Orders and initially thought this might block Authorization Rules... Will this block?

Can you share what kind of rules have you set and what is the expected behavirour?

Workflow and Authorization rules are parallel and won't override


I tried disabling the rule and retested but it didn't help the problem.

I have tried for Quotations and that seems to work.

Any chance you could shed some light?

Thanks very much as always. You guys are awesome.


Javier





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/4640d4d7-3ffd-4d90-b04e-e52bec5e3f64%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/7E9ADF52-B7AB-42B4-BD9B-E2FAFF048862%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

Dear Rushabh,

This following describes details of the authorization rule which I tried to create (which didn't work):
- Transaction: Sales Order
- Based On: Average Discount
- Customer / Item Name: <blank>
- Applicable to (Role): Sales User
- Applicable to (User): <blank>
- Approving Role: Sales Manager
- Approving User: <blank>
- Above Value: 40.000

This following describes details of the authorization rule which I created (that worked):
- Transaction: Quotation
- Based On: Average Discount
- Customer / Item Name: <blank>
- Applicable to (Role): Sales User
- Applicable to (User): <blank>
- Approving Role: System Manager --> this was purely for testing purposes
- Approving User: <blank>
- Above Value: 40.000

Hope this helps. Thanks real much.


Javier



On Friday, September 5, 2014 5:01:03 PM UTC+8, Rushabh Mehta wrote:

On 04-Sep-2014, at 2:56 pm, Javier <bo...@gmail.com> wrote:

Dear Experts,

I am trying to create an Authorization Rule for Sales Orders. Tried doing Itemwise discounts, Average Discounts and Grand Total but all don't seem to work. I have a workflow for Sales Orders and initially thought this might block Authorization Rules... Will this block?

Can you share what kind of rules have you set and what is the expected behavirour?

Workflow and Authorization rules are parallel and won't override


I tried disabling the rule and retested but it didn't help the problem.

I have tried for Quotations and that seems to work.

Any chance you could shed some light?

Thanks very much as always. You guys are awesome.


Javier





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/4640d4d7-3ffd-4d90-b04e-e52bec5e3f64%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/ea307fba-76bf-4b8c-a2be-f9aba4166c4f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Thanks for reporting!

Can you file this on GitHub - much easy to follow updates that way.


On 05-Sep-2014, at 2:47 pm, Javier <bo...@gmail.com> wrote:

Dear Rushabh,

This following describes details of the authorization rule which I tried to create (which didn't work):
- Transaction: Sales Order
- Based On: Average Discount
- Customer / Item Name: <blank>
- Applicable to (Role): Sales User
- Applicable to (User): <blank>
- Approving Role: Sales Manager
- Approving User: <blank>
- Above Value: 40.000

This following describes details of the authorization rule which I created (that worked):
- Transaction: Quotation
- Based On: Average Discount
- Customer / Item Name: <blank>
- Applicable to (Role): Sales User
- Applicable to (User): <blank>
- Approving Role: System Manager --> this was purely for testing purposes
- Approving User: <blank>
- Above Value: 40.000

Hope this helps. Thanks real much.


Javier



On Friday, September 5, 2014 5:01:03 PM UTC+8, Rushabh Mehta wrote:

On 04-Sep-2014, at 2:56 pm, Javier <bo...@gmail.com> wrote:

Dear Experts,

I am trying to create an Authorization Rule for Sales Orders. Tried doing Itemwise discounts, Average Discounts and Grand Total but all don't seem to work. I have a workflow for Sales Orders and initially thought this might block Authorization Rules... Will this block?

Can you share what kind of rules have you set and what is the expected behavirour?

Workflow and Authorization rules are parallel and won't override


I tried disabling the rule and retested but it didn't help the problem.

I have tried for Quotations and that seems to work.

Any chance you could shed some light?

Thanks very much as always. You guys are awesome.


Javier





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/4640d4d7-3ffd-4d90-b04e-e52bec5e3f64%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/ea307fba-76bf-4b8c-a2be-f9aba4166c4f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/61E409E3-BCA1-4401-883E-FEF9E9946212%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

Thanks Rushabh. Recorded in github.


https://github.com/frappe/erpnext/issues/2163

On Friday, September 5, 2014 5:22:59 PM UTC+8, Rushabh Mehta wrote:
Thanks for reporting!

Can you file this on GitHub - much easy to follow updates that way.


On 05-Sep-2014, at 2:47 pm, Javier <bo...@gmail.com> wrote:

Dear Rushabh,

This following describes details of the authorization rule which I tried to create (which didn't work):
- Transaction: Sales Order
- Based On: Average Discount
- Customer / Item Name: <blank>
- Applicable to (Role): Sales User
- Applicable to (User): <blank>
- Approving Role: Sales Manager
- Approving User: <blank>
- Above Value: 40.000

This following describes details of the authorization rule which I created (that worked):
- Transaction: Quotation
- Based On: Average Discount
- Customer / Item Name: <blank>
- Applicable to (Role): Sales User
- Applicable to (User): <blank>
- Approving Role: System Manager --> this was purely for testing purposes
- Approving User: <blank>
- Above Value: 40.000

Hope this helps. Thanks real much.


Javier



On Friday, September 5, 2014 5:01:03 PM UTC+8, Rushabh Mehta wrote:

On 04-Sep-2014, at 2:56 pm, Javier <bo...@gmail.com> wrote:

Dear Experts,

I am trying to create an Authorization Rule for Sales Orders. Tried doing Itemwise discounts, Average Discounts and Grand Total but all don't seem to work. I have a workflow for Sales Orders and initially thought this might block Authorization Rules... Will this block?

Can you share what kind of rules have you set and what is the expected behavirour?

Workflow and Authorization rules are parallel and won't override


I tried disabling the rule and retested but it didn't help the problem.

I have tried for Quotations and that seems to work.

Any chance you could shed some light?

Thanks very much as always. You guys are awesome.


Javier





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/4640d4d7-3ffd-4d90-b04e-e52bec5e3f64%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/ea307fba-76bf-4b8c-a2be-f9aba4166c4f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-user-forum/b47bad94-d0e9-4dbd-9306-1a952881814b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.