NAME
Vtiger::Wx::Editor
DESCRIPTION
Vtiger::Wx::Editor presents a dialog editor for Vtiger objects.
Needs a descriptor and the object to edit. Above the object is $contact.
my $contacts = $vt->query($sessionName,
"select * from Contacts where account_id = '3x20';"
);
(my $contact) = @$contacts[0];
my $description = $vt->describe($sessionName,'Contacts');
To launch the editor do:
use Wx;
use Vtiger::Wx::Editor;
my $objEdGui = Vtiger::Wx::Editor->new( $description );
my $contactEdited = $objEdGui->editObject($contact);