In my method directive, I am trying to call Erp.Contracts.QuoteSvcContract.RecalcWorksheet.
void RecalcWorksheet(int quoteNum, int quoteLine, int qtyNum, ref QuoteTableset ds);
What is qtyNum referring to? Line quantities are Decimals in Epicor, but this is looking for an Integer. I have tried converting the line quantity to an integer and it works fine if quantity is 1. Anything else and I get the following error:
Business Layer Exception
Record not available
Exception caught in: Epicor.ServiceModel
Error Detail
============
Description: Record not available
Program: Erp.Services.BO.Quote.dll
Method: RecalcWorksheet
Line Number: 26386
Column Number: 21
Table: QuoteQty
Client Stack Trace
==================
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.QuoteImpl.DuplicateQuote(Int32 sourceQuote, String sourceLines, Boolean mtlCosts, Boolean opStds)
at Erp.Adapters.QuoteAdapter.DuplicateQuote(Int32 sourceQuote, String sourceLines, Boolean mtlCosts, Boolean opStds)