Hi,
$currentObject/Performance_Plan_ProductionQuantity else 0
By putting the 0 in between '0' it is a string. To remove the entry, you can use the word empty without quotes.
Go Make It
The full if statement will be:
if($currentObject/P_P_Quantity != empty)
then $currentObject/P_P_Quantity
else 0
Hi bosung kim,
if your attribute type is decimal where you are storing this logic then use this one
if $NewEntity/Plan_StartDate >= $NewEntity/Plan_StartDate and$NewEntity/Planned_EndDate <= $NewEntity/Planned_EndDate then$NewEntity/Performance_Plan_ProductionQuantity else 0
and if your attribute type is string where you are storing this logic then use this one
if $NewEntity/Plan_StartDate >= $NewEntity/Plan_StartDate and$NewEntity/Planned_EndDate <= $NewEntity/Planned_EndDate then$NewEntity/Performance_Plan_ProductionQuantity else toString(0)