Accounting API Developer's Reference

c2g.IntercompanyTransferService

global with sharing class IntercompanyTransferService

The service class relating to Intercompany Transfers.

Methods

process

global static void process(List<ID> transferIds)

Receives a list of intercompany transfer IDs to be processed.

Input Parameters

Name Type Description
transferIds List<ID> A list of intercompany transfer IDs to be processed.

Return Value

This service does not return a value.

reject

global 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.

Input Parameters

Name Type Description
transferIds List<ID> A list of intercompany transfer IDs to be rejected by the destination company.
rejectReason String The reason given for rejecting the transfer. This reason is used on all rejected intercompany transfer records.

Return Value

This service does not return a value.

accept

global static void accept(List<ID> transferIds)

Receives a list of intercompany transfer IDs to be accepted into the destination company.

Input Parameters

Name Type Description
transferIds List<ID> A list of intercompany transfer record IDs to be accepted into the destination company.

Return Value

This service does not return a value.