Closed chomchuen closed 10 months ago
Now, the system automatically sets 'Preferred Billing Address/Shipping Address' as the default for every new address. What if we consider selecting 'Preferred Billing Address/Shipping Address' only for the customer's first address?
but if we can't do that. we can use current solution.
If customer dont have preferred address then newly added address is automatically marked as preferred (Pending Review)
Hello, please consider this customer.
This is the fresh customer. No linked contact No linked address. https://apps.hosting.zaviago.com/app/customer/chomchom10
Then, I want to add a new address.
This address will be both "Preferred Billing Address" and "Preferred Shipping Address"
Now, I have 1 address which is "Preferred Billing Address" and "Preferred Shipping Address"
but after that I want to add a new address again. which is the alternative address.
But... every new address I've added is selecting "Preferred Billing Address" and "Preferred Shipping Address" option. So if I didn't unselect these option, every my new address will be "Preferred Billing Address" and "Preferred Shipping Address"
So, can you check your condition and script again? Finally If the condition doesn't work, we can simply set "Preferred Billing Address" and "Preferred Shipping Address"=1 as a default.
It works now.🔥🔥🔥 perfectttt
ERPnext have 2 methods to create customer. First is quick entry and second is full form. In this issue, we are talking about adding new customer via 'full form'
Quick Entry (if I added Address through this form, address I added will be automatically selected to both Preferred Billing Address and Preferred Shipping Address by default)
Full Form
Condition&Expectation:
If a customer didn't have an address information before, the first address added to the system will automatically select both Preferred Billing Address and Preferred Shipping Address.