diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
index 843fa09a02376ef2ecfdfdaecc5173e10b54fc07..f325af0c512da09e6689a09b0aca723550c1cfdf 100644
--- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
+++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/Delivery_Build.xml
@@ -123,7 +123,8 @@ if builder_by_ptype.has_key(delivery_portal_type) :\n
   tag = \'invoice_transaction_build_%s\' % delivery.getRelativeUrl()\n
   builder.activate(\n
       activity=\'SQLQueue\',\n
-      after_method_id=method_id_list,\n
+      after_path_and_method_id=(delivery.getPath(), method_id_list),\n
+      after_tag=delivery.getPath() + \'_updateAppliedRule\',\n
       tag=tag,\n
       activate_kw=dict(tag=tag)).build(activate_kw=dict(tag=tag),\n
                                        explanation_uid=explanation_uid_list)\n
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index a88135ee830ae58b020aa07f9e641cc047f99606..8ced8f781c3070a6fd98a4731f18d5fa5f3f4d3a 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-988
\ No newline at end of file
+989
\ No newline at end of file