public Protocols.ToolkitResultProtocol UpdatePartRevision(Protocols.Interfaces.UpdatePartRevisionSetupProtocol setupParam)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit toolkit = new FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit( session );
            FChoice.Toolkits.Clarify.Interfaces.UpdatePartRevisionSetup setup;

            switch( setupParam.ConstructorCue )
            {
                case 0:
                    setup = new FChoice.Toolkits.Clarify.Interfaces.UpdatePartRevisionSetup(setupParam.PartNumber, setupParam.PartDomain, setupParam.PartRevision);
                    break;
                default:
                    throw new InvalidOperationException(string.Format("Constructor index '{0}' does not exist.", setupParam.ConstructorCue));
            }

            if( Global.IsPropertyDirty(1, setupParam.DirtyFieldFlags) )
            {
                setup.PartNumber = setupParam.PartNumber;
            }

            if( Global.IsPropertyDirty(2, setupParam.DirtyFieldFlags) )
            {
                setup.PartDomain = setupParam.PartDomain;
            }

            if( Global.IsPropertyDirty(4, setupParam.DirtyFieldFlags) )
            {
                setup.PartRevision = setupParam.PartRevision;
            }

            if( Global.IsPropertyDirty(8, setupParam.DirtyFieldFlags) )
            {
                setup.ReplacePartNumber = setupParam.ReplacePartNumber;
            }

            if( Global.IsPropertyDirty(16, setupParam.DirtyFieldFlags) )
            {
                setup.ReplacePartDomain = setupParam.ReplacePartDomain;
            }

            if( Global.IsPropertyDirty(32, setupParam.DirtyFieldFlags) )
            {
                setup.ReplacePartRevision = setupParam.ReplacePartRevision;
            }

            if( Global.IsPropertyDirty(64, setupParam.DirtyFieldFlags) )
            {
                setup.ReplaceDate = setupParam.ReplaceDate;
            }

            if( Global.IsPropertyDirty(128, setupParam.DirtyFieldFlags) )
            {
                setup.Status = setupParam.Status;
            }

            if( Global.IsPropertyDirty(512, setupParam.DirtyFieldFlags) )
            {
                setup.NewPartRevision = setupParam.NewPartRevision;
            }

            return new Protocols.ToolkitResultProtocol( toolkit.UpdatePartRevision(setup) );
        }
        public Protocols.ToolkitResultProtocol UpdatePartRevision(System.String partNumber, System.String partDomain, System.String partRevision)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit toolkit = new FChoice.Toolkits.Clarify.Interfaces.InterfacesToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.UpdatePartRevision(partNumber, partDomain, partRevision) );
        }