Is it possible to add fields from the Lot Number r...
# suitescript
t
Is it possible to add fields from the Lot Number record to the Inventory Detail form? I see there is a custom inventory detail form, but not sure how to access via UI (assuming that's possible) - I am thinking that I could add the fields via script - has anyone done this before?
message has been deleted
I see the form in Entry Forms... but still am not seeing how to add a field
b
no suitescript options, or native options for that matter
closest you get is client script to do dom manipulations
t
well that is a bit of a bummer. I guess we could specify something at the body level that would then need to be set on the inventory detail record, I'm guessing it would need to be on aftersubmit so the record ID is present
@battk on my receipt transaction XML I see a inventorydetail value that looks like an internalid, but it's not the same id as the lot number record when I click on it. Further, the lot number ID does not appear in the receipt's XML. How can I get the ID to update?
b
inventory detail subrecords arent inventory number records
dont expect their ids to match
you also are probably doing it wrong if inventory detail ids are coming into play
go through SuiteScript 2.0 Scripting Subrecords to see how to work with subrecords
t
Thanks, I see now that I need the serial/lot number id from the subrecord