It appears that if you make a partner from the cus...
# suitescript
x
It appears that if you make a partner from the customer record via the + Other Relationship this does not trigger an after submit user event. A create even does not fire nor does a transform. I need to trigger a script after the creation of a partner. Am I missing something here or would I have to set up some kind of saved search looking for partners created today and then have a scheduled script fire regularly off of that?
a
if you're using the other relationship that doesn't CREATE a new record, it makes the customer record into a customer-partner record.. which is still just an entity record. There should be a EDIT or XEDIT event though
x
I have the script deployed to partner and customer, I left event type blank, dropped a debug for the context and nothing is appearing in the logs. But if I edit the partner and save I am getting the log.
a
that's surprising, there are quite a few weird things around the "other relationships" functionality, so I guess I shouldnt be surprised, can you not just have a scheduled script or MR that checks every 15 mins for partners created today and ... idk some field being null?
x
That's what I was thinking I would have to do... but another wrench in that is the partner inherits all the information of the customer including the create date. For instance there is a customer that was made on 9/22/23 and I just made it a partner today and yet the date created is still 9/22/2023. So i am having a tough time figuring out how I can even figuring out which partners are new.