Is there any way to get around max 10 mb files for...
# suitescript
j
Is there any way to get around max 10 mb files for files generated by Netsuite?
d
what kind of file/content does it need to be?
j
SIE is the format. It is a Swedish format for account balances and all transactions that affects the general ledger
w
Split it into multiple files. Then you can join them in code before serving them to something.
That's how a specific SIE Export bundle is doing it.
If I recall correctly, a suitelet loaded the files, joined them and then gave the result as a response.
j
Hi @Watz! If you create a SIE type 4 file, you get in and outgoing balances from the date. If you then split it up, you can not only join the transactions but also fibble around with the balances. Have you done this before?
w
Tjej didn’t fibble around with the balences. They just cut the file to be able to store it and then merge it at download I guess you could also use appendLine as it is a text file and that should allow you to create larger than 10mb files
j
So you mean I take out one for a whole year, that ends up just showing the balances (it cuts very very early) and then I basically fill it with transactions?
w
Have a look at bundle 157391, I think everything is open to read.
Looking at it myself to freshen up my memory... it looks like they added the transactions after everything else.
j
Thank you Watz, that bundle looks very interesting. Doesn't say anything if it's for free or not. Do you know?
w
It should be free, but it is not maintained anymore.
Don't know if it has any other language support other than Swedish though. And everything is in SS1.0
j
Okey! That's no problem for us. We are using the SIE export that you get with the Swedish localization bundle today.. didn't know there were other public options
w
It was built by a company that doesn't exist anymore (bought and closed). Here's some documentation: https://github.com/nordic-netsuite/SuiteBundles
🙌 1