I have a scenario where some of our customers get us to ship direct to their customer. Therefore every Sales Order for that customer has a different shipping address. We also don’t want to add and store all of these addresses as they are usually once off - ie never ship there again.
I thought of setting up a custom field (or custom fields) where you’d enter a free text shipping address for that customer.
That means I need to then specify a statement on my Custom Print for Sales Order saying print this field when customer = X but print the normal shipping_address field when customer <> X. What’s the statement to do this?
Alternatively I could make the Sales_Order.Shipping_Address editable but I don’t think that’s possible - You can’t change properties on non-custom fields?
Thanks @kolate_sambhaji that worked. My only issue now is formatting that address correctly when I print it. Because I’m using a text field it doesn’t recognise the line breaks I type in. So my address looks OK onscreen:
Department A
UQ Gatton
LAWES QLD 4343
But prints as one line:
Shipping Address: Department A UQ Gatton LAWES QLD 4343
Any suggestions - I guess I might have to setup multiple fields and then print them one under the other?