Hey guys, is there a best practice solution for sharing business logic between an external interface and a netsuite interface? For example, external UI sends request to suitelet to call application.cancel(applicationId) and NetSuite button calls script that calls application.cancel(applicationId)? Any docs about it?