This topic contains 7 replies, has 1 voice, and was last updated by Josh Allen 7 years, 1 month ago.
-
AuthorPosts
-
April 3, 2017 at 11:35 am #985
starlingMarkIn my latest foray into the SS2.0 world, I am trying to script the transformation of a Work Order into an Assembly Build. In this example I am building Product A (a lot numbered assembly item) from Product Y (a non-inventory item) and Product X (a lot numbered inventory item). I am working with the record in dynamic mode
While building and debugging I was getting an error message along the lines of “Please configure the inventory detail in line 2 of the component list.”
Once I finally got the data going into the right fields, I am now presented with a different error when trying to save the record “PLEASE_CONFIGURE_THE_INVENTORY_DETAIL_FOR_1 – Please configure the inventory detail for Product X”.
As a test, I tried reading back the Inventory Detail subrecord just before I save the record. I can confirm that the line count is 1 and that the lot number and quantity are as desired. I also tried pulling the “item” and “quantity” body fields from the subrecord. They come back as Product X and 100, as expected.
Any suggestions?
This is a cached copy. Click here to see the original post. -
April 3, 2017 at 7:11 pm #986
darrenhillconsultingEsh, Mark .. that’s a tough spot you’re in. Sounds like you’ve got everything in order.
I few quick questions. Are you doing this in a Suitelet? or what?
Do you have an equivalent SS1.0 script that works?
-
April 4, 2017 at 6:16 am #987
starlingMarkDarren to the rescue! This is indeed in a Suitelet. No equivalent in SS1 at this point – that is my task now. Off to re-write some code.
-
April 4, 2017 at 9:13 am #988
starlingMarkFor the record, when the script is re-written in SS1 it works.
-
April 4, 2017 at 9:51 am #989
darrenhillconsultingWell, on the bright-side, since its encapsulated in a Suitelet, you can keep this SS1.0 solution and call it from SS2.0. I’d go a step further an open a case citing both the working SS1.0 and the broken SS2.0.
-
April 4, 2017 at 10:01 am #990
ssilveri77I had a similar issue with a suitelet and po. Worked in 1.0 API. Got the error you are getting in 2.0. It is a bug. In our case the inventory detail block was not needed and not displayed on the form.
1.0 did not care. 2.0 it did. I had to enable the detail evening though we were not using it. It was not required for the items. We were using
open a case with support
-
April 30, 2017 at 2:12 pm #991
pr57001We have had a number of issues converting inventory detail subrecords from SS1->2.0, but we have resolved most of them….do you have some code, perhaps we can compare?
-
September 29, 2017 at 3:04 am #16404
I’m running into a similar issue when transforming a Purchase Order into an item receipt. I have gone through multiple times trying both dynamic and standard modes and still run into this error when trying to save the Item Receipt. The JSON data for the Item Receipt looks good, I see the inventory detail listed as expected. pr57001, you mentioned you have resolved most of the issues with 2.0 and the inventory detail subrecord; have you resolved this particular one? Any help would be appreciated! If I figure it out before I receive a response I will post it. I’ve been at this for far too long today and am nearing the point of re-writing the script in 1.0, but I’d hate to do that in a full 2.0 script base.
-
AuthorPosts
You must be logged in to reply to this topic.