Low Level Documentation
 
Library Fieldpine Internals Replication Gds Security Fpos.dll Startup logic PosGreen Network PosGreen Install Process Multicast Protocol Data Structures Settings Logic Trace

Logic

Security Model Product Distribution Gateways Staff Login Stock Levels Shipping Addresses Agency Stores Remote Reports Sales Handlers

PosGreen Engine This engine provides the bulk of the POS processing at checkouts. It can be used directly or via central servers as a remote service.

Contexts & Sessions

Advanced

Spill Database Debugging

Reference Data

refdata Country refdata SystemString

Sales Handlers

This page provides low level details of individual handling functions that operate on sales. It is primarily intended for developers

Handler: sale_request

Handler: sale_request » sendorderdispatched

Invoked when an order is marked as ready for dispatch, ie it has been packed, and is ready for courier pickup or delivery. This handler requires a specific call from web pages, it does not automatically occur

Sale Created » Items Picked » Items Packed » Order "complete" » sendorderdispatched called

Pre Logic

  1. If the sale has the property PROPERTY_SALE_HAVE_SENT_ORDER_DISPATCHED, no action is undertaken.

Default Handler Logic

  1. Get Target Email
  2. Get Template for email body, and for sale receipt if that is to be attached
  3. Generate email body and PDF for receipt
  4. Queue email to customer

Post Logic

  1. The property PROPERTY_SALE_HAVE_SENT_ORDER_DISPATCHED is added to the sale to indicate this email was sent