How to ensure that Sales Invoices are made from Delivery Notes and not from Sales Orders?

Hi,

With the recent updates there have been a change in the way we select the documents in a Sales Invoice. I would like to know if is possible to ensure that a Sales Invoice is made only from DN and not SO since earlier there were 2 fields for selecting these transactions and we had hidden the SO selection field.

Kindly please let me know how to remove the option of selecting SO from Sales Invoices since we make Invoices from DN only and not SO.



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.
Is there any way to ensure that the Sales Invoice is not made from Sales Order and only from Delivery Note like in the previous version.

On Wednesday, 16 October 2013 10:48:09 UTC+5:30, Aditya Duggal wrote:
Hi,

With the recent updates there have been a change in the way we select the documents in a Sales Invoice. I would like to know if is possible to ensure that a Sales Invoice is made only from DN and not SO since earlier there were 2 fields for selecting these transactions and we had hidden the SO selection field.

Kindly please let me know how to remove the option of selecting SO from Sales Invoices since we make Invoices from DN only and not SO.



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.
In Selling Settings, select "Delivery Note Required" as "Yes". The system will not allow any Sales Invoice without Delivery Note.

On 22-Oct-2013, at 9:25 AM, Addy wrote:

Is there any way to ensure that the Sales Invoice is not made from Sales Order and only from Delivery Note like in the previous version.

On Wednesday, 16 October 2013 10:48:09 UTC+5:30, Aditya Duggal wrote:
Hi,

With the recent updates there have been a change in the way we select the documents in a Sales Invoice. I would like to know if is possible to ensure that a Sales Invoice is made only from DN and not SO since earlier there were 2 fields for selecting these transactions and we had hidden the SO selection field.

Kindly please let me know how to remove the option of selecting SO from Sales Invoices since we make Invoices from DN only and not SO.



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 Nabin,

We have scenarios where Invoice is made without DN as well.

But we don't have a scenario where Sales Invoice is made from SO where there is NO Delivery Note and hence I needed to only disable SO selection in Sales Invoice.

If we make the DN as mandatory then the case where we make a Sales Invoice without DN would not be possible.


Earlier this kind of a thing was possible.


On Tue, Oct 22, 2013 at 10:02 AM, Nabin Hait <na…@gmail.com> wrote:

In Selling Settings, select "Delivery Note Required" as "Yes". The system will not allow any Sales Invoice without Delivery Note.


On 22-Oct-2013, at 9:25 AM, Addy wrote:

Is there any way to ensure that the Sales Invoice is not made from Sales Order and only from Delivery Note like in the previous version.


On Wednesday, 16 October 2013 10:48:09 UTC+5:30, Aditya Duggal wrote:

Hi,

With the recent updates there have been a change in the way we select the documents in a Sales Invoice. I would like to know if is possible to ensure that a Sales Invoice is made only from DN and not SO since earlier there were 2 fields for selecting these transactions and we had hidden the SO selection field.


Kindly please let me know how to remove the option of selecting SO from Sales Invoices since we make Invoices from DN only and not SO.



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.




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.
You can write a small custom script to validate the scenario. Loop into each item row, throw validation if there is sales order but no delivery note.

On 22-Oct-2013, at 10:06 AM, Aditya Duggal wrote:

Hi Nabin,

We have scenarios where Invoice is made without DN as well.

But we don’t have a scenario where Sales Invoice is made from SO where there is NO Delivery Note and hence I needed to only disable SO selection in Sales Invoice.

If we make the DN as mandatory then the case where we make a Sales Invoice without DN would not be possible.


Earlier this kind of a thing was possible.


On Tue, Oct 22, 2013 at 10:02 AM, Nabin Hait <na…@gmail.com> wrote:

In Selling Settings, select "Delivery Note Required" as "Yes". The system will not allow any Sales Invoice without Delivery Note.


On 22-Oct-2013, at 9:25 AM, Addy wrote:

Is there any way to ensure that the Sales Invoice is not made from Sales Order and only from Delivery Note like in the previous version.


On Wednesday, 16 October 2013 10:48:09 UTC+5:30, Aditya Duggal wrote:

Hi,

With the recent updates there have been a change in the way we select the documents in a Sales Invoice. I would like to know if is possible to ensure that a Sales Invoice is made only from DN and not SO since earlier there were 2 fields for selecting these transactions and we had hidden the SO selection field.


Kindly please let me know how to remove the option of selecting SO from Sales Invoices since we make Invoices from DN only and not SO.



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.





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.