Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI !
This is my first post because i'm new on Talend.
I got a problem in a tMap componant. I want to calculate an end contract date if my field end_contract_date is empty and my start_contract_date is filled. There is my code on the tMap expression field :
!Relational.ISNULL(out3.END_DATE)?out3.END_DATE:
Relational.ISNULL(out3.END_DATE)&&!Relational.ISNULL(out3.START_DATE)?
TalendDate.addDate(out3.START_DATE,row6.PARAM_VALUE,"yyyy"):
null
My row6.PARAM_VALUE is an integer and out3.end_date&start_date are a java date type on the follow format ("yyyy-MM-dd").
When i test it i got this message :
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
I don't understand why i get it, can anybody help me ?
P.S: Sorry for my English, I'm kind of learning it