on 2019 May 06 4:15 PM
Dear All,
I am using SAP B1 9.3 and I was imported JV to system with wrong information and now I really want to delete it back. So is that anyway to remove JV by SDK?
Noted: Here is my code
SAPbobsCOM.JournalVouchers oJV = (SAPbobsCOM.JournalVouchers)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalVouchers);
SAPbobsCOM.JournalEntries je = oJV.JournalEntries;
bool result = je.GetByKey(1);
I was error (Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt) when it runs to je.GetByKey(1)
Please help me...
Thanks
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Tony Soeun,
Unfortunately, Journal Voucher business object does not has any GetByKey() method. SAP Note 2277460 mentions the same issue.
Therefore, you need to delete those Vouchers from the SAP Business One Client itself.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
try to delete from SBO client, and if you can do the SDK should have a method to do too.
Kind regards
Agustín
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
122 | |
10 | |
8 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.