.sfm file format

Does anyone know the file format for Simply's .sfm template files? I need to load it in my solution to make a PDF of an invoice.

Parents
  • 0

    I need to load it in my solution to make a PDF of an invoice.

    This may be what you want, it will get you the data to build your PDF:

    The software will then generate these CSV files:

    Don't change the schema.ini, it is created on installation. 

    (edit)

    Does anyone know the file format for Simply's .sfm template files?

    I tried using the Sage 50 Editor to save an invoice file with different names, then tried a few binary diffs with FC /B.  The results suggest that part of the file may be encrypted, compressed, or just dynamically structured.   It could be Interesting to reverse-engineer it, but unless the time was valued below minimum wage, to do so could cost more than your existing computer systems, the software, and the building they are in.  

    Or maybe it's relatively easy to figure out, but as the Dragons Den people say, I won't join you on that journey.

  • 0 in reply to RandyW
    Thanks RandyW. This is interesting. There seems to be now way, however, to differentiate between a Print job and an Email job? I can monitor that folder for changes, but it would change for every invoice Printed as well...
Reply Children
  • 0 in reply to egerrits
    OK, I see it gets generated in the folder forms/CAN2016 for a split second before my email program snatches it away and puts it in its own temporary folder.
  • 0 in reply to egerrits

    egerrits said:
    OK, I see it gets generated in the folder forms/CAN2016 for a split second before my email program snatches it away and puts it in its own temporary folder.

    Doesn't this mean then that Sage 50 is doing it's job of getting the pdf to the email program and the problem you might be having is with the email program and how it handles the message Sage 50 sends?  Or is it only doing this when it is working properly?

    When it is not working, do you get any error messages?

    Can you trace the path of the pdf file when it' s not working or only when it's working?

    Can you turn the email program you are using offline so it doesn't send anything in the outbox to see what arrives or to check the location of the created pdf?