I can tell you how to do that but I don't know what will be the impact of this.

1 - Add your new type to the BaseEnum PurchaseType in AOT -> Data Dictionnary -> Base Enums -> PurchaseType.

2 - Go to AOT -> Forms -> PurchCreateOrder -> Data Sources -> PurchTable -> Methods -> initValue().  Comment this :
    //purchTable.purchaseType = purchTableForm.defaultPurchaseType();
  Add this line ;
      purchTable.purchaseType = PurchaseType::Indent;      



Steeve...


-----Message d'origine-----
De�: jp_axapta [mailto:[EMAIL PROTECTED]
Envoy�: 14 septembre 2004 03:02
��: [EMAIL PROTECTED]
Objet�: [development-axapta] Default purchase type in Purchse order.


Hi All,

I have a problem regarding setting a default value in combobox and
dispalbing it.

Ex : There is a screen called "Purchase Journal" in Accounts Payable-
>Journals->PurchaseOrder. In this screen the purchase type
is "Journal" and it is disalbed.

I need a screen similar to this screen in which i should
make "Indent" (new) has defalut Purchase Type and disalbe the control.

Just let me know how t o set the defalut value to "indent" (new not
in Axapta)

How to do this.

If question is not clear kindly get back to me.

Regards,
jay






Yahoo! Groups Links









Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to