Rate of Pay Basis ID convert Long to String Rate of Pay Basis Name — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Rate of Pay Basis ID convert Long to String Rate of Pay Basis Name

Summary:

This object function below converts Rate of Pay Basis String to Long, how is it vice versa? How do we convert this from Long to String?

Please advise. I want to return vSalaryBasisName as a String.


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable): 25A


Code Snippet (add any code snippets that support your topic, if applicable):

def vo = newView('oraHcmSalaryBasisVO'); 
addBindVariable(vo,'gSalaryBasisName');
setBindVariable(vo,'gSalaryBasisName',vSalaryBasisName);
vo.appendViewCriteria('SalaryBasisName = :gSalaryBasisName');
vo.executeQuery();
def vSalaryBasisId=  vo.first()?.SalaryBasisId;
return vSalaryBasisID;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!