I'm trying to fulfill items and then bill them via web services.
The problem as of right now is that I can't create a packageups in a packagelist it says that it's not set to an instance of an object (VB.NET), but it's set the same way the packagelist is... I'm not really sure what's going on here or if I'm just heading in the wrong direction completely.
nsitemfulfillment.packageUpsList = New ItemFulfillmentPackageUpsList Dim nsPackageList As ItemFulfillmentPackageUpsList nsPackageList = nsitemfulfillment.packageUpsList nsPackageList.packageUps(docount) = New ItemFulfillmentPackageUps Dim nsPackage As ItemFulfillmentPackageUps nsPackage = nsPackageList.packageUps(docount) nsPackageList.packageUps(docount).packageWeightUps = contents(1) nsPackage.packageWeightUpsSpecified = True nsPackage.packageTrackingNumberUps = contents(2) nsitemfulfillment.shipMethod.internalId = "contents(3)" nsitemfulfillment.generateIntegratedShipperLabel = False nsitemfulfillment.generateIntegratedShipperLabelSpecified = True nsitemfulfillment.thirdPartyTypeUps = ItemFulfillmentThirdPartyTypeUps._noneSelected
In the First bit, I get the error on the 4th line, which would be the same format as the first line - which is why I don't get what's going on.The Second issue is that when I did get a list running before it wouldn't import weights or tracking numbers (it wouldn't show up in my SOAP) even though the weightspecified field was set to True and there isn't a packageTrackingNumberUpsSpecified therefore I couldn't set it to true...If anyone could help with this part of the code it would be VERY MUCH appreciated. Wayne