Hello Dears,
Good evening, Hope you are doing great!
The batch run has an issue, the batch run resulting the below error even the code has changecompany.
Error: """"Batch task failed: Cannot delete a record in Vendor invoices (VendInvoiceInfoTable). Delete operations are not allowed across companies. Please use changecompany keyword to change the current company before deleting the record.""""
Hi,
Did you use a standard batch or is this related to a customization? If it is part of a customization, please share the code (Use rich formatting > Insert > Code) so we know what exactly you have done.