|
|
| setSilent ($s) |
| |
|
| setVendors ($v) |
| |
|
| setStore ($s) |
| |
| | run () |
| |
|
| setThreshold ($t) |
| |
|
| setConfig (FannieConfig $fc) |
| |
|
| setLogger ($fl) |
| |
|
| setOptions ($o) |
| |
|
| setArguments ($a) |
| |
|
| testMode ($t) |
| |
| | run () |
| |
| | cronMsg ($str, $severity=6) |
| |
| | lazyGetOpt ($argv) |
| |
|
|
| $name = 'Auto Order' |
| |
|
| $description = 'Generates orders based on inventory info' |
| |
| | $default_schedule |
| |
|
| $name = 'Fannie Task' |
| |
|
| $description = 'Information about the task' |
| |
| | $default_schedule |
| |
|
| $schedulable = true |
| |
| | $log_start_stop = true |
| |
|
const | TASK_NO_ERROR = 0 |
| |
|
const | TASK_TRIVIAL_ERROR = 1 |
| |
|
const | TASK_SMALL_ERROR = 2 |
| |
|
const | TASK_MEDIUM_ERROR = 3 |
| |
|
const | TASK_LARGE_ERROR = 4 |
| |
|
const | TASK_WORST_ERROR = 5 |
| |
|
|
| $error_threshold = 99 |
| |
|
| $config = null |
| |
|
| $logger = null |
| |
|
| $options = array() |
| |
|
| $arguments = array() |
| |
|
| $test_mode = false |
| |
Look up all items that have a count and compare current [estimated] inventory to the par value
Allocate a purchase order to hold this vendors' item(s)
Determine cases required to reach par again and add to order
| OrderGenTask::$default_schedule |
Initial value:= array(
'min' => 45,
'hour' => 3,
'day' => '*',
'month' => '*',
'weekday' => '*',
)
The documentation for this class was generated from the following file:
- fannie/cron/tasks/OrderGenTask.php