Address discount
It is possible to display, in a commercial document, the standard discount for the address of the document.
Example
*/ The field do_adr1 must be available. As an alternative, the field ad_numero or any of its foreign keys can be used too.
getvalue(evl(getvalue(do_adr1, 'ad_numero', 'ad_rabgrp', 'adresses'),0), 'rb_numero', 'rb_texte', 'rabais')