Show / Hide Table of Contents

CreatePriceInstance(CreatePriceInstanceSetup,IDbTransaction) Method

Setup object for API invocation.

Database transaction under which the API will be invoked.

Creates a Price Instance. This overload takes a setup object and a database transaction.

Syntax

'Declaration

Public Overloads Function CreatePriceInstance( _
   ByVal _setupParam_ As CreatePriceInstanceSetup, _
   ByVal _transaction_ As IDbTransaction _
) As ToolkitResult
public ToolkitResult CreatePriceInstance( 
   CreatePriceInstanceSetup _setupParam_,
   IDbTransaction _transaction_
)

Parameters

setupParam

Setup object for API invocation.

transaction

Database transaction under which the API will be invoked.

Return Value

A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.

Remarks

You many not have two prices (in the same schedule for the same part and quantity) overlap or have the price's StartDate or EndDate extend outside the span of the price program.

Example

Developer Walkthrough - Transaction Support

Requirements

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

Reference

InterfacesToolkit Class
InterfacesToolkit Members
Overload List

Back to top © 2022 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.