fix: add log code for info method - #17
jzavala-gonzalez wants to merge 1 commit into
Conversation
|
See the following document Here is an example that takes an takes a filing gets some data and creates a new XML instance : python3.9 ~/arelle/Arelle-master/arellecmdline.py --plugins 'xule|xince|transforms/SEC|validate/EFM|inlineXbrlDocumentSet' -f /Users/campbellpryde/Documents/GitHub/ACFR-Taxonomy/SingleAudit/InstanceCreation/xule/output/myInstance.xml --xule-time .005 --xule-debug --noCertificateCheck --logFile /output/test.xml --xule-rule-set /GitHub/ACFR-Taxonomy/SingleAudit/InstanceCreation/xule/compile/sa-ruleset.zip --xince-location /InstanceCreation/xule/output --xince-show-xule-log --xince-file-type=xml |
|
You can also use XINCE to read a Excel spreadsheet and spit out single or multiple instance documents. Xule has a function that allows you to specify excel data and output as XBRL instances against a defined taxonomy. Here is an example of code to create an instance from an excel template that has no XBRL data in it. constant $InstanceName = 'myInstance' output createInstance constant $GET_DATA = excel-data($FILING_EXCEL, 'FederalAwards',true) constant $ElementMapping = dict( constant $units = dict( /** Get the Federal Awards sheet **/ fact-instance $InstanceName |
|
Thank you!! This is super helpful. I'm attempting to run these examples soon to check if I can get it to work. Is the Github/ACFR-Taxonomy repository you reference in the first example available publicly? Such that I can download the sa-ruleset.zip and the sf-sac.xlsx Excel template. Also, I'm glad both examples use ACFR because that's the use case I am looking into. Thank you! |
901214e to
a563f8b
Compare
Added a missing parameter that was crashing the run. Does anyone know what parameters or example do we pass to arelleCmdLine to run Xince?