Signatur | string bill__position_change_amount( string $sid, int $bill_id, int $pos_id, int $new_amount [, boolean $adjust] ) |
|
Parameter | - string $sid
Session identier you got from auth__login or auth__token_login - int $bill_id
Bill-ID - int $pos_id
Positions-ID - int $new_amount
new position amount in absolute or relative format - boolean $adjust
if set to true, $new_amount has to be specified in relative format (examples: 1, -1, -2, 4, ...), else $new_amount has to be an absolute value (defaults to false)
|
Returns | string on success: array('ok'=>TRUE, 'new_amount'=>int new position amount), on failure: array('ok'=>FALSE, 'errno'=>int error number)
|
Description | Change bill position amount
|