Developer Q&A
Error dehydrating property value for Corrigo.BO.WorkOrder.WoCostDetail.MhProduct
almost 3 years ago by Juan Olano
Hi,
While adding spot purchases to a work order's financial items, we are getting this error:
"Error dehydrating property value for Corrigo.BO.WorkOrder.WoCostDetail.MhProduct"
What could cause this?
the data entered is:
wo.WorkOrderCost.Items = {New FinancialItem With {
.WoId = 1,
.CurrencyTypeId = 16,
.Comment = "Part: FAN MOTOR #12345 P/O#0100001-125895 (code 96558)",
.CostCategoryId = 2,
.TypeId = WoCostLineType.Cost,
.Quantity = 1,
.Product = New Product With {
.Id = 0
},
.Amount = New MoneyValue With {
.CurrencyTypeId = 16,
.Value = 0
},
.StockLocation = New StockLocation With {
.Id = 0
}
}}
Thank you,
Juan