CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
doc () | |
forceStartBatch ($id) | |
forceStopBatch ($id) | |
getUPCs ($batchID=false) | |
Public Member Functions inherited from BasicModel | |
__construct ($con) | |
pushToLanes () | |
deleteFromLanes () | |
getModels () | |
setConnectionByName ($db_name) | |
Protected Member Functions | |
hookAddColumnowner () | |
Protected Member Functions inherited from BasicModel | |
normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK) | |
loadHooks () | |
afterNormalize ($db_name, $mode) | |
Protected Attributes | |
$name = "batches" | |
$preferred_db = 'op' | |
$columns | |
Protected Attributes inherited from BasicModel | |
$normalize_lanes = false | |
$currently_normalizing_lane = false | |
Additional Inherited Members | |
Public Attributes inherited from BasicModel | |
const | NORMALIZE_MODE_CHECK = 1 |
const | NORMALIZE_MODE_APPLY = 2 |
BatchesModel::forceStartBatch | ( | $id | ) |
Start batch immediately
$id | [int] batchID |
This helper method masks some ugly queries that cope with UPC vs Likecode values plus differences in multi-table UPDATE syntax for different SQL flavors. Also provides some de-duplication.
BatchesModel::forceStopBatch | ( | $id | ) |
Stop batch immediately
$id | [int] batchID |
BatchesModel::getUPCs | ( | $batchID = false | ) |
Fetch all UPCs associated with a batch
$batchID | [optional] |
|
protected |