Accounting Apex API Developer Reference

c2g.DiscardPxService

global with sharing class DiscardPxService

This service class provides document discard functionality. Only journals are currently supported.

Methods

discardSync

global static void discardSync(Set<ID> sourceIDs, String discardReason)

This service allows you to discard documents synchronously.

Input Parameters

Name Type Description
sourceIDs Set<ID> Identifies the documents to discard.
discardReason String The reason for the discarding the document.
© Copyright 2009–2021 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.