CreditMemoLineApply Class
Manage credit memo line applications by using the CreditMemoLineApply class.
These methods are for CreditMemoLineApply. All methods are static.
-
applyCreditMemoLines(CreditMemoLineApplyInput, creditMemoLineId)
Adjust or correct already issued invoices by applying an existing credit memo line to an invoice line.
-
unapplyCreditMemoLines(CreditMemoLineUnapplyInput, creditMemoLineInvoiceLineId)
Unapply a credit memo line from an invoice line and return the invoice line and the credit memo line to their pre-application states.
Adjust or correct already issued invoices by applying an existing credit memo line to an invoice line.
62.0
No
public static ConnectApi.CreditMemoLineAppliedResponse applyCreditMemoLines(ConnectApi.CreditMemoLineApplyInput CreditMemoLineApplyInput, String creditMemoLineId)
CreditMemoLineApplyInput
Type: ConnectApi.CreditMemoLineApplyInput
Input representation of the details of the request to apply a credit memo line to an invoice line.
creditMemoLineId
Type: String
ID of the credit memo line record.
Type: ConnectApi.CreditMemoLineAppliedResponse
You need the Credit Memo Operations User permission set to use this method.
Unapply a credit memo line from an invoice line and return the invoice line and the credit memo line to their pre-application states.
62.0
No
public static ConnectApi.CreditMemoLineUnappliedResponse unapplyCreditMemoLines(ConnectApi.CreditMemoLineUnapplyInput CreditMemoLineUnapplyInput, String creditMemoLineInvoiceLineId)
CreditMemoLineUnapplyInput
Type: ConnectApi.CreditMemoLineUnapplyInput
Input representation of the details of the request to unapply a credit memo line from an invoice line.
creditMemoLineInvoiceLineId
Type: String
ID of the credit memo line invoice line record.
Type: ConnectApi.CreditMemoLineUnappliedResponse
You need the Credit Memo Operations User permission set to use this method.