Quantcast
Channel: Martin Dráb's Activities
Viewing all 17532 articles
Browse latest View live

Error in invoice posting job (in Batch)

$
0
0

Hi 

I get a "directory not found error" while I try to post my invoices in batch.

For until some time ago it used to work fine, but suddently it keeps crashing, and throwing a directory not found error.

We used to create those "temp" directory and put the invoice in them and after the invoice were posted. the directory get deleted.

The following code throws the error.

@SYS72247: "Directory %1 is not found!"

public str fileName(str _value = fileName)
{
    #WinAPI
    str directory;

    // if setter is called, then get directory and check if valid, else throw error.
    if (_value && !prmisDefault(_value))
    {
        directory = System.IO.Path::GetDirectoryName(_value);     



        // if the directory is empty then use the users temp path.
        if (!directory)
        {
            directory = SRSPrintDestinationSettings::getTempFilePath();

            // create the file name by combining the temp path the filename.
            fileName = System.IO.Path::Combine(directory, _value);
        }
        else
        {
            if (printMediumType == SRSPrintMediumType::File && !System.IO.Directory::Exists(directory))
            {
                throw error(strFmt("@SYS72247", directory));
            }
            
            if (printMediumType == SRSPrintMediumType::NCEBoks && !System.IO.Directory::Exists(directory))
            {
                throw error(strFmt("@SYS72247", directory));
            }
           
            // if directory is valid, then just assign the value to member variable.
            fileName = _value;
        }

        // if file name is changed, user may be prompted for overwriting existing file; pass false to allow this prompt to happen
        this.parmOverwriteFileIsSet(false);
    }

    return fileName;
}


AX License

$
0
0

Hi all,

Can you Please suggest number of AOS for 35 Enterprise users, 55 Functional, 167 Task User CALs.

How to generate License Count Report through T-SQL

$
0
0


I would like to generate Name User License count Report using T-SQL Script:
The Report Should include UserName And License Type consumed by the user.

Does anyone has any idea how to generate this report?

save pdf to printarchive with extended information

$
0
0

Hi

I want to "print" a report into the print archive. in Addition I want to extend the archive to hold some information

Is this realizable?

Combobox item is being reset to Default value

$
0
0

Hi,

I have two comboboxes in my form- Journal type and Posting Layer. 

When I make a selection in the first combobox i.e. Journal type, to "Allocation" and make a selection in the second combobox i.e, Posting Layer, to other than default ("Current"), it should be remembered.

Then if I change the Journal Type to other and when I again change it to "Allocation", the item in Posting Layer combobox should not be reset to its Default value.

It should be the one which I had selected previously.

Presently it is being reset to default value.

Please suggest what I have to do for this.

Thanks in advance.

Move .xpo file to new Environmen

$
0
0

Hi all friends, and Experts,

I have to two environment 1 for DEV, 1 for TEST.


Info DEV : Using SQL 2008R2.

Infor Test : Using SQL 2014

When my developer he finished coding. He want to export .xpo from DEV and import .xpo to Test. I don't know DEV in SQL 2008 can compatibility with SQL 2014 ??

Any comments for my before i process this Task ?

Thanks all friends, and Experts so much!!

Entity action cannot be specified.

$
0
0

Hi,


I try to create a customer in AX2012 through WEB service

I use inbound port with HTTP adapter, data policies is enabled all elements.

SOAPaction: localhost/.../create

I retrieve the error:

Customer.createList    Line=1, Pos=172, Xpath=/Customer/CustTable[1]    Entity action cannot be specified.

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema" xmlns:SOAP-ENV="schemas.xmlsoap.org/.../envelope" xmlns:dat="schemas.microsoft.com/.../datacontracts">
    <SOAP-ENV:Header>
        <dat:CallContext>
            <dat:Company>DAT</dat:Company>
        </dat:CallContext>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <tns:CustomerServiceCreateRequest xmlns:tns="schemas.microsoft.com/.../services" xmlns:ns="schemas.microsoft.com/.../EntityKey" xmlns:tnsA="schemas.microsoft.com/.../EntityKeyList" xmlns:nsA="schemas.microsoft.com/.../sharedtypes" xmlns:tnsB="schemas.microsoft.com/.../Customer" xmlns="schemas.microsoft.com/.../QueryCriteria"  xmlns:xsi="www.w3.org/.../XMLSchema-instance">
            <tnsB:Customer>
                <tnsB:DocPurpose>Original</tnsB:DocPurpose>
                <tnsB:SenderId>DAT</tnsB:SenderId>
                <tnsB:CustTable class="entity" action="create">
                    <tnsB:CustGroup>Test</tnsB:CustGroup>
                    <tnsB:DefaultDimension>
                        <nsA:Values>
                            <nsA:Value>
                                <nsA:Name>Customer</nsA:Name>
                                <nsA:Value>0001</nsA:Value>
                            </nsA:Value>
                        </nsA:Values>
                    </tnsB:DefaultDimension>
                    <tnsB:DirParty class="entity" action="create">
                        <tnsB:Name>Simple Name</tnsB:Name>                        
                    </tnsB:DirParty>
                </tnsB:CustTable>
            </tnsB:Customer>
        </tns:CustomerServiceCreateRequest>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

What I do incorrect?

Problem is in XML or in configuration?

Find and Read requests work fine, have problem only with update and create.

Any idea?

I will be glad to any answer )

Select entities for export to Office

$
0
0

Dear all,

 

I have a Doubt at DIXF, When i am Export the Data for a Particlur Ledgal Entity, Where can i select the Entity .. the option is not there in Dynamics AX Tab in Ms-Office

 

Plz Clarify the Doubt.. and plz tell me the solution ASAP

 

Regards

Vinod P  


which is better MS MVC or MS dynamics?

$
0
0

Hi Everyone

I am .net developer with five years of experience and what is the best for me MS MVC or MS dynamics which will have high packages and Good for my future.

Upgrading RAM for speeding up AX2012 R3

$
0
0

Hi everyone.

I am a new AX Learner. Recently my friend set up AX2012 R3 on my PC through VMware Workstation. (WIN2012)

As my computer had 4GB RAM installed and used 2GB RAM when setting up VMware Workstation. Now the Application AX is very slow while using and freezes all the time and ruining my mood when training. 

What If I upgrade my computer to another 4GB RAM (8GB over all) ? and change the setting in VMware Workstation to say 6GB. Will it effect AX2012 ? Its been a long session for installing AX2012 R3 and I dont want to interupt or damange .

I want AX2012 to rum smooth as its annoying me now.

Please advice.

Thanks in advance..

Error Task Recorder

$
0
0

Hi!

I'm trying to use the task recorder, and I get the next error "the task recorder video worker is not present in the client bin".

Can u help me?

Microsoft Dynamics AX 2012 query

$
0
0

Dear Sir,

I ask about Microsoft Dynamics AX 2012 query, my task is to join two tables (Salesline and Inventsum) with sum (SalesQty and PostedQty). group by Salesline.Itemid

i try a dynamics query and job with x++ code the result is incorrect.

finally i want to design a report with sum of sold quantity and sum of on hand group by item id in sales line.

please advice

Thanks..

Can I connect to Dynamics AX 2012 from MS Access?

$
0
0

I have a requirement to use MS Access and to use it to retrieve data from an AX database. Is this feasible and what do I need to do?

Select button on report dialog

$
0
0

Hi,

I've created report using RDP class, but when i run the report there is no 'select' button on the form, how can i add it?

Having problems with free Microsoft office 645 one year subscription

$
0
0

I downloaded the office gift app and claimed my subscription with the code I received through email. This took me to the download section where I clicked on install and it said my device was not compatible bearing in mind its a Microsoft Lumia 640 with windows 8. I then tried the windows phone download and it took me to a site that shows you how to use office, I then went back and tried to sign into the office app an it said (something went wrong) or something like that. I tried to do the process again and it said I have not downloaded to any device leaving me with three free installs. I'm used to setting up phones emails and accounts ect. but this has me baffled. If anyone can help it would be very much appreciated. Thanks


Use a drop down button to select a row from table

$
0
0

Hi,

I need to add a drop down button to a form which holds the list of employee names form the employee table.

When an employee name is selected from the drop down it have to display the entire row of selected employee from the table .

Thanks in advance,

Riyaz_A

axbuild command to compile only classes in ax 2012

$
0
0

Hi,

I am looking for a command only to compile classes in AOT using parallel build axbuild.exe command. I see this command has xppcompileall switch but did not find how to use it only for sub set of obejcts like Classes.

System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate,NTLM'. ---> System.Net.WebException

$
0
0

Dear Experts,

I am trying to integrate between AX and dotnet. I have created AX web service(inbound process) through AIF and hosted it in IIS. I got a wsdl url which is working fine in both( One in which AX is running and other machine where .Net project is running) systems . In .Net, I have created an Empty web application with web service and added service reference with the "wsdl"Link which was generated from AX. In .Net when I am accessing their service method and passing the parameter value , it is throwing Below Error:

System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme &#39;Negotiate&#39;. The authentication header received from the server was &#39;Negotiate,NTLM&#39;

It would be great if i get guideline to solve the client authentication problem asap.

Ax 2012 EventHandler benefit?

$
0
0

Hello,

Let's assume I have Consumer class with static method: myEvent()

And I have class Producer.

I have two options in Producer class:

1. Sybscribe EvenetHandler:

producer.myEvent()

 OR second option:

2. I can just call static method:

Consumer:myEvent()

And in case if I need to call myEvent() in stanard Ax method, method is modified anyway and there is no some kind of indepenent code which is not affected by MS updates or other modifications.

Pleas tell me, where is the benefit?

How to export data from AX2012 to .net DataTable

$
0
0

Hi All,

My requirement is to select some data from AX2012, then save those data to other database.

So I want to know how to select data into my .net program's DataTable? 

I have try to use the inbound ports to call a method on AX2012 to get the select result(The select result is a custom temporary table, when I call the method, it will fill the temporary table first.),

But the inbound ports does not return something like DataSet, I have on other ideas about this,

Any one can give me an  solution idea or reference for my requirement?

Viewing all 17532 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>