Try ERPNext Buy Support Partners Foundation

Custom Script for submitting another DocType

Hey there!

I’m looking to trigger an entire Stock Reconciliation Transaction when a particular custom field is set in a stock entry. Would this be possible and could you point me to documentation or a use case similar?

Thank you,
Vignesh

define a server side func to submit the required docs and call it in client side script by setting trigger as that specific field

1 Like

@neerajvkn would I be able to define said server side function through a server side script? I’m using ERPnext’s hosting.