Search found 42 matches
- Fri Aug 07, 2015 4:00 pm
- Forum: Integration Development
- Topic: Disburse an Order Ledger?
- Replies: 1
- Views: 506
Re: Disburse an Order Ledger?
Here is a code sample that shows how to accomplish this. Please let me know if you have any questions. // Post a ledger transfer out transaction ITransactionsManager tm = _sps.GetService<ITransactionsManager>(); // Get the destination leger IOrderContact contact = null; Guid orderContactID; Tag tag ...
- Wed Jul 29, 2015 9:44 am
- Forum: Integration Development
- Topic: Setting the Trust Account for an order via the API
- Replies: 23
- Views: 9761
Re: Setting the Trust Account for an order via the API
Can you please paste your code? You should be able to set the trust account while creating the order (before the first save). This is exactly what Select does if you pick a trust account on the new order dialog. Also, please verify that your active profile has access to the trust account. Even if yo...
- Thu Jul 09, 2015 10:36 am
- Forum: Integration Development
- Topic: Disburse Transferred Funds
- Replies: 6
- Views: 1269
Re: Disburse Transferred Funds
Not in this scenario. Because you are disbursing ledger transfers, the disbursement's status must be Posted. You can create pending checks via the API but cannot use them to disburse transfers.
- Thu Jul 09, 2015 9:58 am
- Forum: Integration Development
- Topic: Disburse Transferred Funds
- Replies: 6
- Views: 1269
Re: Disburse Transferred Funds
chk.Status = TransactionStatus.Pending
You need to set the status of the Check to Posted. Also set the Reference Number if a check printing manager is not hooked up to your trust account.
You need to set the status of the Check to Posted. Also set the Reference Number if a check printing manager is not hooked up to your trust account.
- Thu Jun 25, 2015 10:52 am
- Forum: Integration Development
- Topic: Disburse Transferred Funds
- Replies: 6
- Views: 1269
Re: Disburse Transferred Funds
Please refer to the code sample below that shows how you can accomplish this using the API. Hope this helps! // Load the revenue ledger ILedgersManager lm = _sps.GetService<ILedgersManager>(); ILedgerInfo ledgerInfo = lm.Ledgers .Where(l => l.Name == "RevenueLedger") .Single(); // Disburse...
- Tue Feb 24, 2015 4:18 pm
- Forum: Integration Development
- Topic: Associate new LedgerIn with an existing LedgerOut
- Replies: 3
- Views: 661
Re: Associate new LedgerIn with an existing LedgerOut
The "LedgerInfo" that you pass into the NewLedgerTransferIn method must be the destination ledger.
- Tue Feb 24, 2015 12:02 pm
- Forum: Integration Development
- Topic: Associate new LedgerIn with an existing LedgerOut
- Replies: 3
- Views: 661
Re: Associate new LedgerIn with an existing LedgerOut
I am pasting a code snippet below that illustrates how to create a transfer in transaction for an existing transfer out. Hope this helps! ITransactionsManager tm = _sps..GetService<ITransactionsManager>(); ILedgerTransferInTransaction transferIn = tm.NewLedgerTransferIn(_transferOut, ledgerInfo, _tr...
- Thu Feb 12, 2015 3:32 pm
- Forum: Integration Development
- Topic: Setting the Trust Account for an order via the API
- Replies: 23
- Views: 9761
Re: Setting the Trust Account for an order via the API
I don't see where you save the order after setting that tag. Can you please try this? public void AddTrustAccount(string orderNumber) { var configuration = GetConfiguration(); using (var selectServer = GetSelectServer(configuration)) { IOrderStore orderStore = selectServer.GetService<IOrderStore>();...
- Thu Feb 12, 2015 12:32 pm
- Forum: Integration Development
- Topic: Setting the Trust Account for an order via the API
- Replies: 23
- Views: 9761
Re: Setting the Trust Account for an order via the API
For an existing order, you just set a tag for the trust account id.
_order.SetTag("TrustAccountId", trustAccountID.ToString());
_order.SetTag("TrustAccountId", trustAccountID.ToString());
- Wed Feb 11, 2015 10:46 am
- Forum: Integration Development
- Topic: Setting the Trust Account for an order via the API
- Replies: 23
- Views: 9761
Re: Setting the Trust Account for an order via the API
Please refer to the code sample below that shows how to set the trust account on an order in 3.0. Let me know if you have any questions. // sample to illustrate the creation of an order (blank) with a trust account IAccountsManager am = _sps.GetService<IAccountsManager>(); ITrustAccountInfo tacInfo ...