void_customer_trans($type, $type_no);
// in case it's a supplier trans - probably better to check first
void_supp_allocations($type, $type_no);
void_customer_trans($type, $type_no);
// in case it's a supplier trans - probably better to check first
void_supp_allocations($type, $type_no);