mirror of
https://github.com/bcomsugi/Quickbooks-API.git
synced 2026-01-09 17:52: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 pprint
|
||||||
# import timeit
|
# import timeit
|
||||||
# import xml.dom.minidom
|
# import xml.dom.minidom
|
||||||
from utils import timing, cleanIncludeRetElements, makeAList
|
from .utils import timing, cleanIncludeRetElements, makeAList
|
||||||
import json
|
import json
|
||||||
from typing import Union
|
from typing import Union
|
||||||
|
|
||||||
@ -1155,6 +1156,7 @@ class InvoiceQuery(baseQBQuery):
|
|||||||
if self.__class__.__name__==self.className:
|
if self.__class__.__name__==self.className:
|
||||||
self.runCheck() ### running the qbxml connection to get data ###
|
self.runCheck() ### running the qbxml connection to get data ###
|
||||||
|
|
||||||
|
|
||||||
@timing
|
@timing
|
||||||
def InventoryStockStatusByVendor(ReportEntityFilter_FullName:str='TACO') -> dict:
|
def InventoryStockStatusByVendor(ReportEntityFilter_FullName:str='TACO') -> dict:
|
||||||
# g= GeneralSummaryReportQuery(debug=False, GeneralSummaryReportType="ProfitAndLossStandard", ReportDateMacro="ThisYear")
|
# g= GeneralSummaryReportQuery(debug=False, GeneralSummaryReportType="ProfitAndLossStandard", ReportDateMacro="ThisYear")
|
||||||
@ -1251,7 +1253,16 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
print(g.count())
|
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
|
@timing
|
||||||
def iteminventoryquery():
|
def iteminventoryquery():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user