public Protocols.ToolkitResultProtocol DeleteExpenseLog(Protocols.FieldOps.DeleteExpenseLogSetupProtocol setupParam)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit toolkit = new FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit( session );
            FChoice.Toolkits.Clarify.FieldOps.DeleteExpenseLogSetup setup;

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

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

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

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

            return new Protocols.ToolkitResultProtocol( toolkit.DeleteExpenseLog(setup) );
        }
        public Protocols.ToolkitResultProtocol DeleteExpenseLog(System.Int32 expenseLogObjid)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit toolkit = new FChoice.Toolkits.Clarify.FieldOps.FieldOpsToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.DeleteExpenseLog(expenseLogObjid) );
        }