Printing Checks when Disbursing Ledger

Discussions related to custom development with Select.
Post Reply
dutil
Posts: 26
Joined: Thu Dec 19, 2019 12:10 pm

Printing Checks when Disbursing Ledger

Post by dutil » Thu Aug 26, 2021 11:17 am

We are trying to disburse funds via the API (we want to recreate the disburse process that's in the UI) and have modeled our solution to be very similar to the one found in this post:

https://devforum.softprocorp.com/viewto ... heck#p3513

Everything works when the the Ledger.DisburseAs is a wire.

However when disbursing for checks, the checks always print as an empty page with no errors or exceptions thrown. We are following a similar process for printing that we have working for posting and printing checks from an order:

Code: Select all

// provide settings to the check print job handler
// this is how we support default printer settings and horiz/vert offsets
CheckPrintJobHandler.Settings = new CheckPrintSettings()
{
    PrinterSettings = new PrinterSettings { PrinterName = Printer},
    HorizontalOffset = _printPostParameters.HorizontalAdjustment,
    VerticalOffset = _printPostParameters.VerticalAdjustment,
    MicrStartPosition = _printPostParameters.MicrStartPosition
};

// use a report Uri to run the check report via shell
ReportUri reportUri = new ReportUri<Guid>(_printPostParameters.CheckDocumentID, transactionIDs, ledger.ID, PrintJobTarget.Printer, true);
ServiceContext.GetService<IShell>().OpenStandardEditor(reportUri);   
Is there a different process for printing disbursed checks from a non order ledger, and if so, what is that process?

dutil
Posts: 26
Joined: Thu Dec 19, 2019 12:10 pm

Re: Printing Checks when Disbursing Ledger

Post by dutil » Fri Sep 03, 2021 5:50 pm

Anyone have an ideas or suggestions?

BobRichards
Posts: 1116
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Printing Checks when Disbursing Ledger

Post by BobRichards » Thu Sep 09, 2021 6:03 pm

I have been unable to answer the question. I have sent the post the R&D. I will report back when they have a solution.
Bob Richards, Senior Software Developer, SoftPro

Post Reply