HomeGuidesAPI ReferenceChangelogDeveloper Q&A
HomeGuidesAPI ReferenceAnnouncementsLog In
Developer Q&A

Developer Q&A

Ask a Question
Back to all

Error dehydrating property value for Corrigo.BO.WorkOrder.WoCostDetail.MhProduct

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