/// <summary> /// Construct from BKStreamReader /// </summary> public BKMoreClient(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 253: BASDontPrintFuelSheet = s.ReadBooleanValue("BASDontPrintFuelSheet"); break; case 254: Archived = s.ReadBooleanValue("Archived"); break; case 255: JournalProcessingDuration = s.ReadByteValue("JournalProcessingDuration"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading MoreClient", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKCustomHeading(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 232: HeadingType = s.ReadByteValue("HeadingType"); break; case 233: Heading = s.ReadShortStringValue("Heading"); break; case 234: MajorID = s.ReadInt32Value("MajorID"); break; case 235: MinorID = s.ReadInt32Value("MinorID"); break; case 236: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading CustomHeading", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKTransaction(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 162: SequenceNo = s.ReadInt32Value("SequenceNo"); break; case 163: LRNNOWUNUSED = s.ReadInt32Value("LRNNOWUNUSED"); break; case 164: Type = s.ReadByteValue("Type"); break; case 165: Source = s.ReadByteValue("Source"); break; case 166: DatePresented = s.ReadJulDateValue("DatePresented"); break; case 167: DateEffective = s.ReadJulDateValue("DateEffective"); break; case 168: DateTransferred = s.ReadJulDateValue("DateTransferred"); break; case 169: Amount = s.ReadMoneyValue("Amount"); break; case 170: GSTClass = s.ReadByteValue("GSTClass"); break; case 171: GSTAmount = s.ReadMoneyValue("GSTAmount"); break; case 172: HasBeenEdited = s.ReadBooleanValue("HasBeenEdited"); break; case 173: Quantity = s.ReadMoneyValue("Quantity"); break; case 174: ChequeNumber = s.ReadInt32Value("ChequeNumber"); break; case 175: Reference = s.ReadShortStringValue("Reference"); break; case 176: Particulars = s.ReadShortStringValue("Particulars"); break; case 177: Analysis = s.ReadShortStringValue("Analysis"); break; case 178: OrigBB = s.ReadShortStringValue("OrigBB"); break; case 179: OtherParty = s.ReadShortStringValue("OtherParty"); break; case 180: OldNarration = s.ReadShortStringValue("OldNarration"); break; case 181: Account = s.ReadShortStringValue("Account"); break; case 182: CodedBy = s.ReadByteValue("CodedBy"); break; case 183: PayeeNumber = s.ReadInt32Value("PayeeNumber"); break; case 184: Locked = s.ReadBooleanValue("Locked"); break; case 185: BankLinkID = s.ReadInt32Value("BankLinkID"); break; case 186: GSTHasBeenEdited = s.ReadBooleanValue("GSTHasBeenEdited"); break; case 187: MatchedItemID = s.ReadInt32Value("MatchedItemID"); break; case 188: UPIState = s.ReadByteValue("UPIState"); break; case 189: OriginalReference = s.ReadShortStringValue("OriginalReference"); break; case 190: OriginalSource = s.ReadByteValue("OriginalSource"); break; case 191: OriginalType = s.ReadByteValue("OriginalType"); break; case 192: OriginalChequeNumber = s.ReadInt32Value("OriginalChequeNumber"); break; case 193: OriginalAmount = s.ReadMoneyValue("OriginalAmount"); break; case 194: Notes = s.ReadAnsiStringValue("Notes"); break; case 195: ECodingImportNotes = s.ReadAnsiStringValue("ECodingImportNotes"); break; case 196: ECodingTransactionUID = s.ReadInt32Value("ECodingTransactionUID"); break; case 197: GLNarration = s.ReadAnsiStringValue("GLNarration"); break; case 198: StatementDetails = s.ReadAnsiStringValue("StatementDetails"); break; case 199: TaxInvoiceAvailable = s.ReadBooleanValue("TaxInvoiceAvailable"); break; case 200: SFImputedCredit = s.ReadMoneyValue("SFImputedCredit"); break; case 201: SFTaxFreeDist = s.ReadMoneyValue("SFTaxFreeDist"); break; case 202: SFTaxExemptDist = s.ReadMoneyValue("SFTaxExemptDist"); break; case 203: SFTaxDeferredDist = s.ReadMoneyValue("SFTaxDeferredDist"); break; case 204: SFTFNCredits = s.ReadMoneyValue("SFTFNCredits"); break; case 205: SFForeignIncome = s.ReadMoneyValue("SFForeignIncome"); break; case 206: SFForeignTaxCredits = s.ReadMoneyValue("SFForeignTaxCredits"); break; case 207: SFCapitalGainsIndexed = s.ReadMoneyValue("SFCapitalGainsIndexed"); break; case 208: SFCapitalGainsDisc = s.ReadMoneyValue("SFCapitalGainsDisc"); break; case 209: SFSuperFieldsEdited = s.ReadBooleanValue("SFSuperFieldsEdited"); break; case 210: SFCapitalGainsOther = s.ReadMoneyValue("SFCapitalGainsOther"); break; case 211: SFOtherExpenses = s.ReadMoneyValue("SFOtherExpenses"); break; case 212: SFCGTDate = s.ReadInt32Value("SFCGTDate"); break; case 213: ExternalGUID = s.ReadAnsiStringValue("ExternalGUID"); break; case 214: DocumentTitle = s.ReadAnsiStringValue("DocumentTitle"); break; case 215: DocumentStatusUpdateRequired = s.ReadBooleanValue("DocumentStatusUpdateRequired"); break; case 216: BankLinkUID = s.ReadAnsiStringValue("BankLinkUID"); break; case 217: NotesRead = s.ReadBooleanValue("NotesRead"); break; case 218: ImportNotesRead = s.ReadBooleanValue("ImportNotesRead"); break; case 219: SpareString = s.ReadAnsiStringValue("SpareString"); break; case 220: SpareBoolean = s.ReadBooleanValue("SpareBoolean"); break; case 221: SFFranked = s.ReadMoneyValue("SFFranked"); break; case 222: SFUnfranked = s.ReadMoneyValue("SFUnfranked"); break; case 223: SFInterest = s.ReadMoneyValue("SFInterest"); break; case 224: SFCapitalGainsForeignDisc = s.ReadMoneyValue("SFCapitalGainsForeignDisc"); break; case 225: SFRent = s.ReadMoneyValue("SFRent"); break; case 226: SFSpecialIncome = s.ReadMoneyValue("SFSpecialIncome"); break; case 227: SFOtherTaxCredit = s.ReadMoneyValue("SFOtherTaxCredit"); break; case 228: SFNonResidentTax = s.ReadMoneyValue("SFNonResidentTax"); break; case 229: SFMemberID = s.ReadShortStringValue("SFMemberID"); break; case 230: SFForeignCapitalGainsCredit = s.ReadMoneyValue("SFForeignCapitalGainsCredit"); break; case 231: SFMemberComponent = s.ReadByteValue("SFMemberComponent"); break; case 232: SFFundID = s.ReadInt32Value("SFFundID"); break; case 233: SFMemberAccountID = s.ReadInt32Value("SFMemberAccountID"); break; case 234: SFFundCode = s.ReadShortStringValue("SFFundCode"); break; case 235: SFMemberAccountCode = s.ReadShortStringValue("SFMemberAccountCode"); break; case 236: SFTransactionID = s.ReadInt32Value("SFTransactionID"); break; case 237: SFTransactionCode = s.ReadAnsiStringValue("SFTransactionCode"); break; case 238: SFCapitalGainsFractionHalf = s.ReadBooleanValue("SFCapitalGainsFractionHalf"); break; case 239: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 240: JobCode = s.ReadShortStringValue("JobCode"); break; case 242: SpareMoney1 = s.ReadMoneyValue("SpareMoney1"); break; case 244: SpareMoney2 = s.ReadMoneyValue("SpareMoney2"); break; case 245: CoreTransactionID = s.ReadInt32Value("CoreTransactionID"); break; case 246: TransferedToOnline = s.ReadBooleanValue("TransferedToOnline"); break; case 247: CoreTransactionIDHigh = s.ReadInt32Value("CoreTransactionIDHigh"); break; case 248: IsOnlineTransaction = s.ReadBooleanValue("IsOnlineTransaction"); break; case 249: SuggestedMemState = s.ReadByteValue("SuggestedMemState"); break; case 250: SuggestedMemIndex = s.ReadInt32Value("SuggestedMemIndex"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading Transaction", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKMemorisedTransaction(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 222: SequenceNo = s.ReadInt32Value("SequenceNo"); break; case 223: Type = s.ReadByteValue("Type"); break; case 224: Amount = s.ReadMoneyValue("Amount"); break; case 225: Reference = s.ReadShortStringValue("Reference"); break; case 226: Particulars = s.ReadShortStringValue("Particulars"); break; case 227: Analysis = s.ReadShortStringValue("Analysis"); break; case 228: OtherParty = s.ReadShortStringValue("OtherParty"); break; case 229: StatementDetails = s.ReadShortStringValue("StatementDetails"); break; case 230: MatchonAmount = s.ReadByteValue("MatchonAmount"); break; case 231: MatchonRefce = s.ReadBooleanValue("MatchonRefce"); break; case 232: MatchonParticulars = s.ReadBooleanValue("MatchonParticulars"); break; case 233: MatchonAnalysis = s.ReadBooleanValue("MatchonAnalysis"); break; case 234: MatchonOtherParty = s.ReadBooleanValue("MatchonOtherParty"); break; case 235: MatchOnStatementDetails = s.ReadBooleanValue("MatchOnStatementDetails"); break; case 236: Account = s.ReadShortStringArray("Account", 236, 50, false); break; case 237: Percentage = s.ReadMoneyArray("Percentage", 237, 50, false); break; case 238: GSTClass = s.ReadByteArray("GSTClass", 238, 50, false); break; case 239: PayeeNumber = s.ReadInt32Value("PayeeNumber"); break; case 240: FromMasterList = s.ReadBooleanValue("FromMasterList"); break; case 241: GSTHasBeenEdited = s.ReadBooleanArray("GSTHasBeenEdited", 241, 50, false); break; case 242: MatchonNotes = s.ReadBooleanValue("MatchonNotes"); break; case 243: Notes = s.ReadShortStringValue("Notes"); break; case 244: GLNarration = s.ReadShortStringArray("GLNarration", 244, 50, false); break; case 245: LineType = s.ReadByteArray("LineType", 245, 50, false); break; case 246: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading MemorisedTransaction", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKClientExtra(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 42: TAXAppliesFrom = s.ReadMJulDateArray("TAXAppliesFrom", 42, 99, 5, false); break; case 43: TAXRates = s.ReadMMoneyArray("TAXRates", 43, 99, 5, false); break; case 44: ListEntriesSortOrder = s.ReadByteValue("ListEntriesSortOrder"); break; case 45: ListEntriesInclude = s.ReadByteValue("ListEntriesInclude"); break; case 46: ListEntriesTwoColumn = s.ReadBooleanValue("ListEntriesTwoColumn"); break; case 47: ListEntriesShowBalance = s.ReadBooleanValue("ListEntriesShowBalance"); break; case 48: ListEntriesShowNotes = s.ReadBooleanValue("ListEntriesShowNotes"); break; case 49: ListEntriesWrapNarration = s.ReadBooleanValue("ListEntriesWrapNarration"); break; case 50: ListEntriesShowOtherParty = s.ReadBooleanValue("ListEntriesShowOtherParty"); break; case 51: BookGenFinanceReports = s.ReadBooleanValue("BookGenFinanceReports"); break; case 52: FRSPrintNPChartCodeTitles = s.ReadBooleanValue("FRSPrintNPChartCodeTitles"); break; case 53: FRSNPChartCodeDetailType = s.ReadByteValue("FRSNPChartCodeDetailType"); break; case 54: AllowClientUnlockEntries = s.ReadBooleanValue("AllowClientUnlockEntries"); break; case 55: AllowClientEditChart = s.ReadBooleanValue("AllowClientEditChart"); break; case 56: ECodingDontSendJobs = s.ReadBooleanValue("ECodingDontSendJobs"); break; case 57: CustomCodingReportXML = s.ReadAnsiStringValue("CustomCodingReportXML"); break; case 58: CustomCodingReport = s.ReadBooleanValue("CustomCodingReport"); break; case 59: CodingReportColumnLine = s.ReadBooleanValue("CodingReportColumnLine"); break; case 60: ScheduledCustomCRXML = s.ReadAnsiStringValue("ScheduledCustomCRXML"); break; case 61: BudgetIncludeQuantities = s.ReadBooleanValue("BudgetIncludeQuantities"); break; case 62: ScheduledCRColumnLine = s.ReadBooleanValue("ScheduledCRColumnLine"); break; case 63: CustomLedgerReport = s.ReadBooleanValue("CustomLedgerReport"); break; case 64: CustomLedgerReportXML = s.ReadAnsiStringValue("CustomLedgerReportXML"); break; case 65: LocalCurrencyCode = s.ReadShortStringValue("LocalCurrencyCode"); break; case 66: BlockClientEditMems = s.ReadBooleanValue("BlockClientEditMems"); break; case 67: SendCustomDocuments = s.ReadBooleanValue("SendCustomDocuments"); break; case 68: SendCustomDocumentsList = s.ReadShortStringArray("SendCustomDocumentsList", 68, 10, false); break; case 69: ListPayeesDetailed = s.ReadBooleanValue("ListPayeesDetailed"); break; case 70: ListPayeesSortBy = s.ReadByteValue("ListPayeesSortBy"); break; case 71: ListPayeesRuleLine = s.ReadBooleanValue("ListPayeesRuleLine"); break; case 72: CustomSFLedgerTitles = s.ReadShortStringArray("CustomSFLedgerTitles", 72, 1, false); break; case 73: SUIPeriodStart = s.ReadJulDateValue("SUIPeriodStart"); break; case 74: SUIPeriodEnd = s.ReadJulDateValue("SUIPeriodEnd"); break; case 75: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 76: SUIStepDone = s.ReadBooleanArray("SUIStepDone", 76, 32, true); break; case 77: SendJobList = s.ReadBooleanValue("SendJobList"); break; case 78: SpareString = s.ReadAnsiStringValue("SpareString"); break; case 79: OnlineScheduledReports = s.ReadBooleanValue("OnlineScheduledReports"); break; case 80: FileTransferMethod = s.ReadByteValue("FileTransferMethod"); break; case 81: OnlineBillingFrequency = s.ReadShortStringValue("OnlineBillingFrequency"); break; case 82: OnlineMaxOfflineDays = s.ReadInt32Value("OnlineMaxOfflineDays"); break; case 83: OnlineStatus = s.ReadInt32Value("OnlineStatus"); break; case 84: OnlineSubscription = s.ReadShortStringArray("OnlineSubscription", 84, 64, false); break; case 85: OnlineUserEMail = s.ReadShortStringValue("OnlineUserEMail"); break; case 86: OnlineUserFullName = s.ReadShortStringValue("OnlineUserFullName"); break; case 87: OnlineValuesStored = s.ReadBooleanValue("OnlineValuesStored"); break; case 88: OnlineSubscriptionCount = s.ReadInt32Value("OnlineSubscriptionCount"); break; case 89: DeliverDataDirectToBLO = s.ReadBooleanValue("DeliverDataDirectToBLO"); break; case 90: BLOSecureCode = s.ReadShortStringValue("BLOSecureCode"); break; case 91: IncludeUnusedChartCodes = s.ReadBooleanValue("IncludeUnusedChartCodes"); break; case 92: IncludeNonPostingChartCodes = s.ReadBooleanValue("IncludeNonPostingChartCodes"); break; case 93: AddPrefixForAccountCode = s.ReadInt32Value("AddPrefixForAccountCode"); break; case 94: CashbookGSTMapFileLocation = s.ReadShortStringValue("CashbookGSTMapFileLocation"); break; case 95: CashbookExportFileLocation = s.ReadShortStringValue("CashbookExportFileLocation"); break; case 96: BGLFundIDSelected = s.ReadShortStringValue("BGLFundIDSelected"); break; case 97: BGLFundNameSelected = s.ReadShortStringValue("BGLFundNameSelected"); break; case 98: myMYOBClientIDSelected = s.ReadShortStringValue("myMYOBClientIDSelected"); break; case 99: myMYOBClientNameSelected = s.ReadShortStringValue("myMYOBClientNameSelected"); break; case 100: ListEntriesShowSummary = s.ReadBooleanValue("ListEntriesShowSummary"); break; case 101: ListEntriesGroupByJournalType = s.ReadBooleanValue("ListEntriesGroupByJournalType"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading ClientExtra", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKAccount(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 82: AccountCode = s.ReadShortStringValue("AccountCode"); break; case 83: ChartID = s.ReadShortStringValue("ChartID"); break; case 84: AccountDescription = s.ReadShortStringValue("AccountDescription"); break; case 85: GSTClass = s.ReadByteValue("GSTClass"); break; case 86: PostingAllowed = s.ReadBooleanValue("PostingAllowed"); break; case 87: AccountType = s.ReadByteValue("AccountType"); break; case 88: EnterQuantity = s.ReadBooleanValue("EnterQuantity"); break; case 89: PrintinDivision = s.ReadBooleanArray("PrintinDivision", 89, 250, false); break; case 90: MoneyVarianceUp = s.ReadMoneyValue("MoneyVarianceUp"); break; case 91: MoneyVarianceDown = s.ReadMoneyValue("MoneyVarianceDown"); break; case 92: PercentVarianceUp = s.ReadMoneyValue("PercentVarianceUp"); break; case 93: PercentVarianceDown = s.ReadMoneyValue("PercentVarianceDown"); break; case 94: LastYearsTotalsSBOnly = s.ReadMoneyArray("LastYearsTotalsSBOnly", 94, 12, false); break; case 95: OpeningBalanceSBOnly = s.ReadMoneyValue("OpeningBalanceSBOnly"); break; case 96: Subtype = s.ReadByteValue("Subtype"); break; case 97: AlternativeCode = s.ReadShortStringValue("AlternativeCode"); break; case 98: LinkedAccountOS = s.ReadShortStringValue("LinkedAccountOS"); break; case 99: LinkedAccountCS = s.ReadShortStringValue("LinkedAccountCS"); break; case 100: HideInBasicChart = s.ReadBooleanValue("HideInBasicChart"); break; case 101: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 102: Inactive = s.ReadBooleanValue("Inactive"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading Account", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKMemorisationLine(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 147: Account = s.ReadShortStringValue("Account"); break; case 148: Percentage = s.ReadMoneyValue("Percentage"); break; case 149: GSTClass = s.ReadByteValue("GSTClass"); break; case 150: GSTHasBeenEdited = s.ReadBooleanValue("GSTHasBeenEdited"); break; case 151: GLNarration = s.ReadAnsiStringValue("GLNarration"); break; case 152: LineType = s.ReadByteValue("LineType"); break; case 153: GSTAmount = s.ReadMoneyValue("GSTAmount"); break; case 154: Payee = s.ReadInt32Value("Payee"); break; case 155: SFPCFranked = s.ReadMoneyValue("SFPCFranked"); break; case 156: SFMemberID = s.ReadShortStringValue("SFMemberID"); break; case 157: SFFundID = s.ReadInt32Value("SFFundID"); break; case 158: SFFundCode = s.ReadShortStringValue("SFFundCode"); break; case 159: SFTransID = s.ReadInt32Value("SFTransID"); break; case 160: SFTransCode = s.ReadAnsiStringValue("SFTransCode"); break; case 161: SFMemberAccountID = s.ReadInt32Value("SFMemberAccountID"); break; case 162: SFMemberAccountCode = s.ReadShortStringValue("SFMemberAccountCode"); break; case 163: SFEdited = s.ReadBooleanValue("SFEdited"); break; case 164: SFMemberComponent = s.ReadByteValue("SFMemberComponent"); break; case 165: SFPCUnFranked = s.ReadMoneyValue("SFPCUnFranked"); break; case 166: JobCode = s.ReadShortStringValue("JobCode"); break; case 167: Quantity = s.ReadMoneyValue("Quantity"); break; case 168: SFGDTDate = s.ReadJulDateValue("SFGDTDate"); break; case 169: SFTaxFreeDist = s.ReadMoneyValue("SFTaxFreeDist"); break; case 170: SFTaxExemptDist = s.ReadMoneyValue("SFTaxExemptDist"); break; case 171: SFTaxDeferredDist = s.ReadMoneyValue("SFTaxDeferredDist"); break; case 172: SFTFNCredits = s.ReadMoneyValue("SFTFNCredits"); break; case 173: SFForeignIncome = s.ReadMoneyValue("SFForeignIncome"); break; case 174: SFForeignTaxCredits = s.ReadMoneyValue("SFForeignTaxCredits"); break; case 175: SFCapitalGainsIndexed = s.ReadMoneyValue("SFCapitalGainsIndexed"); break; case 176: SFCapitalGainsDisc = s.ReadMoneyValue("SFCapitalGainsDisc"); break; case 177: SFCapitalGainsOther = s.ReadMoneyValue("SFCapitalGainsOther"); break; case 178: SFOtherExpenses = s.ReadMoneyValue("SFOtherExpenses"); break; case 179: SFInterest = s.ReadMoneyValue("SFInterest"); break; case 180: SFCapitalGainsForeignDisc = s.ReadMoneyValue("SFCapitalGainsForeignDisc"); break; case 181: SFRent = s.ReadMoneyValue("SFRent"); break; case 182: SFSpecialIncome = s.ReadMoneyValue("SFSpecialIncome"); break; case 183: SFOtherTaxCredit = s.ReadMoneyValue("SFOtherTaxCredit"); break; case 184: SFNonResidentTax = s.ReadMoneyValue("SFNonResidentTax"); break; case 185: SFForeignCapitalGainsCredit = s.ReadMoneyValue("SFForeignCapitalGainsCredit"); break; case 186: SFCapitalGainsFractionHalf = s.ReadBooleanValue("SFCapitalGainsFractionHalf"); break; case 187: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 188: SFImputedCredit = s.ReadMoneyValue("SFImputedCredit"); break; case 189: SFOtherIncome = s.ReadMoneyValue("SFOtherIncome"); break; case 190: SFOtherTrustDeductions = s.ReadMoneyValue("SFOtherTrustDeductions"); break; case 191: SFCGTConcessionAmount = s.ReadMoneyValue("SFCGTConcessionAmount"); break; case 192: SFCGTForeignCGTBeforeDisc = s.ReadMoneyValue("SFCGTForeignCGTBeforeDisc"); break; case 193: SFCGTForeignCGTIndexation = s.ReadMoneyValue("SFCGTForeignCGTIndexation"); break; case 194: SFCGTForeignCGTOtherMethod = s.ReadMoneyValue("SFCGTForeignCGTOtherMethod"); break; case 195: SFCGTTaxPaidIndexation = s.ReadMoneyValue("SFCGTTaxPaidIndexation"); break; case 196: SFCGTTaxPaidOtherMethod = s.ReadMoneyValue("SFCGTTaxPaidOtherMethod"); break; case 197: SFOtherNetForeignIncome = s.ReadMoneyValue("SFOtherNetForeignIncome"); break; case 198: SFCashDistribution = s.ReadMoneyValue("SFCashDistribution"); break; case 199: SFAUFrankingCreditsNZCo = s.ReadMoneyValue("SFAUFrankingCreditsNZCo"); break; case 200: SFNonResWitholdingTax = s.ReadMoneyValue("SFNonResWitholdingTax"); break; case 201: SFLICDeductions = s.ReadMoneyValue("SFLICDeductions"); break; case 202: SFNonCashCGTDiscountedBeforeDiscount = s.ReadMoneyValue("SFNonCashCGTDiscountedBeforeDiscount"); break; case 203: SFNonCashCGTIndexation = s.ReadMoneyValue("SFNonCashCGTIndexation"); break; case 204: SFNonCashCGTOtherMethod = s.ReadMoneyValue("SFNonCashCGTOtherMethod"); break; case 205: SFNonCashCGTCapitalLosses = s.ReadMoneyValue("SFNonCashCGTCapitalLosses"); break; case 206: SFShareBrokerage = s.ReadMoneyValue("SFShareBrokerage"); break; case 207: SFShareConsideration = s.ReadMoneyValue("SFShareConsideration"); break; case 208: SFShareGSTAmount = s.ReadMoneyValue("SFShareGSTAmount"); break; case 209: SFShareGSTRate = s.ReadShortStringValue("SFShareGSTRate"); break; case 210: SFCashDate = s.ReadJulDateValue("SFCashDate"); break; case 211: SFAccrualDate = s.ReadJulDateValue("SFAccrualDate"); break; case 212: SFRecordDate = s.ReadJulDateValue("SFRecordDate"); break; case 213: SFContractDate = s.ReadJulDateValue("SFContractDate"); break; case 214: SFSettlementDate = s.ReadJulDateValue("SFSettlementDate"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading MemorisationLine", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKBalances(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 192: GSTPeriodStarts = s.ReadJulDateValue("GSTPeriodStarts"); break; case 193: GSTPeriodEnds = s.ReadJulDateValue("GSTPeriodEnds"); break; case 194: ClosingDebtorsBalance = s.ReadMoneyValue("ClosingDebtorsBalance"); break; case 195: OpeningDebtorsBalance = s.ReadMoneyValue("OpeningDebtorsBalance"); break; case 196: FBTAdjustments = s.ReadMoneyValue("FBTAdjustments"); break; case 197: OtherAdjustments = s.ReadMoneyValue("OtherAdjustments"); break; case 198: ClosingCreditorsBalance = s.ReadMoneyValue("ClosingCreditorsBalance"); break; case 199: OpeningCreditorsBalance = s.ReadMoneyValue("OpeningCreditorsBalance"); break; case 200: CreditAdjustments = s.ReadMoneyValue("CreditAdjustments"); break; case 201: BASDocumentID = s.ReadShortStringValue("BASDocumentID"); break; case 202: BAS1CPTLastMonthsIncome = s.ReadMoneyValue("BAS1CPTLastMonthsIncome"); break; case 203: BAS1DPTBranchIncome = s.ReadMoneyValue("BAS1DPTBranchIncome"); break; case 204: BAS1EPTAssets = s.ReadMoneyValue("BAS1EPTAssets"); break; case 205: BAS1FPTTax = s.ReadMoneyValue("BAS1FPTTax"); break; case 206: BAS1GPTRefundUsed = s.ReadMoneyValue("BAS1GPTRefundUsed"); break; case 207: BAS5BPTRatio = s.ReadMoneyValue("BAS5BPTRatio"); break; case 208: BAS6BGSTAdjPrivUse = s.ReadMoneyValue("BAS6BGSTAdjPrivUse"); break; case 209: BAS7VAT4GSTAdjBAssets = s.ReadMoneyValue("BAS7VAT4GSTAdjBAssets"); break; case 210: BASG7GSTAdjAssets = s.ReadMoneyValue("BASG7GSTAdjAssets"); break; case 211: BASG18GSTAdjEntertain = s.ReadMoneyValue("BASG18GSTAdjEntertain"); break; case 212: BASW1GSTAdjChange = s.ReadMoneyValue("BASW1GSTAdjChange"); break; case 213: BASW2GSTAdjExempt = s.ReadMoneyValue("BASW2GSTAdjExempt"); break; case 214: BASW3GSTAdjOther = s.ReadMoneyValue("BASW3GSTAdjOther"); break; case 215: BASW4GSTCdjBusUse = s.ReadMoneyValue("BASW4GSTCdjBusUse"); break; case 216: BAST1VAT1GSTCdjPAssets = s.ReadMoneyValue("BAST1VAT1GSTCdjPAssets"); break; case 217: BAST2VAT2GSTCdjChange = s.ReadMoneyValue("BAST2VAT2GSTCdjChange"); break; case 218: BAST3VAT3GSTCdjOther = s.ReadMoneyValue("BAST3VAT3GSTCdjOther"); break; case 219: BAST4 = s.ReadInt32Value("BAST4"); break; case 220: BASF1GSTClosingDebtorsBalanceA = s.ReadMoneyValue("BASF1GSTClosingDebtorsBalanceA"); break; case 221: BASF2GSTOpeningDebtorsBalanceB = s.ReadMoneyValue("BASF2GSTOpeningDebtorsBalanceB"); break; case 222: BASF3 = s.ReadMoneyValue("BASF3"); break; case 223: BASF4 = s.ReadInt32Value("BASF4"); break; case 224: BASFormUsed = s.ReadByteValue("BASFormUsed"); break; case 225: BASGSTOption = s.ReadByteValue("BASGSTOption"); break; case 226: BASGSTIncluded = s.ReadBooleanValue("BASGSTIncluded"); break; case 227: BASG21GSTClosingCreditorsBalanceA = s.ReadMoneyValue("BASG21GSTClosingCreditorsBalanceA"); break; case 228: BASG22GSTOpeningCreditorsBalanceB = s.ReadMoneyValue("BASG22GSTOpeningCreditorsBalanceB"); break; case 229: BASG23 = s.ReadMoneyValue("BASG23"); break; case 230: BASG24 = s.ReadInt32Value("BASG24"); break; case 231: BASPAYGInstalmentOption = s.ReadByteValue("BASPAYGInstalmentOption"); break; case 232: BAST7VAT7 = s.ReadMoneyValue("BAST7VAT7"); break; case 233: BAST8VAT8 = s.ReadMoneyValue("BAST8VAT8"); break; case 234: BAST9VAT9 = s.ReadMoneyValue("BAST9VAT9"); break; case 235: BAS1H = s.ReadMoneyValue("BAS1H"); break; case 236: GSTAdjPrivUse = s.ReadMoneyValue("GSTAdjPrivUse"); break; case 237: GSTAdjBAssets = s.ReadMoneyValue("GSTAdjBAssets"); break; case 238: GSTAdjAssets = s.ReadMoneyValue("GSTAdjAssets"); break; case 239: GSTAdjEntertain = s.ReadMoneyValue("GSTAdjEntertain"); break; case 240: GSTAdjChange = s.ReadMoneyValue("GSTAdjChange"); break; case 241: GSTAdjExempt = s.ReadMoneyValue("GSTAdjExempt"); break; case 242: GSTAdjOther = s.ReadMoneyValue("GSTAdjOther"); break; case 243: GSTCdjBusUse = s.ReadMoneyValue("GSTCdjBusUse"); break; case 244: GSTCdjPAssets = s.ReadMoneyValue("GSTCdjPAssets"); break; case 245: GSTCdjChange = s.ReadMoneyValue("GSTCdjChange"); break; case 246: GSTCdjOther = s.ReadMoneyValue("GSTCdjOther"); break; case 247: BAS7C = s.ReadMoneyValue("BAS7C"); break; case 248: BAS7D = s.ReadMoneyValue("BAS7D"); break; case 249: BAST6VAT6 = s.ReadMoneyValue("BAST6VAT6"); break; case 250: BAST5VAT5 = s.ReadMoneyValue("BAST5VAT5"); break; case 251: UsingFuelPercentMethod = s.ReadBooleanValue("UsingFuelPercentMethod"); break; case 252: PTFormType = s.ReadByteValue("PTFormType"); break; case 253: GSTCdjCustoms = s.ReadMoneyValue("GSTCdjCustoms"); break; case 254: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 255: VATAdjustments = s.ReadMoneyArray("VATAdjustments", 255, 99, true); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading Balances", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKMemorisationDetail(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 142: SequenceNo = s.ReadInt32Value("SequenceNo"); break; case 143: Type = s.ReadByteValue("Type"); break; case 144: Amount = s.ReadMoneyValue("Amount"); break; case 145: Reference = s.ReadShortStringValue("Reference"); break; case 146: Particulars = s.ReadShortStringValue("Particulars"); break; case 147: Analysis = s.ReadShortStringValue("Analysis"); break; case 148: OtherParty = s.ReadShortStringValue("OtherParty"); break; case 149: StatementDetails = s.ReadShortStringValue("StatementDetails"); break; case 150: MatchonAmount = s.ReadByteValue("MatchonAmount"); break; case 151: MatchonAnalysis = s.ReadBooleanValue("MatchonAnalysis"); break; case 152: MatchonOtherParty = s.ReadBooleanValue("MatchonOtherParty"); break; case 153: MatchonNotes = s.ReadBooleanValue("MatchonNotes"); break; case 154: MatchonParticulars = s.ReadBooleanValue("MatchonParticulars"); break; case 155: MatchonRefce = s.ReadBooleanValue("MatchonRefce"); break; case 156: MatchOnStatementDetails = s.ReadBooleanValue("MatchOnStatementDetails"); break; case 157: PayeeNumber = s.ReadInt32Value("PayeeNumber"); break; case 158: FromMasterList = s.ReadBooleanValue("FromMasterList"); break; case 159: Notes = s.ReadShortStringValue("Notes"); break; case 160: DateLastApplied = s.ReadInt32Value("DateLastApplied"); break; case 161: UseAccountingSystem = s.ReadBooleanValue("UseAccountingSystem"); break; case 162: AccountingSystem = s.ReadByteValue("AccountingSystem"); break; case 163: FromDate = s.ReadJulDateValue("FromDate"); break; case 164: UntilDate = s.ReadJulDateValue("UntilDate"); break; case 165: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading MemorisationDetail", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKDissection(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 182: SequenceNo = s.ReadInt32Value("SequenceNo"); break; case 183: Account = s.ReadShortStringValue("Account"); break; case 184: Amount = s.ReadMoneyValue("Amount"); break; case 185: GSTClass = s.ReadByteValue("GSTClass"); break; case 186: GSTAmount = s.ReadMoneyValue("GSTAmount"); break; case 187: Quantity = s.ReadMoneyValue("Quantity"); break; case 188: OldNarration = s.ReadShortStringValue("OldNarration"); break; case 189: HasBeenEdited = s.ReadBooleanValue("HasBeenEdited"); break; case 190: JournalType = s.ReadByteValue("JournalType"); break; case 191: GSTHasBeenEdited = s.ReadBooleanValue("GSTHasBeenEdited"); break; case 192: PayeeNumber = s.ReadInt32Value("PayeeNumber"); break; case 193: Notes = s.ReadAnsiStringValue("Notes"); break; case 194: ECodingImportNotes = s.ReadAnsiStringValue("ECodingImportNotes"); break; case 195: GLNarration = s.ReadAnsiStringValue("GLNarration"); break; case 196: LinkedJournalDate = s.ReadJulDateValue("LinkedJournalDate"); break; case 197: SFImputedCredit = s.ReadMoneyValue("SFImputedCredit"); break; case 198: SFTaxFreeDist = s.ReadMoneyValue("SFTaxFreeDist"); break; case 199: SFTaxExemptDist = s.ReadMoneyValue("SFTaxExemptDist"); break; case 200: SFTaxDeferredDist = s.ReadMoneyValue("SFTaxDeferredDist"); break; case 201: SFTFNCredits = s.ReadMoneyValue("SFTFNCredits"); break; case 202: SFForeignIncome = s.ReadMoneyValue("SFForeignIncome"); break; case 203: SFForeignTaxCredits = s.ReadMoneyValue("SFForeignTaxCredits"); break; case 204: SFCapitalGainsIndexed = s.ReadMoneyValue("SFCapitalGainsIndexed"); break; case 205: SFCapitalGainsDisc = s.ReadMoneyValue("SFCapitalGainsDisc"); break; case 206: SFSuperFieldsEdited = s.ReadBooleanValue("SFSuperFieldsEdited"); break; case 207: SFCapitalGainsOther = s.ReadMoneyValue("SFCapitalGainsOther"); break; case 208: SFOtherExpenses = s.ReadMoneyValue("SFOtherExpenses"); break; case 209: SFCGTDate = s.ReadInt32Value("SFCGTDate"); break; case 210: ExternalGUID = s.ReadAnsiStringValue("ExternalGUID"); break; case 211: DocumentTitle = s.ReadAnsiStringValue("DocumentTitle"); break; case 212: DocumentStatusUpdateRequired = s.ReadBooleanValue("DocumentStatusUpdateRequired"); break; case 213: NotesRead = s.ReadBooleanValue("NotesRead"); break; case 214: ImportNotesRead = s.ReadBooleanValue("ImportNotesRead"); break; case 215: Reference = s.ReadShortStringValue("Reference"); break; case 216: SFFranked = s.ReadMoneyValue("SFFranked"); break; case 217: SFUnfranked = s.ReadMoneyValue("SFUnfranked"); break; case 218: SFInterest = s.ReadMoneyValue("SFInterest"); break; case 219: SFCapitalGainsForeignDisc = s.ReadMoneyValue("SFCapitalGainsForeignDisc"); break; case 220: SFRent = s.ReadMoneyValue("SFRent"); break; case 221: SFSpecialIncome = s.ReadMoneyValue("SFSpecialIncome"); break; case 222: SFOtherTaxCredit = s.ReadMoneyValue("SFOtherTaxCredit"); break; case 223: SFNonResidentTax = s.ReadMoneyValue("SFNonResidentTax"); break; case 224: SFMemberID = s.ReadShortStringValue("SFMemberID"); break; case 225: SFForeignCapitalGainsCredit = s.ReadMoneyValue("SFForeignCapitalGainsCredit"); break; case 226: SFMemberComponent = s.ReadByteValue("SFMemberComponent"); break; case 227: PercentAmount = s.ReadMoneyValue("PercentAmount"); break; case 228: AmountTypeIsPercent = s.ReadBooleanValue("AmountTypeIsPercent"); break; case 229: SFFundID = s.ReadInt32Value("SFFundID"); break; case 230: SFMemberAccountID = s.ReadInt32Value("SFMemberAccountID"); break; case 231: SFFundCode = s.ReadShortStringValue("SFFundCode"); break; case 232: SFMemberAccountCode = s.ReadShortStringValue("SFMemberAccountCode"); break; case 233: SFTransactionID = s.ReadInt32Value("SFTransactionID"); break; case 234: SFTransactionCode = s.ReadAnsiStringValue("SFTransactionCode"); break; case 235: SFCapitalGainsFractionHalf = s.ReadBooleanValue("SFCapitalGainsFractionHalf"); break; case 236: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 237: JobCode = s.ReadShortStringValue("JobCode"); break; case 238: TaxInvoice = s.ReadBooleanValue("TaxInvoice"); break; case 240: ForeignCurrencyAmount = s.ReadMoneyValue("ForeignCurrencyAmount"); break; case 241: ForexDocumentDate = s.ReadJulDateValue("ForexDocumentDate"); break; case 242: OpeningBalanceCurrency = s.ReadShortStringValue("OpeningBalanceCurrency"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading Dissection", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKBankAccount(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 152: BankAccountNumber = s.ReadShortStringValue("BankAccountNumber"); break; case 153: BankAccountName = s.ReadShortStringValue("BankAccountName"); break; case 154: BankAccountPassword = s.ReadShortStringValue("BankAccountPassword"); break; case 155: ContraAccountCode = s.ReadShortStringValue("ContraAccountCode"); break; case 156: CurrentBalance = s.ReadMoneyValue("CurrentBalance"); break; case 157: ApplyMasterMemorisedEntries = s.ReadBooleanValue("ApplyMasterMemorisedEntries"); break; case 158: AccountType = s.ReadByteValue("AccountType"); break; case 159: ColumnOrder = s.ReadByteArray("ColumnOrder", 159, 32, true); break; case 160: ColumnWidth = s.ReadInt32Array("ColumnWidth", 160, 32, true); break; case 161: PreferredView = s.ReadByteValue("PreferredView"); break; case 162: HighestBankLinkID = s.ReadInt32Value("HighestBankLinkID"); break; case 163: HighestLRN = s.ReadInt32Value("HighestLRN"); break; case 164: ColumnisHidden = s.ReadBooleanArray("ColumnisHidden", 164, 32, true); break; case 165: AccountExpiryDate = s.ReadJulDateValue("AccountExpiryDate"); break; case 166: HighestMatchedItemID = s.ReadInt32Value("HighestMatchedItemID"); break; case 167: NotesAlwaysVisible = s.ReadBooleanValue("NotesAlwaysVisible"); break; case 168: NotesHeight = s.ReadInt32Value("NotesHeight"); break; case 169: LastECodingTransactionUID = s.ReadInt32Value("LastECodingTransactionUID"); break; case 170: ColumnIsNotEditable = s.ReadBooleanArray("ColumnIsNotEditable", 170, 32, true); break; case 171: ExtendExpiryDate = s.ReadBooleanValue("ExtendExpiryDate"); break; case 172: IsAManualAccount = s.ReadBooleanValue("IsAManualAccount"); break; case 173: AnalysisCodingLevel = s.ReadInt32Value("AnalysisCodingLevel"); break; case 174: ECodingAccountUID = s.ReadInt32Value("ECodingAccountUID"); break; case 175: CodingSortOrder = s.ReadInt32Value("CodingSortOrder"); break; case 176: ManualAccountType = s.ReadInt32Value("ManualAccountType"); break; case 177: ManualAccountInstitution = s.ReadShortStringValue("ManualAccountInstitution"); break; case 178: ManualAccountSentToAdmin = s.ReadBooleanValue("ManualAccountSentToAdmin"); break; case 179: SpareString = s.ReadAnsiStringValue("SpareString"); break; case 180: IsAProvisionalAccount = s.ReadBooleanValue("IsAProvisionalAccount"); break; case 181: SpareNumber = s.ReadInt32Value("SpareNumber"); break; case 182: SpareByte = s.ReadByteValue("SpareByte"); break; case 183: HDEColumnOrder = s.ReadByteArray("HDEColumnOrder", 183, 32, true); break; case 184: HDEColumnWidth = s.ReadInt32Array("HDEColumnWidth", 184, 32, true); break; case 185: HDEColumnisHidden = s.ReadBooleanArray("HDEColumnisHidden", 185, 32, true); break; case 186: HDEColumnisNotEditable = s.ReadBooleanArray("HDEColumnisNotEditable", 186, 32, true); break; case 187: HDESortOrder = s.ReadInt32Value("HDESortOrder"); break; case 188: MDEColumnOrder = s.ReadByteArray("MDEColumnOrder", 188, 32, true); break; case 189: MDEColumnWidth = s.ReadInt32Array("MDEColumnWidth", 189, 32, true); break; case 190: MDEColumnisHidden = s.ReadBooleanArray("MDEColumnisHidden", 190, 32, true); break; case 191: MDEColumnisNotEditable = s.ReadBooleanArray("MDEColumnisNotEditable", 191, 32, true); break; case 192: MDESortOrder = s.ReadInt32Value("MDESortOrder"); break; case 193: DISColumnOrder = s.ReadByteArray("DISColumnOrder", 193, 32, true); break; case 194: DISColumnWidth = s.ReadInt32Array("DISColumnWidth", 194, 32, true); break; case 195: DISColumnisHidden = s.ReadBooleanArray("DISColumnisHidden", 195, 32, true); break; case 196: DISColumnisNotEditable = s.ReadBooleanArray("DISColumnisNotEditable", 196, 32, true); break; case 197: DISSortOrder = s.ReadInt32Value("DISSortOrder"); break; case 198: DesktopSuperLedgerID = s.ReadInt32Value("DesktopSuperLedgerID"); break; case 199: CurrencyCode = s.ReadShortStringValue("CurrencyCode"); break; case 200: DefaultForexSource = s.ReadShortStringValue("DefaultForexSource"); break; case 201: DefaultForexDescription = s.ReadShortStringValue("DefaultForexDescription"); break; case 202: SuperFundLedgerCode = s.ReadShortStringValue("SuperFundLedgerCode"); break; case 203: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 204: CoreAccountID = s.ReadInt32Value("CoreAccountID"); break; case 205: SecureOnlineCode = s.ReadShortStringValue("SecureOnlineCode"); break; case 206: ExchangeGainLossCode = s.ReadShortStringValue("ExchangeGainLossCode"); break; case 207: ExtractAccountNumber = s.ReadShortStringValue("ExtractAccountNumber"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading BankAccount", token)); } token = s.ReadToken(); } }
/// <summary> /// Construct from BKStreamReader /// </summary> public BKPayeeLine(BankLinkTokenStreamReader s) { var token = BeginToken; while (token != EndToken) { switch (token) { case 97: Account = s.ReadShortStringValue("Account"); break; case 98: Percentage = s.ReadMoneyValue("Percentage"); break; case 99: GSTClass = s.ReadByteValue("GSTClass"); break; case 100: GSTHasBeenEdited = s.ReadBooleanValue("GSTHasBeenEdited"); break; case 101: GLNarration = s.ReadAnsiStringValue("GLNarration"); break; case 102: LineType = s.ReadByteValue("LineType"); break; case 103: GSTAmount = s.ReadMoneyValue("GSTAmount"); break; case 104: SFPCFranked = s.ReadMoneyValue("SFPCFranked"); break; case 105: SFMemberID = s.ReadShortStringValue("SFMemberID"); break; case 106: SFFundID = s.ReadInt32Value("SFFundID"); break; case 107: SFFundCode = s.ReadShortStringValue("SFFundCode"); break; case 108: SFTransID = s.ReadInt32Value("SFTransID"); break; case 109: SFTransCode = s.ReadAnsiStringValue("SFTransCode"); break; case 110: SFMemberAccountID = s.ReadInt32Value("SFMemberAccountID"); break; case 111: SFMemberAccountCode = s.ReadShortStringValue("SFMemberAccountCode"); break; case 112: SFEdited = s.ReadBooleanValue("SFEdited"); break; case 113: SFMemberComponent = s.ReadByteValue("SFMemberComponent"); break; case 114: SFPCUnFranked = s.ReadMoneyValue("SFPCUnFranked"); break; case 115: Quantity = s.ReadMoneyValue("Quantity"); break; case 116: SFGDTDate = s.ReadJulDateValue("SFGDTDate"); break; case 117: SFTaxFreeDist = s.ReadMoneyValue("SFTaxFreeDist"); break; case 118: SFTaxExemptDist = s.ReadMoneyValue("SFTaxExemptDist"); break; case 119: SFTaxDeferredDist = s.ReadMoneyValue("SFTaxDeferredDist"); break; case 120: SFTFNCredits = s.ReadMoneyValue("SFTFNCredits"); break; case 121: SFForeignIncome = s.ReadMoneyValue("SFForeignIncome"); break; case 122: SFForeignTaxCredits = s.ReadMoneyValue("SFForeignTaxCredits"); break; case 123: SFCapitalGainsIndexed = s.ReadMoneyValue("SFCapitalGainsIndexed"); break; case 124: SFCapitalGainsDisc = s.ReadMoneyValue("SFCapitalGainsDisc"); break; case 125: SFCapitalGainsOther = s.ReadMoneyValue("SFCapitalGainsOther"); break; case 126: SFOtherExpenses = s.ReadMoneyValue("SFOtherExpenses"); break; case 127: SFInterest = s.ReadMoneyValue("SFInterest"); break; case 128: SFCapitalGainsForeignDisc = s.ReadMoneyValue("SFCapitalGainsForeignDisc"); break; case 129: SFRent = s.ReadMoneyValue("SFRent"); break; case 130: SFSpecialIncome = s.ReadMoneyValue("SFSpecialIncome"); break; case 131: SFOtherTaxCredit = s.ReadMoneyValue("SFOtherTaxCredit"); break; case 132: SFNonResidentTax = s.ReadMoneyValue("SFNonResidentTax"); break; case 133: SFForeignCapitalGainsCredit = s.ReadMoneyValue("SFForeignCapitalGainsCredit"); break; case 134: SFCapitalGainsFractionHalf = s.ReadBooleanValue("SFCapitalGainsFractionHalf"); break; case 135: SFLedgerID = s.ReadInt32Value("SFLedgerID"); break; case 136: SFLedgerName = s.ReadAnsiStringValue("SFLedgerName"); break; case 137: AuditRecordID = s.ReadInt32Value("AuditRecordID"); break; case 138: SFOtherIncome = s.ReadMoneyValue("SFOtherIncome"); break; case 139: SFOtherTrustDeductions = s.ReadMoneyValue("SFOtherTrustDeductions"); break; case 140: SFCGTConcessionAmount = s.ReadMoneyValue("SFCGTConcessionAmount"); break; case 141: SFCGTForeignCGTBeforeDisc = s.ReadMoneyValue("SFCGTForeignCGTBeforeDisc"); break; case 142: SFCGTForeignCGTIndexation = s.ReadMoneyValue("SFCGTForeignCGTIndexation"); break; case 143: SFCGTForeignCGTOtherMethod = s.ReadMoneyValue("SFCGTForeignCGTOtherMethod"); break; case 144: SFCGTTaxPaidIndexation = s.ReadMoneyValue("SFCGTTaxPaidIndexation"); break; case 145: SFCGTTaxPaidOtherMethod = s.ReadMoneyValue("SFCGTTaxPaidOtherMethod"); break; case 146: SFOtherNetForeignIncome = s.ReadMoneyValue("SFOtherNetForeignIncome"); break; case 147: SFCashDistribution = s.ReadMoneyValue("SFCashDistribution"); break; case 148: SFAUFrankingCreditsNZCo = s.ReadMoneyValue("SFAUFrankingCreditsNZCo"); break; case 149: SFNonResWitholdingTax = s.ReadMoneyValue("SFNonResWitholdingTax"); break; case 150: SFLICDeductions = s.ReadMoneyValue("SFLICDeductions"); break; case 151: SFNonCashCGTDiscountedBeforeDiscount = s.ReadMoneyValue("SFNonCashCGTDiscountedBeforeDiscount"); break; case 152: SFNonCashCGTIndexation = s.ReadMoneyValue("SFNonCashCGTIndexation"); break; case 153: SFNonCashCGTOtherMethod = s.ReadMoneyValue("SFNonCashCGTOtherMethod"); break; case 154: SFNonCashCGTCapitalLosses = s.ReadMoneyValue("SFNonCashCGTCapitalLosses"); break; case 155: SFShareBrokerage = s.ReadMoneyValue("SFShareBrokerage"); break; case 156: SFShareConsideration = s.ReadMoneyValue("SFShareConsideration"); break; case 157: SFShareGSTAmount = s.ReadMoneyValue("SFShareGSTAmount"); break; case 158: SFShareGSTRate = s.ReadShortStringValue("SFShareGSTRate"); break; case 159: SFCashDate = s.ReadJulDateValue("SFCashDate"); break; case 160: SFAccrualDate = s.ReadJulDateValue("SFAccrualDate"); break; case 161: SFRecordDate = s.ReadJulDateValue("SFRecordDate"); break; case 162: SFContractDate = s.ReadJulDateValue("SFContractDate"); break; case 163: SFSettlementDate = s.ReadJulDateValue("SFSettlementDate"); break; case BeginToken: case EndToken: break; default: throw new Exception(string.Format("unexpected Code: {0} reading PayeeLine", token)); } token = s.ReadToken(); } }