Show / Hide Table of Contents

CreateDepotRepairLabor(Int32,DateTime,TimeSpan) Method

Objid of the related Part Request Detail

The DateTime the Labor began. If not set, the current time is used.

Length of time required to do the work, in seconds

Create a Depot Repair Labor to be performed on a Part. This overload takes a set of required parameters for the API.

Syntax

'Declaration

Public Overloads Function CreateDepotRepairLabor( _
   ByVal _demandDetailObjid_ As Integer, _
   ByVal _startDate_ As Date, _
   ByVal _duration_ As TimeSpan _
) As ToolkitResult
public ToolkitResult CreateDepotRepairLabor( 
   int _demandDetailObjid_,
   DateTime _startDate_,
   TimeSpan _duration_
)

Parameters

demandDetailObjid

Objid of the related Part Request Detail

startDate

The DateTime the Labor began. If not set, the current time is used.

duration

Length of time required to do the work, in seconds

Return Value

The following values are populated in the ToolkitResult object returned by the API method:

  • Objid - The Objid of the TimeLog.

Requirements

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

Reference

DepotRepairToolkit Class
DepotRepairToolkit 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.