OIM – FinancialForce 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)

Creates sales invoices in Accounting from the specified OIM 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 the specified OIM invoices and the IDs of the sales invoices created from them.

exportVoid

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

Creates sales credit notes in Accounting from the specified voided OIM invoices.

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 the specified OIM invoices and the IDs of the sales credit notes created from them.

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.