Command to get product addon ledger entries and their filter cycles and currencies.
<mbapi> <command><!-- string --></command> <showXMLHeader><!-- boolean --></showXMLHeader> <params> <productAddonLedgerID><!-- int --></productAddonLedgerID> <productAddonID><!-- int --></productAddonID> <generalLedgerType><!-- int --></generalLedgerType> <journalType><!-- string --></journalType> <ledgerAccountID><!-- int --></ledgerAccountID> <productAddonLedgerDebit><!-- double --></productAddonLedgerDebit> <productAddonLedgerDebitGreaterThan><!-- double --></productAddonLedgerDebitGreaterThan> <productAddonLedgerDebitLessThan><!-- double --></productAddonLedgerDebitLessThan> <productAddonLedgerDebitGreatest><!-- double --></productAddonLedgerDebitGreatest> <productAddonLedgerDebitLeast><!-- double --></productAddonLedgerDebitLeast> <productAddonLedgerCredit><!-- double --></productAddonLedgerCredit> <productAddonLedgerCreditGreaterThan><!-- double --></productAddonLedgerCreditGreaterThan> <productAddonLedgerCreditLessThan><!-- double --></productAddonLedgerCreditLessThan> <productAddonLedgerCreditGreatest><!-- double --></productAddonLedgerCreditGreatest> <productAddonLedgerCreditLeast><!-- double --></productAddonLedgerCreditLeast> <productAddonLedgerComment><!-- string --></productAddonLedgerComment> <currencyID><!-- string --></currencyID> <getproductAddonLedgerCurrenyIDs><!-- int --></getproductAddonLedgerCurrenyIDs> <getproductAddonLedgerCycleIDs><!-- int --></getproductAddonLedgerCycleIDs> </params> </mbapi>
<mbapi> <header> <remoteSessionID><!-- hex --></remoteSessionID> <errorCount><!-- int --></errorCount> <errors> <error> <title><!-- string --></title> <message><!-- string --></message> </error> </errors> <numResults><!-- int --></numResults> <numAffectedRows><!-- int --></numAffectedRows> </header> <results> <productAddonLedgerEntries> <productAddonLedgerEntry> <productAddonLedgerID><!-- int --></productAddonLedgerID> <productAddonID><!-- int --></productAddonID> <generalLedgerType><!-- int --></generalLedgerType> <journalType><!-- string --></journalType> <ledgerAccountID><!-- int --></ledgerAccountID> <productAddonLedgerDebit><!-- double --></productAddonLedgerDebit> <productAddonLedgerCredit><!-- double --></productAddonLedgerCredit> <productAddonLedgerComment><!-- string --></productAddonLedgerComment> <currencyID><!-- string --></currencyID> <currencies> <currency> <currencyID><!-- string --></currencyID> </currency> </currencies> <cycles> <cycle> <cycleID><!-- string --></cycleID> </cycle> </cycles> </productAddonLedgerEntry> </productAddonLedgerEntries> </results> </mbapi>
mbapi
MBAPI request document root.
command
Required. The string GetProductAddonLedgerEntries.
showXMLHeader
Whether to show an XML header in the results.
params
GetProductAddonLedgerEntries parameters.
productAddonLedgerID
Product Addon Ledger ID, if you want to get a specific one.
productAddonID
Product Addon ID to get all the ledger entries for.
generalLedgerType
General ledger type to search by.
journalType
Journal type of the ledger entry to search by.
ledgerAccountID
Ledger Account ID of the ledger account the entry is going to use.
productAddonLedgerDebit
Product Addon Ledger Debit amount.
productAddonLedgerDebitGreaterThan
Product Addon Ledger Debit amount to be greater than.
productAddonLedgerDebitLessThan
Product Addon Ledger Debit amount to be less than.
productAddonLedgerDebitGreatest
Product Addon Ledger Debit amount to be less than or equal to.
productAddonLedgerDebitLeast
Product Addon Ledger Debit amount to be greater than or equal to.
productAddonLedgerCredit
Product Addon Ledger Credit amount.
productAddonLedgerCreditGreaterThan
Product Addon Ledger Credit amount to be greater than.
productAddonLedgerCreditLessThan
Product Addon Ledger Credit amount to be less than.
productAddonLedgerCreditGreatest
Product Addon Ledger Credit amount to be less than or equal to.
productAddonLedgerCreditLeast
Product Addon Ledger Credit amount to be greater than or equal to.
productAddonLedgerComment
Ledger Entry Comment
currencyID
Currency ID the entry will be made in.
getproductAddonLedgerCurrenyIDs
Whether to return the currency ids each entry is valid for.
getproductAddonLedgerCycleIDs
Whether to return the cycle ids each entry is valid for.
mbapi
MBAPI response document root.
header
Contains result meta data: data about the result itself.
remoteSessionID
A session ID that may be used for authentication instead of a remote access hash.
errorCount
The number of errors that occured.
errors
Contains any errors that occured.
error
Contains information relating to a single error. Occurs header errorCount times.
title
The title of the error.
message
The error message.
numResults
The number of results that have been returned. For Get commands.
numAffectedRows
The number of rows that have been affected. For Set commands.
results
productAddonLedgerEntries
productAddonLedgerEntry
productAddonLedgerID
Product Ledger ID, if you want to get a specific one.
productAddonID
Product ID to get all the ledger entries for.
generalLedgerType
General ledger type to search by.
journalType
Journal type of the ledger entry to search by.
ledgerAccountID
Ledger Account ID of the ledger account the entry is going to use.
productAddonLedgerDebit
Product Ledger Debit amount.
productAddonLedgerCredit
Product Ledger Credit amount.
productAddonLedgerComment
Ledger Entry Comment
currencyID
Currency ID the entry will be made in.
currencies
Contains the filter currency ids
currency
Contains
currencyID
Currency ID
cycles
Contains the filter cycle ids
cycle
Contains
cycleID
Cycle ID