function write_customer($customer_id, $name, $ref, $address, $tax_id, $curr_code, $dim1, $dim2, $credit_status,
$payment_terms, $discount, $credit_limit, $sales_type, $notes, $inactive, $salesman, $area,
function write_customer($customer_id, $name, $ref, $address, $tax_id, $curr_code, $dim1, $dim2, $credit_status,
$payment_terms, $discount, $credit_limit, $sales_type, $notes, $inactive, $salesman, $area,