API to load party fiscal classification assignments
Does anyone know of an API to load up party fiscal classification assignments? One of our requirements is to apply a tax only when charging certain customers and the recommended way is to use the party fiscal classification code in the Tax Profile section. We have set up a custom category class and class code and applied this to a customer tax profile record (and the rule works a treat); however we need to do this for several thousand customers so an API to do this in batch would be handy.
We've tried using hz_classification_v2pub package as that creates classification code assignments in hz_code_assignments table but it just does not work for the Party Tax Profile. I've tried tracing the Tax Profile screen to see if I can glean anything but I can't see any API calls but I did see a bunch of select statements and the insert into hz_code_assignments. I've put custom messages inside hz_classification_v2pub to at least ensure it is being called by the screen and this has proved that the API is not being called at all. So there must be other API's being used to do