Community

Multiple companies and document definition

Right now I have a company that as 11 document definition and I will many other companies coming would different doc. Definition. My question would be how can I differentiate which company the batch belongs to as this will be important for many reason i.e.: support in case of for illegibility my verifiers will have to send out an email to a specific team also the export stage the file will either have a specific parameter or different export location.

So what would be the best method?

Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

8 comments

  • Avatar
    DanAyo
    If I understand you correctly, you could make a service field called Company. And then for each document definition script
    me.Field(field).Text = "The company that uses that template
    0
  • Avatar
    psquare
    That would work but note that there will be multiple document definition for one company like now I only have 1 and it as 11 document definition and I suspect the new company coming will be similar
    0
  • Avatar
    DanAyo
    I need to understand your situation better. Please be more specific.
    0
  • Avatar
    psquare
    Not sure what else I can specify right now I have 1 company with which I identify their document with 11 document definition. But I have more company on their way so I will need a lot more document definition so I was wondering if I just keep pilling the document definition and use the method you mentioned or is there another way to do so. Like if I have 10 company and they each have 10 different document definition it will take a long time to identify the documents
    0
  • Avatar
    DanAyo
    Send your number and I'll give you a call if you want. I'm sure we can figure something out. I run about 150 templates with about 35 companies at this time.
    0
  • Avatar
    Aleksey Nikitin
    Hello psquare,

    how can I differentiate which company the batch belongs to

    Is it supposed to be done automatically or manually?
    If automatically then approach depends on scenario. Common approach is to use flexilayout searching company name/details (and then company data can be populated with script to other documents in batch if needed... or to registration parameters).
    Generally, it's better to store batch information in batch registration parameters. For example, these parameters can be used to set where documents will be exported to.
    the export stage the file will either have a specific parameter or different export location.
    0
  • Avatar
    psquare
    Actually it as to be done automatically but from what I read the best approach would be to create Batch type because all company will have different document definition and these will be placed in separate incoming folders so to limit which definition gets match by using batch type you can specify which document definition to use.

    Does that makes sense? Thank you for any input.
    0
  • Avatar
    Timur
    Hello,

    If you are planning to use diffrent input folders for each company, then creating diffrent batch types with a set of document definitions for each folder is the correct approach. For each folder you will a separate image import profile that relates to a specific batch type and has a set of constant registration parameters such as company name.



    Regards
    Timour




    0

Please sign in to leave a comment.