Community

Create custom forms for Verification Station (FC11 For Invoices - fat client)

We would like to create own form similar to 'Vendor->edit form'. Form should have rubber band buttons since we would like to capture data to fields created in custom form.

As mentioned above, ABBYY FC11 for invoices have similar functionalities implemented in Edit record form, when verification operator wants to edit BU or Vendor data. Can anybody share source code for such custom form.
0

Comments

6 comments

  • Avatar
    Anastasiya Nechaeva
    This task can be done using external library. In this lib you should implement your form with your own logic. In order to open this form from FC document view you need to add this external lib to project reference. And then add a custom action for one of field at your form.This action should call a method in your lib which will show form to verification operator. In oder to open this form verification operator should press on "..." button and form will be present. If this approach is suitable for you, let me know. I will try to prepare a simple sample on c#.
    0
  • Avatar
    Dusan Spajzar


    Many thanks!
    This is exactly what we want to achieve. Can be interesting for community also.
    Please do not forget for rubber button functionality.
    0
  • Avatar
    Andrew Zyuzin


    Hi Dusan! Nice to hear from you!

    I guess Anastasiya missed the point about rubber button. The button, that is implemented in BU/Vendor record editing, is really cool, but it is not available in API for now.
    Still, you have two options:

    1) You can create a custom Data Set and enable editing function for it, then it will be available for editing in the same manner as Data Set for Vendors/BUs - in the analogous dialog with rubber button.
    FC11 R4 (will be released in Sept 2015) will allow you then to get access to Data Set records created/edited from rule script or custom action. So, this framework maybe enough.

    2) Another way is to implement the page picture with text under it at your own custom component (custom dialog), that was proposed by Anastasiya. First of all you need to enable web stations for Verification stage - then when document come to Verification, the specific XML file will be available in the FileStorage. This XML contains all text and its coordinates and it is normally used by standard web verification station for rubber functionality. So, you can get this XML and page image from FileStorage via Web API (see Help for Developers, "Working with files"), display the image and, using full text recognition result and coordinates of each word from xml, implement rubber functionality on your own in your component.
    0
  • Avatar
    Dusan Spajzar
    Thanks Andrew, nice to hear from you too!

    BU/Vendor record editing form was mentioned just as example....the question was not really related on how to setup recordset but how to make a custom form inside verification station.

    So, be happy and gratefull if Anastasiya would publish simple C# sample. It is clear now, that there will no be some rubber button functionalities possible

    Regarding your Option 2 and creating XML with coordinates. Is it possible to get such file without XMLexport license included in FC11?

    br

    0
  • Avatar
    Anastasiya Nechaeva

    Hello Dusan,

    You can download the C# sample project from the link https://www.dropbox.com/sh/85z3rq67f4hk9by/AACgalQp2Qmi_VH0nf542Gy8a?dl=0





    Hope this will be useful.




    0
  • Avatar
    Dusan Spajzar
    Anastasiya,

    great sample! Clear and simple, many thanks.
    We have one more issue using FCTools object in DLL.

    Do you have some suggestion or sample there also?
    The description of the problem is described in the attached link.

    br
    Dusan
    0

Please sign in to leave a comment.