Quote Originally Posted by DivaVocals View Post
After doing some more testing I have more to report on this issue

If your store settings use a dropdown state list, customers who sign-up for an account in the store have a value in entry_zone_id but not in entry_state in the addressbook tables.

Further edited to add: AND I have done more testing and confirmed that this is an issue with how create_orders.php works.
Quote Originally Posted by ivan.kristianto View Post
But most of the bugs is came from edit order module. So if you have solutions please share it with us.
(This is DEFINITELY NOT an Edit Orders issue!!!!) If you edit a store generated order (one placed by the customer in the store) using Edit Orders, Edit Orders correctly displays the customer's state information.

On the other hand, if you look at an order created using the Create Orders add-on for a customer account that was NOT created using the Add Customers add-on, you will see that the customer's the state data is BLANK. (Hope this makes sense)

Way over my abilities to fix this, but at least I have confirmed the issue exists and the possible cause..
Okay wanted to post the part of create_orders.php which is the cause for the above reported issue.. The sections highlighted in red are the areas which need to be corrected.. (still have no clue how to do this )

Lines 47-75 of create_orders.php

Code:
               'customers_name' => $customer_info->fields['customers_firstname'] . " " . $customer_info->fields['customers_lastname'],
               'customers_company' => $customer_info->fields['entry_company'],
               'customers_street_address' => $customer_info->fields['entry_street_address'],
               'customers_suburb' => $customer_info->fields['entry_suburb'],
               'customers_city' => $customer_info->fields['entry_city'],
               'customers_postcode' => $customer_info->fields['entry_postcode'],
               'customers_state' => $customer_info->fields['entry_state'],
               'customers_country' => $customer_info->fields['country_name'],
               'customers_telephone' => $customer_info->fields['customers_telephone'],
               'customers_email_address' => $customer_info->fields['customers_email_address'],
               'customers_address_format_id' => $customer_info->fields['format_id'],
               'delivery_name' => $customer_info->fields['customers_firstname'] . " " . $customer_info->fields['customers_lastname'],
               'delivery_company' => $customer_info->fields['entry_company'],
               'delivery_street_address' => $customer_info->fields['entry_street_address'],
               'delivery_suburb' => $customer_info->fields['entry_suburb'],
               'delivery_city' => $customer_info->fields['entry_city'],
               'delivery_postcode' => $customer_info->fields['entry_postcode'],
               'delivery_state' => $customer_info->fields['entry_state'],
               'delivery_country' => $customer_info->fields['country_name'],
               'delivery_address_format_id' => $customer_info->fields['format_id'],
               'billing_name' => $customer_info->fields['customers_firstname'] . " " . $customer_info->fields['customers_lastname'],
               'billing_company' => $customer_info->fields['entry_company'],
               'billing_street_address' => $customer_info->fields['entry_street_address'],
               'billing_suburb' => $customer_info->fields['entry_suburb'],
               'billing_city' => $customer_info->fields['entry_city'],
               'billing_postcode' => $customer_info->fields['entry_postcode'],
               'billing_state' => $customer_info->fields['entry_state'],
               'billing_country' => $customer_info->fields['country_name'],
               'billing_address_format_id' => $customer_info->fields['format_id'],