This topic contains 10 replies, has 0 voices, and was last updated by ssilveri77 8 years ago.
-
AuthorPosts
-
October 28, 2016 at 10:15 am #1613
ssilveri77Has anyone created a fulfillment with serial numbers? I know have have to use record.transform and can find all the details, but wondered if anyone has done it and can save me some research
This is a cached copy. Click here to see the original post. -
November 1, 2016 at 11:01 am #1614
ssilveri77I think I have the basics down but cannot seem to find the correct field.
I get “:”Please enter value(s) for: Serial/Lot
Following code segment
sr = itf.getCurrentSublistSubrecord({ sublistId : ‘item’, fieldId : ‘inventorydetail’ });
sr.selectNewLine({ sublistId : ‘inventoryassignment’ });
sr.setCurrentSublistValue({ sublistId : ‘inventoryassignment’, fieldId : ”, value : ‘myinventoryNumber’ });
Anyone have any clues?
-
November 1, 2016 at 12:44 pm #1615
chanarbonHi ssilveri77 ,
What field id/s have you already tried for the { sublistId : ‘inventoryassignment’, fieldId : ”, value : ‘myinventoryNumber’ }? Have you tried using the fieldId issueinventorynumber?
-
November 1, 2016 at 12:45 pm #1616
ssilveri77Next step. The item was a drop ship and had create po.. I put the serial number in receiptinventoryassignment . I don;t get the error, but have to figure out the next step
-
November 1, 2016 at 12:46 pm #1617
ssilveri77Originally posted by chanarbon
View Post
Hi ssilveri77 ,
What field id/s have you already tried for the { sublistId : ‘inventoryassignment’, fieldId : ”, value : ‘myinventoryNumber’ }? Have you tried using the fieldId issueinventorynumber?
yes. I did
-
November 1, 2016 at 12:50 pm #1618
chanarbonOriginally posted by ssilveri77
View Post
Next step. The item was a drop ship and had create po.. I put the serial number in receiptinventoryassignment . I don;t get the error, but have to figure out the next step
It’s actually my first time to see the receiptinventoryassignment . Normally the issueinventorynumber is used for this scenario but good thing the concern is solved
-
November 1, 2016 at 1:33 pm #1619
ssilveri77Not solved yet. I still did not get the serial numbers…. Trying a simpler order first.
-
November 2, 2016 at 9:07 am #1620
ssilveri77I think I have it all set except saving the sub record.
I do this from the record to create a new subrecord
sr = itf.getCurrentSublistSubrecord({ sublistId : ‘item’,
fieldId : ‘inventorydetail’ });
After setting the values I commit
sr.commitLine({ sublistId : ‘inventoryassignment’ });
But how do I make sure the sr subrecord is saved back to the main record (ifs)
david.smith replied on 11/02/2016, 11:31 AM: save the main record
-
November 2, 2016 at 8:16 pm #1621
chanarbonAgreeing with david.smith. Once you commit the subrecord and you haven’t performed the itf.save() then the subrecord will not be saved. So after performing the record.transform() and the committing the line in the subrecord and committing the IF line, make sure to have the item fulfillment record saved
-
November 3, 2016 at 1:29 pm #1622
ssilveri77well it was the
isDynamic : true.
you cannot use that method you have to use this one issue..
-
November 3, 2016 at 1:29 pm #1623
ssilveri77Now I have to figure out the drop ship part.
-
AuthorPosts
You must be logged in to reply to this topic.