<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">The invoice module currently has a status of ‘Credit Invoice’ so guess this would be the intended way of handling this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> vtigercrm-developers-bounces@lists.vtigercrm.com <vtigercrm-developers-bounces@lists.vtigercrm.com>
<b>On Behalf Of </b>nilay khatri<br>
<b>Sent:</b> 14 April 2022 04:23<br>
<b>To:</b> vtigercrm-developers@lists.vtigercrm.com<br>
<b>Subject:</b> Re: [Vtigercrm-developers] feature: create all invoices of a recurring salesorder ahead of time<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">This is good, but then it will also require to have credit notes.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Sales order serves as proforma invoices, and once payment are recieved, invoice is generated.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If invoices are created in advance, and if payments are not done or order is cancelled, then credit note will have to be generated.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, 13 Apr 2022 at 10:02 PM, Rubén A. Estrada Orozco <<a href="mailto:rulotec1@gmail.com">rulotec1@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">Well, generally speaking, the normal flow is Quote -> SO -> Invoice, I think. At least in Vtiger, you can create an Invoice from a Sales Order but not the other way around:<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="843" height="377" style="width:8.7812in;height:3.927in" id="Picture_x0020_1" src="cid:image001.png@01D84FE0.0A4321F0"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Also, the essence of the Sales Order is getting whatever you sell delivered to the customer. Taking a look at the "Status" field options makes that clear:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="411" height="381" style="width:4.2812in;height:3.9687in" id="Picture_x0020_2" src="cid:image002.png@01D84FE0.0A4321F0"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Whereas invoices have a different intention. They are related to the monetary transaction. And from the business point of view, the main goal is making sure invoices  get paid. Again, taking a look at the Status field makes that clear:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="485" height="284" style="width:5.052in;height:2.9583in" id="Picture_x0020_3" src="cid:image003.png@01D84FE0.0A4321F0"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Now, to answer Martin's question about the business case specific for the feature I added. The scenario is as follows: <span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">There are businesses that
 need to charge a fee periodically. Monthly or </span>annual charges are typical. As a business you want to make sure the client remembers he has to pay and also make sure you remember to follow up on the payment and cancel the service in case the client does
 not pay. So this is where the "Recurring Invoice" functionality in sales orders comes in hand. You can specify you want to create monthly invoices automatically from a given sales order:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><img border="0" width="850" height="252" style="width:8.8541in;height:2.625in" id="Picture_x0020_4" src="cid:image004.png@01D84FE0.0A4321F0"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">So Vtiger will generate (via one of the cron jobs) invoices on the specific date according to your configuration. Vtiger remembers to create the invoices so you don't have to.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">More specifically, the feature I added is a use case that a client requested. They want to have the invoices generated beforehand and not via the cron job on the specific invoice date. So that when the end customer goes to his portal account,
 they can see the whole list of future invoices and when the payments are due.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Saludos<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Rubén<o:p></o:p></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Apr 13, 2022 at 9:30 AM Angelo Paglialonga <<a href="mailto:info@angelopaglialonga.com" target="_blank">info@angelopaglialonga.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi Alan, I would like to add that sales orders are useful for product selling businesses, ecommerce stores and services businesses with a long sales process.<br>
All the best<br>
_______________<br>
<br>
Angelo Paglialonga<br>
Consulente per soluzioni CRM ad alto ROI.<br>
<br>
Telefono: 3386077866<br>
Skype: angelo.paglialonga<br>
Web: <a href="https://www.angelopaglialonga.com" target="_blank">https://www.angelopaglialonga.com</a><br>
<br>
<br>
<br>
> Il giorno 13 apr 2022, alle ore 16:10, Alan Lord <<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>> ha scritto:<br>
> <br>
> On 13/04/2022 14:42, Martin Allen wrote:<br>
>> Can you explain the business case / process behind generating Invoices from Sales Orders? My understanding was that Sales Orders were generated from Invoices….?<br>
> <br>
> In my albeit limited experience of implementing ERP systems, Sales Orders were generally used as an interim document to be used internally for resource scheduling, planning, and occasionally generating Purchase orders, once a Quotation had been accepted.
 The Invoice was genreally created after this.<br>
> <br>
> I should also add, that the vast majority of business I came across never used Sales Orders at all.<br>
> <br>
> <br>
> Alan<br>
> <br>
> <br>
> _______________________________________________<br>
> <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal">_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>