Skip to Content
avatar image
Former Member

How to change address type on Business Partner form?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 15, 2007 at 12:22 PM

    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...


    Add comment
    10|10000 characters needed characters exceeded