Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Strange error in Receipt Confirmation
Hi All,
We are getting very strange error while doing receipt confirmation.Actually when we were using the WSDL 2.6 version, we have written the following code in MS.NET 2005 and which was working fine.
ItemReceipt ItmRcpt = new ItemReceipt();
if (ItmRcpt.landedCostMethod.ToString() != null)
{ ItmRcpt.landedCostMethod = LandedCostMethod._weight;
ItmRcpt.landedCostMethodSpecified =true;
}
else
{
ItmRcpt.landedCostMethodSpecified = false;
}
Recently we upgraded our application to WS 2008.1 version and the same code is behaving differently and it is throwing the below compilation error.
Compiler Error Message: CS0266: Cannot implicitly convert type
'com.netsuite.webservices.LandedCostMethod1' to 'com.netsuite.webservices.LandedCostMethod'. An explicit
conversion exists (are you missing a cast?) .