When a "Validated" mandate has been identified as "Main mandate" for the [Company ; Pay-by BP] pair, the reference of this mandate is loaded by default but can be modified. Only a mandate reference whose status is "Validated" can be entered.
If the company and/or the pay-by BP is modified, the mandate reference is reinitialized accordingly.
When the invoice is created through an automatic creation process, this field is not initialized if no "Validated" main mandate has been defined for the company/pay-by BP combination. However, In this case, the invoice is created, but it can not be validated until a mandate reference is entered.
During a credit memo entry by invoice picking, the mandate reference is populated by the reference of the mandate on the first selected invoice.