Amount of km for an invoice, or for the linked object
A document can be linked to a Vehicle object. You can enter a number of km for this invoice, and the km is a data you can also enter in the object.
You can wish to display in the document the km you entered in the object only if you haven't entered the km for the invoice.
Example
*/ Available only in commercial documents.
alltrim(doc_obj.dj_texte1) + ' ' + alltrim(Doc_obj.dj_texte2) + ' ' + alltrim(Doc_obj.dj_texte5), iif(not empty(km()), transform(km()), iif(not empty(doc_obj.dj_nbre1),transform(doc_obj.dj_nbre1),''))