I have registered the following:
l_result = Trigger_RegisterDatabaseByName(FIELDSERVICE, "SOP_LINE_WORK", "", TRIGGER_ON_DB_ADD, script xtrig_db_SOPLineWork_INSERT);
I suspect that it is not firing because the trigger is referencing a native table. I need to gather data from the SOP Line only when it has been added by Field Service. Field Service is adding SOP Line records from a Global Script so I don't have a form to attach this trigger to. Any ideas would be very helpful.