Re: [Axapta-Knowledge-Village] Subtotal text missing

2005-05-03 Thread akash malohatra
Hi james,

I had this problem and it solved once you remove your
hidden fields. Axapta report behaves like this, if you
have some fields hidden and that needs to be also
totalled.

Check the code in SysReportRun/printranges

Regards
Akash


--- James Flavell [EMAIL PROTECTED] wrote:

-
I hope someone can explain how to solve this little
pain...

I have a report that when subtotals are printed shows
the value of the field
being subtotalled on the left.  I made a copy of this
report ('Duplicate')
and added a few fields and hid some others.  But this
new report the
subtotal line does not show the field value.why?

I am stumped and do not know where Axapta decides
whether to show the
subtotalled field value (please note the subtotal
value appears fine just
the field does not, e.g. if I am subtotalling by date
I would like one the
left the text 'Date: 20/04/2005' appear on the
subtotal line).

The report is using autodesignspec and only has a body
line (i.e. no
specific/programmed subtotal line).

Thanks
James



Sharing the knowledge on Axapta.



-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
 
   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!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~-- 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [Axapta-Knowledge-Village] Re: Getting error intermittently when trying to post pckingslip for PO

2005-04-28 Thread akash malohatra
Thanks harsh ;)
--- Harry (Harshawardhan) [EMAIL PROTECTED]
wrote:


-

hi Akash

Here is how u can replicate the problem

1. create a new item 
2. make sure physical negative and financial negative
check-box is 
cleared (on model group) 
3. make sure that warehouse is active on dimension
however physical 
and financial inventory checkboxes are cleared 
4. now create a purchase order for 2 quantity (say on
warehouse MW) 
5. now create a sales order for 2 quantity (on
warehouse MW) and 
reserve the quantity against the purchase order 
6. now go to purchase order and change the warehouse
(to say GW) and 
try to save the line. 
 
You will generate the same error at step 6

The error message of locked dimensions is completely
mis-leading. 
What is happening is something completely different.

What Axapta tried to do is to try and re-reserve the
quantity on 
sales order against a different receipt. Fails to do
so (since there 
is no other receipt) and throws out this (mis-leading)
error. So 
what Axapta is trying to do is basically correct.

However, there is a small bug with this. The warehouse
dimension is 
financially as well as physically insignificant so
there is no 
reason why the quantity of 2 in warehouse GW can be
reserved against 
quantity of 2 in warehouse MW. It should be very easy
to fix this 
bug (in method updatedimreservchange of class
inventupdate).

Now create a purchase order for the same item for say
100 quantities 
in say warehouse MW and try to repeat step 6. Now
Axapta is happy to 
change the warehouse for you. 

Something like this must be happening with your
installation.

regards

harry /harsh
 

--- In Axapta-Knowledge-Village@yahoogroups.com, akash
malohatra 
[EMAIL PROTECTED] wrote:
 thanks for your information Maurice.
 
 I havent tried with activating the IMTS. I read the
 help on IMTS and quite agree with you. But have you
 practically ever came across with this error and
 solved by activating this?
 Thanks again
 Akash
 
 
 --- Maurice Cohen
 [EMAIL PROTECTED] wrote:
  Have you tried to activate the multi-inventory
  transaction system? What you
  are experiencing usually happens in high volume
  environment with many
  concurrent updates to inventory. I found that
using
  the multi-inventory
  transaction system helps. 
  
   
  
  Maurice
  
   
  
  Microsoft Business Solution Partner
  
  Advanced Systems Integration, Inc.
  
  26449 Rancho Parkway South
  
  Lake Forest, CA 92630
  
_  
  
  From: Axapta-Knowledge-Village@yahoogroups.com
  [mailto:[EMAIL PROTECTED]
On
  Behalf Of akash
  malohatra
  Sent: Thursday, April 21, 2005 11:46 PM
  To: development-axapta@yahoogroups.com;
  Axapta-Knowledge-Village@yahoogroups.com
  Subject: [Axapta-Knowledge-Village] Getting error
  intermittently when trying
  to post pckingslip for PO
  
   
  
  Hi All,
  has anyone ever came across on this error  Cannot
  re-reserve a transaction due to locked Dimensions

  ?
  
  This error comes up ir-regularly when i am trying
to
  do a packingslip. 
  
  But later when i try to post the packingslip for
  that
  PO , this work ok without any error. 
  
  Any ideas ??
  
  TIA
  
  
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  protection around 
  http://mail.yahoo.com 
  
  
  Sharing the knowledge on Axapta. 
  
  
  
  
_  
  
  Yahoo! Groups Links
  
  *  To visit your group on the web, go to:
 

http://groups.yahoo.com/group/Axapta-Knowledge-Village/

  *  To unsubscribe from this group, send an
email to:
 
[EMAIL PROTECTED]
 

mailto:[EMAIL PROTECTED]
subject=Unsubsc
  ribe 

  *  Your use of Yahoo! Groups is subject to the
Yahoo!
  http://docs.yahoo.com/info/terms/  Terms of
  Service. 
  
  
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
protection around 
 http://mail.yahoo.com





Sharing the knowledge on Axapta.



-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
 
   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!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~-- 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from

RE: [Axapta-Knowledge-Village] Getting error intermittently when trying to post pckingslip for PO

2005-04-24 Thread akash malohatra

thanks for your information Maurice.

I havent tried with activating the IMTS. I read the
help on IMTS and quite agree with you. But have you
practically ever came across with this error and
solved by activating this?
Thanks again
Akash


--- Maurice Cohen
[EMAIL PROTECTED] wrote:
 Have you tried to activate the multi-inventory
 transaction system? What you
 are experiencing usually happens in high volume
 environment with many
 concurrent updates to inventory. I found that using
 the multi-inventory
 transaction system helps. 
 
  
 
 Maurice
 
  
 
 Microsoft Business Solution Partner
 
 Advanced Systems Integration, Inc.
 
 26449 Rancho Parkway South
 
 Lake Forest, CA 92630
 
   _  
 
 From: Axapta-Knowledge-Village@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of akash
 malohatra
 Sent: Thursday, April 21, 2005 11:46 PM
 To: development-axapta@yahoogroups.com;
 Axapta-Knowledge-Village@yahoogroups.com
 Subject: [Axapta-Knowledge-Village] Getting error
 intermittently when trying
 to post pckingslip for PO
 
  
 
 Hi All,
 has anyone ever came across on this error  Cannot
 re-reserve a transaction due to locked Dimensions 
 ?
 
 This error comes up ir-regularly when i am trying to
 do a packingslip. 
 
 But later when i try to post the packingslip for
 that
 PO , this work ok without any error. 
 
 Any ideas ??
 
 TIA
 
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 
 
 Sharing the knowledge on Axapta. 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:

http://groups.yahoo.com/group/Axapta-Knowledge-Village/
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]
 ribe 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of
 Service. 
 
 

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


 Yahoo! Groups Sponsor ~-- 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[Axapta-Knowledge-Village] Getting error intermittently when trying to post pckingslip for PO

2005-04-22 Thread akash malohatra

Hi All,
has anyone ever came across on this error  Cannot
re-reserve a transaction due to locked Dimensions  ?

This error comes up ir-regularly when i am trying to
do a packingslip. 

But later when i try to post the packingslip for that
PO , this work ok without any error. 

Any ideas ??

TIA




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


 Yahoo! Groups Sponsor ~-- 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [Axapta-Knowledge-Village] Invoice Posting

2005-01-18 Thread akash malohatra

Hi Tushar,

This can be done easily , withinn Axapta only. Write a
utility ( class ) , that will access the Excel data
and will import that to the AxaptaTables ( sales order
related) using the correct classes .

Once the Salesorder created its very simple to invoice
them . here is the code for invoicing 

 SalesFormLetter_Invoice salesFormLetter =
salesFormLetter::construct(DocumentStatus::Invoice);
;
   
salesFormLetter.update(_salesTable,systemDateGet(),SalesUpdate::All,AccountOrder::None,NoYes::No,NoYes::No);


Hope this will help you

Regards
Akash
--- tushar_r_panda [EMAIL PROTECTED] wrote:


-

Hi all,
I want to post an Sales order and also invoice it. The
data required
to create a sales order is there in an excel sheet. I
want to write a 
code such that the data is picked  from the excel
sheet and all the 
necessary validations present in a Sales order form is
done and then 
invoiced. Can this be done and if so how?
Regards,
Tushar





Sharing the knowledge on Axapta.



-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
 
   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!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~-- 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [Axapta-Knowledge-Village] Lookup table in EDT ?

2005-01-17 Thread akash malohatra

Hi,

write the code in the ExecuteQuery() method of the
datasource to filetr the data with user input value.

declare  QBR of type  Querybuildrange in the class
declartion.

Then simply pass the userinput value to this
querybuildrange in the executeQuery() method

QBR.value(queryvalue(the user input)).



hope this will help you.
Regards
Akash
--- Tony Depalo [EMAIL PROTECTED] wrote:

 In AOT/Forms/InventJournalTable there is a drop down
 box showing ALL,
 Posted or not Posted then depending on this value
 the form is filtered,
 that is maybe show only the posted entries.  If this
 is the sort of
 functionality you are looking for then follow the
 logic on this form.
 Good luck
 Tony
 
   -Original Message-
   From: anton_tjiptadi
 [mailto:[EMAIL PROTECTED] 
   Sent: Tuesday, 18 January 2005 2:40 PM
   To: Axapta-Knowledge-Village@yahoogroups.com
   Subject: [Axapta-Knowledge-Village] Lookup table in
 EDT ?
   
   
   
   Hi,
   I want to add lookup table in my EDT which is
 relate to some
 table, 
   ex : PurchTable.
   
   I want to filter the data to show only some record,
 for ex :
 data 
   with Dimension(4) = TNG
   
   nb : this EDT, I'm gonna use it in Dialog so user
 can lookup
 table 
   first to insert the value in that DialogField.
   
   Can anyone help me ?
   thanks in advance,
   Anton
   
   
   
   
   
   Sharing the knowledge on Axapta. 
   
   
   
   _  
 
   Yahoo! Groups Links
   
 
   *   To visit your group on the web, go to:
   

http://groups.yahoo.com/group/Axapta-Knowledge-Village/
 
   *   To unsubscribe from this group, send an email to:
   
 [EMAIL PROTECTED]

mailto:[EMAIL PROTECTED]
 ubscribe 
 
   *   Your use of Yahoo! Groups is subject to the
 Yahoo! Terms
 of Service http://docs.yahoo.com/info/terms/ . 
 
 
 


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


 Yahoo! Groups Sponsor ~-- 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [Axapta-Knowledge-Village] Select empty date field

2005-01-03 Thread akash malohatra

Hi,

try 01/01/1900 . Axapta stores this date for null
dates in the database.

Regards
Akash
--- Nitesh [EMAIL PROTECTED] wrote:

 Hi all,
  i want to select  records from a table
 whose date is empty.i used null, '  '  and in
 the criteria but it is not working .please help.
 
 Regards 
 Nitesh
 


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


Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [Axapta-Knowledge-Village] Join table links (1:n, n:1) does not work

2004-12-01 Thread akash malohatra

Hi fabien,

I had the same problem with some new tables related to
the existing tables. I did the update cross reference
-- update data model

 Tools -- Developement toos -- Cross-reference
--periodic -- Update -- update the datamodel.

I read your query that you alreday made croess
reference, but in my case this problem solved by doing
the cross refrence to tha data models.

Hope this will help you.
regards
Akash
--- fabien_m2002 [EMAIL PROTECTED] wrote:


-

I've linked a custom table X to a standard table
(InventTable) via a 
new field named 'field' that i added into InventTable
and table X. 
This field is a foreign key.
Then, i created a relation in InventTable: X.field == 
InventTable.field. Also, there is EDT on the fields.

The cross-reference update has been made.

The problem occurs  in a filter/query form when i want
to add the 
InventTable and his linked table X. When i select
InventTable and 
click right, i find 1:n, n:1 menus but no trace of my
table X. So i 
cannot execute queries or filters, even reports with
my table X.

May anybody help me to find the cause of no trace of
table X in the 
1:n or n:1 menus ?

Regards,
Fabien





Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor  ADVERTISEMENT
 

-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/
 
   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!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[Axapta-Knowledge-Village] Upgrading Ax2.5 to Ax3.0SP3 , Language field missing

2004-11-28 Thread akash malohatra

Hi All,

I upgraded Axapta2.5SP3MP to Axapta3.0SP3. Everything
went smoothly. But after upgradation , i found the
language field ( almost everywhere CustTable,
VendTable, SalesOrder, Purchase Order) is missing. The
data for this field has not populated in tha
Axapta3.0SP3. Is anyone ever experinced this problem??
Any ideas to fix this??? 

Thanks in Advance

Regards
Akash



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [Axapta-Knowledge-Village] Very Urgent Help From Experts

2004-11-11 Thread akash malohatra

Hi,

I can suggest to change/modify the code in the
PurchTableForm calss -- enableUpdateJournalButtons()
method...

Regards
Akash
--- Harry Deshpande [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 Updatenow is the name of the menu.
 
  
 
 Incidentally I would also override
 saleslinetype.update and insert to
 make sure that all the lines in the purchase order
 are of one type
 'Item' or 'service'.
 
  
 
 Regards
 
  
 
 harsh
 
   _  
 
 From: Padmaja Iyingar
 [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 12 November 2004 1:09 p.m.
 To: [EMAIL PROTECTED]
 Subject: RE: [Axapta-Knowledge-Village] Very Urgent
 Help From Experts
 
  
 
 Hi Harry,
 
  
 
 I don't find updatenow' method to override Clicked
 method on the
 PurchTable form.
 
 Can you please help me in findout on how to overide
 with updatenow?
 
  
 
 Thanks in advance,
 
 Padmaja
 
  
 
  
 
  
 
 Hi
 
  
 
 Easiest solution will be to override the clicked
 method of 'updatenow'
 menu and check whether the purchase order line is of
 type item or of
 type bom
 
  
 
 Regards
 
  
 
 harry
 
  
 
 


 
 
 From: Padmaja Iyingar
 [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 12 November 2004 12:23 p.m.
 To: [EMAIL PROTECTED]
 Subject: RE: [Axapta-Knowledge-Village] Very Urgent
 Help From Experts
 
  
 
 Hi Harry,
 
 My requirement says it won't have any PO with mixed
 Item types. It will
 have either Service type or BOM types.
 
 Does anyone have any solution for this?.
 
 Thanks in advance,
 
 Padmaja
 
  
 
  
 
 Hi
 
  
 
 Question: packing slip is associated with purchase
 header and not
 purchase line. What happens when you have a mix?
 Service items as well
 as BOM items.
 
  
 
 Regards
 
  
 
 harsh
 
  
 
 


 
 
 From: padmaja_wipro [mailto:[EMAIL PROTECTED]
 
 Sent: Friday, 12 November 2004 11:48 a.m.
 To: [EMAIL PROTECTED]
 Subject: [Axapta-Knowledge-Village] Very Urgent Help
 From 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
 
  
 
  
 
 Sharing the knowledge on Axapta. 
 
  
 
 
  
 
  
 
  
 
 Harry Deshpande 
 
 Senior Consultant 
 
 CGNZ Middle Market Solutions 
 
 Website: www.middlemarketsolutions.com 
 
 Ph +64 29 277 5133 
 
 Fax +64 9 358 1018 
 
  
 
 CGNZ Limited and its predecessor organisations (Cap
 Gemini Ernst 
 Young, and Ernst  Young Consulting) have a proud
 track record of market
 leadership and excellent service delivery in all
 areas of systems
 
=== message truncated ===


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


 Yahoo! Groups Sponsor ~-- 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [Axapta-Knowledge-Village] help modifying X++

2004-10-25 Thread akash malohatra

Hi,

I think you need to write this ---

if(svcCallTable.CallStatusId == ProjStatus::Completed
|| svcCallTable.CallStatusId == ProjStatus::cancelled
)

i think u need to use OR instead of AND ... if u
want to use AND , then use  

hope this helps...

regards
Akash

 --- Andrew Vranjes [EMAIL PROTECTED] wrote: 
 Hello,
 
 I want to modify this x++ in our system [below]. I
 want to change this line
 from;
 
 if(svcCallTable.CallStatusId == 'Completed')
 
 
 to include 'completed' and 'cancelled' values
 
 do I use the  operator?
 
 Can someone change this line for me please?
 
 Thanks
 
 
 public boolean modified()
 {
 ProjTable   _projTable;
 boolean ret;
 ;
 
 ret = super();
 
 if(svcCallTable.CallStatusId == 'Completed')  
 -- this
 line !
 {
  ttsbegin;
  selectforupdate _projTable
 where _projTable.ProjId ==
 svcCallTable.ProjId;
 
  _projTable.Status =
 ProjStatus::Completed;
  _projTable.update();
  ttscommit;
  }
 
 return ret;
 
 
 }
 
 
 
 
 Andrew Vranjes
 IT Support Officer
 Metric Australia Pty Ltd
 
  





___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [Axapta-Knowledge-Village] How to make a field mandatory at runtime

2004-10-13 Thread akash malohatra

 --- ottawa_m2003 [EMAIL PROTECTED] wrote: 
Hi,
u can write this code in the Datasource -PurchLine-
Itemid - modified() method

if(PurchLine.itemid = A)
{
 PurchLine_ds.object(fieldid2ext(fieldNum(PurchLine,
Dimension), 2)).mandatory(true);
}
else
{
PurchLine_ds.object(fieldid2ext(fieldNum(PurchLine,
Dimension), 2)).mandatory(false);
}

cheers
Akash
-

Hi,

I am trying to make Costcenter dimension field
mandatory in PO lines.
I have two types of Items say A and B. A requires
Costcenter 
mandatory, but B does not require mandatory.

I wrote this code. But its not working.

1. I made the field as mandatory in the form. I
override validate 
method with the following code on the
StrEdit::dimension[2] in the 
grid..


boolean validate()
{
boolean ret;
if ( this.ItemID == 'A' )
 this.mandatory(true);
else
 this.mandatory(false);

}

But it seems not working. Can anyone tell me how to 
make costcenter ( column ) in the form mandatory at
runtime with 
respect to PO lines ( rows ) of the form.

Appreciate your help.
thanks,
Ottawa





Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor  ADVERTISEMENT
 

-
Yahoo! Groups Links

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





___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


 Yahoo! Groups Sponsor ~-- 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[Axapta-Knowledge-Village] De-active the Doc. handling button throgh coding

2004-08-12 Thread akash malohatra

Hi All, 

I want to de-active the Document Handling Icon from
coding on some specific Condition.

but i have less idea how to access the Menubar icon.

is any one have any idea.

Thanks in Advance
Regards
Akash





___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[Axapta-Knowledge-Village] Edit method problem in Grid..

2004-07-29 Thread akash malohatra
Hi All,

I have problem in implimenting this Edit method. When
i am trying to click the check box. It never checks ,
still its editable...whats wrong in code


edit NoYes markTrans(boolean set,
 CommissionTrans 
_commissionTrans,
 NoYes  _markTrans)
{
 
 if (set)
{
  element.lock();
if (_markTrans == NoYes::Yes)
{
  BalanceAmount += _CommissionTrans.AmountMST;
   }
else
{
  
  BalanceAmount -= _CommissionTrans.AmountMST;
}
  element.unLock();
  this.refresh();
   }
   
return _MarkTrans;
}

This method is in the Datasource of the form . and
this is a checkbox in my grid.

Thanks
Akash






___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


 Yahoo! Groups Sponsor ~-- 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/