vennila ramasamy
05/16/2023, 8:39 AMsearch.createColumn({
name: "formulacurrency",
formula: "CASE WHEN {taxitem.iseccode} = 'T' OR {taxitem.isreversecharge} = 'T' THEN ({amount} * 0.21) ELSE {taxamount} END",
label: "Amount Tax"
}),
search.createColumn({
name: "formulacurrency",
formula: "CASE WHEN {taxitem.custrecord_nondeductible_parent} IS NULL THEN NULL ELSE (CASE WHEN {taxitem.iseccode} = 'T' OR {taxitem.isreversecharge} = 'T' THEN ({amount} * 0.21) ELSE {taxamount} END) * {taxitem.custrecord_vat_ratio_ndr_p} END",
label: "NonDeductable_P"
}),
search.createColumn({
name: "formulacurrency",
formula: "CASE WHEN {taxitem.custrecord_nondeductible_parent} IS NULL THEN NULL ELSE (CASE WHEN {taxitem.iseccode} = 'T' OR {taxitem.isreversecharge} = 'T' THEN ({amount} * 0.21) ELSE {taxamount} END) * {taxitem.custrecord_vat_ratio_ndr_f} END",
label: "NonDeductable_F"
}),
I have this code in my saved search. i want to fetch the value of these three formula columns in my map stage. after parsing in map stage, i get only the first formulacurrency column only, not the other two. what could be the reason? as well i want to fetch all the three columns, could anyone please help me how to do that in map stage after parsing?Caroline
05/16/2023, 8:51 AMvennila ramasamy
05/16/2023, 8:59 AMCaroline
05/16/2023, 9:20 AMbattk
05/16/2023, 12:41 PMscottvonduhn
05/16/2023, 3:06 PM