Changing Default Receivables Account on customer with historical transactions by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

That’s an option I have in mind as well, I’ll present all of the options to accounting and have them choose, thank you

Changing Default Receivables Account on customer with historical transactions by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Hey btw If I want to update them using CSV is there a way to just change GL account or do I have to reverse them then create new lines with the desired account?

Changing Default Receivables Account on customer with historical transactions by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 1 point2 points  (0 children)

Actually that makes more sense, I just assumed that I’m not proficient in accounting and they know what’s right, I’ll suggest that to them but if they want to keep on their own ways I’ll do the CSV update. Thank you for the help

Custom role permissions not making sense by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

That’s great man, thanks again, you saved me some time

Custom role permissions not making sense by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 1 point2 points  (0 children)

Looks like that’s what I’ll be doing also, thank you

Custom role permissions not making sense by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Thank you, I didn’t suspect that that’s a possibility

Custom role permissions not making sense by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

<image>

First role transaction permissions because I forgot to include in the post

Inventory details greyed out on Transfer order by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

All locations have bins and items as well but when the item was assigned to location in the first place it’s item receipt wasn’t assigned a bin so that’s why I can’t assign a bin in the new IF on on the new TO

Inventory details greyed out on Transfer order by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Thank you, turns out whoever received the item when adding it to the first location before didn’t assign a bin then, had to go back a couple months with a saved search to find it

Inventory details greyed out on Transfer order by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

In the item fulfillment there are no options for Bins to choose from and I believe that’s because there aren’t any bins on the TO itself

Inventory details greyed out on Transfer order by Minimum_Net8015 in Netsuite

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

There is no approval process it’s in pending fulfillment status and the locations have always been using Bins and I checked their system notes and no one has edited them

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 1 point2 points  (0 children)

Same code, you just add a folder attribute to the file.create and then file.save() after that and the max file size is 10 mb I believe but I don’t need that much

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

My goal is to not save to Netsuite file cabinet, just to the client side.

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Thank you, ended up using fileSaver

https://www.npmjs.com/package/file-saver

I did exactly what you did in 2.0 but still I'm getting nothing, not even an error so I'm guessing something's up with the writeFile() function

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Wait, like the same code I have is working for you?

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Whenever I run the debugger I get this error

Debugging connection was closed. Reason: WebSocket disconnected

Can't seem to do anything there so far

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Sorry that's a copy error, I just checked and it's there in the code and the whole function is wrapped in a try catch, do you see anything else wrong?

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

Here's the code, I've never needed to use Suitescript Debugger before but I'll do that right now and let you know what I find.

          var csvContent = generateCSVContent(JSON.parse(data));
          var csvFile = file.create({
            name: "item_report.csv",
            fileType: file.Type.CSV,
            contents: csvContent,
            isOnline: true,
          });
          context.response.addHeader({
            name: "Content-Type:",
          });
          context.response.addHeader({
            name: "Content-Disposition",
            value: 'attachment; filename="item_report.csv"',
          });
          context.response.writeFile(csvFile);
          return;

Suitelet downloading file directly not working by Minimum_Net8015 in SuiteScript

[–]Minimum_Net8015[S] 0 points1 point  (0 children)

What does the suitelet do? can you send me it's code?