I just figured it out.  In DocuView it checks if the currently selected record (in my case, a sales order) can be edited (DataSource allowEdit()) and that enable or disable the creation of new document.  Thanks for the tips guys.

Still, there is a weird behaviour.  If I leave the DocuView window open then select a not invoiced sales order, then an invoiced sales order after that, I can still add a new document.  But if I select another invoiced sales order then can't add new document on it.  It's like if DocuView was one record late.  Anyway, my question was answered and that's all for me for now.

Take care!

Steeve...

-----Message d'origine-----
De�: ax [mailto:[EMAIL PROTECTED]
Envoy�: 24 mars 2004 08:32
��: [EMAIL PROTECTED]
Objet�: Re: [development-axapta] Can't create document handling note on an invoiced sales order

I don't think that standard functionality prevents creation of documents on
invoiced record. If i'm wrong, then first thing to try is to recreate
document setup in "document types" form and if no reaction, then then try to
look in DocuView forms source code,maby there is some new method wich
handles this.
Generally invoice condition can be found in salestable and inventTrans....

Kuni

----- Original Message -----
From: "Steeve Gilbert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 3:06 PM
Subject: RE : [development-axapta] Can't create document handling note on an
invoiced sales order


Hmmm...  I'm not talking about lookup, or maybe I don't get your answer.
I'll put it simple : Why on invoiced sales order I can't create document
handling note (Table DocuRef) and on others I can.

Steeve...

-----Message d'origine-----
De : ax [mailto:[EMAIL PROTECTED]
Envoy� : 24 mars 2004 02:47
� : [EMAIL PROTECTED]
Objet : Re: [development-axapta] Can't create document handling note on an
invoiced sales order

In lookup form try to do this through datasource query and exclude this
value... If there is no any lookup form and lookup is through table
group,then think if new lookup form is needed.

Kuni
----- Original Message -----
From: "Steeve Gilbert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 23, 2004 11:24 PM
Subject: [development-axapta] Can't create document handling note on an
invoiced sales order


> Hi All!
>
> Simple question but still, I can't solve it.  Just wandering where's the
> condition that checks if the sales order is invoiced to prevent the
> creation of document handling note on it?  I want to enable it even if
> the sales order is invoiced.
>
> Regards,
>
> Steeve...
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>




Yahoo! Groups Links








Yahoo! Groups Links









Yahoo! Groups Links







Yahoo! Groups Links

Reply via email to