Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Pick up transactions

In the Mantiki DatatbaseDatabase, the entity_event table name and state are used by the Dream Extractor to find new entries to process.  If the Dream Extractor reads the line and the state is in pending and it recognises the name as one of the types it processes then it attempts to process the transaction that this entity_event refers to (note, the entity_event table also refers to other events not used by the Dream Extractor which will have names that are unfamiliar to it).

For example, this section of the entity event table shows a winebank_payment, two account_adjustment, a refund and a sale.  These events are recorded in the customer_account_entry table for 3 of them and the sales_order_credit and sales_order_shipment tables.  The id in each of these tables is listed in the entity_instance_id column.  The state for the winebank_payment is pending, showing that Dream Extractor has not yet started/completed processing this entry.

...