![qb sdk creditcardchargeretlist.getat qb sdk creditcardchargeretlist.getat](https://www.dukhanbank.com/sites/default/files/DB_CREDIT_CARD_PRIVILEGES_202011282.jpg)
kind_of? ( String ) # Single FullName or ListID # File 'lib/qbfc/element.rb', line 121 def find ( sess, what, * args ) if what. These current only accept Name arguments, as a single value or an Array. " 1003 " :ref_number_range => Reference Filtersįilters which reference another object (belongs to filters). If a scalar value is given (or a single element Array), To is set and From is left empty. first is used to set the From value, last sets the To value. These accept any object which responds to first and last, such as a Range or Array. :ref_number_list => :txn_id_list => Range Filtersįilters which take a range of values. Here are some general rules: List filters Typically the condition is given as :filter_name => value where filter_name is the name of the filter less the word 'Filter' (see examples below). See the QuickBooks SDK documentation for applicable filters for each Query Request. Includes all elements, including LinkedTxns and LineItems.Ĭonditions are dependent on the particular Request. :include => ) -> Include linked :include => ) -> Include +only+ :include => :all) -> If elements are given that would be added to IncludeRetElementList, this limits the elements returned to only those included in the array.Īnother option is to give :all as the argument, which will always return as many elements as possible. The array may include either or both of elements that are additional to normal returns (such as Line Items, Linked Transactions) or elements that are normally included (to be added to the IncludeRetElementList). The :include option accepts an Array of elements to include in the return of the Query. Passing a Request object is the current recommended way of applying unsupported conditions (Filters) or other options to the Query Request. See below:Īdditional options are planned, but not really supported in this version. :conditions: A hash of conditions (generally 'Filters' in QuickBooks SDK. :include: Elements to include (see below for details) :limit: The maximum number of records to be returned. :owner_id: One or more OwnerIDs, used in accessing custom fields (aka private data extensions). find ( session, :first, request, options ) QBFC :: Vendor. find ( session, :first, request ) QBFC :: Vendor. find ( session, :first ) QBFC :: Vendor. find can also receive a optional Request object followed by an optional options Hash. :finds - finds all records fitting any given conditions.Īn unique identifier, such as a ListID, FullName, RefNumber or TxnID :first - finds the first record fitting any given conditions. QBFC::Vendor.find(session, :all) (:all)įind requires a session (representing a QBFC::Session) and a what argument. QBFC::Vendor.find(session, "Supply Shop") session.vendor("Supply Shop")
![qb sdk creditcardchargeretlist.getat qb sdk creditcardchargeretlist.getat](https://static.developer.intuit.com/images/objects_for_building_requests.gif)
![qb sdk creditcardchargeretlist.getat qb sdk creditcardchargeretlist.getat](https://static.developer.intuit.com/images/objects_for_processing_responses.gif)
The following pairs are equivalent: QBFC::Vendor.find(session, :first) session.vendor Find a QuickBooks record for the given session.