Forum

[SOLVED] invoice & ...
 
Notifications
Clear all

[SOLVED] invoice & order

3 Posts
2 Users
0 Reactions
2,228 Views
(@thierry94)
Posts: 17
Active Member
Topic starter
 
[#6407]

Using the customer invoicing functionality, I want to display on the invoice the external reference provided by the customer (the field [command.externalReference]).
This field always remaining empty in the generated invoice, I do not understand how the link between an order is made is an invoice?

I tried to put the order as the origin of the invoice, without success.
Thank you in advance.


 
Posted : 13 Dec 2019 12H51
(@babynus)
Posts: 14952
Member Admin
 

I guess you're dealing with template report....

Have a look at available fields.
What you are looking for does not exist (even if it seems to be relevant)
All what you can get is origin.refName (name of the order)


 
Posted : 14 Dec 2019 21H09
(@thierry94)
Posts: 17
Active Member
Topic starter
 

Thank you.
I had looked in the available fields, and indeed the field[command.externalReference] is not present, however, I wondered if it was not an omission in the documentation because this field appears in a template delivered with the plug in (temp_bill_en)...
it doesn't matter, I'll add the external reference to the generated invoice, but this feature seemed convenient to me.


 
Posted : 15 Dec 2019 10H51
Share:

Scroll to Top