mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms.Design;
|
|
|
|
namespace bnhtrade.Core.Test.Account
|
|
{
|
|
public class Account
|
|
{
|
|
public Account()
|
|
{
|
|
Journal();
|
|
}
|
|
|
|
public void PurchaseInvoice()
|
|
{
|
|
var read = new Data.Database.Account.ReadPurchaseInvoice();
|
|
read.PurchaseInvoiceIdList = new List<int> { 14718, 100, 101, 102, 300, 400, 1200, 2734, 6339, 9999 }; // 10 in total
|
|
var result = read.Read();
|
|
}
|
|
|
|
public void PurchaseInvoiceLine()
|
|
{
|
|
var read = new Data.Database.Account.ReadPurchaseInvoiceLine();
|
|
read.ItemDescription = new List<string> { "xbox", "kill" };
|
|
var result = read.Read();
|
|
}
|
|
|
|
public void Journal()
|
|
{
|
|
var read = new Data.Database.Account.ReadJournal();
|
|
read.AccountJournalId = new List<uint> { 123, 300, 324, 5678, 22 };
|
|
var result = read.Read();
|
|
}
|
|
}
|
|
}
|