02-26-2019 02:05 PM
How to remove between locations from Location using AXL
Trying to remove the between locations from the current location using AXL.
It seems you can only issue updateLocation request with <betweenLocations/> tag to delete all the locations from the both location then add the existing ones back.
Is anyone found the better solution for this?
Solved! Go to Solution.
02-26-2019 02:53 PM
Testing on my 11.5 system, the behaviour is definitely weird, and I think incorrect. It appears that if you do <updateLocation>, anything in <betweenLocations> gets added to the existing list of <betweenLocations>, rather than replacing the list (as I would expect, and as AXL works in other areas.)
I've opened a defect to track/investigate this issue: CSCvo57112
You may be able to work around the issue by using <executeSqlQuery> - the relevant tables appear to be 'location' and 'locationmatrix'.
02-26-2019 02:53 PM
Testing on my 11.5 system, the behaviour is definitely weird, and I think incorrect. It appears that if you do <updateLocation>, anything in <betweenLocations> gets added to the existing list of <betweenLocations>, rather than replacing the list (as I would expect, and as AXL works in other areas.)
I've opened a defect to track/investigate this issue: CSCvo57112
You may be able to work around the issue by using <executeSqlQuery> - the relevant tables appear to be 'location' and 'locationmatrix'.
02-27-2019 06:54 AM
Thanks David!!
I will follow up with the status of the case.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide