Quantcast
Viewing all articles
Browse latest Browse all 38722

Forum Post: eConnect: Create (update) Employee Paycode - error 9498

I'm trying to use eConnect to update payrates for an employee using UPRCreateEmployeePayCodeType / taCreateEmployeePayCode. When there is an update to a base paycode ('HOUR 1') in this case, I want to update all other paycodes where 'HOUR 1' is the base payrate code. Unfortunately, I keep getting the 9498 error. The overtime ('OVT') paycode is showing the old payrate for HOUR1 , with a payrate that matches the old base payrate * 1.5 . I don't see anything in the taCreateEmployeePayCode schema that allows me to specify the based on rate, and it doesn't appear that eConnect is referencing the new rate when I'm trying to update OVT. Here's the data I'm sending ("HOUR 1" has been already updated from 13.00M to 13.50M, and its record in UPR00300 reflects the update. The "OVT" record shows BSDONRTE of 13.00M, with a payrate of 19.50M before trying to update) oPCUpdate = new taCreateEmployeePayCode(); oPCUpdate.UpdateIfExists = 1; oPCUpdate.EMPLOYID = mstrEmployeeID; oPCUpdate.PAYRCORD = "OVH"; oPCUpdate.INACTIVE = 0; oPCUpdate.BSPAYRCD = "HOUR 1"; oPCUpdate.UseDefaultCoPayCode = 1; oPCUpdate.SUTASTAT = "MI"; oPCUpdate.PAYRTAMT = 20.25M; oPCUpdate.PAYRTAMTSpecified = true; oPCUpdate.PAYFACTR = 1.5M; oPCUpdate.PAYFACTRSpecified = true; Any suggestions, things I'm missing here?

Viewing all articles
Browse latest Browse all 38722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>