CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
preprocess () | |
post_id_handler () | |
get_id_adjust_view () | |
get_id_view () | |
get_view () | |
Public Member Functions inherited from FannieRESTfulPage | |
readRoutes () | |
preprocess () | |
bodyContent () | |
unitTest ($phpunit) | |
Public Attributes | |
$themed = true | |
$description | |
Protected Attributes | |
$header = 'Purchase Orders' | |
$title = 'Purchase Orders' | |
Protected Attributes inherited from FannieRESTfulPage | |
$__method = '' | |
$__models = array() | |
$__routes | |
$__route_stem = 'unknownRequest' | |
Additional Inherited Members | |
Protected Member Functions inherited from FannieRESTfulPage | |
unknownRequestHandler () | |
unknownRequestView () | |
getModel ($database_connection, $class, $params, $find=False) | |
get_model ($database_connection, $class, $params, $find=False) | |
ManualPurchaseOrderPage::post_id_handler | ( | ) |
Queries to check for vendorItems entries
Create parent record for the order
Create item records for the order
Multiple same-SKU records Sum the quantities and costs to merge into a single record
Try to look up unit size using vendorID+sku or vendorID+upc. This avoids making unit size a required field and checks for an existing vendorItems record
If no vendorItems record exists for this SKU or UPC then create one
ManualPurchaseOrderPage::$description |