PO are generating automatically

Hello All,
     We are facing a issue at one of our client's ERPNext setup (non-cloud). ERP is generating Purchase Orders automatically.
I did some checking and found that in Item Master: 
    1)  "Is stock item"  field is "yes" for all items
    2) "minimum order quantity" is 0 for all items.
    3) "Re-Order  level" is null for all items.
    4) "Re-order quantity" is null for all items.
 
     As per my understanding in Item master if "Is stock item" value is "Yes" and  if quantity goes below reorder level in warehouse ,then the Purchase order (Material Request) is automatically generated. However, in this case PO is generated even though such conditions are not set.

Owner of all generated "Purchase order" is "Administrator".

Please suggest how to track this issue.

Thanks in anticipation.
Gangadhar kadam



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

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

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Gangadhar,

Purchase Orders are never generated automatically. Only Material Requests are created.
Can you check again and explain the problem.

-Anand.

On 27-Aug-2013, at 12:12 PM, gangadhar kadam <em...@gmail.com> wrote:

Hello All,
     We are facing a issue at one of our client's ERPNext setup (non-cloud). ERP is generating Purchase Orders automatically.
I did some checking and found that in Item Master: 
    1)  "Is stock item"  field is "yes" for all items
    2) "minimum order quantity" is 0 for all items.
    3) "Re-Order  level" is null for all items.
    4) "Re-order quantity" is null for all items.
 
     As per my understanding in Item master if "Is stock item" value is "Yes" and  if quantity goes below reorder level in warehouse ,then the Purchase order (Material Request) is automatically generated. However, in this case PO is generated even though such conditions are not set.

Owner of all generated "Purchase order" is "Administrator".

Please suggest how to track this issue.

Thanks in anticipation.
Gangadhar kadam



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



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

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

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



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

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

    For more options, visit https://groups.google.com/groups/opt_out.
Hi Anand,
   Thanks for your reply it was our mistake.
   We have debug the issue. we were using following code

def update_PO(self,po_number)
   update_status=Document('Purchase Order',po_number)
   update_status.status='Updated'
   update_status.save()
   return update_status.name

In above code po_number was passed null for some entries, so the document object counld not found the entry an it was created.

Thanks and regards,
Gangadhar kadam


On Tuesday, 27 August 2013 12:12:05 UTC+5:30, gangadhar kadam wrote:
Hello All,
     We are facing a issue at one of our client's ERPNext setup (non-cloud). ERP is generating Purchase Orders automatically.
I did some checking and found that in Item Master: 
    1)  "Is stock item"  field is "yes" for all items
    2) "minimum order quantity" is 0 for all items.
    3) "Re-Order  level" is null for all items.
    4) "Re-order quantity" is null for all items.
 
     As per my understanding in Item master if "Is stock item" value is "Yes" and  if quantity goes below reorder level in warehouse ,then the Purchase order (Material Request) is automatically generated. However, in this case PO is generated even though such conditions are not set.

Owner of all generated "Purchase order" is "Administrator".

Please suggest how to track this issue.

Thanks in anticipation.
Gangadhar kadam



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

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

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