I have one custom boolean field name "SLG Trading Status" in Customer field. I have added startDate and endDate in Cust.Ledger Entry table. I have to fetch out records from Cust. Ledger Entry table if the posting date is between startDate and endDate. If the customer no. has entry in these cust. ledger entries then I have to set
SLG Trading Status to true else false.
So, I have thought of this logic but "
" line has created error.
If there is any mistake done from my side then please let me know.