public Protocols.FieldOps.PartTransferResultProtocol PartTransfer(Protocols.FieldOps.PartTransferSetupProtocol setupParam)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit toolkit = new FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit( session );
            FChoice.Toolkits.Clarify.FieldOps.PartTransferSetup setup;

            switch( setupParam.ConstructorCue )
            {
                case 0:
                    setup = new FChoice.Toolkits.Clarify.FieldOps.PartTransferSetup(setupParam.PartNumber, setupParam.PartRevision, setupParam.PartDomain, setupParam.Quantity, setupParam.FromLocation.ToLocation(), setupParam.ToLocation.ToLocation());
                    break;
                case 1:
                    setup = new FChoice.Toolkits.Clarify.FieldOps.PartTransferSetup(setupParam.PartNumber, setupParam.PartRevision, setupParam.PartDomain, setupParam.SerialNumber, setupParam.FromLocation.ToLocation(), setupParam.ToLocation.ToLocation());
                    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.PartRevision = setupParam.PartRevision;
            }

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

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

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

            if( Global.IsPropertyDirty(256, setupParam.DirtyFieldFlags) )
            {
                setup.FromGood = setupParam.FromGood;
            }

            if( Global.IsPropertyDirty(4096, setupParam.DirtyFieldFlags) )
            {
                setup.ToGood = setupParam.ToGood;
            }

            if( Global.IsPropertyDirty(8192, setupParam.DirtyFieldFlags) )
            {
                setup.UserName = setupParam.UserName;
            }

            if( Global.IsPropertyDirty(16384, setupParam.DirtyFieldFlags) )
            {
                setup.TransferDate = setupParam.TransferDate;
            }

            if( Global.IsPropertyDirty(32768, setupParam.DirtyFieldFlags) )
            {
                setup.ReferenceIDNum = setupParam.ReferenceIDNum;
            }

            if( Global.IsPropertyDirty(65536, setupParam.DirtyFieldFlags) )
            {
                setup.Notes = setupParam.Notes;
            }

            if( Global.IsPropertyDirty(131072, setupParam.DirtyFieldFlags) )
            {
                setup.GenerateTimeBombs = setupParam.GenerateTimeBombs;
            }

            if( Global.IsPropertyDirty(8388608, setupParam.DirtyFieldFlags) )
            {
                setupParam.FromLocation = new Protocols.LocationProtocol(); setupParam.FromLocation.IsPrimaryBinSuggestion = setup.FromLocation.IsPrimaryBinSuggestion; setupParam.FromLocation.LocationName = setup.FromLocation.LocationName; setupParam.FromLocation.BinName = setup.FromLocation.BinName;
            }

            if( Global.IsPropertyDirty(16777216, setupParam.DirtyFieldFlags) )
            {
                setupParam.ToLocation = new Protocols.LocationProtocol(); setupParam.ToLocation.IsPrimaryBinSuggestion = setup.ToLocation.IsPrimaryBinSuggestion; setupParam.ToLocation.LocationName = setup.ToLocation.LocationName; setupParam.ToLocation.BinName = setup.ToLocation.BinName;
            }

            return new Protocols.FieldOps.PartTransferResultProtocol( toolkit.PartTransfer(setup) );
        }
        public Protocols.FieldOps.PartTransferResultProtocol PartTransfer(System.String partNumber, System.String partRevision, System.String partDomain, System.String serialNumber, Protocols.LocationProtocol fromlocation, Protocols.LocationProtocol tolocation)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit toolkit = new FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit( session );

            return new Protocols.FieldOps.PartTransferResultProtocol( toolkit.PartTransfer(partNumber, partRevision, partDomain, serialNumber, fromlocation.ToLocation(), tolocation.ToLocation()) );
        }