[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]



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]



[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]



[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]



[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]



Re: [development-axapta] Creating Local XML File

2010-06-28 Thread srinath s
Hi 
 
Check the site http://207.46.16.248/en-us/library/aa856656.aspx for further 
information.

Regards,
Srinath. S
 

--- On Mon, 26/4/10, www_programmer www_program...@yahoo.com wrote:


From: www_programmer www_program...@yahoo.com
Subject: [development-axapta] Creating Local XML File
To: development-axapta@yahoogroups.com
Date: Monday, 26 April, 2010, 10:56 AM


  



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]



Re: [development-axapta] Inbound Create Purchase Order AIF service

2010-06-14 Thread srinath s
Hi Jennifer,
 
Its simple process. Just you need to create a AX query and specify the query in 
the wizard (Create new service) from Tools-developer tools - AIF. Once you 
complete the wizard. It will create all the  necessary code and setting for us.
 
To create purchase order query even you can refer the AxdSalesorder. Similarly 
we can create for Axdpurchorder as well.
 
 
Regards,
Srinath. S
 

--- On Mon, 14/6/10, JS jdsal...@yahoo.com wrote:


From: JS jdsal...@yahoo.com
Subject: Re: [development-axapta] Inbound Create Purchase Order AIF service
To: development-axapta@yahoogroups.com
Date: Monday, 14 June, 2010, 2:45 AM


  



Hi Jesper,
Thanks for the information. We are currently in a very tight timeline. Do you 
know if anyone has already done this before?
 
Thanks,
Jennifer
 
--
Hi Jennifer,
 
there is no standard service to create purchase orders. The service you found 
is the purchase requisition that requires a purchase order to work.
You will need to create a new service to be able for create purchase orders. 
For a complete listing of the AX standard services please referee to 
http://msdn.microsoft.com/en-US/library/aa859008%28v=AX.50%29.aspx
 
 
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
 


From: JS jdsal...@yahoo.com
To: development-axapta@yahoogroups.com
Sent: Fri, 11 June, 2010 5:51:57 PM
Subject: [development-axapta] Inbound Create Purchase Order AIF service

  
Hi,

I was looking at the list of standard AIF services and I could not find one to 
create a purchase order (inbound).  Has anyone experienced interfacing 
new purchase orders using AIF?  How did you do it? Is there any standard AIF 
service somewhere for creating purchase orders?  There is a 
Purchpurchreqservice (Find, Findkeys, Read) but there is not Create function.

Many thanks,
Jennifer


From: Trinadh Sura trinadh_s...@iicindia.com
To: axapta-knowledge-vill...@yahoogroups.com
Cc: development-axapta@yahoogroups.com
Sent: Mon, 7 June, 2010 7:33:42 PM
Subject: [development-axapta] Reg FedEx Integration

  
Hi all,

How to integrate Axapta with FedEx ?

What is the right process to test with live FedEx Account ?

Thanks  Regards

Trinadh Sura 

[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]










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



[development-axapta] AIF salessalesorderservice - Issue in getting the url

2010-05-17 Thread srinath s
Hi All,
 
I am trying to consume the salessalesorderservice which is available in AX AIF.

I have enabled the salessalesorderservice and generated the service. AX created 
the svc file in the virtual directory. To know the url of the service i went to 
IIS- that site and browse the svc file. In browser i am getting the 
infomration The page cannot be displayed. 
 
I am have given the full permission to this service as well. Security key also 
has full control.
 
Could anybody can help me to figure it out.
 
Awaiting for a response.
 
Regards,
Srinath. S


Sweet Regards,
Srinath. S
 



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



[development-axapta] Dynamic x++ query problem

2010-05-10 Thread srinath s

Hi folks,
 
I have done some customization in which doing dynamic query generation. Now i 
am getting the following error message.
Stack trace: The operation that you are performing generates a SQL statement 
that contains too many nested statements. Break the operation into multiple 
parts, and try again.
 
(C)\Classes\QueryRun\next
 
Could anybody help on this. Otherthan changing the existing code for generating 
the dynamic query, Is it possible to fix with other way.
 
Waiting for a response.
 
Regards,
Srinath. S




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



[development-axapta] Launching AX forms and creating records in the form through .Net

2010-05-04 Thread srinath s





Hello Folks,
From .Net whether is it possible to Launch the Ax forms and create records 
with some mandatory data in it. 
From .net when we click ok button from the windows form it should launch the 
AX form (for example customer form) , create a record in this form  and set 
the values in the fields(filling the Customer account, customer group). 
Appreciate a response. 
Thanks and Regards, 
Srinath. S



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



[development-axapta] (unknown)

2010-05-03 Thread srinath s
Hello Folks,
I have one doubt.
From .Net whether is it possible to open the Ax forms and create records with 
some mandatory data in it.
From .net when we click ok button from the windows form it should open the AX 
form (for example customer form) , create a record in this form  and set the 
values in the fields(filling the Customer account, customer group).
Appreciate a response.
Thanks and Regards,
Srinath. S
 



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



[development-axapta] Opening a AX form and setting the values in the form from .Net

2010-05-03 Thread srinath s




Hello Folks,
I have one doubt.
From .Net whether is it possible to open the Ax forms and create records with 
some mandatory data in it.
From .net when we click ok button from the windows form it should open the AX 
form (for example customer form) , create a record in this form  and set the 
values in the fields(filling the Customer account, customer group).
Appreciate a response.
Thanks and Regards,
Srinath. S

 



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



[development-axapta] Regarding debugging of batch jobs

2009-06-19 Thread srinath s

Hi Champs,
 
I am not able to debug batch jobs in AX 2009. Somehow i heard that this is an 
issue already existing. Can you please guide me whether any workaround is there 
or need to wait for fix from microsoft.

Regards,
Srinath. S
 
 


  Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com

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



[development-axapta] How to sent the text file to the printer using SysPrintForm

2009-05-19 Thread srinath s
Hi Champs,
 
As i have one text file which i need to print. For that i need to select 
printer settings so how to sent the file to SysPrintForm(form opening when 
printing the report) from there i need to pick the printer to get the print. 
 
Usually we will the print the data using report as a base from their we will 
use SysPrintForm to select the printer settings.
 
Please guide me.
 
Regards,
Srinath. S



  Explore and discover exciting holidays and getaways with Yahoo! India 
Travel http://in.travel.yahoo.com/

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