Thanking you all for all the help suggested.
I solved my problem by doing this way.

I added a small check in the clicked method on the updatenow menu on the PurchTableForm to do the same.

If( InventTable::find(purchLine.ItemId).ItemType == ItemType::Service)
{
ButtonUpdatePackingslip.visible(false);
}

It worked fine. I am working on a similar customization where I have to enter invoice against Axapta PO and post it without implicitily executing Post Packing Slip Transaction. This is because our business scenarios exist that the invoice comes first and the goods arrive some time after......

thanking you
 
Padmaja




Girish Bhatkal <[EMAIL PROTECTED]> wrote:

You will have to make modifications in order to achieve this. You can write
on the active method of the purchTable datasource to make the buttons active
or disables depending on the Purchase order.

   Or you can even write on the Posting button to make the menuITems active
or disable, depending on the condition.



You can control the posting to happen or not in the Inventory model group
settings.

Hope this solves your problem.



  _____ 

From: Padmaja Iyingar [mailto:[EMAIL PROTECTED]
Sent: 11 November 2004 22:47
To: [EMAIL PROTECTED]
Subject: [development-axapta] Very Urgent Help Needed from the experts




Hi,

I am having difficulty of customizing a small requirement for the purchase
order
My customer has got 2 types of Item types. (1)  Service  (2) BOM.

For Service type Items, My customer is against posting Packing Slips as they
don't reside in Warehouses since they are services which don't require
packing slips.

How can I hide or disable the Packingslip button ( on the post ) when it
detects Service type of items?

I looked into PurchTable form and PurchTableForm class. But I couldn't get
any useful data.

Please help me.

Advance thanks,
Padmaja

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[Non-text portions of this message have been removed]









Yahoo! Groups Sponsor



ADVERTISEMENT

<http://us.ard.yahoo.com/SIG=129eounhu/M=298184.5584357.6650215.3001176/D=gr
oups/S=1705006764:HM/EXP=1100331547/A=2426682/R=0/SIG=11edksnhv/*http:/www.n
etflix.com/Default?mqso=60185402> click here



<http://us.adserver.yahoo.com/l?M=298184.5584357.6650215.3001176/D=groups/S=
:HM/A=2426682/rand=380196780>



  _____ 

Yahoo! Groups Links

*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 
*      To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
 
*      Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service.



[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
Get unlimited calls to

U.S./Canada


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


                 
---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com

[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada



Yahoo! Groups Links

Reply via email to