on 10-10-2007 3:58 PM
I need to change the type of an address using the UI-API. I found that the address type is stored in a combobox in column "53" of the matrix, but it will not let me change the type. When I change the value (selectexclusive) to "S" or "B", the change doesn't appear in the field, even when I watch the value immediatley after setting it.
I tried matrix.addrow with the address selected, but the new one is a duplicate and has the same address type. It won't let me change that one either.
Is there any other way to change a ship-to to a bill-to address and vice-versa through the UI-API?
I think the only way is to:
1) read the address data from Matrix 178 and keep the data in your Add-On
2) delete the original address (activate the menu item (ID = 1293) or send Ctrl-K via Application.SendKeys)
3) "click" on "Define new"
4) and enter the data you have read in 1) into the cells of Matrix 178 again...
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.