Accounting Apex API Developer Reference


global with sharing class DiscardPxService

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



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, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.