Class FieldOpsToolkit
Inheritance
System.Object
FieldOpsToolkit
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Toolkits.Clarify.dll
public class FieldOpsToolkit : FieldOpsToolkitBase
Constructors
Declaration
public FieldOpsToolkit(ClarifySession session)
Parameters
Declaration
public FieldOpsToolkit(IFCApplication application, IFCSession session)
Parameters
Methods
Declaration
public AddServiceInterruptionResult AddServiceInterruption(AddServiceInterruptionSetup setupParam)
Parameters
Returns
Declaration
public AddServiceInterruptionResult AddServiceInterruption(AddServiceInterruptionSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public AddServiceInterruptionResult AddServiceInterruption(string caseIDNum)
Parameters
Type |
Name |
Description |
System.String |
caseIDNum |
|
Returns
Declaration
public CreateAppointmentResult CreateAppointment(CreateAppointmentSetup setupParam)
Parameters
Returns
Declaration
public CreateAppointmentResult CreateAppointment(CreateAppointmentSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public CreateAppointmentResult CreateAppointment(DateTime startDate, DateTime endDate)
Parameters
Type |
Name |
Description |
System.DateTime |
startDate |
|
System.DateTime |
endDate |
|
Returns
Declaration
public CreateAppointmentResult CreateAppointment(DateTime startDate, TimeSpan duration)
Parameters
Type |
Name |
Description |
System.DateTime |
startDate |
|
System.TimeSpan |
duration |
|
Returns
Declaration
public CreateAppointmentResult CreateAppointment(TimeSpan duration, DateTime endDate)
Parameters
Type |
Name |
Description |
System.TimeSpan |
duration |
|
System.DateTime |
endDate |
|
Returns
Declaration
public CreateExpenseLogResult CreateExpenseLog(CreateExpenseLogSetup setupParam)
Parameters
Returns
Declaration
public CreateExpenseLogResult CreateExpenseLog(CreateExpenseLogSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public CreateExpenseLogResult CreateExpenseLog(int onsiteLogObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
onsiteLogObjid |
|
Returns
Declaration
public ToolkitResult CreateOnsiteLog(CaseObjectType objectType, string objectIDNum)
Parameters
Type |
Name |
Description |
CaseObjectType |
objectType |
|
System.String |
objectIDNum |
|
Returns
Declaration
public ToolkitResult CreateOnsiteLog(CreateOnsiteLogSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult CreateOnsiteLog(CreateOnsiteLogSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public CreateTimeLogResult CreateTimeLog(CreateTimeLogSetup setupParam)
Parameters
Returns
Declaration
public CreateTimeLogResult CreateTimeLog(CreateTimeLogSetup setupParam, IDbTransaction transaction)
Parameters
Type |
Name |
Description |
CreateTimeLogSetup |
setupParam |
|
System.Data.IDbTransaction |
transaction |
|
Returns
Declaration
public CreateTimeLogResult CreateTimeLog(int onsiteLogObjid, DateTime startDate, TimeSpan duration)
Parameters
Type |
Name |
Description |
System.Int32 |
onsiteLogObjid |
|
System.DateTime |
startDate |
|
System.TimeSpan |
duration |
|
Returns
Declaration
public ToolkitResult DeinstallSitePart(DeinstallSitePartSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DeinstallSitePart(DeinstallSitePartSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult DeinstallSitePart(int sitePartObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
sitePartObjid |
|
Returns
Declaration
public ToolkitResult DeleteAppointment(DeleteAppointmentSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DeleteAppointment(DeleteAppointmentSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult DeleteAppointment(int appointmentObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
appointmentObjid |
|
Returns
Declaration
public ToolkitResult DeleteExpenseLog(DeleteExpenseLogSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DeleteExpenseLog(DeleteExpenseLogSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult DeleteExpenseLog(int expenseLogObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
expenseLogObjid |
|
Returns
Declaration
public ToolkitResult DeleteOnsiteLog(DeleteOnsiteLogSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DeleteOnsiteLog(DeleteOnsiteLogSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult DeleteOnsiteLog(int onsiteLogObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
onsiteLogObjid |
|
Returns
Declaration
public ToolkitResult DeleteServiceInterruption(DeleteServiceInterruptionSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DeleteServiceInterruption(DeleteServiceInterruptionSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult DeleteServiceInterruption(int appointmentObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
appointmentObjid |
|
Returns
Declaration
public ToolkitResult DeleteTimeLog(DeleteTimeLogSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DeleteTimeLog(DeleteTimeLogSetup setupParam, IDbTransaction transaction)
Parameters
Type |
Name |
Description |
DeleteTimeLogSetup |
setupParam |
|
System.Data.IDbTransaction |
transaction |
|
Returns
Declaration
public ToolkitResult DeleteTimeLog(int timeLogObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
timeLogObjid |
|
Returns
Declaration
public ToolkitResult DispatchFieldEngineer(DispatchFieldEngineerSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult DispatchFieldEngineer(DispatchFieldEngineerSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult DispatchFieldEngineer(string caseIDNum)
Parameters
Type |
Name |
Description |
System.String |
caseIDNum |
|
Returns
Declaration
public ToolkitResult InstallSitePart(InstallSitePartSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult InstallSitePart(InstallSitePartSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult InstallSitePart(string siteIDNum, string partNumber, string partrevision, string partdomain, int quantity)
Parameters
Type |
Name |
Description |
System.String |
siteIDNum |
|
System.String |
partNumber |
|
System.String |
partrevision |
|
System.String |
partdomain |
|
System.Int32 |
quantity |
|
Returns
Declaration
public ToolkitResult InstallSitePart(string siteIDNum, string partNumber, string partrevision, string partdomain, string serialNumber)
Parameters
Type |
Name |
Description |
System.String |
siteIDNum |
|
System.String |
partNumber |
|
System.String |
partrevision |
|
System.String |
partdomain |
|
System.String |
serialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedConsume(LogPartsUsedConsumeSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedConsume(LogPartsUsedConsumeSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedConsume(string partRequestDetailIDNum, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedConsume(string partRequestDetailIDNum, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedConsume(string partRequestDetailIDNum, string caseIDNum, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedConsume(string partRequestDetailIDNum, string caseIDNum, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedExchange(LogPartsUsedExchangeSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedExchange(LogPartsUsedExchangeSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedExchange(string partRequestDetailIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedExchange(string partRequestDetailIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedExchange(string partRequestDetailIDNum, string caseIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedExchange(string partRequestDetailIDNum, string caseIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedInstall(LogPartsUsedInstallSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedInstall(LogPartsUsedInstallSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedInstall(string partRequestDetailIDNum, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedInstall(string partRequestDetailIDNum, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedInstall(string partRequestDetailIDNum, string caseIDNum, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedInstall(string partRequestDetailIDNum, string caseIDNum, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedRemove(LogPartsUsedRemoveSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedRemove(LogPartsUsedRemoveSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedRemove(string partRequestDetailIDNum, int removeSitePartObjid)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.Int32 |
removeSitePartObjid |
|
Returns
Declaration
public ToolkitResult LogPartsUsedRemove(string partRequestDetailIDNum, string caseIDNum, int removeSitePartObjid)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.Int32 |
removeSitePartObjid |
|
Returns
Declaration
public ToolkitResult LogPartsUsedUpgrade(LogPartsUsedUpgradeSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedUpgrade(LogPartsUsedUpgradeSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult LogPartsUsedUpgrade(string partRequestDetailIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedUpgrade(string partRequestDetailIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult LogPartsUsedUpgrade(string partRequestDetailIDNum, string caseIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, int installQuantity)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.Int32 |
installQuantity |
|
Returns
Declaration
public ToolkitResult LogPartsUsedUpgrade(string partRequestDetailIDNum, string caseIDNum, int removeSitePartObjid, string installPartNumber, string installPartRevision, string installPartDomain, string installSerialNumber)
Parameters
Type |
Name |
Description |
System.String |
partRequestDetailIDNum |
|
System.String |
caseIDNum |
|
System.Int32 |
removeSitePartObjid |
|
System.String |
installPartNumber |
|
System.String |
installPartRevision |
|
System.String |
installPartDomain |
|
System.String |
installSerialNumber |
|
Returns
Declaration
public ToolkitResult MoveSitePartToBin(MoveSitePartToBinSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult MoveSitePartToBin(MoveSitePartToBinSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult MoveSitePartToBin(int sitePartObjid, int parentBinObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
sitePartObjid |
|
System.Int32 |
parentBinObjid |
|
Returns
Declaration
public ToolkitResult MoveSitePartToPart(MoveSitePartToPartSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult MoveSitePartToPart(MoveSitePartToPartSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult MoveSitePartToPart(int sitePartObjid, int parentSitePartObjid)
Parameters
Type |
Name |
Description |
System.Int32 |
sitePartObjid |
|
System.Int32 |
parentSitePartObjid |
|
Returns
Declaration
public ToolkitResult MoveSitePartToSite(MoveSitePartToSiteSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult MoveSitePartToSite(MoveSitePartToSiteSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult MoveSitePartToSite(int sitePartObjid, string siteIDNum)
Parameters
Type |
Name |
Description |
System.Int32 |
sitePartObjid |
|
System.String |
siteIDNum |
|
Returns
Declaration
public PartTransferResult PartTransfer(PartTransferSetup setupParam)
Parameters
Returns
Declaration
public PartTransferResult PartTransfer(PartTransferSetup setupParam, IDbTransaction transaction)
Parameters
Type |
Name |
Description |
PartTransferSetup |
setupParam |
|
System.Data.IDbTransaction |
transaction |
|
Returns
Declaration
public PartTransferResult PartTransfer(string partNumber, string partRevision, string partDomain, int quantity, Location fromlocation, Location tolocation)
Parameters
Type |
Name |
Description |
System.String |
partNumber |
|
System.String |
partRevision |
|
System.String |
partDomain |
|
System.Int32 |
quantity |
|
Location |
fromlocation |
|
Location |
tolocation |
|
Returns
Declaration
public PartTransferResult PartTransfer(string partNumber, string partRevision, string partDomain, string serialNumber, Location fromlocation, Location tolocation)
Parameters
Type |
Name |
Description |
System.String |
partNumber |
|
System.String |
partRevision |
|
System.String |
partDomain |
|
System.String |
serialNumber |
|
Location |
fromlocation |
|
Location |
tolocation |
|
Returns
Declaration
public ToolkitResult ReinstallSitePart(ReinstallSitePartSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult ReinstallSitePart(ReinstallSitePartSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult ReinstallSitePart(int sitePartObjid, string siteIDNum)
Parameters
Type |
Name |
Description |
System.Int32 |
sitePartObjid |
|
System.String |
siteIDNum |
|
Returns
Declaration
public ToolkitResult UpdateAppointment(UpdateAppointmentSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult UpdateAppointment(UpdateAppointmentSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult UpdateExpenseLog(UpdateExpenseLogSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult UpdateExpenseLog(UpdateExpenseLogSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult UpdateExpenseLog(int expenseLogObjid, double quantity, double rate)
Parameters
Type |
Name |
Description |
System.Int32 |
expenseLogObjid |
|
System.Double |
quantity |
|
System.Double |
rate |
|
Returns
Declaration
public ToolkitResult UpdateServiceInterruption(UpdateServiceInterruptionSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult UpdateServiceInterruption(UpdateServiceInterruptionSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult UpdateSitePart(UpdateSitePartSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult UpdateSitePart(UpdateSitePartSetup setupParam, IDbTransaction transaction)
Parameters
Returns
Declaration
public ToolkitResult UpdateTimeLog(UpdateTimeLogSetup setupParam)
Parameters
Returns
Declaration
public ToolkitResult UpdateTimeLog(UpdateTimeLogSetup setupParam, IDbTransaction transaction)
Parameters
Type |
Name |
Description |
UpdateTimeLogSetup |
setupParam |
|
System.Data.IDbTransaction |
transaction |
|
Returns