Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
tax codes on opportunity itemList v11
Since the upgrade to v11 on Saturday, I have found it is no longer possible to query for a list of tax codes to items in the Item list. Our code is as follows:
selectField = New GetSelectValueField
'selectField.fieldType = GetSelectValueType.nonInventoryResaleItem_salesTaxCode
selectField.fieldType = GetSelectValueType.opportunity_itemList_taxCode
selectField.fieldTypeSpecified = True
getResult = New getSelectValueResult
getResult = netcrmService.getSelectValue(selectField)
'check we are seeing all results
If getResult.totalRecords > 100 Then
ProcessError(AUSid & "3", "Number of entries in list exceeded maximum, exiting", False, True)
Return Nothing
End If
If getResult.totalRecords = 0 Then
ProcessError(AUSid & "5", "No tax codes returned from query to obtain tax code list.", False, True)