api-to-roefact by RENware Software Systems
CHANGELOG 0.5.3rc0
0.5.3rc0 invoice supplier from Excel (#TODO: ... in progress...)
240327piu01build & publish wheel on PyPi- 1. update xl2roefact README add link "API Reference" to DLD doc (to be accessible from PyPi)
- 2. update xl2roefact
setup.pyand include documentation directory (doc/) in WHEEL & DIST packages - 3.
README_xl2roefact_library.mdreview & clean of useless content ("rdinv module logic", "Working directories") and refer it in main xl2roefact README before "Referinta API" bullet link - 4. review xl2roefact README, installation section
- 5. build doc & all deliverables & temp make a portal buil
- 7. clean
xl2roefact/setup.pydrop imclude dirs that are not underxl2roefact/xl2roefact/as not being considered. Also cleanxl2roefact/data/...line and keep only dir as beong in whole included in python wheel - 8. update
downloads.mdref all0.5.3rc0deliverables, sections title and mark end of life support for 0.2 versions - publish on PyPi, build site & publish
240325piu-use-new-functionimport new functionget_partner_data()and use it inrdinv.pymodule- 1. include function
get_partner_data()inrdinv.pyand test for simple compilation errors => result: PASS - 2. rebuild DLD documentation
- 3. use in code to replace actual existing CUSTOMER data retrieve. Test for no change vs previous functionality => result: PASS
- 4. make a new call for SUPPLIER data. Test for raw getting data in "...excel...original...data" key => PASS
- 5. chk new get data and make needed adjustments
- 6. update
rdinv.pyto create all supplier final constructs (like those for customer after getting data). Test result: PASS - 7. update XML-JSON map using code refactored @
rdinv.py lines 287-309 - 8. clean code of FIXME and other work comments and built DLD doc
- 1. include function
240323piu-suppl-configsrollout supplier configuration parameters from.../xl2roefact/___wk_cust_area_function.py:- 1. update
config_settings.pywith their definition. Tested PASS - 2. update
data/app_settings.ymlwith their definition. Tested PASS. Cleaned file.../xl2roefact/___wk_cust_area_function.pyto make easier its transport tordinv.py - update
rdinv.pywith their import - test
xl2roefact: automation ontest-xl2roefactbranch - build DLD (
pdm run build_doc)
- 1. update
upd-shebangupdate all xl2roefact modules, drop shebang statement240320piu-invsupplcode forINV.SUPP...xl2roefactinvoice supplier (<cac:AccountingSupplierParty>)- 1. extracted code to generalize in
.../xl2roefact/___wk_cust_area_function.pyto "engineer it" - 2. wrap code in new function
get_partner_data(), set its first parampartner_typefor desired function operation and protect function against unknown values - 3. 1st raw refactoring: constants dedicated to CUSTOMER adjusted as UNIFied...PARTNER... and set for customer or supplier depending on partner_type
- 4. 2nd raw refactoring:
customer_areastring. This is a keyword, so it is subject to unification based on partner_type resultingpartner_areavariable used as keyword instead of hard code "customer_area" - 5. mark & comment in
rdinv.pyplace where call this function, start / end of code that should be dropped by using this function (rdinv.py start line 229, end line 367, marker #FIXME.UNIF.PARTNER.DATA) - 6. updated
invoice_header_areawithparam_invoice_header_areaand set las as function parameter - 7. updated
invoice_customer_infowithinvoice_partner_info - 8. replace word "customer" with "partner" keeping original case
- 9. set new parameter
wksas replacement ofwsvariable (supposed by original code as already existing). Type of this parameter ispylightxl.Worksheet.
- 1. extracted code to generalize in
Last update:
March 30, 2024