Most Powerful Open Source ERP

Configure Simulation

notes on ongoing discussion on simulation configuration.
  • Last Update:2016-04-08
  • Version:001
  • Language:en

This how-to is work in progress.

Table of Contents

  • Generate Simulation related to an Order
  • Expand Simulation related to an Order
  • Related Articles

    Generate Simulation related to an Order

    • TODO

    Expand Simulation related to an Order

    Simulation related to an Order need to be updated as soon as the Order (or some of its content) is modified.

    This behaviour is not activated by the Product itself, in order to keep flexibility.

    To expand the simulation automatically, associate one of the interaction workflow (from erp5_core):

    • order_simulation_interaction_workflow
    • order_movement_simulation_interaction_workflow

    to the right portal type (depending if it's on the Order or Order's content level).

    For now, those interactions are triggered by the _setters.

    Initial Creation of Simulation Tree

    To initiate the simulation process, the workflow managing simulation_state for this order calls Delivery_updateAppliedRule. Shouldn't this be handled by order_simulation_interaction_workflow instead ?

    Related Articles