PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

An invalid bind variable number was specified in SQL UPDATE statement in AE

Running PeopleSoft HCM 9.2 with PT 8.59.17. I have this update statement that I've added to (added summing data from PS_PAY_TAX) and it now throws an error on this step. I'm not sure why because it works fine in SQL Management Studio (yes running SQL not Oracle DB). I've tried to alias all tables/columns etc but nothing works.


/* CBlair 7/27/2023: Added UNION ALL TO PS_PAY_TAX TO INCLUDE LTC tax TO MISC DEDS COLUMN */  

 UPDATE PS_COS_R044STG_TBL tt  

 SET DEDUCT_GARN_AMT=%Coalesce ( ( SELECT SUM(x.DEDUCTIONS) FROM (  SELECT SUM(B.DED_CUR) [DEDUCTIONS]  FROM PS_PAY_DEDUCTION B WHERE B.COMPANY=PS_COS_R044STG_TBL.COMPANY AND  

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center