CreateQuoteLineItem(CreateQuoteLineItemSetup) Method
Setup object for API invocation.
Used to create a Quote/Contract line item. This overload takes a setup object.
Syntax
'Declaration
Public Overloads Function CreateQuoteLineItem( _
ByVal _setupParam_ CreateQuoteLineItemSetup _
) As ToolkitResult
public ToolkitResult CreateQuoteLineItem(
CreateQuoteLineItemSetup _setupParam_
)
Parameters
setupParam
Setup object for API invocation.
Return Value
The following values are populated in the ToolkitResult object returned by the API method:
- Objid - The Objid of the ContractItem.
Remarks
Requires that a valid quote already exist, and that it have at least one valid schedule. In addition, the supplied part/revision must have a price defined for it in the schedule, or you must provide an override.
The API will create a line item, add it to the proper contract/quote, and adjust all of the totals. In addition, the schedule adjustments (if any) for the schedule of the line item will be recalculated, given the new schedule totals.
The API does not do a few other items in the base GUI function. By and large, they are expected to be supplied with other API calls. For example, line item adjustments are not part of this API. If they are required, the line should be created, and then the adjustment should be applied. Parent/child line items are not provided for in the default API. Also, proration (ClearContracts) is currently hard-coded.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
SalesToolkit Class
SalesToolkit Members
Overload List
CreateQuoteLineItemSetup Class