mirror of
https://github.com/bcomsugi/Quickbooks-API.git
synced 2026-01-08 09:12:38 +07:00
update
This commit is contained in:
parent
55888707b8
commit
27edf3393c
1368
QBClasses copy.py
Normal file
1368
QBClasses copy.py
Normal file
File diff suppressed because it is too large
Load Diff
17
QBClasses.py
17
QBClasses.py
@ -1,8 +1,9 @@
|
||||
from server import baseQBQuery, timing
|
||||
from .server import baseQBQuery
|
||||
# from server import baseQBQuery, timing
|
||||
import pprint
|
||||
# import timeit
|
||||
# import xml.dom.minidom
|
||||
from utils import timing, cleanIncludeRetElements, makeAList
|
||||
from .utils import timing, cleanIncludeRetElements, makeAList
|
||||
import json
|
||||
from typing import Union
|
||||
|
||||
@ -1155,6 +1156,7 @@ class InvoiceQuery(baseQBQuery):
|
||||
if self.__class__.__name__==self.className:
|
||||
self.runCheck() ### running the qbxml connection to get data ###
|
||||
|
||||
|
||||
@timing
|
||||
def InventoryStockStatusByVendor(ReportEntityFilter_FullName:str='TACO') -> dict:
|
||||
# g= GeneralSummaryReportQuery(debug=False, GeneralSummaryReportType="ProfitAndLossStandard", ReportDateMacro="ThisYear")
|
||||
@ -1251,7 +1253,16 @@ if __name__ == "__main__":
|
||||
|
||||
print(g.count())
|
||||
|
||||
|
||||
|
||||
@timing
|
||||
def main():
|
||||
g= GeneralSummaryReportQuery(debug=False, GeneralSummaryReportType="ProfitAndLossStandard", ReportDateMacro="ThisYear")
|
||||
print(g, type(g))
|
||||
print(type(g.all()))
|
||||
print(g.all())
|
||||
print(g.response_string)
|
||||
pprint.pprint(g.filter("reportdata").all())
|
||||
print(g.count(), g.all())
|
||||
|
||||
@timing
|
||||
def iteminventoryquery():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user