question: public boolean releaseEncumbranceBudget ( final Map < String , Object > detailsMap ) { if ( detailsMap == null ) throw new ValidationException ( Arrays . asList ( new ValidationError ( "required input is null" , "required input is null" ) ) ) ; detailsMap . put ( Constants . CONSUMEORRELEASE , false ) ; final BigDecimal bd = getDetails ( detailsMap ) ; return bd . intValue ( ) == 1 ; }
target:  This API will be called for releasing the budget that was already allocated to some estimate or purchase order. On calling this the amount that was allocated to some entity will get released. Budget available will be increased. <p> On modify of any entity they should first call the release budget and then call the consume budget. The budget usage table needs to be updated anytime this is invoked with the date and reference object number.