hey there, we have a M/R script that creates fulfi...
# suitescript
d
hey there, we have a M/R script that creates fulfillments. we enabled pick/pack/ship today and had to start setting the sublist value for weight on packages, otherwise the fulfillments wouldn't save. the problem is, now that we do this, we'd getting redundant packages in fulfillments. is it possible to prevent NetSuite from creating that package automatically? or is it possible to just update the one that netsuite makes? we're setting line: 0
Copy code
obj.setSublistValue({
                        sublistId: 'package',
                        fieldId: 'packagetrackingnumber',
                        value: o_newShipment.trackingNumber,
                        line: 0
                    });

                    obj.setSublistValue({
                        sublistId: 'package',
                        fieldId: 'packageweight',
                        value: nPackageWeight,
                        line: 0
                    });