scheduling in batch one run base batch class , I have an error and got this message:
The server-side impersonated (RunAs) session tried to invoke a method that is available for client-side processing only.
(S)\Classes\WMSJournalCheckPost\run - line 10
(S)\Classes\NTT_WMSJournalTable\postJournal - line 12
(S)\Classes\NTT_LSRetailMovements\receivePackingSlip - line 73
(S)\Classes\NTT_LSRetailMovements\checkLSUpdates - line 57
(S)\Classes\NTT_LSRetailMovements\run - line 4
(S)\Classes\BatchRun\runJobStatic - line 63 "
The class WMSJournalCheckPost is standard and the JournalCheckPost (from which is extended) has method runsimpersonated() true
The calling class NTT_LSRetailMovements extends runbasebatch and has method runsimpersonated() true
The class NTT_WMSJournalTable doesn’t extend any other class
and the method postjournal() is the follwoing:
WmsJournalCheckPostReception = WmsJournalCheckPostReception::newTypeJournalTable(JournalCheckPostType::Post, journalTable);
So the WmsJournalCheckPostReception.run() gives me the above mentioned error
What is the issue? somebody can help me?