Method Community

 

Paid Stamp

Last post 11-28-2012 5:29 PM by Method_Adam. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-28-2012 10:32 AM

    Paid Stamp

    I was wondering if there is a way to add the paid stamp to a customer invoice like in QB.


     

    Is there a way to do the same thing with the stamp saying paid and including the payment date?

  • 11-28-2012 5:29 PM In reply to

    Re: Paid Stamp

    Answer

    Hi,

    There is a way to include a paid stamp.  It involves doing some customization to the invoice in Report Designer.  To include 'paid' into the invoice you would need to create a script in xtraReport11 property grid.  Find the field scripts, expand that and find Before Print.  Replace the existing script with something like the following:

    Private Sub OnBeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)

    Dim isPaid As Boolean = Convert.ToBoolean(GetCurrentColumnValue("IsPaid"))

    If isPaid = False
    xtrareport11.Watermark.text = ""
    Else
    xtrareport11.Watermark.text = "Paid" 
    End If
    End Sub

    This script will print with the word paid if the isPaid boolean is set to true.  Now your customization might be a bit different, especially if you would like  to inlcude a payment date.  Also keep in mind that your fields (isPaid) and labels (Watermark) may be different.  I just included this as a means to get you started if you wanted to attempt this yourself.  If you would like some help with this, I can put you in touch with one of our customization consultants or feel free to contact any one of our Method Solution Providers here


    - Adam

    Adam Lyons
    Manager of Support
    Method Integration
    a.lyons@method.me
Page 1 of 1 (2 items)