Skip to content

Commit

Permalink
KFSPTS-30664: Fix IWantDocumentInputFileType to use correct constant …
Browse files Browse the repository at this point in the history
…for title (#1545)
  • Loading branch information
nkimble committed Jan 23, 2024
1 parent 9c39311 commit 71b0f66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@ public class CUPurapKeyConstants {
public static final String JAGGAER_XML_REPORT_DETAIL_NOTE_LINE = "jaggaer.xml.report.detail.note.line";
public static final String MESSAGE_BATCH_UPLOAD_TITLE_JAGGAER = "jaggaer.xml.upload.title";

public static final String MESSAGE_BATCH_FEED_TITLE_IWANT_DOC = "message.batchFeed.title.iwantdoc";
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
import org.apache.commons.lang.StringUtils;
import org.kuali.kfs.core.api.datetime.DateTimeService;

import com.rsmart.kuali.kfs.fp.FPKeyConstants;

import edu.cornell.kfs.module.purap.CUPurapConstants;
import edu.cornell.kfs.module.purap.CUPurapKeyConstants;
import edu.cornell.kfs.sys.CUKFSConstants;
import edu.cornell.kfs.sys.batch.service.DigesterXmlBatchInputFileType;

Expand Down Expand Up @@ -67,7 +66,7 @@ public boolean validate(Object parsedFileContents) {
* @see org.kuali.kfs.sys.batch.BatchInputType#getTitleKey()
*/
public String getTitleKey() {
return FPKeyConstants.MESSAGE_BATCH_UPLOAD_TITLE_DISBURSEMENT_VOUCHER;
return CUPurapKeyConstants.MESSAGE_BATCH_FEED_TITLE_IWANT_DOC;
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/CU-ApplicationResources.properties
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ error.iWant.document.requisition.exists=A related requisition already exists for
error.iWant.document.creator.cannot.route.to.self=You cannot enter your own Net ID as the Approver. Only enter a Net ID if you are required to Submit to an approver before this transaction goes to the BSC. Hit Submit when you are ready to route the I Want Doc for further processing.
error.iWant.document.approver.cannot.route.to.self=As the Approver, you cannot route this document to yourself. Please remove your Net ID and hit the Approve button if you are ready to approve this transaction.
message.iwant.document.approve.finalized=College/Unit has processed this request. Approver has indicated the I Want Doc should not be sent to the Service Center for further processing.
message.batchFeed.title.iwantdoc=I Want Document Batch Feed

# Purchase Order
error.poa.initiator.cannot.adhoc.to.fo=Initiator can not Adhoc route to FO for Purchase Order Amendment.
Expand Down

0 comments on commit 71b0f66

Please sign in to comment.