Hi guys,
I've been frustratingly trying to prgrammatically open a new stock transer tab in a Jiwa 7.2.1 VB.NET plugin.
From Sales Order form, I add a ribbon button and try to open a new Stock Transfer tab. The ST UI opens but is non-interactive and shows the red “Activated” badge.
Diagnostic shows:
Form type: JiwaFinancials.Jiwa.JiwaStockTransferUI.MainForm (assembly JiwaStockTransferUI.dll)
Public zero-param method: NewRecord()
Ribbon tool exists: key ID_RecordNew (“New”)
Calling NewRecord() and/or clicking ID_RecordNew via reflection doesn’t change the state.
Direct instantiation via Activator.CreateInstance + Show() behaves the same.
Forcing flags (ReadOnly/Activated/Locked) and setting Status=1 (Open) on the form/guessed BO has no effect.
The MDI parent doesn’t expose a usable “New” tool for this form.
What is the supported API to open the Stock Transfer UI in New (editable) mode from another form/plugin?
Is there an application/forms manager I should call (e.g. JiwaApplication.FormsManager/OpenForm/CreateForm) rather than Activator.CreateInstance?
If so, what method name/signature should we use and what string/type identifier should we pass for Stock Transfer?
Does MainForm require a business object to be created/bound before calling NewRecord()?
If yes, what is the correct BO type and factory to use, and how do I attach it to MainForm (method/property name)?
After binding, is MainForm.NewRecord() the correct entry point, or is there another public method (e.g. RecordNew, CreateNew) I should call?
The badge shows Activated; our DB mapping is 0 = Activated, 1 = Open.
Which property/enum on the form/BO does the UI bind to for this status?
Where can I access that object from MainForm (property name), and is there a supported way to set it to Open programmatically?
Are there any security/permission checks or initialisation steps (e.g., session/context services) that prevent programmatic “New” unless opened via the official manager?
Could you provide a minimal VB.NET snippet (Jiwa 7.2.1-compatible) that opens JiwaStockTransferUI.MainForm as an MDI child from another form and ensures it’s in New state and editable?
Thanks in advance.



