Hi,

Could you simply use freetext field to achieve what you want?

1) add freetext (like ticket covered by warranty)
2) to do "select a ticket (among his tickets), then adding a couple of field 
(e.g. ticket cost and ticket covered by warranty) and save the ticket. "
the agent could simply select ticket, click on "free field", and save the 
changes?

PS: "message saying the module was not registered in Config.pm." ==> I think 
you need to add info in the system config to register module 

Bastien
  
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de valerio 
cacciatore
Envoyé : mardi 2 février 2010 22:21
À : [email protected]
Objet : [dev] How to use BuildSelection and giving data to backend


Dear All,
this is the second time I'm writing you and I have to thanks you for the 
answers you gave me with my first question.
Now I have the following problem.

I would create a module in which an agent can select a ticket (among his 
tickets), then adding a couple of field (e.g. ticket cost and ticket covered by 
warranty) and save the ticket. 
But... let's start from the easy things:
I'm looking for a simple way to make a choice in the frontend (using a 
multi-choice menu), giving this info to the backend and performing some 
actions/query on DB.
I was trying to use the BuildSelection function in the AgentModule.pm but I was 
not successful.
Can someone explain me how to use this function? Is there an easy example ready?

My first approach has been to use a button in the frontend and try to call 
another AgentXXX.pm module to introduce more info in the frontend, but I 
received a message saying the module was not registered in Config.pm.

I'm so confused ... :-S

Thanks for help!

Valerio
-------
Ce message et toutes les pièces jointes sont établis à l'intention exclusive de 
ses destinataires et sont confidentiels. L'intégrité de ce message n'étant pas 
assurée sur Internet, la SNCF ne peut être tenue responsable des altérations 
qui pourraient se produire sur son contenu. Toute publication, utilisation, 
reproduction, ou diffusion, même partielle, non autorisée préalablement par la 
SNCF, est strictement interdite. Si vous n'êtes pas le destinataire de ce 
message, merci d'en avertir immédiatement l'expéditeur et de le détruire.
-------
This message and any attachments are intended solely for the addressees and are 
confidential. SNCF may not be held responsible for their contents whose 
accuracy and completeness cannot be guaranteed over the Internet. Unauthorized 
use, disclosure, distribution, copying, or any part thereof is strictly 
prohibited. If you are not the intended recipient of this message, please 
notify the sender immediately and delete it. 

---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to