BOI AR Cash Receipt 'SetKey' Problem in v2018

I've had  .net program running with v2015 for a while that creates deposits/cash receipts.  Upon migrating to 2018, it looks like there was a small change to the key fields for AR_CashReceiptsHeader (DepositType now included in Key), so I made the necessary change to accommodate this.  While this change works, it seems like if I am using my created AR_CashReceipts_bus object to write multiple cash receipts, on any cash receipt AFTER the first one is written, when I call 'SetKey' (after setting the necessary key field values), the method fails with the last error message 'Deposit Type cannot be set to 'CASH' when an entry number has been entered'.  My cash receipt is has a deposit type of 'C', so I'm not setting a CreditCardEntryNo (presumably what is is referring to?).  

The only way I was able to get past this is to destroy/recreate the cash receipts object after each write, regardless of how many cash receipts I need to write.  Anyone come across this?  Just wanted to see if I'm missing something.