コード例 #1
0
 ///<summary>Sets the value of the <c>&lt;Relationship&gt;</c> element.</summary>
 /// <param name="Code">Code representing the relationship.</param>
 ///<remarks>
 /// <para>This form of <c>setRelationship</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Relationship</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetRelationship(RelationshipCode Code)
 {
     RemoveChild(ReportingDTD.SLCONTACT_RELATIONSHIP);
     AddChild(ReportingDTD.SLCONTACT_RELATIONSHIP, new Relationship(Code));
 }
コード例 #2
0
 ///<summary>Sets the value of the <c>&lt;Relationship&gt;</c> element.</summary>
 /// <param name="Code">Code representing the relationship.</param>
 ///<remarks>
 /// <para>This form of <c>setRelationship</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>Relationship</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetRelationship(RelationshipCode Code)
 {
     RemoveChild(StudentDTD.STUDENTCONTACTRELATIONSHIP_RELATIONSHIP);
     AddChild(StudentDTD.STUDENTCONTACTRELATIONSHIP_RELATIONSHIP, new Relationship(Code));
 }
コード例 #3
0
        public Account(string number, int branch, int type, int memberGroup, string openDate,
                       string lastFmDate,
                       string recordChangeDate,
                       string activityDate,
                       string pRGDRECACTIVITYDT,
                       string cORRESPONDDATE,
                       string proxyDate,
                       string closeDate,
                       string fmLastPurgeDate,
                       string reference,
                       MembershipStatus memberStatus,
                       CommercialCode commercialCode,
                       decimal krHoldBaseAmount,
                       decimal checkDepTotalAmount,
                       string krTotalDate,
                       decimal nonRegCCCheckHoldBaseAmt,
                       decimal nonRegCCCheckTotalAmt,
                       int currentRelationshipCode,
                       RelationshipCode relationshipCode,
                       string relationshipOverrideEffDate,
                       string relationshipOverride,
                       string relationshipOverrideExpDate,
                       string householdAccount,
                       HouseholdStatement householdStatement,
                       StatementMailCode statementMailCode,
                       EStatementEmailNotify eStmtNotify,
                       EStatementEnable eStmtEnable,
                       string stateReporting,
                       int createdByUser,
                       int createdAtBranch,
                       decimal cRTotalAmount,
                       decimal cDTotalAmount,
                       decimal fRCRTotalAmount,
                       decimal fRCDTotalAmount,
                       decimal fRCDUnits,
                       decimal wRTotalAmount,
                       decimal wDTotalAmount,
                       int warningCode1,
                       int warningCode2,
                       int warningCode3,
                       int warningCode4,
                       int warningCode5,
                       int warningCode6,
                       int warningCode7,
                       int warningCode8,
                       int warningCode9,
                       int warningCode10,
                       int warningCode11,
                       int warningCode12,
                       int warningCode13,
                       int warningCode14,
                       int warningCode15,
                       int warningCode16,
                       int warningCode17,
                       int warningCode18,
                       int warningCode19,
                       int warningCode20,
                       string warningExpiration1,
                       string warningExpiration2,
                       string warningExpiration3,
                       string warningExpiration4,
                       string warningExpiration5,
                       string warningExpiration6,
                       string warningExpiration7,
                       string warningExpiration8,
                       string warningExpiration9,
                       string warningExpiration10,
                       string warningExpiration11,
                       string warningExpiration12,
                       string warningExpiration13,
                       string warningExpiration14,
                       string warningExpiration15,
                       string warningExpiration16,
                       string warningExpiration17,
                       string warningExpiration18,
                       string warningExpiration19,
                       string warningExpiration20

                       )
        {
            Number                             = number;
            Branch                             = branch;
            Type                               = type;
            MemberGroup                        = memberGroup;
            OpenDate                           = openDate.ParseNullableSymDateString();
            LastFMDate                         = lastFmDate.ParseNullableSymDateString();
            RecordChangeDate                   = recordChangeDate.ParseNullableSymDateString();
            LastActivityDate                   = activityDate.ParseNullableSymDateString();
            PRGDRECACTIVITYDT                  = pRGDRECACTIVITYDT.ParseNullableSymDateString();
            CORRESPONDDATE                     = cORRESPONDDATE.ParseNullableSymDateString();
            ProxyDate                          = proxyDate.ParseNullableSymDateString();
            CloseDate                          = closeDate.ParseNullableSymDateString();
            FMLastPurgeDate                    = fmLastPurgeDate.ParseNullableSymDateString();
            Reference                          = reference;
            MemberStatus                       = memberStatus;
            CommercialCode                     = commercialCode;
            KRHoldBaseAmount                   = krHoldBaseAmount;
            CheckDepositTotalAmount            = checkDepTotalAmount;
            KRTotalDate                        = krTotalDate.ParseNullableSymDateString();
            NonRegCCCheckHoldBaseAmt           = nonRegCCCheckHoldBaseAmt;
            NonRegCCCheckTotalAmt              = nonRegCCCheckTotalAmt;
            CurrentRelationshipCode            = currentRelationshipCode;
            RelationshipCode                   = relationshipCode;
            RelationshipOverrideEffectiveDate  = relationshipOverrideEffDate.ParseNullableSymDateString();
            RelationshipOverride               = relationshipOverride;
            RelationshipOverrideEffectiveDate  = relationshipOverrideEffDate.ParseNullableSymDateString();
            RelationshipOverrideExpirationDate = relationshipOverrideExpDate.ParseNullableSymDateString();
            HouseholdAccount                   = householdAccount;
            HouseholdStatement                 = householdStatement;
            StatementMailCode                  = statementMailCode;
            EStmtNotify                        = eStmtNotify;
            EStmtEnable                        = eStmtEnable;
            StateReporting                     = stateReporting;
            CreatedByUser                      = createdByUser;
            CreatedAtBranch                    = createdAtBranch;
            CRTotalAmount                      = cRTotalAmount;
            CDTotalAmount                      = cDTotalAmount;
            FRCRTotalAmount                    = fRCRTotalAmount;
            FRCDTotalAmount                    = fRCDTotalAmount;
            FRCDUnits                          = fRCDUnits;
            WRTotalAmount                      = wRTotalAmount;
            WDTotalAmount                      = wDTotalAmount;
            Warnings                           = new List <Warnings>()
            {
                new Warnings(warningCode1, warningExpiration1.ParseNullableSymDateString()),
                new Warnings(warningCode2, warningExpiration2.ParseNullableSymDateString()),
                new Warnings(warningCode3, warningExpiration3.ParseNullableSymDateString()),
                new Warnings(warningCode4, warningExpiration4.ParseNullableSymDateString()),
                new Warnings(warningCode5, warningExpiration5.ParseNullableSymDateString()),
                new Warnings(warningCode6, warningExpiration6.ParseNullableSymDateString()),
                new Warnings(warningCode7, warningExpiration7.ParseNullableSymDateString()),
                new Warnings(warningCode8, warningExpiration8.ParseNullableSymDateString()),
                new Warnings(warningCode9, warningExpiration9.ParseNullableSymDateString()),
                new Warnings(warningCode10, warningExpiration10.ParseNullableSymDateString()),
                new Warnings(warningCode11, warningExpiration11.ParseNullableSymDateString()),
                new Warnings(warningCode12, warningExpiration12.ParseNullableSymDateString()),
                new Warnings(warningCode13, warningExpiration13.ParseNullableSymDateString()),
                new Warnings(warningCode14, warningExpiration14.ParseNullableSymDateString()),
                new Warnings(warningCode15, warningExpiration15.ParseNullableSymDateString()),
                new Warnings(warningCode16, warningExpiration16.ParseNullableSymDateString()),
                new Warnings(warningCode17, warningExpiration17.ParseNullableSymDateString()),
                new Warnings(warningCode18, warningExpiration18.ParseNullableSymDateString()),
                new Warnings(warningCode19, warningExpiration19.ParseNullableSymDateString()),
                new Warnings(warningCode20, warningExpiration20.ParseNullableSymDateString()),
            };
        }