convert duration from given uom to given uom concode_field_sep PlaceHolder placeHolder concode_field_sep BigDecimal estimateWorkingTime concode_elem_sep BigDecimal estimateWorkingTime concode_elem_sep BigDecimal estimateWorkingTime concode_elem_sep BigDecimal getResourceBaseValue concode_elem_sep BigDecimal getResourceBaseValue concode_elem_sep BigDecimal getResourceBaseValue concode_elem_sep int calculateCycles concode_elem_sep BigDecimal calculateDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep BigDecimal calculateDuration concode_elem_sep long getDurationBaseSec concode_elem_sep long getDurationBaseSec concode_elem_sep I_AD_WF_Node getAD_WF_Node concode_elem_sep boolean isTime concode_elem_sep BigDecimal convertDurationToResourceUOM
BigDecimal function ( BigDecimal arg0 , String arg1 , I_C_UOM arg2 ) { double loc0 = getDurationBaseSec ( arg1 ) ; double loc1 = getDurationBaseSec ( arg2 ) ; BigDecimal loc2 = BigDecimal . valueOf ( arg0 . doubleValue ( ) * loc0 / loc1 ) ; return loc2 ; }