docs: private Equipment getEquipment(BudgetPeriodDto periodInfo) {
  		Equipment equipment = Equipment.Factory.newInstance();
  		NarrativeContract extraEquipmentNarr = null;
  		if (periodInfo != null && periodInfo.getEquipment() != null
  				&& periodInfo.getEquipment().size() > 0) {
  			// Evaluating Equipments.
  			List<EquipmentList> equipmentArrayList = new ArrayList<>();
  			ScaleTwoDecimal totalFund = ScaleTwoDecimal.ZERO;
  			for (CostDto costInfo : periodInfo.getEquipment().get(0)
  					.getEquipmentList()) {
  				EquipmentList equipmentList = EquipmentList.Factory
  						.newInstance();
  				equipmentList.setEquipmentItem(costInfo.getDescription());
  				if (costInfo.getCost() != null) {
  					equipmentList.setFundsRequested(costInfo.getCost()
  							.bigDecimalValue());
  				}
  				totalFund = totalFund.add(costInfo.getCost());
  				equipmentArrayList.add(equipmentList);
  			}
  			// Evaluating Extra Equipments.
  			List<CostDto> extraEquipmentArrayList = new ArrayList<>();
  			ScaleTwoDecimal totalExtraEquipFund = ScaleTwoDecimal.ZERO;
  			for(CostDto costInfo:periodInfo.getEquipment().get(0).getExtraEquipmentList()){
  				extraEquipmentArrayList.add(costInfo);
  				totalExtraEquipFund = totalExtraEquipFund.add(costInfo.getCost());
  			}
  			EquipmentList[] equipmentArray = new EquipmentList[0];
  			equipmentArray = equipmentArrayList.toArray(equipmentArray);
  			equipment.setEquipmentListArray(equipmentArray);
  			TotalFundForAttachedEquipment totalFundForAttachedEquipment = TotalFundForAttachedEquipment.Factory
  					.newInstance();
  			totalFundForAttachedEquipment.setTotalFundForAttachedEquipmentExist(YesNoDataType.YES);
  			totalFundForAttachedEquipment.setBigDecimalValue(periodInfo.getEquipment().get(0)
  					.getTotalExtraFund().bigDecimalValue());
  			totalFund = totalFund.add(totalExtraEquipFund);
  			equipment.setTotalFundForAttachedEquipment(totalFundForAttachedEquipment);
  			equipment.setTotalFund(totalFund.bigDecimalValue());
  			extraEquipmentNarr = saveAdditionalEquipments(periodInfo,extraEquipmentArrayList);
  		}
  
  		if(extraEquipmentNarr!=null){
  			AdditionalEquipmentsAttachment equipmentAttachment = AdditionalEquipmentsAttachment.Factory
  					.newInstance();
  			FileLocation fileLocation = FileLocation.Factory.newInstance();
  			equipmentAttachment.setFileLocation(fileLocation);
  			String contentId = createContentId(extraEquipmentNarr);
  			fileLocation.setHref(contentId);
  			equipmentAttachment.setFileLocation(fileLocation);
  			equipmentAttachment.setFileName(extraEquipmentNarr.getNarrativeAttachment().getName());
  			equipmentAttachment
  					.setMimeType(InfastructureConstants.CONTENT_TYPE_OCTET_STREAM);
  			equipmentAttachment.setHashValue(getHashValue(extraEquipmentNarr
  					.getNarrativeAttachment().getData()));
  			AttachmentData attachmentData = new AttachmentData();
  			attachmentData.setContent(extraEquipmentNarr
  					.getNarrativeAttachment().getData());
  			attachmentData.setContentId(contentId);
  			attachmentData
  					.setContentType(InfastructureConstants.CONTENT_TYPE_OCTET_STREAM);
  			attachmentData.setFileName(extraEquipmentNarr.getNarrativeAttachment().getName());
  			addAttachment(attachmentData);
  			equipmentAttachment
  					.setTotalFundForAttachedEquipmentExist(YesNoDataType.YES);
  			equipment
  					.setAdditionalEquipmentsAttachment(equipmentAttachment);
  		}
  		return equipment;
  	}