4 Replies Latest reply on Nov 24, 2015 7:55 AM by beverly

    PHP API Issue With Portals Being Empty




      I'm having an issue that I can't figure out how to resolve with the PHP API for FM14.


      I have a web app I'm building that pulls from a layout in my FM14 database, it pulls a customer record and then pulls related invoice records from a portal on the layout. This works fine.


      The issue that I found is when a customer without any related records in the portal logs in, they get the following error:


      "Related set [table name] not present."


      Obviously not all customers will have invoices until they order. Is there a way I can fix this to allow them to login to the page and submit orders if they don't have an invoice related record?


      Thank you,