[development-axapta] update instead of delete

2011-01-18 Thread Ivan Zupic
I'm trying to catch an insert on a table and do update instead in some
specific cases. How do i go about that? I'm trying to put this in insert
method in CustTable table, but i'm not sure where to put the code.

What i am trying to do is to make the create method in AIF
(CustCustomerService) behave like insert/update - to create if record does
not exist (based on some external ID) or update if it do exist.

Any ideas?

Thanx,
Ivan


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



Re: [development-axapta] Upgrade Synchronize Problem

2011-01-18 Thread Edvandro Santos
Hi Donny, 

You need to do the code upgrade and data upgrade. Please, see the 
documentation: 
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=D9DAE144-55B4-432D-B11E-F65DDB2D1B9C

Best regards,
Edvandro Santos: Microsoft Certified Management Solutions Professional - 
www.axfordummies.com
contact | edvan...@axfordummies.com - +55 21 8899-2621 | aim - 
edvandro.san...@hotmail.com

On 08/12/2010, at 12:22, Donny Wu wrote:

 Hi Guys,
 
 I found this weird problem, I just upgrade my Ax from version 4.0 to 2009 by
 copying the USR layer and try to fix the code but every time I synchronize
 Data Dictionary my application will hang after couple of seconds. Does
 anyone ever found this problem ?
 
 rgds,
 
 dwu
 
 [Non-text portions of this message have been removed]
 
 



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



Re: [development-axapta] Proforma project invoice

2011-01-18 Thread Edvandro Santos
Hi James, here in Brazil we have ProForma implemented. If you wat, I can send 
you the customisations, if you want.

Best regards,
Edvandro Santos: Microsoft Certified Management Solutions Professional - 
www.axfordummies.com
contact | edvan...@axfordummies.com - +55 21 8899-2621 | aim - 
edvandro.san...@hotmail.com

On 20/12/2010, at 08:19, James Flavell wrote:

 Has anyone made the project invoice as proforma?
 
 Just wondering why there is no such function and is it due to being very
 difficult to do technically? 
 
 Has anyone made such before and have any warnings?
 
 Thanks a lot
 
 James
 
 [Non-text portions of this message have been removed]
 
 



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



[development-axapta] Upgrade Synchronize Problem

2011-01-17 Thread Donny Wu
Hi Guys,

I found this weird problem, I just upgrade my Ax from version 4.0 to 2009 by
copying the USR layer and try to fix the code but every time I synchronize
Data Dictionary my application will hang after couple of seconds. Does
anyone ever found this problem ?

rgds,

dwu


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



[development-axapta] Hi,

2011-01-17 Thread syed shafeeque
Hi,
 
Please can you tell the difference between runbase class and runbasebatch class 
in detail.
 
Regards.



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



[development-axapta] Proforma project invoice

2011-01-17 Thread James Flavell
Has anyone made the project invoice as proforma?

 

Just wondering why there is no such function and is it due to being very
difficult to do technically? 

 

Has anyone made such before and have any warnings?

 

Thanks a lot

James

 



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



[development-axapta] Inventory Closing Error

2011-01-17 Thread tarekeg2
Dear friends,

I'm facing an error message when I try to adjust on Hand inventory not allow 
me to complete the process.
The message is Item number 11234, Transaction cannot be adjusted as the 
quantity financially open is zero. What does this message mean, and how I can 
solve the problem?

Appreciate your contributions.

Best Regards,
Tarek



[development-axapta] Re:

2011-01-17 Thread arif billah

 
Respected  Sir/Mam,
This is arif shaik with good wishes,
 
 
 hi i wanna implementation vedios link to watch and train my self ,r else there 
is any tutorials plz send me back

thanks  to my g members...
 
 
 
 
 
Thanks  Regard
Shaik Arif,
09912354588,
arephsh...@sify.com



  

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



[development-axapta] Norwegian char (å ø æ) problem

2011-01-17 Thread bahalul kabir
Hi,
I am using ftpWebRequest.
http://www.axaptapedia.com/FtpWebRequest

If anyone can help or give a good suggestion or is there anyother good way to 


below I describe where Norwegian char showing wrong

Thank you

// Read file reader = new System.IO.StreamReader(C:/test.xml); utf8 = 
System.Text.Encoding::get_UTF8(); bytes = utf8.GetBytes( reader.ReadToEnd() 
); reader.Close();
// if first char of the file for exaple Æ 
print bytes.GetValue(0) // showing the value  239 but it should be 198
   num =fileContent.GetValue(0);print   num2char(num); // strange char 
showing, should be Æprint char2num('Æ',1); // the actual value is 198
pause;


  

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



[development-axapta] WinApiServer

2011-01-17 Thread jquinteroz
Hello forum!:

We have problems with this api:
WinApiServer::Move.
We added permissions and the following error appears:

Exception has been thrown 
by the target of an invocation 
--System unauthorized AccessException::Access to the 
path is denied at System_IO_Error(Int 32 error...)

When I use WinApi::Move it works without problems 
but this api does not works in batch mode.

Here the code:

static boolean MoveFile(FileName _FileNameFrom, FileName _FileNameTo) 
{ 
set permissionSet = new Set(Types::Class); 
boolean ret; 
; 
CodeAccessPermission::revertAssert(); 
permissionSet.add(new FileIOPermission(_FileNameFrom, 'rw')); 
permissionSet.add(new FileIOPermission(_FileNameTo, 'rw')); 
CodeAccessPermission::assertMultiple(permissionSet); 

try 
{ 

ret = WinAPIServer::moveFile(_FileNameFrom,_FileNameTo); 

Any ideas?.




[development-axapta] Proforma project invoice - sorry pls ignore

2011-01-17 Thread James Flavell
Sorry pls ignore this.proforma does exist for project.been a long hard day
;)

Sorry everyone about this

Thanks

James

 

From: James Flavell [mailto:djf1...@gmail.com] 
Sent: 20 December 2010 18:19
To: 'development-axapta@yahoogroups.com'
Subject: Proforma project invoice

 

Has anyone made the project invoice as proforma?

 

Just wondering why there is no such function and is it due to being very
difficult to do technically? 

 

Has anyone made such before and have any warnings?

 

Thanks a lot

James

 



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



[development-axapta] Re: How to get the used Table id in Ax 2009

2010-11-24 Thread syed baber
Try assigning the new ID to the legacyId property on the table.


S.M. Baber Owais

Senior Software Engineer
Tyler Technologies
Microsoft Dynamics AX Public Sector Team
Mobile: +92 333 2354624
Mail:  v-ba...@microsoft.com


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



AW: [development-axapta] How to get the used Table id in Ax 2009

2010-11-24 Thread jesper.joergensen
Hi,

why do you want to do that?

The table ID is used internally in Dynamics AX to link objects in the 
development environment. It is also used to synchronize the data dictionary 
from Dynamics AX on the SQL Server. If you change the ID a table synchronizing 
the database will give you problems.

If you are running out of ID's for your application you should setup the 
Dynamics AX Team Server. Using the team server and vss you can assign more ID's 
to the USR Layer.

You can only change the ID by exporting the table, deleting the table and 
importing it again. Be aware that deploying this application to your next stage 
will lead to data being deleted.

Best regards
Jesper Jørgensen

Von: development-axapta@yahoogroups.com 
[mailto:development-axa...@yahoogroups.com] Im Auftrag von roshannuvvula
Gesendet: Dienstag, 23. November 2010 11:58
An: development-axapta@yahoogroups.com
Betreff: [development-axapta] How to get the used Table id in Ax 2009



Hi,

when ever i am creating a table it gives a unique id. let us assume that i 
create table TABLE1 for testing it gives the id 500010

after i created another table TABLE2 with id 500011. Now deleted the table 
which is having the id 500010.

Now what i want is how to assign the table id 500010(Deleted table id) to 
TABLE2 ?



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



[development-axapta] Currency no. of decimal

2010-11-02 Thread Wael
Hi,
 
I have a question regarding the currency number of decimal in dynamic Ax.2009.
 
I have 2 company on the same application server, one of them need 3 currency 
decimal, and the other company need only 2 .
 
So what is the solution for this case? is there any standard solution for this 
case?
 
Please advice.
 
Thanks,
Wael 



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



[development-axapta] Company Currency with 3 Decimal

2010-11-02 Thread MohibA
Hi;

we have two company in the same application
the first one use currency Amount with 3 Decimal , and the other one use 
currency Amount with 2 Decimal.

How can i set the Amount Number of decimal for these two companies

Please Help

Regards
Mohib



[development-axapta] Help required - Facing issue in AX 2009 EP role center page

2010-10-28 Thread priyanka sinha
Hi All, 
  
We are facing one problem in AX 2009 EP role center page . We have implemented 
Expense management for one of our customer. When workflow is assigned to 
reporting manager , some high level management people are approving workflows 
from role center page by right clicking workflow record and clicking approve 
option as shown below. 

   
  
When this Dialog opens they are getting messages related to policy violations 
although the approval process is working fine. They don’t want this message,. 

  
I have checked in AX for the  classes ,tables related to expense policies and 
there is nothing set up in that. If anybody knows about how to find the role 
center page unified work list  web part please let me know. Appreciate you 
help. 
Thanks! 

   
  
Thanks, 
Asit 



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



[development-axapta] Help Required.

2010-10-25 Thread somanna gl
Hi All,

Just for development purpose I have installed AX 2009, SharePoint 2010 ,SQL 
2008 
express edition and visual studio 2008 professional pack  on windows 7 64 bit.
everything works fine till now.
I have applied the patch that is required for installation of AX EP 
on share-point 2010.

Now when I try to install Enterprise portal I am not able to do so.. there is 
nothing captured on the event viewer.

I have attached the error and log file..
Any input is of Great help.

Thanks in advance.

Best Regards
Somanna



  
  --

ÿþ 

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





Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/development-axapta/join
(Yahoo! ID required)

* To change settings via email:
development-axapta-dig...@yahoogroups.com 
development-axapta-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
development-axapta-unsubscr...@yahoogroups.com

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



[development-axapta] How to know current user group in AX

2010-10-25 Thread SUNEEL BABU


How to know current user group in AX?

Regards.,
Suneel

  

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



Re: [development-axapta] call a report from report

2010-10-25 Thread somanna gl


Hi Nuaman,

Please check HRMSkillGapEmployeeHTMLGenerate class and add a Html tag.

Best Regards
Somanna


From: M. Nuaman Sharif nuaman_sha...@yahoo.com
To: development-axapta@yahoogroups.com
Sent: Tue, October 19, 2010 4:38:25 PM
Subject: Re: [development-axapta] call a report from report

  
dear somanna gl!
Thanks for your help, please if you write some more about it
Thanks,

 


From: somanna gl glsom...@yahoo.com
To: development-axapta@yahoogroups.com
Sent: Tue, October 19, 2010 10:20:14 AM
Subject: Re: [development-axapta] call a report from report

  
Create a EDT and use report ref.. or Create a HTML report..


From: M. Nuaman Sharif nuaman_sha...@yahoo.com
To: development-axapta@yahoogroups.com
Sent: Sun, October 17, 2010 3:10:44 PM
Subject: [development-axapta] call a report from report

Hi all!
I want to add a button to the Ax report or link, so that i can call another 
report from report
Please help me.
Thanks
Regards

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

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


 


  

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



[development-axapta] Re: How to know current user group in AX

2010-10-25 Thread Arijit Basu
You get the current user in AX. Now the user may belong to one or more
groups. Query the user-group relations and find out...

Arijit Basu

On Thu, Oct 21, 2010 at 5:13 AM, SUNEEL BABU suneel...@hotmail.com wrote:


 How to know current user group in AX?

 *Regards.,*
 *Suneel*





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



[development-axapta] What is the latest AX 4.0 SP1 kernel available?

2010-10-25 Thread James Flavell
Can anyone tell me the latest kernel available for AX4.0 SP1?

 

The hotfix list says xxx.939 but this turns out not to be a Kernel hotfix
even though it says so on the list in PartnerSource.  So now I don't trust
the list and wondering which one really is the latest available kernel

 

Also I assume I cannot use AX4.0 SP2 kernels with a AX4.0 SP1 application
but again if anyone can confirm this is not a wise or supported
configuration would be great

 

Thanks as always J

James

 



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



[development-axapta] Info class customization leads to import issue...

2010-10-25 Thread srinath s
Hi All, 
 
 As i customized the info class  formnotify() to meet the requirement, export 
the customized objects along info class as xpo and imported the same in new 
environment. 
After the import the AX throws infolog message saying the Error: Recompile the 
script Info\formnotify(). I need to follow the below steps after importing then 
only the issue is getting resolved. 
 1. Recompile or do compile forward for 3 or 4 times 
2. Relauch ax and compile. 
 Is this issue will happen when we write code in info class? 
How to rectify the issue instead of compiling. Because will feel something 
happened wrong. Instead of making the Infologdetail as none in the Tools- 
options window anyother way to do automatic compiling and not showing the 
infolog error message. 
 
 
Is it a known issue? 
 
Please suggest me on this. 
 
Appreciate a response. 
 
Regards, 
Srinath. S 
 
Sweet Regards,
Srinath. S
 



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



[development-axapta] Call a report from report

2010-10-19 Thread M. Nuaman Sharif
Hi all,
How can call a report from report
Please Help



  


[development-axapta] call a report from report

2010-10-19 Thread M. Nuaman Sharif
Hi all!
I want to add a button to the Ax report or link, so that i can call another 
report from report
Please help me.
Thanks
Regards



  


RE: [development-axapta] Vendor Invoice Journal from Business Connector

2010-10-01 Thread Roberto Ukmar
How are you logging into AX from the business connector?

-Messaggio originale-
Da: development-axapta@yahoogroups.com
[mailto:development-axa...@yahoogroups.com] Per conto di Adam Gregory
Inviato: giovedì 30 settembre 2010 14:53
A: development-axapta@yahoogroups.com
Oggetto: Re: [development-axapta] Vendor Invoice Journal from Business
Connector

My problem was that the Business connector was using DAT and not a specified
company.

I wrapped all my static methods in AX with changecompany(companyParam) {}

Is this the best practice way or is there a way to change company directly
from .net?

Thank your for your responses,
Adam Gregory




[development-axapta] How to use TFS with Axapta.

2010-10-01 Thread alokmishra_004
Hi Friends,

Please help me to use TFS with Axapta.
Have you any document related with Configuration of TFS with Axapta.





Re: R: [development-axapta] Vendor Invoice Journal from Business Connector

2010-10-01 Thread srinath s
Hi Roberto,
 
When you are using Axapta class with logon or logonas method, are you passing 
the company name as one parameter to any of these methods. If you pass the 
company information in these login methods then it will solve the problem.

Regards,
Srinath. S 

--- On Thu, 30/9/10, Roberto Ukmar roberto.uk...@gmail.com wrote:


From: Roberto Ukmar roberto.uk...@gmail.com
Subject: R: [development-axapta] Vendor Invoice Journal from Business Connector
To: development-axapta@yahoogroups.com
Date: Thursday, 30 September, 2010, 1:47 PM


  



Hi,

Is the business connector logged on the right company? (or is on the dat
company)?

Da: development-axapta@yahoogroups.com
[mailto:development-axa...@yahoogroups.com] Per conto di Adam Gregory
Inviato: mercoledì 29 settembre 2010 16:03
A: development-axapta@yahoogroups.com
Oggetto: [development-axapta] Vendor Invoice Journal from Business Connector

I have a static method in X++ that creates a Vendor Invoice Journal.

When I run this method from a job inside of AX the journal is created
without a problem.

When I try to run the method from the business connector I get exception:

Additional information: Number sequence for the reference Journal number in
parameters in the General ledger module has not been set up.

The number sequence is set up and works fine from inside AX.

Does anyone know what would cause this?

Thank you,
Adam

.

http://geo.yahoo.com/serv?s=97359714/grpId=514494/grpspId=1705006764/msgId=
18157/stime=1285830681/nc1=3848644/nc2=5741393/nc3=4507179 

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










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



RE: [development-axapta] Vendor Invoice Journal from Business Connector

2010-10-01 Thread srinath s
Using Logon or logonAs methods in Class Axapta.
 
Create object for Axapta class and then call logon or logonas method using the 
axapta object.
 
public void LogonAs(string user, string domain, System.Net.NetworkCredential 
bcProxyCredentials, string company, string language, string objectServer, 
string configuration)
    Member of Microsoft.Dynamics.BusinessConnectorNet.Axapta

public void Logon(string company, string language, string objectServer, string 
configuration)
    Member of Microsoft.Dynamics.BusinessConnectorNet.Axapta


hope this help us.

--- On Thu, 30/9/10, Roberto Ukmar roberto.uk...@gmail.com wrote:


From: Roberto Ukmar roberto.uk...@gmail.com
Subject: RE: [development-axapta] Vendor Invoice Journal from Business Connector
To: development-axapta@yahoogroups.com
Date: Thursday, 30 September, 2010, 8:08 PM


  



How are you logging into AX from the business connector?

-Messaggio originale-
Da: development-axapta@yahoogroups.com
[mailto:development-axa...@yahoogroups.com] Per conto di Adam Gregory
Inviato: giovedì 30 settembre 2010 14:53
A: development-axapta@yahoogroups.com
Oggetto: Re: [development-axapta] Vendor Invoice Journal from Business
Connector

My problem was that the Business connector was using DAT and not a specified
company.

I wrapped all my static methods in AX with changecompany(companyParam) {}

Is this the best practice way or is there a way to change company directly
from .net?

Thank your for your responses,
Adam Gregory










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



Re: [development-axapta] Vendor Invoice Journal from Business Connector

2010-10-01 Thread Adam Gregory
 try
{
ax.LogonAs(strProxyUserName, strProxyUserDomain, nc, null,
null, strServerName, null);
}

Adam Gregory



On Thu, Sep 30, 2010 at 10:38 AM, Roberto Ukmar roberto.uk...@gmail.comwrote:



 How are you logging into AX from the business connector?

 -Messaggio originale-

 Da: development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 [mailto:development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com]
 Per conto di Adam Gregory
 Inviato: giovedì 30 settembre 2010 14:53

 A: development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 Oggetto: Re: [development-axapta] Vendor Invoice Journal from Business
 Connector

 My problem was that the Business connector was using DAT and not a
 specified
 company.

 I wrapped all my static methods in AX with changecompany(companyParam) {}

 Is this the best practice way or is there a way to change company directly
 from .net?

 Thank your for your responses,
 Adam Gregory

  



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





Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/development-axapta/join
(Yahoo! ID required)

* To change settings via email:
development-axapta-dig...@yahoogroups.com 
development-axapta-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
development-axapta-unsubscr...@yahoogroups.com

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



Re: [development-axapta] How to use TFS with Axapta.

2010-10-01 Thread Amit Jain
Hi Alok,
 
There is a whitepaper on partnersource. That document should be good enough for 
you. In case you face any problem, then please drop me an email.
 
Regards
Amit

--- On Fri, 1/10/10, alokmishra_004 alokmishra_...@yahoo.com wrote:


From: alokmishra_004 alokmishra_...@yahoo.com
Subject: [development-axapta] How to use TFS with Axapta.
To: development-axapta@yahoogroups.com
Date: Friday, 1 October, 2010, 7:17 AM


  



Hi Friends,

Please help me to use TFS with Axapta.
Have you any document related with Configuration of TFS with Axapta.










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



R: [development-axapta] Vendor Invoice Journal from Business Connector

2010-09-30 Thread Roberto Ukmar
Hi,

Is the business connector logged on the right company? (or is on the dat
company)?

 

Da: development-axapta@yahoogroups.com
[mailto:development-axa...@yahoogroups.com] Per conto di Adam Gregory
Inviato: mercoledì 29 settembre 2010 16:03
A: development-axapta@yahoogroups.com
Oggetto: [development-axapta] Vendor Invoice Journal from Business Connector

 

  

I have a static method in X++ that creates a Vendor Invoice Journal.

When I run this method from a job inside of AX the journal is created
without a problem.

When I try to run the method from the business connector I get exception:

Additional information: Number sequence for the reference Journal number in
parameters in the General ledger module has not been set up.

The number sequence is set up and works fine from inside AX.

Does anyone know what would cause this?

Thank you,
Adam



.

 
http://geo.yahoo.com/serv?s=97359714/grpId=514494/grpspId=1705006764/msgId=
18157/stime=1285830681/nc1=3848644/nc2=5741393/nc3=4507179 





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



AW: [development-axapta] Vendor Invoice Journal from Business Connector

2010-09-30 Thread jesper.joergensen
The number Sequence uses two sessions (two concurrent users?) to allocate a new 
number. Check the eventlogs on the server to see if you have problems with your 
license.

Mit freundlichen Grüßen / Best regards / Med venlig hilsen
Jesper Jørgensen / Abt. NMT-XD
Senior Product Manager
arvato systems | Technologies GmbH
An der Autobahn 18
33311 Gütersloh
jesper.joergen...@bertelsmann.deblocked::blocked::blocked::mailto:jesper.joergen...@bertelsmann.de
Phone:   +49 5242 / 40 80 54
Fax:   +49 5242 / 40 80 40
Mobile:  +49 172  / 571 03 34
http://www.as-T.deblocked::blocked::http://www.as-t.biz/
arvato systems | Technologies GmbH
Joachim-Jungius-Str. 9, 18059 Rostock
Geschäftsführung: Erwin Pietz, Matthias Moeller
Amtsgericht Rostock - HRB 7497

Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und 
ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie 
sicher, dass die Information in dieser Nachricht ausschließlich an die 
adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie 
gesendet worden sein, dann informieren Sie bitte umgehend den Absender und 
löschen Sie die Nachricht. Vielen Dank.
The information in this e-mail and any attachments is confidential. The 
information must only be held in areas that have controlled and limited access 
to the addressed persons. If this e-mail has been sent to you in error, please 
immediately notify the sender and delete the e-mail. Thanks.


Von: development-axapta@yahoogroups.com 
[mailto:development-axa...@yahoogroups.com] Im Auftrag von Roberto Ukmar
Gesendet: Donnerstag, 30. September 2010 10:18
An: development-axapta@yahoogroups.com
Betreff: R: [development-axapta] Vendor Invoice Journal from Business Connector



Hi,

Is the business connector logged on the right company? (or is on the dat
company)?

Da: 
development-axapta@yahoogroups.commailto:development-axapta%40yahoogroups.com
[mailto:development-axapta@yahoogroups.commailto:development-axapta%40yahoogroups.com]
 Per conto di Adam Gregory
Inviato: mercoledì 29 settembre 2010 16:03
A: 
development-axapta@yahoogroups.commailto:development-axapta%40yahoogroups.com
Oggetto: [development-axapta] Vendor Invoice Journal from Business Connector

I have a static method in X++ that creates a Vendor Invoice Journal.

When I run this method from a job inside of AX the journal is created
without a problem.

When I try to run the method from the business connector I get exception:

Additional information: Number sequence for the reference Journal number in
parameters in the General ledger module has not been set up.

The number sequence is set up and works fine from inside AX.

Does anyone know what would cause this?

Thank you,
Adam

.

http://geo.yahoo.com/serv?s=97359714/grpId=514494/grpspId=1705006764/msgId=
18157/stime=1285830681/nc1=3848644/nc2=5741393/nc3=4507179

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



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



Re: [development-axapta] Vendor Invoice Journal from Business Connector

2010-09-30 Thread Adam Gregory
My problem was that the Business connector was using DAT and not a specified
company.

I wrapped all my static methods in AX with changecompany(companyParam) {}

Is this the best practice way or is there a way to change company directly
from .net?

Thank your for your responses,
Adam Gregory



On Thu, Sep 30, 2010 at 5:01 AM, jesper.joergen...@bertelsmann.de wrote:



 The number Sequence uses two sessions (two concurrent users?) to allocate a
 new number. Check the eventlogs on the server to see if you have problems
 with your license.

 Mit freundlichen Grüßen / Best regards / Med venlig hilsen
 Jesper Jørgensen / Abt. NMT-XD
 Senior Product Manager
 arvato systems | Technologies GmbH
 An der Autobahn 18
 33311 Gütersloh
 jesper.joergen...@bertelsmann.de jesper.joergensen%40bertelsmann.de
 blocked::blocked::blocked::mailto:jesper.joergen...@bertelsmann.dejesper.joergensen%40bertelsmann.de
 
 Phone: +49 5242 / 40 80 54
 Fax: +49 5242 / 40 80 40
 Mobile: +49 172 / 571 03 34
 http://www.as-T.deblocked::blocked::http://www.as-t.biz/
 arvato systems | Technologies GmbH
 Joachim-Jungius-Str. 9, 18059 Rostock
 Geschäftsführung: Erwin Pietz, Matthias Moeller
 Amtsgericht Rostock - HRB 7497
 
 Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und
 ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie
 sicher, dass die Information in dieser Nachricht ausschließlich an die
 adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie
 gesendet worden sein, dann informieren Sie bitte umgehend den Absender und
 löschen Sie die Nachricht. Vielen Dank.
 The information in this e-mail and any attachments is confidential. The
 information must only be held in areas that have controlled and limited
 access to the addressed persons. If this e-mail has been sent to you in
 error, please immediately notify the sender and delete the e-mail. Thanks.
 

 Von: 
 development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com[mailto:
 development-axapta@yahoogroups.com development-axapta%40yahoogroups.com]
 Im Auftrag von Roberto Ukmar
 Gesendet: Donnerstag, 30. September 2010 10:18
 An: development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 Betreff: R: [development-axapta] Vendor Invoice Journal from Business
 Connector


 Hi,

 Is the business connector logged on the right company? (or is on the dat
 company)?

 Da: development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 mailto:development-axapta%40yahoogroups.comdevelopment-axapta%2540yahoogroups.com
 
 [mailto:development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 mailto:development-axapta%40yahoogroups.comdevelopment-axapta%2540yahoogroups.com]
 Per conto di Adam Gregory

 Inviato: mercoledì 29 settembre 2010 16:03
 A: development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 mailto:development-axapta%40yahoogroups.comdevelopment-axapta%2540yahoogroups.com
 

 Oggetto: [development-axapta] Vendor Invoice Journal from Business
 Connector

 I have a static method in X++ that creates a Vendor Invoice Journal.

 When I run this method from a job inside of AX the journal is created
 without a problem.

 When I try to run the method from the business connector I get exception:

 Additional information: Number sequence for the reference Journal number in
 parameters in the General ledger module has not been set up.

 The number sequence is set up and works fine from inside AX.

 Does anyone know what would cause this?

 Thank you,
 Adam

 .

 
 http://geo.yahoo.com/serv?s=97359714/grpId=514494/grpspId=1705006764/msgId=
 18157/stime=1285830681/nc1=3848644/nc2=5741393/nc3=4507179

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

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

  



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





Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/development-axapta/join
(Yahoo! ID required)

* To change settings via email:
development-axapta-dig...@yahoogroups.com 
development-axapta-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
development-axapta-unsubscr...@yahoogroups.com

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



[development-axapta] Regarding help files

2010-09-30 Thread SUNEEL BABU

HI,I want do create a help file for my module developed in. I have the .chm 
file and copied it in to the client bin location. Now i created a help menu for 
that. It shows in the help menu but when i click that it shows error html path 
not exist. Is there any other process for adding our own help files to AX help 
menu.


Thanks  Regards.,Suneel

  

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



Re: [development-axapta] Locking field in SysQueryForm

2010-09-17 Thread kristanto surjadi
Hi Suki,
 
You can use status method in QueryBuildRange. Example:
 
QueryBuildRange qr;
 
qr = 
salesTable_ds.query().dataSourceTable(tablenum(salesTable)).addRange(fieldnum(salesTable,InvoiceAccount));

qr.status(rangeStatus::Locked);
 
With this code even if they open SysQueryForm you criteria will be locked and 
not available for changes.
 
Cheers,


--- On Wed, 9/15/10, suki.sherg...@btopenworld.com 
suki.sherg...@btopenworld.com wrote:


From: suki.sherg...@btopenworld.com suki.sherg...@btopenworld.com
Subject: [development-axapta] Locking field in SysQueryForm
To: development-axapta@yahoogroups.com
Received: Wednesday, September 15, 2010, 3:02 PM


  



Hi All,

I've added a new field to the Table/SalesTable.
I've modified the Form/SalesTable query to restrict the records shown on the 
grid for certain users using my new field.
This all works OK.
My problem is that the user is able to invoke the SysQueryForm and change the 
query and change the restriction I've added to the query and see the records 
they shouldn't.

How do I disable the editing of my new field in the SysQueryForm?

Thanks,
Suki










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



Re: [development-axapta] Locking field in SysQueryForm

2010-09-17 Thread SUKHNINDER SHERGILL
Hi Kristanto,

Perfect!

Thanks,
Suki





From: kristanto surjadi kristantosurj...@yahoo.com
To: development-axapta@yahoogroups.com
Sent: Friday, 17 September, 2010 7:14:25
Subject: Re: [development-axapta] Locking field in SysQueryForm

  
Hi Suki,
 
You can use status method in QueryBuildRange. Example:
 
QueryBuildRange qr;
 
qr = 
salesTable_ds.query().dataSourceTable(tablenum(salesTable)).addRange(fieldnum(salesTable,InvoiceAccount));


qr.status(rangeStatus::Locked);
 
With this code even if they open SysQueryForm you criteria will be locked and 
not available for changes.
 
Cheers,

--- On Wed, 9/15/10, suki.sherg...@btopenworld.com 
suki.sherg...@btopenworld.com wrote:

From: suki.sherg...@btopenworld.com suki.sherg...@btopenworld.com
Subject: [development-axapta] Locking field in SysQueryForm
To: development-axapta@yahoogroups.com
Received: Wednesday, September 15, 2010, 3:02 PM

  

Hi All,

I've added a new field to the Table/SalesTable.
I've modified the Form/SalesTable query to restrict the records shown on the 
grid for certain users using my new field.
This all works OK.
My problem is that the user is able to invoke the SysQueryForm and change the 
query and change the restriction I've added to the query and see the records 
they shouldn't.

How do I disable the editing of my new field in the SysQueryForm?

Thanks,
Suki

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




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



[development-axapta] On BOM Configuration and Product Builder

2010-09-16 Thread somanna gl
Hi All,

Can you please tell me the difference between BOM configuration and Product 
builder.
And when to use them..


Any tips will be of Gr8 help.

Kindest Regards
Somanna


  



[development-axapta] Locking field in SysQueryForm

2010-09-16 Thread suki.sherg...@btopenworld.com
Hi All,

I've added a new field to the Table/SalesTable.
I've modified the Form/SalesTable query to restrict the records shown on the 
grid for certain users using my new field.
This all works OK.
My problem is that the user is able to invoke the SysQueryForm and change the 
query and change the restriction I've added to the query and see the records 
they shouldn't.

How do I disable the editing of my new field in the SysQueryForm?

Thanks,
Suki



Re: [development-axapta] Services are getting stopped/ AOS stops

2010-09-10 Thread Sailendran Rajan
Also you could confirm that any of your customization code is not putting the 
AOS in ambiguty, by removing your code temporarly and make sure that the same 
environment works fine. Before that you can try deleting all the index files 
from your application folder and recreating them.Not only axapd.aoi but *.??i.
 
--- On Tue, 7/9/10, Bala tpri...@yahoo.com wrote:


From: Bala tpri...@yahoo.com
Subject: Re: [development-axapta] Services are getting stopped/ AOS stops
To: development-axapta@yahoogroups.com
Date: Tuesday, 7 September, 2010, 2:26 AM


  



Hi,

I am not sure how much this will help you. As a first step can you check the 
event log to see if there are any messages there.

Regards,
Priyan.

--- On Tue, 9/7/10, pranam mukher pranam_shub...@yahoo.co.in wrote:

From: pranam mukher pranam_shub...@yahoo.co.in
Subject: [development-axapta] Services are getting stopped/ AOS stops
To: axa knwoldge axapta-knowledge-vill...@yahoogroups.com, dev ax 
development-axapta@yahoogroups.com
Date: Tuesday, September 7, 2010, 12:53 PM

 

Hi all 

 

We have been working to solve this issue, just need some inputs from your end. 

We have a server where we have installed workflows, and its our test 
environment. 

And i have done customization, on Purchase order form to incorporate workflows 
into it. 

It was working fine, all of a sudden sometimes, if  i try to create a record in 
PO, or some other tables, AOS goes down. I dont underastand the issue here. Can 
anyone tell me. 

 

Number of users on the AOS is only 20. Dont know why AOS is going down. 

 

Thanks 

Pranam. 

 

 

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

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










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



Re: [development-axapta] select query and grid

2010-09-10 Thread Sailendran Rajan
Using temp table here is quiet expensive with regards to performance in 
production environment. You have to use QueryBuild* objects here and change the 
query on button click.

--- On Mon, 16/8/10, pranam mukher pranam_shub...@yahoo.co.in wrote:


From: pranam mukher pranam_shub...@yahoo.co.in
Subject: Re: [development-axapta] select query and grid
To: development-axapta@yahoogroups.com
Date: Monday, 16 August, 2010, 8:36 AM


  



yes its very much possible. put the results of query in ur temp table, and add 
it as a datasource, to ur form, then u can navigate.

--- On Tue, 10/8/10, ramankt2001 raman_...@hotmail.com wrote:

From: ramankt2001 raman_...@hotmail.com
Subject: [development-axapta] select query and grid
To: development-axapta@yahoogroups.com
Date: Tuesday, 10 August, 2010, 2:28 AM

 

We are on Axapta 3.0 sp3.

I've a query, the guts of which is:

select T1.F1, T1.F2, T2.F3, T2.F4

from T1

where some-criteria

join T2

where some-other-criteria

I would like to present the results of this query (four fields) in a form's 
grid and iterate through the grid in button control's click method.

Is it possible?

Thanks.

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










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



[development-axapta] Services are getting stopped/ AOS stops

2010-09-08 Thread Tony Zeigler
It is hopefully putting an error in the eventlog. Check that for more detail.


  


Re: [development-axapta] Re: New objects moving to vap layer automatically

2010-09-07 Thread Tavita Maanaima
Sounds like you may have an issue with your license file? I would report this 
to your MS Partner to log with MS.

On 04/09/2010, at 12:15 AM, satyakejriwal satyakejri...@gmail.com wrote:

 
 
 Thanks for taking your valuable time to respond.
 
 But my query is why the new objects are moving to VAP layer instead of VAR 
 layer.
 
 Though your suggestion to move an element into a lower layer is very good and 
 practical.
 
 --- In development-axapta@yahoogroups.com, mrsdebug axa...@... wrote:
 
  
  
  To move an element into a lower layer: (from VAP to VAR)
  
  In developement: 
  Export the element with ID's
  
  
  If it is a table you want to change, you will have to export data first, as 
  the data may be deleted if you syncronise. 
  
  Delete the element from VAP:
  In order to delete VAP layer element, you may have to start i VAP layer. 
  Add '-aol=VAP' on the shortcut. 
  
  Close the AX VAP layer session. 
  
  New session AX in VAR layer.
  Import elements with ID's
  Import data, if you made an export. 
  
  Deploy VAR layer to test enviroment and prod as usual, remember to delete 
  VAP layer and the AOI file.
  
  If you dont deply as layers you will have to repeat the above method - 
  exporting the elements. 
  
  
  Hope this made sense?
  
  --- In development-axapta@yahoogroups.com, satyakejriwal satyakejriwal@ 
  wrote:
  
   We are using Ax 3.0 with oracle 9i database and project has gone live 
   just few months back. We are having 3 environment (development, testing 
   and production) and all the development has done in VAR layer. Recently 
   we are facing the problem in development application where development 
   work is saved into VAP layer even though we are working on VAR (its 
   already set in the Axapta configuration utility). 
   
   When we try to delete this VAP development then system is throwing error 
   and not allow to delete the object. 
   
   I have read in the axapta help file where the range has been mentioned 
   for the VAR layer development (30001-3). I have created one table in 
   this application and its created with the id no (31728) and subsequently 
   the next no is assigned to the object Map. When i tried to created any 
   Form,Report and view then system saved these objects into VAP layer. We 
   have to release some new functionality therefore the same would require 
   the development and currently our development application is down due to 
   this issue.
   Can anybody help for this?
  
 
 
 


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



[development-axapta] Services are getting stopped/ AOS stops

2010-09-07 Thread pranam mukher
Hi all 
 
We have been working to solve this issue, just need some inputs from your end. 
We have a server where we have installed workflows, and its our test 
environment. 
And i have done customization, on Purchase order form to incorporate workflows 
into it. 
It was working fine, all of a sudden sometimes, if  i try to create a record in 
PO, or some other tables, AOS goes down. I dont underastand the issue here. Can 
anyone tell me. 
 
Number of users on the AOS is only 20. Dont know why AOS is going down. 
 
Thanks 
Pranam. 
 
 



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



Re: [development-axapta] Services are getting stopped/ AOS stops

2010-09-07 Thread Bala
Hi,

I am not sure how much this will help you. As a first step can you check the 
event log to see if there are any messages there.

Regards,
Priyan.

--- On Tue, 9/7/10, pranam mukher pranam_shub...@yahoo.co.in wrote:

From: pranam mukher pranam_shub...@yahoo.co.in
Subject: [development-axapta] Services are getting stopped/ AOS stops
To: axa knwoldge axapta-knowledge-vill...@yahoogroups.com, dev ax 
development-axapta@yahoogroups.com
Date: Tuesday, September 7, 2010, 12:53 PM







 



  



  
  
  Hi all 

 

We have been working to solve this issue, just need some inputs from your end. 

We have a server where we have installed workflows, and its our test 
environment. 

And i have done customization, on Purchase order form to incorporate workflows 
into it. 

It was working fine, all of a sudden sometimes, if  i try to create a record in 
PO, or some other tables, AOS goes down. I dont underastand the issue here. Can 
anyone tell me. 

 

Number of users on the AOS is only 20. Dont know why AOS is going down. 

 

Thanks 

Pranam. 

 

 



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






 





 



  






  

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



Re: [development-axapta] Re: New objects moving to vap layer automatically

2010-09-07 Thread Bala
But does MS provide support to 3.0 still?

--- On Tue, 9/7/10, Tavita Maanaima tav...@yahoo.co.nz wrote:

From: Tavita Maanaima tav...@yahoo.co.nz
Subject: Re: [development-axapta] Re: New objects moving to vap layer 
automatically
To: development-axapta@yahoogroups.com development-axapta@yahoogroups.com
Date: Tuesday, September 7, 2010, 2:16 AM







 



  



  
  
  Sounds like you may have an issue with your license file? I would report 
this to your MS Partner to log with MS.



On 04/09/2010, at 12:15 AM, satyakejriwal satyakejri...@gmail.com wrote:



 

 

 Thanks for taking your valuable time to respond.

 

 But my query is why the new objects are moving to VAP layer instead of VAR 
 layer.

 

 Though your suggestion to move an element into a lower layer is very good and 
 practical.

 

 --- In development-axapta@yahoogroups.com, mrsdebug axa...@... wrote:

 

  

  

  To move an element into a lower layer: (from VAP to VAR)

  

  In developement: 

  Export the element with ID's

  

  

  If it is a table you want to change, you will have to export data first, as 
  the data may be deleted if you syncronise. 

  

  Delete the element from VAP:

  In order to delete VAP layer element, you may have to start i VAP layer. 
  Add '-aol=VAP' on the shortcut. 

  

  Close the AX VAP layer session. 

  

  New session AX in VAR layer.

  Import elements with ID's

  Import data, if you made an export. 

  

  Deploy VAR layer to test enviroment and prod as usual, remember to delete 
  VAP layer and the AOI file.

  

  If you dont deply as layers you will have to repeat the above method - 
  exporting the elements. 

  

  

  Hope this made sense?

  

  --- In development-axapta@yahoogroups.com, satyakejriwal satyakejriwal@ 
  wrote:

  

   We are using Ax 3.0 with oracle 9i database and project has gone live 
   just few months back. We are having 3 environment (development, testing 
   and production) and all the development has done in VAR layer. Recently 
   we are facing the problem in development application where development 
   work is saved into VAP layer even though we are working on VAR (its 
   already set in the Axapta configuration utility). 

   

   When we try to delete this VAP development then system is throwing error 
   and not allow to delete the object. 

   

   I have read in the axapta help file where the range has been mentioned 
   for the VAR layer development (30001-3). I have created one table in 
   this application and its created with the id no (31728) and subsequently 
   the next no is assigned to the object Map. When i tried to created any 
   Form,Report and view then system saved these objects into VAP layer. We 
   have to release some new functionality therefore the same would require 
   the development and currently our development application is down due to 
   this issue.

   Can anybody help for this?

  

 

 

 



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






 





 



  






  

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



Re: [development-axapta] Re: New objects moving to vap layer automatically

2010-09-07 Thread Tavita Maanaima
Support I think was unto SP6, however given that this possibly is a license 
file issue, MS licensing should be able to assist?

Regards,

On 07/09/2010, at 7:27 PM, Bala tpri...@yahoo.com wrote:

 But does MS provide support to 3.0 still?
 
 --- On Tue, 9/7/10, Tavita Maanaima tav...@yahoo.co.nz wrote:
 
 From: Tavita Maanaima tav...@yahoo.co.nz
 Subject: Re: [development-axapta] Re: New objects moving to vap layer 
 automatically
 To: development-axapta@yahoogroups.com development-axapta@yahoogroups.com
 Date: Tuesday, September 7, 2010, 2:16 AM
 
  
 
 Sounds like you may have an issue with your license file? I would report this 
 to your MS Partner to log with MS.
 
 On 04/09/2010, at 12:15 AM, satyakejriwal satyakejri...@gmail.com wrote:
 
  
 
  
 
  Thanks for taking your valuable time to respond.
 
  
 
  But my query is why the new objects are moving to VAP layer instead of VAR 
  layer.
 
  
 
  Though your suggestion to move an element into a lower layer is very good 
  and practical.
 
  
 
  --- In development-axapta@yahoogroups.com, mrsdebug axa...@... wrote:
 
  
 
   
 
   
 
   To move an element into a lower layer: (from VAP to VAR)
 
   
 
   In developement: 
 
   Export the element with ID's
 
   
 
   
 
   If it is a table you want to change, you will have to export data first, 
   as the data may be deleted if you syncronise. 
 
   
 
   Delete the element from VAP:
 
   In order to delete VAP layer element, you may have to start i VAP layer. 
   Add '-aol=VAP' on the shortcut. 
 
   
 
   Close the AX VAP layer session. 
 
   
 
   New session AX in VAR layer.
 
   Import elements with ID's
 
   Import data, if you made an export. 
 
   
 
   Deploy VAR layer to test enviroment and prod as usual, remember to delete 
   VAP layer and the AOI file.
 
   
 
   If you dont deply as layers you will have to repeat the above method - 
   exporting the elements. 
 
   
 
   
 
   Hope this made sense?
 
   
 
   --- In development-axapta@yahoogroups.com, satyakejriwal 
   satyakejriwal@ wrote:
 
   
 
We are using Ax 3.0 with oracle 9i database and project has gone live 
just few months back. We are having 3 environment (development, testing 
and production) and all the development has done in VAR layer. Recently 
we are facing the problem in development application where development 
work is saved into VAP layer even though we are working on VAR (its 
already set in the Axapta configuration utility). 
 

 
When we try to delete this VAP development then system is throwing 
error and not allow to delete the object. 
 

 
I have read in the axapta help file where the range has been mentioned 
for the VAR layer development (30001-3). I have created one table 
in this application and its created with the id no (31728) and 
subsequently the next no is assigned to the object Map. When i tried to 
created any Form,Report and view then system saved these objects into 
VAP layer. We have to release some new functionality therefore the same 
would require the development and currently our development application 
is down due to this issue.
 
Can anybody help for this?
 
   
 
  
 
  
 
  
 
 [Non-text portions of this message have been removed]
 
 [Non-text portions of this message have been removed]
 
 


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



[development-axapta] Re: New objects moving to vap layer automatically

2010-09-06 Thread satyakejriwal


Thanks for taking your valuable time to respond.

But my query is why the new objects are moving to VAP layer instead of VAR 
layer.

Though your suggestion to move an element into a lower layer is very good and 
practical.

--- In development-axapta@yahoogroups.com, mrsdebug axa...@... wrote:

 
 
 To move an element into a lower layer: (from VAP to VAR)
 
 In developement: 
 Export the element with ID's
 
 
 If it is a table you want to change, you will have to export data first, as 
 the data may be deleted if you syncronise. 
 
 Delete the element from VAP:
 In order to delete VAP layer element, you may have to start i VAP layer. Add 
 '-aol=VAP' on the shortcut. 
 
 Close the AX VAP layer session. 
 
 New session AX in VAR layer.
 Import elements with ID's
 Import data, if you made an export. 
 
 Deploy VAR layer to test enviroment and prod as usual, remember to delete VAP 
 layer and the AOI file.
 
 If you dont deply as layers you will have to repeat the above method - 
 exporting the elements. 
 
 
 Hope this made sense?
 
 --- In development-axapta@yahoogroups.com, satyakejriwal satyakejriwal@ 
 wrote:
 
  We are using Ax 3.0 with oracle 9i database and project has gone live just 
  few months back. We are having 3 environment (development, testing and 
  production) and all the development has done in VAR layer. Recently we are 
  facing the problem in development application where development work is 
  saved into VAP layer even though we are working on VAR (its already set in 
  the Axapta configuration utility). 
  
  When we try to delete this VAP development then system is throwing error 
  and not allow to delete the object. 
  
  I have read in the axapta help file where the range has been mentioned for 
  the VAR layer development (30001-3). I have created one table in this 
  application and its created with the id no (31728) and subsequently the 
  next no is assigned to the object Map. When i tried to created any 
  Form,Report and view then system saved these objects into VAP layer. We 
  have to release some new functionality therefore the same would require the 
  development and currently our development application is down due to this 
  issue.
  Can anybody help for this?
 





[development-axapta] display default picking location

2010-08-30 Thread Ben mcQueen
Hi Friends

Need a very simple method on a shipline table to lookup the 
InventItemLocation.wmspickinglocation

my issue is that my inventitemlocation has 2 entries per itemid;

1st called Axapta (generated automatically when axapta was created and

2nd called IDN1 which is what i want to return in my report

so i wrote this and obviously its not correct


display wmspickinglocation wmspick()
{
return 
inventitemlocation::find(this.ItemId,inventdimid::IDN1).wmspickinglocation;
}

this would be my first attempt at a display method so any input would be very 
much appreciated



  

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



[development-axapta] Re: New objects moving to vap layer automatically

2010-08-30 Thread mrsdebug


To move an element into a lower layer: (from VAP to VAR)

In developement: 
Export the element with ID's


If it is a table you want to change, you will have to export data first, as the 
data may be deleted if you syncronise. 

Delete the element from VAP:
In order to delete VAP layer element, you may have to start i VAP layer. Add 
'-aol=VAP' on the shortcut. 

Close the AX VAP layer session. 

New session AX in VAR layer.
Import elements with ID's
Import data, if you made an export. 

Deploy VAR layer to test enviroment and prod as usual, remember to delete VAP 
layer and the AOI file.

If you dont deply as layers you will have to repeat the above method - 
exporting the elements. 


Hope this made sense?

--- In development-axapta@yahoogroups.com, satyakejriwal satyakejri...@... 
wrote:

 We are using Ax 3.0 with oracle 9i database and project has gone live just 
 few months back. We are having 3 environment (development, testing and 
 production) and all the development has done in VAR layer. Recently we are 
 facing the problem in development application where development work is saved 
 into VAP layer even though we are working on VAR (its already set in the 
 Axapta configuration utility). 
 
 When we try to delete this VAP development then system is throwing error and 
 not allow to delete the object. 
 
 I have read in the axapta help file where the range has been mentioned for 
 the VAR layer development (30001-3). I have created one table in this 
 application and its created with the id no (31728) and subsequently the next 
 no is assigned to the object Map. When i tried to created any Form,Report and 
 view then system saved these objects into VAP layer. We have to release some 
 new functionality therefore the same would require the development and 
 currently our development application is down due to this issue.
 Can anybody help for this?





[development-axapta] New objects moving to vap layer automatically

2010-08-27 Thread satyakejriwal
We are using Ax 3.0 with oracle 9i database and project has gone live just few 
months back. We are having 3 environment (development, testing and production) 
and all the development has done in VAR layer. Recently we are facing the 
problem in development application where development work is saved into VAP 
layer even though we are working on VAR (its already set in the Axapta 
configuration utility). 

When we try to delete this VAP development then system is throwing error and 
not allow to delete the object. 

I have read in the axapta help file where the range has been mentioned for the 
VAR layer development (30001-3). I have created one table in this 
application and its created with the id no (31728) and subsequently the next no 
is assigned to the object Map. When i tried to created any Form,Report and view 
then system saved these objects into VAP layer. We have to release some new 
functionality therefore the same would require the development and currently 
our development application is down due to this issue.
Can anybody help for this?




[development-axapta] New objects moving to vap layer automatically

2010-08-27 Thread Tony Zeigler
I've never had to work in 3.0, so take all backups before trying my advice :)

It sounds like you need to go to the layer files themselves to fix the issue.
Export your development.
Shut down the AOS.
Backup  delete your vap layer files and aoi file.
Start up the aos.
Determine what needs to be imported, and re-import from your export. But be 
sure to import into the correct layer.

Oh, and you'll probably have to import without the id #'s. (Thus letting it 
make new ids in the correct layer for your problem table).

Lots of testing ahead!
Tony Zeigler


  


[development-axapta] Ax 2009 web report

2010-08-27 Thread ms.dy...@rocketmail.com
Hi!

I have two questions regarding the web report EPCSSSalesConfirm.

First I have tried to add another button that will redirect the user back to 
his default page. I have set the property WebMenuItemType to URL and the 
property WebMenuItemName to the page I want the user to be redirected to. The 
button displays on the report but when clicked nothing happens. Does anyone 
know what to do?

The second question is about labels on buttons on web reports. I changed a 
label from Confirm to Approve and the swedish word for that is Godkänn. The ä 
character will not be displayed correctly. On the web report it will display 
Godk#228;nn instead, while other labels show å, ä and ö correctly. What can I 
do to display the label correctly?





[development-axapta] Rework Production Orders

2010-08-23 Thread Didem Yesiltepe
Hi

How are Rework Production Orders catered for in Dynamics Ax 2009?
Regards 
Didem

 


From: Malcolm Burtt malcolm.bu...@touchstone.co.uk
To: axapta-knowledge-vill...@yahoogroups.com 
axapta-knowledge-vill...@yahoogroups.com; dev ax 
development-axapta@yahoogroups.com
Sent: Wed, August 18, 2010 12:53:16 PM
Subject: [development-axapta] RE: [Axapta-Knowledge-Village] when to use Index 
and index hint

  
Hi 

For most queries, the answer is to use neither. 

“Index Hint” overrides the SQL Query optimiser and forces the use of the 
specified index – which is ok if you’re sure that the optimiser is picking a 
bad 
query plan and that using “index hint” allows your query to run faster but most 
of the time the optimiser is better at picking the right index than you are so 
you should let it do its job. When you do need to tune the query you should 
consider other hints (e.g. forcenestedloop, etc) alongside “index hint” to get 
the most effective query plan for your data. 


I can’t think of a good reason to use “Index” at all. It simply ensures that 
the 
data is returned sorted in the index order which you can already achieve with 
the “Order By” clause with the important advantage that the sort order would 
not 
change if someone altered the index definition in some way. 


Regards 


Malcolm Burtt 
Touchstone Group 
People - Partnership - Solutions 



From: axapta-knowledge-vill...@yahoogroups.com 
[mailto:axapta-knowledge-vill...@yahoogroups.com] On Behalf Of pranam mukher 

Sent: 18 August 2010 12:17 
To: axa knwoldge; dev ax 
Subject: [Axapta-Knowledge-Village] when to use Index and index hint 


hi 
I am aware of the fact that using index in select statement will include an 
order by clause in 

ur SQL query. i want to know, exactly when shud i use index and when to opt for 
index hint, in my Queries. 






Thanks 
Pradeep.SI 





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





  

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



[development-axapta] when to use Index and index hint

2010-08-20 Thread pranam mukher
hi 
I am aware of the fact that using index in select statement will include an 
order by clause in 
ur SQL query. i want to know, exactly when shud i use index and when to opt for 
index hint, in my Queries. 





Thanks
Pradeep.SI 




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



[development-axapta] RE: [Axapta-Knowledge-Village] when to use Index and index hint

2010-08-20 Thread Malcolm Burtt
Hi

For most queries, the answer is to use neither.

“Index Hint” overrides the SQL Query optimiser and forces the use of the 
specified index – which is ok if you’re sure that the optimiser is picking a 
bad query plan and that using “index hint” allows your query to run faster but 
most of the time the optimiser is better at picking the right index than you 
are so you should let it do its job. When you do need to tune the query you 
should consider other hints (e.g. forcenestedloop, etc) alongside “index hint” 
to get the most effective query plan for your data.

I can’t think of a good reason to use “Index” at all. It simply ensures that 
the data is returned sorted in the index order which you can already achieve 
with the “Order By” clause with the important advantage that the sort order 
would not change if someone altered the index definition in some way.

Regards


Malcolm Burtt
Touchstone Group
People - Partnership - Solutions



From: axapta-knowledge-vill...@yahoogroups.com 
[mailto:axapta-knowledge-vill...@yahoogroups.com] On Behalf Of pranam mukher
Sent: 18 August 2010 12:17
To: axa knwoldge; dev ax
Subject: [Axapta-Knowledge-Village] when to use Index and index hint


hi
I am aware of the fact that using index in select statement will include an 
order by clause in
ur SQL query. i want to know, exactly when shud i use index and when to opt for 
index hint, in my Queries.





Thanks
Pradeep.SI






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



Re: [development-axapta] select query and grid

2010-08-17 Thread pranam mukher
yes its very much possible. put the results of query in ur temp table, and add 
it as a datasource, to ur form, then u can navigate.

--- On Tue, 10/8/10, ramankt2001 raman_...@hotmail.com wrote:

From: ramankt2001 raman_...@hotmail.com
Subject: [development-axapta] select query and grid
To: development-axapta@yahoogroups.com
Date: Tuesday, 10 August, 2010, 2:28 AM







 



  



  
  
  We are on Axapta 3.0 sp3.



I've a query, the guts of which is:



select T1.F1, T1.F2, T2.F3, T2.F4

from T1

where some-criteria

join T2

where some-other-criteria



I would like to present the results of this query (four fields) in a form's 
grid and iterate through the grid in button control's click method.



Is it possible?



Thanks.






 





 



  







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



[development-axapta] AX4.0 Internal error number 25 in script

2010-08-16 Thread James Flavell
Dear all does anyone have any ideas for this error happening in batch
processing:

 



 



 

There was some hotfix for non SP for this error but we are running Ax4.0 SP2
so should be included.

 

We have basically the following batch jobs in 2 companies:

Alerts - change abd due date based every 10 mins

OLAP - 

Custom import/export of data -

 

Looking at the entries in the batch list the alerts ran at 21:10:29 and so
would only be running at 21:20 the next time. All the other tasks also were
not scheduled to run at the time it happened which was 21:10:48

 

I saw there was another hotfix for SP2 regarding sending email from AR/AP
module can get this error. The KB said it applied to the .NET connector but
we are not using that (unless it is by default used when sending email?).
But was wondering since alert is no doubt setup to send email notification
whether there might be something related to the area of email sending?

 

Has anyone else faced this error message as all batch jobs stop and the
client crashes when we go to the batch client and click OK?

 

As always a big thanks for taking the time to read this 

James

 



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



[development-axapta] Re: directory control on form

2010-08-16 Thread ramankt2001

Thanks Divakar.

In fact, there is a tutorial in forms demonstrating the concept.

--- In development-axapta@yahoogroups.com, Diwakar Reddy Atchi 
divakar_uni...@... wrote:

 What type is FilePath? Use the same type. Guess it's a string, use a 
 StringEdit control and set the ExtendedDataType propety to FilePath.
 
 
 
 
 
 From: ramankt2001 raman_...@...
 To: development-axapta@yahoogroups.com
 Sent: Wed, 4 August, 2010 12:19:26 PM
 Subject: [development-axapta] directory control on form
 
   
 We are on Axapta 3.0 SP3.
 
 I would like to provide the users the choice to specify a network share on a 
 form. 
 
 
 In a dialog, I can use: 
 dialogOutputDirectory = dialog.addFieldValue(typeid(FilePath), 
 outputDirectory)
 
 What control/statements would I use on the form?
 
 Thanks. 
 
 
 
 
 
 
 [Non-text portions of this message have been removed]





RE: [development-axapta] number of users per AOS

2010-08-16 Thread Pankaj Kant
Hi

One AOS with 300 users not a good idea at all
it will crash frequently and will have performanceissues as well

ideally a AOS can support 50-60  users effectively  you need to go for load 
balalncing option
and for supporting 300 users it will good to have 7 AOS

let me know if you need more info

best regards

pankaj


From: development-axapta@yahoogroups.com [development-axa...@yahoogroups.com] 
On Behalf Of pranam mukher [pranam_shub...@yahoo.co.in]
Sent: Friday, August 06, 2010 9:25 AM
To: axa knwoldge; dev ax
Subject: [development-axapta] number of users per AOS



Hi guys
I have a question.
If i have one AOS in a  production environment, and licences for 300 users, can 
it sustain the load?
if not how many users can access the AOS at a time?
any help on load balancing is much appreciated.

thanks
Pranam.




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







Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/development-axapta/join
(Yahoo! ID required)

* To change settings via email:
development-axapta-dig...@yahoogroups.com 
development-axapta-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
development-axapta-unsubscr...@yahoogroups.com

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



[development-axapta] Re: number of users per AOS

2010-08-16 Thread GaryG
When I was reading about microsoft's massive build to test transaction 
processing they did 20 per AOS, I run about 30, probably depends on the 
processing/transactions per hour you are planning on doing.

--- In development-axapta@yahoogroups.com, pranam mukher pranam_shub...@... 
wrote:

 Hi guys
 I have a question. 
 If i have one AOS in a  production environment, and licences for 300 users, 
 can it sustain the load? 
 if not how many users can access the AOS at a time? 
 any help on load balancing is much appreciated. 
  
 thanks
 Pranam.
  
  
  
 
 
 
 [Non-text portions of this message have been removed]





[development-axapta] MS Dynamics Ax interview Quetions,,??

2010-08-16 Thread abhi_the_star
Hi all,

Can anyone suggest me where can I find the free download of ebook Microsoft 
Dynamics Ax Interview Quetions...??

Or please provide me the links where quetions and answers are available...

Abhishek



[development-axapta] select query and grid

2010-08-16 Thread ramankt2001
We are on Axapta 3.0 sp3.

I've a query, the guts of which is:

select T1.F1, T1.F2, T2.F3, T2.F4
from T1
where some-criteria
join T2
where some-other-criteria

I would like to present the results of this query (four fields) in a form's 
grid and iterate through the grid in button control's click method.

Is it possible?

Thanks.



Re: [development-axapta] I got a problem with employee form

2010-08-06 Thread Diwakar Reddy Atchi
Lets say you have added a new table MS_EmplTable to add your new fields to 
EmplTable and EmplId is the relation.

Checklist
- Set the joinSource property of MS_EmplTable dataSource to EmplTable.
- Set the dataSource property of the new tabpage to MS_EmplTable.
- If you are displaying these new fields in a grid on the new tab page, Set the 
dataSource property of the new grid on the tab page to MS_EmplTable.

Tip: Check the InventTable form, when you create a record on the InventTable 
form(In Ax 3.0  4.0) it creates records in the following tables.
    - 1 record in InventTable
    - 3 records in InventTableModule(Invent, Sales, Purch)
    - 1 record in InventItemLoaction
            - 1 record in InventDim (ONLY if the dimension combination doesn't 
exists)

Check and compare the properties. 

Good Luck!

Regards
Diwakar Atchi





From: SUNEEL BABU suneel...@hotmail.com
To: Axapta Knowledge village axapta-knowledge-vill...@yahoogroups.com; 
Development development-axapta@yahoogroups.com; Arjit babu Ax 
arijit.b...@gmail.com; amit bhatt AX amit_bha...@yahoo.com; Anitha AX 
mail2eani...@gmail.com
Sent: Wed, 4 August, 2010 10:20:12 PM
Subject: [development-axapta] I got a problem with employee form

  



Hi,
I got a problem with employee form. i.e.,

I want to add some fields to empltable. For this I create a new table with the 
required fields along with emplid. And i attach the table as a datasource in 
the employee form. I put the fields in a new tab page.

Now i create a new record in empltable but i am unable to insert values in to 
my 
new table. The fileds are disabled in the tab page. How can i activate the 
fields. I tried with create method. But it does't work. 


Please any one send me the solution ASAP



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






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



Re: [development-axapta] How to check group of current user?

2010-08-06 Thread shamika kshirsagar
Thanks for your reply.

I got it. I used Std. AX class - UserInfoHelp method.

Sam




From: r...@msb.com.my r...@msb.com.my
To: development-axapta@yahoogroups.com
Sent: Mon, 2 August, 2010 8:59:38 PM
Subject: Re: [development-axapta] How to check group of current user?

  


Hello,

You need to go to Administration  Setup  Users then check
in group tabs. All groups that the user is included will be listed out.

 
 Hello,
 
 you just have to check i fan
association between your group and user is done in
 table
'UserGroupList'.
 
 
 Regards,
 Geoffrey
 
 
 - Mail Original -
 De:
shamika shamik...@yahoo.com
 Ãeuro;:
development-axapta@yahoogroups.com
 Envoyé: Jeudi 29 Juillet
2010 19:45:38 GMT +01:00 Amsterdam / Berlin / Berne / Rome
 / Stockholm /
Vienne
 Objet: [development-axapta] How to check group of current user?
 
 
 Hi,
 
 Does anyone know about, how to
check user group of current logged in user?
 
 Please let me
know.
 
 Thanks,
 Shamika
 


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


 



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



Re: [development-axapta] What is the easiest way to do the customization deployment in AX

2010-08-06 Thread shamika kshirsagar
Hi Srinath,

You can compare two xpo files using WinMerge tool. You can get it online easily.
I used this tool to compare two versions of xpo file and then you can merge 
them 
into single file and then import that file to AX.

Let me know if this helps.

Sam.




From: srinath s s_shreen...@yahoo.co.in
To: development-axapta@yahoogroups.com
Sent: Tue, 3 August, 2010 2:11:00 AM
Subject: [development-axapta] What is the easiest way to do the customization 
deployment in AX

  

Hello Folks,
 
Are there tools within AX or outside that will help us merge the XPO code in 
the 
customized application?
 
As I know when importing the xpo we can compare and import the objects from the 
xpo into the customer’s customized application. 

 
Also if there is no customization in the application(standard) then we can give 
the .aod  file which will be the easier task. 

 
When the customer is already having some customization then on the top of it if 
the .aod file of the new customization is placed then is it going to be the 
problem?
 
I know the best way is to compare and merge the new customization if the 
customer application is already customized. Is any other ways to do it?
 
Appreciate a response.
 
Regards,
Srinath. S

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


 



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



Re: [development-axapta] directory control on form

2010-08-06 Thread Diwakar Reddy Atchi
What type is FilePath? Use the same type. Guess it's a string, use a 
StringEdit control and set the ExtendedDataType propety to FilePath.





From: ramankt2001 raman_...@hotmail.com
To: development-axapta@yahoogroups.com
Sent: Wed, 4 August, 2010 12:19:26 PM
Subject: [development-axapta] directory control on form

  
We are on Axapta 3.0 SP3.

I would like to provide the users the choice to specify a network share on a 
form. 


In a dialog, I can use: 
dialogOutputDirectory = dialog.addFieldValue(typeid(FilePath), outputDirectory)

What control/statements would I use on the form?

Thanks. 






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



[development-axapta] number of users per AOS

2010-08-06 Thread pranam mukher
Hi guys
I have a question. 
If i have one AOS in a  production environment, and licences for 300 users, can 
it sustain the load? 
if not how many users can access the AOS at a time? 
any help on load balancing is much appreciated. 
 
thanks
Pranam.
 
 
 



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



[development-axapta] Check Printers

2010-08-05 Thread marylallysnow
We are at the point of deciding what printer our Accounting Department should 
consider using for check printing. Our bank will allow us to print our own 
checks.  I wonder if anyone has any recommendations on printers...and any 
insight into the setup of checks in Axapta?  Thanks for the help.



[development-axapta] directory control on form

2010-08-05 Thread ramankt2001
We are on Axapta 3.0 SP3.

I would like to provide the users the choice to specify a network share on a 
form. 

In a dialog, I can use: 
dialogOutputDirectory = dialog.addFieldValue(typeid(FilePath), outputDirectory)

What control/statements would I use on the form?

Thanks. 



[development-axapta] Batch job status does not chang

2010-08-05 Thread pranam mukher
Hi all
I am using Ax 2009 RTM a VPC. When i put Sales Packing slip  for batch 
execution, the status of the batch job never changes. what cud be the reason? 
is it not possible to debug, batch jobs in Ax2009? any work around? or patches 
available for the same, let me know. 



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



Re: [development-axapta] Queries VS Select

2010-08-03 Thread Diwakar Reddy Atchi
Select statement is not dynamic, you cannot add filtering conditions at 
runtime whereas, using Query you can prompt the user to add/change filtering 
criteria at runtime.
Regards
Diwakar




From: pranam mukher pranam_shub...@yahoo.co.in
To: axa knwoldge axapta-knowledge-vill...@yahoogroups.com
Cc: dev ax development-axapta@yahoogroups.com
Sent: Thu, 29 July, 2010 4:39:51 AM
Subject: [development-axapta] Queries VS Select

  
hi guys

When its feasible to use select and when we need to use Query classes to fetch 
data from DB. 

any answers with examples are much appreciated. 

Thanks
Pradeep.si

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






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



Re: [development-axapta] How to check group of current user?

2010-08-03 Thread ruel


Hello,

You need to go to Administration  Setup  Users then check
in group tabs. All groups that the user is included will be listed out.

 
 Hello,
 
 you just have to check i fan
association between your group and user is done in
 table
'UserGroupList'.
 
 
 Regards,
 Geoffrey
 
 
 - Mail Original -
 De:
shamika shamik...@yahoo.com
 Ãeuro;:
development-axapta@yahoogroups.com
 Envoyé: Jeudi 29 Juillet
2010 19:45:38 GMT +01:00 Amsterdam / Berlin / Berne / Rome
 / Stockholm /
Vienne
 Objet: [development-axapta] How to check group of current user?
 
 
 Hi,
 
 Does anyone know about, how to
check user group of current logged in user?
 
 Please let me
know.
 
 Thanks,
 Shamika
 



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



[development-axapta] Data Object List in custom aif service

2010-08-02 Thread Navid
Hi,

I'm trying to create a custom service called getAppointments. the input 
parameter is a date. I can return a single appointment using a custom data 
object. But I haven't found a way to return a list of appointments. can someone 
guide me how this can be accomplished?

Thanks

Navid



[development-axapta] How to check group of current user?

2010-08-02 Thread shamika
Hi,

Does anyone know about, how to check user group of current logged in user?

Please let me know.

Thanks,
Shamika



[development-axapta] RE: temp table in AX2009

2010-08-02 Thread James Flavell
Sorry I also meant to ask if I have a temp table and use SQL commands like
sum and count is there still any benefits or actually this is the same as
using a while select?

Thanks

 

From: James Flavell [mailto:djf1...@gmail.com] 
Sent: 31 July 2010 13:06
To: 'development-axapta@yahoogroups.com'
Subject: temp table in AX2009

 

Hi everyone once again

 

Can someone tell me for temp tables in AX2009 are they for sure always
created/stored and processed on the AOS server?

 

Supposedly http://www.axaptapedia.com/Temporary_tables says the temp table
is put on the hard disk of server or client based on where the first record
is inserted.  

 

In AX2009 I assume all code is executed on the server but am not 100% . I am
thinking the code in a form might well be executed on the client and hence
my temp table end up on the client!???

 

My specific situation is to do with Arrival Overview form that populates
some temp tables.

 

Is there any way I can check or test where the temp table is being created?

 

Thanks as ever

James

 

 

 

 



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



[development-axapta] Queries VS Select

2010-08-02 Thread pranam mukher
hi guys

When its feasible to use select and when we need to use Query classes to fetch 
data from DB. 
any answers with examples are much appreciated. 


Thanks
Pradeep.si




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



[development-axapta] temp table in AX2009

2010-08-02 Thread James Flavell
Hi everyone once again

 

Can someone tell me for temp tables in AX2009 are they for sure always
created/stored and processed on the AOS server?

 

Supposedly http://www.axaptapedia.com/Temporary_tables says the temp table
is put on the hard disk of server or client based on where the first record
is inserted.  

 

In AX2009 I assume all code is executed on the server but am not 100% . I am
thinking the code in a form might well be executed on the client and hence
my temp table end up on the client!???

 

My specific situation is to do with Arrival Overview form that populates
some temp tables.

 

Is there any way I can check or test where the temp table is being created?

 

Thanks as ever

James

 

 

 

 



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



[development-axapta] AX2009 - comparing tool for Web controls

2010-08-02 Thread ovisan79
Hi there,

I have tried to compare USR and VAR layer for a web control and AX says there 
are no differencies. But if I compare them manually, I see differencies in 
text. 

My question is: How reliable is comparing tool for web controls?

Thanks.



Re: [development-axapta] How to check group of current user?

2010-08-02 Thread enkidou

Hello,

you just have to check i fan association between your group and user is done in 
table 'UserGroupList'.


Regards,
Geoffrey


- Mail Original -
De: shamika shamik...@yahoo.com
À: development-axapta@yahoogroups.com
Envoyé: Jeudi 29 Juillet 2010 19:45:38 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [development-axapta] How to check group of current user?


Hi, 

Does anyone know about, how to check user group of current logged in user? 

Please let me know. 

Thanks, 
Shamika 



[development-axapta] Credit card integration with Authorize.Net issue (test account)

2010-07-27 Thread sam axapta
Hello,
Needs to integrate Ax2009 with Authorize.Net
Based on Technical White Paper (Credit Card processing ax2009) configured setup.
But during preauthorization getting error “Credit card process failed, due to 
even not visible any Response Reason Code (such as 102, 11 etc)
 
Needs your help for trouble shoot this issue.
Many thanks in advance…
 
Regards
Sam


  

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



[development-axapta] Event for form lost focus

2010-07-26 Thread srinath s


Hi All,
I have doubt regarding AX 2009 form events. 
Do we have an event to Notify us the form is LostFocused.
Which method will be triggered when the form is LostFocused?
Appreciate a response.
Regards,
Srinath. S



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



Re: [development-axapta] Regarding changes in framework classes

2010-07-26 Thread Sailendran Rajan
If possible this should be avoided. But certain cases like adding new financial 
dimension (SysDimension enum) may require coding the class to control the 
visibility of newly added dimension. Yes, MS has certified such type of coding 
in some localizations.

--- On Tue, 13/7/10, srinath s s_shreen...@yahoo.co.in wrote:


From: srinath s s_shreen...@yahoo.co.in
Subject: [development-axapta] Regarding changes in framework classes
To: development-axapta@yahoogroups.com, axapta-knowledge-vill...@yahoogroups.com
Date: Tuesday, 13 July, 2010, 11:25 PM


  



Hello Champs,
I have modified the framework classes like \Classes\SysSetupFormRun to meet the 
requirement. Is this will be accepted by Microsoft and the code will be 
certified. 
Appreciate a response.
Regards,
Srinath. S

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










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



[development-axapta] multi datasource grid -- access linked table in a menuItemButton class

2010-07-26 Thread ramankt2001
We are still on Axatpata 3.0.

I've a grid with an inner join between InventItemGroup and InventTable. I'm 
accessing the grid contents in a class that is connected to the form through a 
menuItemButton.

I'm able to access the InventItemGroup table using the commands common = 
fds.getFirst(true) and common = fds.getNext().

Can I access the contents of InventTable from the fds? Bottom line, I want to 
be able to access all the columns in my grid. Is it possible?

Thanks.




[development-axapta] grid -- filter on linked table -- refresh not working

2010-07-26 Thread ramankt2001
We are still on Axapta 3.0.

I'm working on a simple grid with an inner join between InventItemGroup and 
InventTable. I've two stringedit fields -- one on ItemGroupId and the other on 
ItemId. 

I've a button with teh label Refresh that executes the command 
inventItemGroup_ds.refresh().

The refresh is working when the filter is applied on ItemGroupId, but not on 
ItemId.

In fact, when I cleck teh refresh button, the InventTable.executeQuery() 
method, which assigns the value to the ItemId query build range, doesn't even 
get fired. It gets fired only when teh form is first opened.

How do I get to refresh my grid with the values chosen in the stringedit for 
ItemId?

Thanks.






[development-axapta] AX 2009 Product Builder Configuration Dimension

2010-07-23 Thread lispyj
I am using product builder to generate configuration id's rather than item 
numbers.  Is it necessary to have a default configuration ID entered into the 
item table?  

If a default is not entered, the sales line throws an error about the missing 
configuration before the product builder dialog has a chance to start.  How 
would the default configuration get built?

Thanks,

LJ



[development-axapta] Ax report to excel

2010-07-20 Thread SUNEEL BABU

Hi,

   I had a requirement of ax report export to excel. Is there any provision to 
that?



Regards.,

Suneel

  
_
The latest in fashion and style in MSN Lifestyle
http://lifestyle.in.msn.com/

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



Re: [development-axapta] retrieve directory / folder path

2010-07-20 Thread Diwakar Reddy Atchi
Check the macro WinAPI where the paths are defined and check for 
#CSIDL_PERSONAL

Tip: Check where and how the method getFolderPath is used in AOT :)





From: ramankt2001 raman_...@hotmail.com
To: development-axapta@yahoogroups.com
Sent: Fri, 16 July, 2010 2:02:57 PM
Subject: [development-axapta] retrieve directory / folder path

  
How do I get the physical path for a user folder? The Winapi::getFolderPath 
requires a CLSID. How do you find out teh CLSID or handle for a user folder or 
a 
network share folder?

Thanks.






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



[development-axapta] Re: [Axapta-Knowledge-Village] Event for form focus

2010-07-20 Thread somanna gl
Hi Srinath,

Kishore has worked on a similar case If you can contact him He will help you I 
am sure.

Bye
Somanna




From: srinath s s_shreen...@yahoo.co.in
To: development-axapta@yahoogroups.com; axapta-knowledge-vill...@yahoogroups.com
Cc: Srinath S s_shreen...@yahoo.co.in
Sent: Thu, July 15, 2010 3:50:33 PM
Subject: [Axapta-Knowledge-Village] Event for form focus

  
Hi Champs, 
In AX 2009, assume that multiple forms are opened. When the focus is moved from 
one form to another form then how to identify that particular form got focused. 
In which event of the form I can get the triggering happens. 

I had checked with Forms\FormName\ Methods\activate (). But this method is 
called more than once when the form is opened and also if u gets the focus of 
the form then also this method is triggered more than once. 

Example: Assume that customer and sales order forms are opened. Now the focus 
in 
the sales order form and if we go to customer form then in which event of the 
customer form I will come to know that this form(customer) got focus.   

Is any other event to identify the focus of the form please let me know. 
Appreciate a response. 
Regards, 
Srinath. S 

 


  

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



[development-axapta] Event for form focus

2010-07-16 Thread srinath s
Hi Champs,
In AX 2009, assume that multiple forms are opened. When the focus is moved from 
one form to another form then how to identify that particular form got focused. 
In which event of the form I can get the triggering happens.
I had checked with Forms\FormName\Methods\activate(). But this method is called 
more than once when the form is opened and also if u gets the focus of the form 
then also this method is triggered more than once.
Example: Assume that customer and sales order forms are opened. Now the focus 
in the sales order form and if we go to customer form then in which event of 
the customer form I will come to know that this form(customer) got focus.  
Is any other event to identify the focus of the form please let me know.
Appreciate a response.
Regards,
Srinath. S



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



Re: [development-axapta] Creating/Updating help files in AX 4.0

2010-07-16 Thread somanna gl
Hi,

create a node in AOT help  a files.

then create a help file and store the client bin directory.

Please let me know if U have any issue

kindest Regards
Somanna



To: development-axapta@yahoogroups.com
Sent: Thu, July 8, 2010 8:45:39 PM
Subject: [development-axapta] Creating/Updating help files in AX 4.0

  
Hello,

How to create/update help files in AX 4.0?

Any idea??

Thanks,
Sam


 


  

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



Re: [development-axapta] How to know the user has access to purchase order using code

2010-07-16 Thread somanna gl
This may help U.
if (hasSecurityKeyAccess(securitykeyNum(mySecurityKey),
AccessType::View))
{
//code requiring authorization goes here...
}
if (hasMenuItemAccess(menuItemDisplayStr(myMenuItem),
MenuItemType::Display)))
{
//code requiring authorization goes here...
}
DictTable dictTable = new DictTable(tablenum(myTable));
if (dictTable.rights = AccessType::Insert))
{
//code requiring authorization goes here...
}
if
(isConfigurationkeyEnabled(configurationkeyNum(myConfigKey)
)
{
//code requiring authorization goes here...
}






From: srinath s s_shreen...@yahoo.co.in
To: development-axapta@yahoogroups.com
Sent: Fri, July 9, 2010 3:15:53 PM
Subject: [development-axapta] How to know the user has access to purchase order 
using code

  


Hi champs,
In order to restrict the user to use the purchase order I am giving no access 
permission to the user that belongs to the user group say “xyz”. Will select 
the 
user group xyz in the user group form and will go to the permission tab and 
select the security key in the drop down of the View field. In the tree 
structure AP - Tables (full control)-Purchase orders and made it as No 
access. 

After the above setting I re-launched the AX for that particular user, it’s not 
allowing to open the purchase order form which is expected behaviour.
Now through code how can I check the user has access to purchase order. Using 
hassecuritykeyaccess method I can pass the securitykey but which security key 
to 
pass is my confusion. Because the security key attached to the purchtable 
 menuitem is “VendMisc”(Miscellaneous node in permission form tree structure AP 
- Miscellaneous) and security key attached to the purchtable table is 
“VendTables” (Tables node in permission form tree structure AP-Tables).
Could anybody help me on this.
Regards,
Srinath. S

 
 
 

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


 


  

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



[development-axapta] Re: Settlement Invoice Number

2010-07-13 Thread Adam Gregory
I have found a solution to this:

By creating a new CustVendFindSettlements I am able to get the
tmpCustVendTrans tmp table that holds all invoices that are being settled.

 CustVendFindSettlements = new
CustVendFindSettlements(ModuleCustVend::Vend,ljt);
CustVendFindSettlements.findSettlements();
tmpCustVendTrans = CustVendFindSettlements.tmpCustVendTrans();

--Adam

On Mon, Jul 12, 2010 at 10:31 AM, Adam Gregory trado...@gmail.com wrote:

 All,

 I am looking for a way to find the Invoice numbers that a Payment Proposal
 is settling.

 I am creating a custom remittance file from the CustVendPaym.

 Right now I have access to the LedgerJournalEngine and the
 LedgerJournalTrans.

 My problem is two fold.

 1.) How do I find the invoice number that the payment is settling before it
 is posted?
 2.) How do I know if the invoice is settling more than one invoice?

 Thank you, Adam



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



[development-axapta] Settlement Invoice Number

2010-07-13 Thread Adam Gregory
All,

I am looking for a way to find the Invoice numbers that a Payment Proposal
is settling.

I am creating a custom remittance file from the CustVendPaym.

Right now I have access to the LedgerJournalEngine and the
LedgerJournalTrans.

My problem is two fold.

1.) How do I find the invoice number that the payment is settling before it
is posted?
2.) How do I know if the invoice is settling more than one invoice?

Thank you, Adam


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



[development-axapta] AX 3.0 and Oracle - nvarchar suddenly changed to varchar

2010-07-12 Thread James Flavell
Hi everyone 

 

It seems our customer who has AX3.0 and Oracle and have found their database
fields for strings have changed from nvarchar to varchar suddenly.  My guess
was the 'Initialize DB to Unicode' in the AXC had been unticked and then
someone did a sync but I am not sure if this can cause such a change in
Oracle (in SQL server I tested and it makes no difference once the DB is
created but I am guessing maybe Oracle is different)

 

Have anyone had any experience where nvarchar fields have suddenly changed
to varchar in AX with Oracle?

 

It's a little strange as ItemId on Inventtable is now varchar but itemid on
InventSum is still nvarchar!?

 

Hope someone might have some ideas on this real soon as this is on live
database L

 

Thanks in advance once again

James

 

 

 

 



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



[development-axapta] Creating/Updating help files in AX 4.0

2010-07-09 Thread shamika
Hello,

How to create/update help files in AX 4.0?

Any idea??

Thanks,
Sam



[development-axapta] How to know the user has access to purchase order using code

2010-07-09 Thread srinath s


Hi champs,
In order to restrict the user to use the purchase order I am giving no access 
permission to the user that belongs to the user group say “xyz”. Will select 
the user group xyz in the user group form and will go to the permission tab and 
select the security key in the drop down of the View field. In the tree 
structure AP - Tables (full control)-Purchase orders and made it as No 
access. 
After the above setting I re-launched the AX for that particular user, it’s not 
allowing to open the purchase order form which is expected behaviour.
Now through code how can I check the user has access to purchase order. Using 
hassecuritykeyaccess method I can pass the securitykey but which security key 
to pass is my confusion. Because the security key attached to the purchtable  
menuitem is “VendMisc”(Miscellaneous node in permission form tree structure AP 
- Miscellaneous) and security key attached to the purchtable table is 
“VendTables” (Tables node in permission form tree structure AP-Tables).
Could anybody help me on this.
Regards,
Srinath. S

 
 
 



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



[development-axapta] Free Dynamics Ax (Axapta) training

2010-07-08 Thread myvolodymyr
Hi!
I have found free training for Dynamics AX Trade and Logistics module.
The training includes the business processes and their realization in Dynamics 
AX!
The Dynamics AX Trade and Logistics training source: 
http://www.dynamicsaxtraining.com/trade-and-logistics-training




[development-axapta] Tool tip in Axapta field

2010-07-08 Thread axaeffect
Hi all,

I'd like to know where is the handle to show tool tip in column/field in Ax ?
You know for example, in Sales Order form or Inventory movement form, when we 
move pointer or click  Item column, there is tool tip inform item id and item 
name.

In the form layout, I notice there's method called ToolTip but can not debug 
the method super(). It goes by and just return the message of the tool tip. I 
want to see the logic of creating this tool tip.

Thanks,




[development-axapta] Customer aging Report

2010-07-08 Thread alokmishra_004
Hi All

The Accounts receivable aging report report includes payment transactions 
that were received after the Balance as of date unexpectedly in Microsoft 
Dynamics AX 3.0.


Thanks  Regards




Re: [development-axapta] Re: Creating Local XML File

2010-06-29 Thread MaryAnn Hand
AIF has a Channels table with the path that is used for the xml files. In
your code you would need to modify that path to dump the file on a local
folder (selected by the user I presume) then reset it to the former value if
needed. But, I think what you did with the XML Document class was the right
thing to do since AIF is really intended to be a server process.

On Thu, Apr 29, 2010 at 4:33 PM, www_programmer www_program...@yahoo.comwrote:



 Thanks for the reply Sumit!

 I am pretty sure that I had everything in the AIF setup complete... however
 I can't be sure since I didn't get this to work. I might have also had an
 issue with my code. I wasn't able to find a step-by-example of creating a
 new query, using the Axd Document wizard, then creating xml file locally.
 That would have been helpful.

 But, I also came to the conclusion that my approach was more complicated
 than needed. I wrote a class to execute on the server to loop over my query
 results and use the XmlDocument class to create the XML document and save
 the file locally. This worked out just fine and is the solution I will use
 for now.

 Would still like to figure out what my issues with the AIF to XML via file
 adapter was... but will have to look into that later.

 If anyone has an example to post, that would be great!

 Cheers!


 --- In 
 development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com,
 Sumit Loya loya.su...@... wrote:
 
  Hi,
 
  You will have to setup all the AIF settings from Basic -- Setup --
  Application Integration Framework.
 
  Have you done that?
 
  Regards,
  Sumit
 
  On Mon, Apr 26, 2010 at 10:56 AM, www_programmer
  www_program...@...wrote:

 
  
  
   I am trying to understand the best way to create XML files on the local
   system in AX. I have created a new query that displays data from
 InventTable
   and SalesTable. (InventTable.ItemId, InventTable.ItemName,
   SalesTable.Price). I would like to add a button to a form to, send
   electronically like functionality in other forms and have an XML file
   generated on the local file system.
  
   I created my query and then ran the AIF document service wizard and
   selected only the read option. I have looked over the examples for
 similar
   existing functionality that utilizes the AxdSend class to create the
 xml
   file. I'm getting an error that I don't have an endpoint setup... but
 it
   looks to me like I do. I'm a bit lost on this one as I have not done
 this
   before.
  
   Can anyone point me to a more clear or step-by-step example of creating
 a
   new query and going through the process to creating the XML document?
  
   Thanks for all the help
  
   Cheers!
  
  
  
 
 
  [Non-text portions of this message have been removed]
 

  



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



  1   2   3   4   5   6   7   8   9   10   >