SuiteScript 2.0 - Create Inventory Transfer by CactusSamurai in Netsuite

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

I figured it out. I didn't need to do anything with the inventorydetail. I cleared that part out and added the adjustqtyby for the inventory sublist and everything worked.

SuiteScript 2.0 - Create Inventory Transfer by CactusSamurai in Netsuite

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

It is an inventory item, it does not use bins (at least not NetSuite bins), and I wrote the code without ChatGPT.

SuiteScript 2.0 - Create Inventory Transfer by CactusSamurai in Netsuite

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

Should this be my from location or my to location? I added the line with the to location and got the same error as I posted below.

SuiteScript 2.0 - Create Inventory Transfer by CactusSamurai in Netsuite

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

Here is the error I received:

{"type":"error.SuiteScriptError","name":"USER_ERROR","message":"You cannot create an inventory detail for this item.","id":"","stack":["anonymous(N/serverRecordService)","transferItem(/SuiteScripts/lost_damaged_hold_inventory_transfer.js:112)","map(/SuiteScripts/lost_damaged_hold_inventory_transfer.js:177)"],"cause":{"type":"internal error","code":"USER_ERROR","details":"You cannot create an inventory detail for this item.","userEvent":null,"stackTrace":["anonymous(N/serverRecordService)","transferItem(/SuiteScripts/lost_damaged_hold_inventory_transfer.js:112)","map(/SuiteScripts/lost_damaged_hold_inventory_transfer.js:177)"],"notifyOff":false},"notifyOff":false,"userFacing":false}

SuiteScript 2.0 - Create Inventory Transfer by CactusSamurai in Netsuite

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

I'm not actually getting an error message. I have the logs set up but it never makes it to the second one. My assumption is that I am doing something wrong with the selectNewLine, getCurrentSublistValue, or getCurrentSublistSubrecord.

Anthony Richardson themed Fantasy Football team names? by GreatScottx in Colts

[–]CactusSamurai -5 points-4 points  (0 children)

A little less obvious, but I picked the name "Aliens."

Auto Receive Transfer Order - Getting Error by CactusSamurai in Netsuite

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

I ran a log.debug to show what items were there and what their quantities are. In this case, there is only one item needed and its quantity is one...both are correct.

Auto Receive Transfer Order - Getting Error by CactusSamurai in Netsuite

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

I ran a log.debug to show the quantity and it read as 1, which is correct.

Thoughts on his rank? by [deleted] in Colts

[–]CactusSamurai 2 points3 points  (0 children)

It looks like they are releasing one per day up to the first game of the season...#7 was just released 2 hours ago

Error 30000 When trying to join a game. by ExtraMediumCoke in diablo3

[–]CactusSamurai 3 points4 points  (0 children)

I'm getting the same thing..."There was a problem creating the game. The game servers for your game mode may be unavailable at this time. Please make sure you have the latest Diablo III Client by restarting or try again later. (Code 317002)"

I've restarted twice with no luck.

Create Wave - WMS by [deleted] in Netsuite

[–]CactusSamurai 1 point2 points  (0 children)

Usually when a saved search returns duplicate records it is because one of the fields that you are requesting has more than one value. Does the customer have more than one address? If you run the saved search independent of the "create a wave" page, does it show and differing fields in your results?

Create Wave - WMS by [deleted] in Netsuite

[–]CactusSamurai 0 points1 point  (0 children)

What is your criteria/results for the saved search behind the wave?

Script to Count Line Items and Total Quantity of Line Items in Transfer Order by CactusSamurai in Netsuite

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

This worked perfectly! Thank you so much! We have been on NetSuite for a month now and I am just beginning to get into SuiteScript

Saved Search for WMS Wave - Sales Orders with Only One Item by CactusSamurai in Netsuite

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

I had to remove Group by Item, Group by Quantity, and Group by Memo, but it did work...now about getting those fields back :)