# Order field on sales invoice form

**URL:** <https://forum.manager.io/t/order-field-on-sales-invoice-form/41416>\
**Category:** Uncategorized\
**Created:** [June 9, 2022, 9:21pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416 "2022-06-09T21:21:14Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [June 10, 2022, 8:49am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/21 "2022-06-10T08:49:44Z")

</div>

You should follow @Patch advise and use the Batch Update function then click on copy to clipboard and paste in browser, etc.

---

<div class="post-metadata">

**Author:** ![chris.chai](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@chris.chai](https://forum.manager.io/u/chris.chai)\
**Post date:** [June 10, 2022, 12:11pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/22 "2022-06-10T12:11:17Z")

</div>

Hi developers,

To solve this issue and make everyone happy here, can you just make a little change as per below?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/manager1/original/3X/8/5/85a7357752ddeed3b174d03fa38f0ffe1a4a2ad2.png)  
Currently ‘reference’ field is the invoice number so if we name it as ‘Invoice #’ it is more specific than before.  
And put the ‘order number’ field back in and name it as ‘reference’ field so users can use the ‘reference’ field for their own external order number or quote number and this can even be anything or just leave it blank if they don’t need and it won’t appear in the printed page.

This way, for those who use ‘sales order’ tab, they can keep using it and link the order number they created in the ‘sales order’ tab and if they need something else, they can use ‘reference’ as something else or just don’t use it and won’t appear in the printed page.

I believe this is super easy simple fix and make everyone happy as it’s just a matter of re-naming the two fields. That’s it.

I really don’t want to make anything mess as I’ve been using the Manager for many years so do others and I believe all others will agree with my suggestion.

@mauroskov @durkpotgieter @BertChris @eko @lubos @Patch @Tut

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [June 10, 2022, 1:26pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/23 "2022-06-10T13:26:55Z")

</div>

I think changing the terminology would do more harm than good, especially if you consider that reference is actually a general term that could be applied to absolutely anything, so using it specifically to refer to **Order no.** would be confusing.

I believe that using the general term **Reference** for the main reference (in this case “Invoice no.”) is more appropriate while additional references need to be specific (i.e. Order no., Quote no., … etc.).

Also, this isn’t what the thread is about since the field is already gone and there’s no way to rename a nonexistent field.

The answer is obvious as @lubos & @Tut already pointed out:

1. Create a custom field
2. Check show as a column
3. Check show in printed documents
4. Check show at the top

That should replicate the exact previous behavior.

Also, I would add that the default “Order no.” field and the deprecated manual “Order no.” field aren’t identical. The automatic one refers to references generated internally and the other refers to a reference generated externally – be it customer order or manual order or whatever.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 10, 2022, 2:23pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/24 "2022-06-10T14:23:31Z")

</div>

> [@chris.chai](#):
>
> I believe all others will agree with my suggestion.

No, I definitely do not agree with your suggestion. In addition to the comments made by @Ealfardan, which I do agree with, the term _Reference_ has a specific meaning within Manager and the Liquid templating language used for display of transactions. It refers to the identification of the current transaction, whether that is a sales invoice, order, payslip, journal entry, etc.

> [@chris.chai](#):
>
> for those who use ‘sales order’ tab, they can keep using it and link the order number they created in the ‘sales order’ tab and if they need something else, they can use ‘reference’ as something else or just don’t use it and won’t appear in the printed page.

You have exactly described @lubos’ Option 2, except that you want the custom field to be defined for you. In that case, you would lose the ability to name the field according to your usage.

> [@mauroskov](#):
>
> doing a batch update on thousands of invoices (and delivery notes and I do not know what more) is not exactly something I feel comfortable doing!

@mauroskov, you actually do not need to do any update. Any content entered in the former free-text `Order number` field is preserved and displayed on completed forms. This was explained in the thread where this subject was originally introduced: [Order number has disappeared from Sales Invoice - Edit screen - #2 by lubos](https://forum.manager.io/t/order-number-has-disappeared-from-sales-invoice-edit-screen/41398/2).

---

<div class="post-metadata">

**Author:** ![chris.chai](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@chris.chai](https://forum.manager.io/u/chris.chai)\
**Post date:** [June 10, 2022, 10:47pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/25 "2022-06-10T22:47:10Z")

</div>

> [@Tut](#):
>
> the term _Reference_ has a specific meaning within Manager and the Liquid templating language used for display of transactions

Then you have to change the term _reference_ into more specific term for each own. In the edit page of sales invoice, the term _reference_ is only being used for the ‘invoice number’ and it’s exactly only displayed as INVOICE NUMBER on the printed page. Why not we use INVOICE NUMBER in the edit page?

> [@Tut](#):
>
> You have exactly described @lubos’ Option 2, except that you want the custom field to be defined for you. In that case, you would lose the ability to name the field according to your usage.

I meant not the option 2, but as long as we have a separate _reference_ field for something else not for _invoice number_ then, for those who use _sales order_ tab, they can keep using it and get the order number from _sales order_ tab and the have extra field _reference_ field for something else or leave it blank if not needed.

I don’t know much about the coding but I believe there’s better way than just completely removing the _order number_ field and let users to create custom field.

---

<div class="post-metadata">

**Author:** ![Morne\_Kruger](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/morne_kruger/32/28437_2.png) [@Morne\_Kruger](https://forum.manager.io/u/Morne_Kruger)\
**Post date:** [June 11, 2022, 5:13am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/26 "2022-06-11T05:13:46Z")

</div>

@lubos I love this, it makes the system even more user friendly for new users, two order numbers in the past was confusing any non-accountant user.  
Having the ability to set the custom field to display at the top is great, if I may make a suggestion, can we later have another checkbox for custom fields (option) to make the field mandatory?

---

<div class="post-metadata">

**Author:** ![AlFalahAccounting](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/alfalahaccounting/32/38901_2.png) [@AlFalahAccounting](https://forum.manager.io/u/AlFalahAccounting)\
**Post date:** [June 11, 2022, 12:04pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/27 "2022-06-11T12:04:50Z")

</div>

Hi, @lubos Thanks for the rapid updates on Software.

I have created my own theme, with serial numbers on Sales Invoice and etc.,  
I have created a custom field for the Order Number, but It’s not showing on top in Custom Theme, It’s working on the plain default theme.

Thanks.

---

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [June 11, 2022, 1:37pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/29 "2022-06-11T13:37:41Z")

</div>

I really would like to understand why it is seen as so much more work to first create a Sales Order and use Copy to Sales Invoice. All information gets copied over and you only have to add the due date and if necessary the Sales Invoice reference number. The time loss is insignificant while the process is much better. I would encourage anyone to try it as it is painless.

---

<div class="post-metadata">

**Author:** ![Mark](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mark](https://forum.manager.io/u/Mark)\
**Post date:** [June 11, 2022, 3:26pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/30 "2022-06-11T15:26:55Z")

</div>

> [@AlFalahAccounting](#):
>
> I have created a custom field for the Order Number, but It’s not showing on top in Custom Theme

Did you follow the steps in the guide in which it is explained how to do it?

---

<div class="post-metadata">

**Author:** ![AlFalahAccounting](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/alfalahaccounting/32/38901_2.png) [@AlFalahAccounting](https://forum.manager.io/u/AlFalahAccounting)\
**Post date:** [June 11, 2022, 4:11pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/31 "2022-06-11T16:11:41Z")

</div>

Yes @Mark you too try it.

---

<div class="post-metadata">

**Author:** ![AlFalahAccounting](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/alfalahaccounting/32/38901_2.png) [@AlFalahAccounting](https://forum.manager.io/u/AlFalahAccounting)\
**Post date:** [June 11, 2022, 6:34pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/33 "2022-06-11T18:34:58Z")

</div>

Thanks @Mark  
Nobody mentioned to do like the same which you are showing now.  
Whatever @lubos mentioned i did the same.  
Now i will add codes in custom theme and check.

---

<div class="post-metadata">

**Author:** ![Mark](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@Mark](https://forum.manager.io/u/Mark)\
**Post date:** [June 11, 2022, 6:40pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/34 "2022-06-11T18:40:15Z")

</div>

> [@AlFalahAccounting](#):
>
> Nobody mentioned to do like the same which you are showing now.

I asked you if you followed all steps indicated in the corresponding [guide](https://www.manager.io/guides/17100) and you said yes but it seems you really didn’t read it well because you forgot the 1st part of the guide. 😉

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 11, 2022, 7:36pm UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/35 "2022-06-11T19:36:26Z")

</div>

@AlFalahAccounting, you must also accept responsibility for performance of your own custom themes. The developer cannot anticipate changes you might introduce to a theme. Nor can he be responsible for changing your themes when new features are added.

This was addressed in the June 2022 issue of the newsletter that came out 10 days ago. If you have not subscribed, you should.

---

<div class="post-metadata">

**Author:** ![dalacor](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dalacor](https://forum.manager.io/u/dalacor)\
**Post date:** [June 14, 2022, 8:36am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/36 "2022-06-14T08:36:54Z")

</div>

> [@Ealfardan](#):
>
> I think changing the terminology would do more harm than good, especially if you consider that reference is actually a general term that could be applied to absolutely anything, so using it specifically to refer to **Order no.** would be confusing.
> 
> I believe that using the general term **Reference** for the main reference (in this case “Invoice no.”) is more appropriate while additional references need to be specific (i.e. Order no., Quote no., … etc.).

I disagree. I have never understood why Manager uses a generic term like Reference. The field should be clearly defined as to what it’s use is especially as when linked with other forms, it then is clearly defined. For example when you copy a sales order to a sales invoice that reference on the sales order becomes order no on the sales invoice. So why not just call it order number on the sales order.

In the long run it actually prevents people from using the wrong references from day one. For example many years ago when I started using Manager, I was using my own purchase invoice numbers not the suppliers invoice number. So I had to waste a lot of time correcting that when I discovered why I needed the suppliers invoice numbers.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [June 14, 2022, 9:00am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/37 "2022-06-14T09:00:31Z")

</div>

> [@dalacor](#):
>
> I disagree. I have never understood why Manager uses a generic term like Reference.

What alternatives are there? Id, Name, Number?

They all are generic but fail in some respects that “Reference” doesn’t. For example, number assumes no letters are used while id assumes uniqueness.

Anyway, if what you mean by specificity is adding the form name before “reference” or whatever equivalent to that then that would be redundant since the form name already appears at less for times:

1. In the title bar
2. Highlighted in the active tab
3. In the breadcrumbs
4. In the form title

Therefore I don’t think anyone would mistake reference of an invoice with that of a receipt.

---

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [June 14, 2022, 9:29am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/38 "2022-06-14T09:29:42Z")

</div>

In essence there is use of only 2 numbers.

- The first is dealing with a Business own references. It helps to track all that a business does from quotes, orders, invoices payments, inventory, assets, and receipts, etc.

- The other with the Suppliers, Customer and Other references. This should be inputted wherever they provided you with a reference or you can choose your own for each supplier and customer.

@Ealfardan is right to pint out that the “type” be it a form, a screen etc is sufficient to avoid mistakes. However, I would recommend to consider using Our reference for all references related to the business and Your reference for all customers and suppliers and other.

---

<div class="post-metadata">

**Author:** ![dalacor](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dalacor](https://forum.manager.io/u/dalacor)\
**Post date:** [June 14, 2022, 9:59am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/39 "2022-06-14T09:59:20Z")

</div>

> [@Ealfardan](#):
>
> > [@dalacor](#):
> >
> > I disagree. I have never understood why Manager uses a generic term like Reference.
> 
> What alternatives are there? Id, Name, Number?
> 
> They all are generic but fail in some respects that “Reference” doesn’t. For example, number assumes no letters are used while id assumes uniqueness.

I don’t mean no specifically when I same order number. Most people say order number even when the order reference includes letters, not just numbers.

You can simply state order reference instead. I am more concerned with what reference you use - i.e. supplier reference, client reference etc. Not the specific format of the reference.

---

<div class="post-metadata">

**Author:** ![dalacor](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dalacor](https://forum.manager.io/u/dalacor)\
**Post date:** [June 14, 2022, 10:05am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/40 "2022-06-14T10:05:38Z")

</div>

> [@eko](#):
>
> In essence there is use of only 2 numbers.
> 
> - The first is dealing with a Business own references. It helps to track all that a business does from quotes, orders, invoices payments, inventory, assets, and receipts, etc.
> 
> - The other with the Suppliers, Customer and Other references. This should be inputted wherever they provided you with a reference or you can choose your own for each supplier and customer.
> 
> @Ealfardan is right to pint out that the “type” be it a form, a screen etc is sufficient to avoid mistakes. However, I would recommend to consider using Our reference for all references related to the business and Your reference for all customers and suppliers and other.

This is exactly what I mean. Defining “ours” or “yours” to make it more clear what reference should be put into the reference field. The initial form being used obviously defines what reference it is - but not whose reference. So ya, an Our Reference or Your Reference would work. However, I would still prefer Our Order Reference so that it is consistent with the name on other forms that are linked.

For example on my sales order, I have Reference and on my Sales invoiced linked to that Sales Order I have Order Number. So the two names are not consistent - which I would like them to be and second it is not clear whether the reference is my reference or my client’s reference. So “Your Order Reference” would work on both forms - clearly defining an order reference on the sales invoice and that it is the customer’s reference that is being used.

---

<div class="post-metadata">

**Author:** ![eko](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@eko](https://forum.manager.io/u/eko)\
**Post date:** [June 14, 2022, 10:50am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/41 "2022-06-14T10:50:47Z")

</div>

> [@dalacor](#):
>
> Our Order Reference

Not all references relate to orders and also the screen real estate too much.

---

<div class="post-metadata">

**Author:** ![dalacor](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dalacor](https://forum.manager.io/u/dalacor)\
**Post date:** [June 14, 2022, 11:26am UTC](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416/42 "2022-06-14T11:26:30Z")

</div>

Yes I know that. I am using sales orders and sales invoices as an example. But any form that is copied to a new form like quote to invoice etc carries across the reference fields but the name of the fields change.

[Previous page](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416.md?page=1)

[Next page](https://forum.manager.io/t/order-field-on-sales-invoice-form/41416.md?page=3)
