Signatur | string bill__set_defined_bill_properties( string $sid, int $bill_id, set_properties $properties ) |
Parameter |
|
Returns | string array('ok'=>TRUE/FALSE, 'errno'=>error code if DB-error occurs, 'error'=>error string in case of ok==FALSE ) |
Description | Set defined bill properties (Werte für definierte Belegzusatzfelder setzen) The parameter $properties is an array of arrays. each subarray must contain following elements: field_id: ID of property field_value: value of property Example usage: bill__set_defined_bill_properties( 12345, array( array( 'field_id'=>'prop1', 'field_value'=>'value1' ), array( 'field_id'=>'prop2', 'field_value'=>'value2' ), ... ) ) |