Miscellanous field for the vendor linked to the invoice
A vendor can be attached to a document. A vendor is also an address and can have some miscellaneous fields set.
It is possible to easily retrieve some data entered in these field using GetValue.
Example
*/ The content of the Miscellaneous Field 10 is returned for the vendor whose ID is the one specified in the do_vendeur field. The documents table must be available.
GetValue(do_vendeur, 'ad_numero', 'ad_utili10', 'adresses')