Sha256: 05bac9789b2a70d2ac98f38226a993d49852634c0a35f0f858f95baecf7ac46c
Contents?: true
Size: 1.91 KB
Versions: 14
Compression:
Stored size: 1.91 KB
Contents
module GoTransverseTractApi module GeneralLedger class GLTransactionBatch class << self # # @param {Long} eid # @param {String} query_scope (default: 'SHALLOW') # def find_by_eid eid, query_scope=nil GoTransverseTractApi.get_response_for(self, {eid: eid, queryScope: query_scope}) end # # @param {Long} batch_num # @param {String} query_scope (default: 'SHALLOW') # def find_by_batch_num batch_num, query_scope=nil GoTransverseTractApi.get_response_for(self, {batch_num: batch_num, queryScope: query_scope}) end # # @param {DateTime} posted_on # @param {String} query_scope (default: 'SHALLOW') # def find_by_posted_on posted_on, query_scope=nil GoTransverseTractApi.get_response_for(self, {posted_on: posted_on, queryScope: query_scope}) end # # @param {Boolean} exported # @param {String} query_scope (default: 'SHALLOW') # def find_by_exported exported, query_scope=nil GoTransverseTractApi.get_response_for(self, {exported: exported, queryScope: query_scope}) end # # @param {String} status # @param {String} query_scope (default: 'SHALLOW') # def find_by_status status, query_scope=nil GoTransverseTractApi.get_response_for(self, {status: status, queryScope: query_scope}) end # # @param {Long} eid # @param {Hash} gl_transaction_batch # def update eid, gl_transaction_batch data = { glTransactionBatch: { eid: eid, exported: gl_transaction_batch[:exported] } } xml_data = GoTransverseTractApi.generateXML(data, 'glTransactionBatch') GoTransverseTractApi.put_request_for(self, {eid: eid}, xml_data) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems