I’m trying to make a dashboard were users can manage the business categories for customers. I can’t figure out which BO controls updates to the CustBusinessCategory - neither the customer or BusinessCategory seemed to work.
The only update I see is for the customer, but when I tried that it didn’t seem to work. My other changes to the customer took, but the BusinessCatagory either didn’t save or instantly reverted.
I don’t have anything set up in my system, but seeing that it’s a list picker type screen, they usually have some goofy things with them. Most often, I think they are ~ delimited fields, which can be a pain to deal with. You won’t very easily be able to deal with those fields in a UBAQ because of the way they are set up.
Well, you have to either add or remove rows to change that. When a category is added, the system adds a row to that table. When one is removed, it removes a row from that table. So you won’t be able to just change it like most UBAQs do, you will have to add or delete rows, which is going to be trickier.
Seems like I might have to use the customer BO and manually call the update method, and somehow add a field to the tttable for BusinessCatList so it can convert the ~ list to actual rows… seems awfully complicated
I’ve hit the limit to what I can do. You will use the customer BO, but you can’t do with with the generic UBAQ tools, you will have to custom code it to make it work. The BusinessCatList column exists in the customer object, but I don’t know how to get to it.
Here’s the code to make it work in a BPM. (thanks @josecgomez) You need the buffer copy in order to make the removing/changing of it to work. I’m not sure how you are going to be able to handle the ~ delimited field validation wise.