docs: private SectBCompensationDataType getSectBCompensationDataType(CompensationDto compensation) {
  
          SectBCompensationDataType sectBCompensation = SectBCompensationDataType.Factory.newInstance();
          if (compensation != null) {
              if (compensation.getAcademicMonths() != null) {
                  sectBCompensation.setAcademicMonths(compensation.getAcademicMonths().bigDecimalValue());
              }
              if (compensation.getCalendarMonths() != null) {
                  sectBCompensation.setCalendarMonths(compensation.getCalendarMonths().bigDecimalValue());
              }
              if (compensation.getSummerMonths() != null) {
                  sectBCompensation.setSummerMonths(compensation.getSummerMonths().bigDecimalValue());
              }
              if (compensation.getFringe() != null) {
                  sectBCompensation.setFringeBenefits(compensation.getFringe().add(compensation.getFringeCostSharing() != null ? compensation.getFringeCostSharing() : ScaleTwoDecimal.ZERO).bigDecimalValue());
              }
              if (compensation.getRequestedSalary() != null) {
                  sectBCompensation.setRequestedSalary(compensation.getRequestedSalary().add(compensation.getCostSharingAmount() != null ? compensation.getCostSharingAmount() : ScaleTwoDecimal.ZERO).bigDecimalValue());
              }
              TotalDataType totalDataType = TotalDataType.Factory.newInstance();
              if (compensation.getFundsRequested() != null) {
                  totalDataType.setFederal(compensation.getFundsRequested().bigDecimalValue());
              }
              if (compensation.getNonFundsRequested() != null) {
                  if (budget.getSubmitCostSharingFlag()) {
                      totalDataType.setNonFederal(compensation.getNonFundsRequested().bigDecimalValue());
                      if (compensation.getFundsRequested() != null && compensation.getNonFundsRequested() != null) {
                          totalDataType.setTotalFedNonFed(compensation.getFundsRequested().add(compensation.getNonFundsRequested())
                                  .bigDecimalValue());
                      }
                  } else {
                      totalDataType.setNonFederal(BigDecimal.ZERO);
                      if (compensation.getFundsRequested() != null && compensation.getNonFundsRequested() != null) {
                          totalDataType.setTotalFedNonFed(compensation.getFundsRequested().bigDecimalValue());
                      }
                  }
              }
              sectBCompensation.setOtherTotal(totalDataType);
          }
          return sectBCompensation;
      }