Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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.