applying receipt to credit memo
When I am applying receipt to credit memo following message comes
Status U
Message.Invalid customer transaction identifier.
Message.APPLY : ORA-01403: no data found
Message.ORA-01403: no data found in Package AR_RECEIPT_API_PUB Procedure Apply
I am using this API, no idea why it is coming
ar_receipt_api_pub.Apply(p_api_version => 1.0,
p_init_msg_list => FND_API.G_TRUE,
p_commit => FND_API.G_FALSE,
p_validation_level => FND_API.G_VALID_LEVEL_FULL,
p_cash_receipt_id => cash_receipt_id,
p_customer_trx_id => match_id,
p_amount_applied => (match_amount) * -1,
x_return_status => return_status,