New Transaction Window Complete Doc Action

Help is preferred to those who publish their work as Open Source and not as private branches rejecting collaboration. Such projects are not maintainable and shall be deleted.
Forum rules
This forum is personally pruned to avoid redundant posts. Related topics are grouped together. IF YOU HAVE REGISTERED, you need to send email to red1(a)red1.org with your username in the subject title to get me to activate you.

New Transaction Window Complete Doc Action

Postby arehman » Wed Jul 06, 2011 1:03 am

Hi All,

I am creating a new transaction window in adempiere, but when i press the complete button complete action popoup is appear and after selecting complete option and click ok then nothing happened.

i want to add a same functionality in my new window like a DocAction / Complete functionality in Purchase Order window.

please help me how to handle this situation, configure it and write java class (if needed).

i am newbie in this.

Regards,
A.Rehman
arehman
 
Posts: 23
Joined: Fri Mar 18, 2011 9:42 pm

Re: New Transaction Window Complete Doc Action

Postby globalqss » Wed Jul 06, 2011 11:39 am

Hi A.Rehman,

There are some conditions that document tables must accomplish, but specially you need to extend the DocAction interface in the model M class.

Regards,

Carlos Ruiz
globalqss
Senior
 
Posts: 599
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia

Re: New Transaction Window Complete Doc Action

Postby arehman » Wed Jul 06, 2011 1:21 pm

Hi Carlos,

Thanks for your reply.

can you please tell me the conditions that document table must accomplish?
from where i can check the example of extension of DocAction interface?

Regards,
A.Rehman
arehman
 
Posts: 23
Joined: Fri Mar 18, 2011 9:42 pm

Re: New Transaction Window Complete Doc Action

Postby globalqss » Sun Jul 10, 2011 11:59 am

Hi A. Rehman,

AFAIR document tables must have columns DocAction, DocStatus and Processed.

Examples of DocAction interface implemented, all the model classes for documents, like MInvoice, MInOut, MOrder, MPayment, etc.

Regards,

Carlos Ruiz
globalqss
Senior
 
Posts: 599
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia

Re: New Transaction Window Complete Doc Action

Postby arehman » Sun Jul 10, 2011 4:44 pm

Thank you Carlos.
I will check it and take guidance from you if needed.
Once again thank you for helping.

Regards,
A.Rehman
arehman
 
Posts: 23
Joined: Fri Mar 18, 2011 9:42 pm

Re: New Transaction Window Complete Doc Action

Postby arehman » Tue Jul 12, 2011 3:20 pm

Hi Carlos,

Its done. Thank you.

Regards,
A.Rehman
arehman
 
Posts: 23
Joined: Fri Mar 18, 2011 9:42 pm


Return to HELP ME!!!

Who is online

Users browsing this forum: No registered users and 3 guests

cron