fcSDK Documentation
CreateContract(CreateContractSetup) Method

Setup object for API invocation.
Used to create a new contract. This overload takes a setup object.
Syntax
'Declaration
 
Public Overloads Function CreateContract( _
   ByVal setupParam As CreateContractSetup _
) As ToolkitResult
public ToolkitResult CreateContract( 
   CreateContractSetup 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 Contract.
  • IDNum - The IDNum of the Contract.
Remarks

Each contract requires a unique, valid title. Everything else is optional. You may specify either an account or contact for a contract (or neither), you may specify a contract ID or let the API auto-generate the contract ID for you. You may specify the user who created the contract as well as the contract’s administrator, and you may specify additional fields. You may have a creation time bomb generated (for notifications). The objid of the contract created is returned. You may also specify a bill-to and ship-to site. These sites will be related to the default schedule. If empty, no site is related. If you do not wish to associate an account or contact against the contract, leave the account and contact parameters empty. You may also initially dispatch the contract. If you specify a queue name, the contract will be dispatched to that queue.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

ContractsToolkit Class
ContractsToolkit Members
Overload List
CreateContractSetup Class

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.