if
(billingEngine.Context == MercatorUi.Engine.Gescom.
BillingEngine
.
ContextEnum
.DeliveriesInvoicing)
{
// on est dans la facturation automatique
}