internal CreateAppointmentResultProtocol(FChoice.Toolkits.Clarify.FieldOps.CreateAppointmentResult result)
 {
     this.ScheduleObjid = result.ScheduleObjid;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal GetSubcaseTimeAndExpensesResultProtocol(FChoice.Toolkits.Clarify.Support.GetSubcaseTimeAndExpensesResult result)
 {
     this.SubcaseTimeAndExpenses = new SubcaseTimeAndExpensesProtocol( result.SubcaseTimeAndExpenses );
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal CreateSolutionResultProtocol(FChoice.Toolkits.Clarify.Interfaces.CreateSolutionResult result)
 {
     this.WorkaroundObjid = result.WorkaroundObjid;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal GetAlternatePartsResultProtocol(FChoice.Toolkits.Clarify.Logistics.GetAlternatePartsResult result)
 {
     this.AlternatePartList = result.AlternatePartList;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal AddServiceInterruptionResultProtocol(FChoice.Toolkits.Clarify.FieldOps.AddServiceInterruptionResult result)
 {
     this.ScheduleObjid = result.ScheduleObjid;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal CreatePartRequestDetailResultProtocol(FChoice.Toolkits.Clarify.Logistics.CreatePartRequestDetailResult result)
 {
     this.DetailNumber = result.DetailNumber;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal CreateEmployeeResultProtocol(FChoice.Toolkits.Clarify.Interfaces.CreateEmployeeResult result)
 {
     this.UserObjid = result.UserObjid;
     this.EmployeeObjid = result.EmployeeObjid;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
        public Protocols.ToolkitResultProtocol CreateLead(System.String state, System.String country, System.String timeZone, FChoice.Toolkits.Clarify.LeadSiteType siteType, System.String leadSource)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Sales.SalesToolkit toolkit = new FChoice.Toolkits.Clarify.Sales.SalesToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreateLead(state, country, timeZone, siteType, leadSource) );
        }
        public Protocols.ToolkitResultProtocol ChangeOpportunityStage(System.String opportunityIDNum, FChoice.Toolkits.Clarify.OpportunityStage stage)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Sales.SalesToolkit toolkit = new FChoice.Toolkits.Clarify.Sales.SalesToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.ChangeOpportunityStage(opportunityIDNum, stage) );
        }
 internal ToolkitResultProtocol(FChoice.Toolkits.Clarify.ToolkitResult result)
 {
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
        public Protocols.ToolkitResultProtocol CreateOnsiteLog(FChoice.Toolkits.Clarify.CaseObjectType objectType, System.String objectIDNum)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit toolkit = new FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreateOnsiteLog(objectType, objectIDNum) );
        }
        public Protocols.ToolkitResultProtocol UpdateDepotRepairMaterial(System.Int32 materialLogObjid, FChoice.Toolkits.Clarify.RepairPartDisposition disposition)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.DepotRepair.DepotRepairToolkit toolkit = new FChoice.Toolkits.Clarify.DepotRepair.DepotRepairToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.UpdateDepotRepairMaterial(materialLogObjid, disposition) );
        }
 internal LogSubcaseResearchResultProtocol(FChoice.Toolkits.Clarify.Support.LogSubcaseResearchResult result)
 {
     this.StatusChangeObjid = result.StatusChangeObjid;
     this.CommitmentObjid = result.CommitmentObjid;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
        public Protocols.ToolkitResultProtocol CreateDepotRepairMaterial(System.Int32 demandDetailObjid, System.Int32 partRevisionObjid, FChoice.Toolkits.Clarify.RepairPartDisposition disposition)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.DepotRepair.DepotRepairToolkit toolkit = new FChoice.Toolkits.Clarify.DepotRepair.DepotRepairToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreateDepotRepairMaterial(demandDetailObjid, partRevisionObjid, disposition) );
        }
        public Protocols.ToolkitResultProtocol CreateSite(FChoice.Toolkits.Clarify.SiteType siteType, FChoice.Toolkits.Clarify.SiteStatus status, System.Int32 primaryAddressObjid)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit toolkit = new FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreateSite(siteType, status, primaryAddressObjid) );
        }
        public Protocols.ToolkitResultProtocol CreatePriceInstance(System.String partNumber, System.String partDomain, System.String partRevision, System.String priceProgram, FChoice.Toolkits.Clarify.PriceInstanceType priceType, System.Int32 pricedQuantity, System.Decimal price)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit toolkit = new FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreatePriceInstance(partNumber, partDomain, partRevision, priceProgram, priceType, pricedQuantity, price) );
        }
        public Protocols.ToolkitResultProtocol CreatePart(System.String partNumber, System.String partDomain, System.Int32 warrantyDays, FChoice.Toolkits.Clarify.PartRepairType repairType)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit toolkit = new FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreatePart(partNumber, partDomain, warrantyDays, repairType) );
        }
        public Protocols.ToolkitResultProtocol AddInventoryLocation(System.String locationName, System.String capitalGLAccount, System.String siteIDNum, FChoice.Toolkits.Clarify.PartAuthorizationLevel partAuthorizationLevel)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.AddInventoryLocation(locationName, capitalGLAccount, siteIDNum, partAuthorizationLevel) );
        }
        public Protocols.ToolkitResultProtocol SetLogisticsTransition(FChoice.Toolkits.Clarify.PartRequestType partRequestType, FChoice.Toolkits.Clarify.PartRequestCondition startCondition, FChoice.Toolkits.Clarify.PartRequestCondition endCondition, System.String[] privilegeClasses)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit toolkit = new FChoice.Toolkits.Clarify.Logistics.LogisticsToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.SetLogisticsTransition(partRequestType, startCondition, endCondition, privilegeClasses) );
        }
        public Protocols.ToolkitResultProtocol CreateEcoItem(FChoice.Toolkits.Clarify.EcoItemAppliesTo appliesTo, System.Boolean isActive, System.String ecoHeaderIDNum, System.Int32 applyPartRevisionObjid, System.Int32 resultPartRevisionObjid)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.DepotRepair.DepotRepairToolkit toolkit = new FChoice.Toolkits.Clarify.DepotRepair.DepotRepairToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreateEcoItem(appliesTo, isActive, ecoHeaderIDNum, applyPartRevisionObjid, resultPartRevisionObjid) );
        }
 internal GetLocationsServicingSiteResultProtocol(FChoice.Toolkits.Clarify.Logistics.GetLocationsServicingSiteResult result)
 {
     this.InventoryLocationObjidList = result.InventoryLocationObjidList;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
        public Protocols.ToolkitResultProtocol CreatePriceInstance(System.String partNumber, System.String partRevision, System.String partDomain, System.String supportProgram, System.String priceProgram, FChoice.Toolkits.Clarify.PriceInstanceType priceType, System.Int32 quantity)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Contracts.ContractsToolkit toolkit = new FChoice.Toolkits.Clarify.Contracts.ContractsToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.CreatePriceInstance(partNumber, partRevision, partDomain, supportProgram, priceProgram, priceType, quantity) );
        }
 internal PartTransferResultProtocol(FChoice.Toolkits.Clarify.Logistics.PartTransferResult result)
 {
     this.TransactionIDNum = result.TransactionIDNum;
     this.StandardCost = result.StandardCost;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal PickResultProtocol(FChoice.Toolkits.Clarify.Logistics.PickResult result)
 {
     this.TotalPicked = result.TotalPicked;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }
 internal CreateTimeLogResultProtocol(FChoice.Toolkits.Clarify.FieldOps.CreateTimeLogResult result)
 {
     this.OnsiteLogObjid = result.OnsiteLogObjid;
     this.ReturnCode = result.ReturnCode;
     this.IDNum = result.IDNum;
     this.Objid = result.Objid;
 }