Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Update ItemFulfillment take too long
fils[0].setShipStatus(ItemFulfillmentShipStatus._packed);
fils[0].setPackageFedExList(addFedExPackage(weightField.g etText(),lengthField.getText(),heigthField.getText (),widthField.getText()));
WriteResponse res2 = _port.update(fils[0]);
if (res2.getStatus().isIsSuccess()) {
//Success
}
public ItemFulfillmentPackageFedExList addFedExPackage(String weight,String length,String height, String width){ // ups package
ItemFulfillmentPackageFedExList FedExPackageList = new ItemFulfillmentPackageFedExList();
ItemFulfillmentPackageFedEx[] pkg = new ItemFulfillmentPackageFedEx[1];
pkg[0] = new ItemFulfillmentPackageFedEx();
pkg[0].setPackageWeightFedEx(Double.parseDouble(weight)) ;
pkg[0].setPackageLengthFedEx(Math.round(Double.parseDoub le(length)));
pkg[0].setPackageHeightFedEx(Math.round(Double.parseDoub le(height)));
pkg[0].setPackageWidthFedEx(Math.round(Double.parseDoubl e(width)));
FedExPackageList.setPackageFedEx(pkg);
return FedExPackageList;
}
Itemfulfillment is created once workers finish picking.
Here is my code to update item fulfillment from "picked" to "packed" with dimension and weight.