Human Capital Management - EBS (MOSC)

MOSC Banner

Issue with Sql Qurey To get calculated value from custom table

R12.1.3

Hello Folks,

I have one segment on SIT which used on Self Service, segment have below SQL qurey and returns correct value

SELECT DISTINCT Basic FROM APPS.XX_EMP_SAL_STRUCTURE WHERE person_id = :$PROFILES$.PER_PERSON_ID AND TO_CHAR (FND_CONC_DATE.STRING_TO_DATE (:$FLEX$.OVERTIME),'MM-YYYY') = TO_CHAR (FND_CONC_DATE.STRING_TO_DATE (date_earned),'MM-YYYY')

“Basic is column on custom table XX_EMP_SAL_STRUCTURE”

Im trying to get the value of this Basic /30/8/2 by using below SQL query but its not working

SELECT DISTINCT (Basic/30/8/2) FROM APPS.XX_EMP_SAL_STRUCTURE WHEERE person_id = :$PROFILES$.PER_PERSON_ID AND TO_CHAR (FND_CONC_DATE.STRING_TO_DATE (:$FLEX$.OVERTIME),'MM-YYYY') = TO_CHAR (FND_CONC_DATE.STRING_TO_DATE (date_earned),'MM-YYYY'

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