Receipt Write Off Batch Failing Due To Null Receipt Date (Doc ID 841184.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Invoice Matching - Version 12.0.10 and later
Information in this document applies to any platform.
Checked for relevance on November 10th, 2014.

Symptoms

Run the ReceiptWriteOff batch aborts in our nightly batch run with the following error. The error
is occurring because in the STAGE_PURGED_SHIPMENTS table, the RECEIVE_DATE column is empty for the
all the shipments. If a shipment is cancelled that doesn't mean that it has been received against
so the receive date would be null.

Error Log
2009-04-15 10:36:11,414 ERROR [main] com.retek.reim.services.ReceiptWriteOffService -
com.retek.reim.merch.utils.ReIMException: An error occurred while attempting to write off receipts.
at com.retek.reim.services.ReceiptWriteOffService.writeOff(ReceiptWriteOffService.java:107)
at com.retek.reim.services.ReceiptWriteOffService.main(ReceiptWriteOffService.java:35)
at oracle.retail.reim.batch.jobs.ReceiptWriteOffBatch.performBatch(ReceiptWriteOffBatch.java:17)
...
Caused by:
oracle.retail.reim.data.DataAccessException: java.lang.NullPointerException
at
oracle.retail.reim.data.dao.impl.FinancialPostingDao$CallPrepareReceiptWriteOffs.<init>(Financ
ialPostingDao.java:1085)
at
oracle.retail.reim.data.dao.impl.FinancialPostingDao.prepareReceiptWriteOffs(FinancialPostingDao.jav
a:332)
...

.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms