Thanks for the example. Will be more helpful if you could related it with ERPNext. Which are the Document Types for which Numbering is to be customize and in which sequence. For example, what would be Total Chapter in ERPNext? Then Chapter 2.1? and 2.1.1. (will it be item master) or Item Price master)?
I just came across starting with my first ERPnext installation and I like your idea to implement the structure with chapters from almeidapaulopt.
Currently I created custom field “Chapter” of Type “Data” in “sales order Item” Document and a custom field “chapter_totals” of Type “Table” in “Sales Invoce” with Option “Sales Order Item”.
Now I am stuck in how to add the Script. I currently have some knowlege about programming but not for customizing and interfacing ERPnext. Can you give some more detailed explanation how to implement the Chapter Totals as Custom script and how to add them in the Custom Print format?
Is it also possible to change the custom print format that only the chapters and Subtotals are visible without the product? I am in a Construction Company for special machinery. My idea is for quotations to directly make a item based calculation with purchasing parts, constructions, and our internal value adds to have a detailed internal calculation and in view to the customer only the chapter with detailed descriptend and final price.