SCM Accounting Connector Apex API Developer Reference

scmcffa.InvoicesService

global with sharing class InvoicesService

This service is used to support actions that are performed on an invoice.

Methods

export

global static Map<Id, Id> export(set<Id> invoiceIds)

Pushes invoices to Accounting as sales invoices.

Input Parameters

Name Type Description
invoiceIds set<Id> The IDs of the invoices to be exported.

Return Value

A map with the IDs of invoices in SCM and the IDs of the sales invoices created in Accounting.

exportVoid

global static Map<Id, Id> exportVoid(set<Id> invoiceIds)

Pushes voided invoices to Accounting as sales credit notes.

Input Parameters

Name Type Description
invoiceIds set<Id> The IDs of the voided invoices to be exported.

Return Value

A map with the IDs of invoices in SCM and the IDs of the sales credit notes created in Accounting.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.