-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from MYOB-Technology/candidate
Create release
- Loading branch information
Showing
39 changed files
with
3,585 additions
and
1,476 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="coveralls.io" version="1.1.86" /> | ||
<package id="NUnit.Runners" version="2.6.3" /> | ||
<package id="OpenCover" version="4.5.3723" /> | ||
<package id="ReportGenerator" version="2.0.4.0" /> | ||
<package id="coveralls.io" version="1.3.4" /> | ||
<package id="Microsoft.Bcl" version="1.1.10" /> | ||
<package id="Microsoft.Bcl.Async" version="1.0.168" /> | ||
<package id="Microsoft.Bcl.Build" version="1.0.21" /> | ||
<package id="NUnit.Runners" version="2.6.4" /> | ||
<package id="OpenCover" version="4.6.166" /> | ||
<package id="ReportGenerator" version="2.1.8.0" /> | ||
<package id="xunit.runners" version="1.9.2" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net35" /> | ||
</packages> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net40" /> | ||
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net40" /> | ||
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="net40" /> | ||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net40" /> | ||
</packages> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
MYOB.API.SDK/SDK.Package/linqpad-samples/Getting Started/ARL-basic.linq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<Query Kind="Statements"> | ||
<NuGetReference>MYOB.AccountRight.API.SDK</NuGetReference> | ||
<Namespace>MYOB.AccountRight.SDK</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Communication</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Banking</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Company</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Contact</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.GeneralLedger</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Inventory</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Payroll</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.PayrollCategory</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Purchase</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Report.Payroll</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Sale</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.Security</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Contracts.Version2.TimeBilling</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Extensions</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Banking</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Company</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Contact</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.GeneralLedger</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Inventory</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Payroll</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.PayrollCategory</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Purchase</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Report.Payroll</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Sale</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.Security</Namespace> | ||
<Namespace>MYOB.AccountRight.SDK.Services.TimeBilling</Namespace> | ||
</Query> | ||
|
||
// set up the configuration for working against a local CF | ||
var configuration = new ApiConfiguration("http://localhost:8080/accountright"); | ||
|
||
// get all company files | ||
var cfService = new CompanyFileService(configuration); | ||
var companyFiles = cfService.GetRange(); | ||
|
||
// get the target company file (this is a sample CF) | ||
var cwtr = companyFiles.First(c => c.ProductVersion == "2015.3" && c.LibraryPath.Contains("Clearwater_Plus_AU")); | ||
cwtr.Dump(); | ||
|
||
// list the accounts (now we need some credentials) | ||
var credentials = new CompanyFileCredentials("Administrator",""); | ||
var accounts = new AccountService(configuration).GetRange(cwtr, null, credentials); | ||
accounts.Dump(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.