asset list file

Posted By: aelagha

asset list file - 04/09/22 10:37

Hi there,

Zorro's help states that if assetList() is not called in the script, then the default asset list given in Zorro.ini is used. However, Zorro.ini does not have a field/line to specify an assetList. I tried adding a line with AssetList = "myassetlist.csv" and restarted Zorro but that did not work? I also noticed z.ini in the Strategy folder has AssetList = ... but I believe that applies only to the Z systems.

I know I can set assetList() in the script, and it works, but want to know if it is possible to set it outside a script, i.e. Zorro.ini.

Thanks,
-Alaa
Posted By: Grant

Re: asset list file - 04/09/22 10:53

zorro.ini has nothing to do with the asset list. You should only include your custom list in your script, like 'assetList("History\\myassetlist.csv");'
Posted By: Zheka

Re: asset list file - 04/09/22 16:33

You can set default asset lists in the Accounts file.
Posted By: aelagha

Re: asset list file - 04/09/22 19:09

Thanks. That is what I thought too, but see assetList() help.
https://zorro-project.com/manual/toc.php
© 2024 lite-C Forums