c2g.IntercompanyTransferServiceglobal with sharing class IntercompanyTransferService the service class relating to intercompany transfers. Methods
processglobal static void process(List<ID> transferIds) Receives a list of intercompany transfer IDs to be processed. Use the ProcessIntercompanyTransfers (Process Intercompany Transfers) custom permission to grant permission on this method. Input Parameters
Return ValueThis service does not return a value. rejectglobal static void reject(List<ID> transferIds, String rejectReason) Receives a list of intercompany transfer IDs to be rejected by the destination company and a reason for rejection. The reason will be used on all rejected intercompany transfer records. Use the AcceptAndRejectIntercompanyTransfers (Accept And Reject Intercompany Transfers) custom permission to grant permission on this method. Input Parameters
Return ValueThis service does not return a value. acceptglobal static void accept(List<ID> transferIds) Receives a list of intercompany transfer IDs to be accepted into the destination company. Use the AcceptAndRejectIntercompanyTransfers (Accept And Reject Intercompany Transfers) custom permission to grant permission on this method. Input Parameters
Return ValueThis service does not return a value. |