I am trying to update the Shipment line detail with Screen Based SOAP API service.
The code is executed but respective record not updated.
Following is the code snippet
var commandList = new List<Command>();
commandList.Add(new Key
{
ObjectName = SO302000.Result.DocumentDetails.LineNbr.ObjectName,
FieldName = SO302000.Result.DocumentDetails.LineNbr.FieldName,
Value = LineNbr.Trim(),
Commit = true
});
commandList.Add(new Key
{
ObjectName = SO302000.Result.DocumentDetails.ShipmentNbr.ObjectName,
FieldName = SO302000.Result.DocumentDetails.ShipmentNbr.FieldName,
Value = acushipmentNbr.Trim(),
Commit = true
});
commandList.Add(new Value { Value = shipmentLines.ShippedQty.ToString(), LinkedCommand = SO302000.Result.DocumentDetails.ShippedQty,IgnoreError=true, Commit = true });
SO302000Content[] SO302000Content = context.SO302000Submit(list.ToArray());
if (SO302000Content.Length > 0)
{
return true;
}
Best answer by Naveen Boga
View original