Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 73760 articles
Browse latest View live

Recover Customer Source Account

$
0
0

Good Afternoon

i have problems trying to log in in my customer source lincences, but i forgot the password, when i try to recover the password, it says the email is not correct, and when i try to open a ticket or use the help or support, i have to log in to open a ticket and get help, how stupid is that ? every time i look to get support i have to be log in, so how can i reach Microsoft Customer Source Support without being log in, i even had to make a new account to just post this question, for issues like this i am thinking not to buy any Microsoft products anymore, thanks in advance


How do I change a workflow from asynchronous to synchronous in Dynamics AX?

$
0
0

Hi, is it possible to set up or change an existing workflow to Synchronous execution? I'd like to make sure that the workflow finished before I'm able to start another workflow of the same type (or any type if same type isn't possible). I've seen solutions for this in 365 and CRM to change the workflow to real-time, but nothing for AX. I'm on AX 2012 R3. I'm preferably looking for a non-code solution. 

I'm thinking if I do need a code solution, I could write something to keep checking for "Pending" status workflows in the WorkflowTrackingStatusTable before continuing with the next workflow.

unable to edit unit price in Purchase Requisition?

$
0
0

Dear 

what is the setup that allows the editing of the unit price in the purchase order 

Regards

Removing reservation with Code

$
0
0

Hi i have some items that are still reserved due to bad transactions. I try to find a way to release the reservation.

I tried to delete the inventtrans and the inventtransorigin for these lines, but it is not updating the inventsum when i delete the line.

Thanks for your help

Update custom field from purch Table when receipt PO

$
0
0

Hi All. How to update the value of a custom field in purchtable when receipt PO. I tried to use the update method from Purch table and ModifiedField but no result. Thanks for help

Regards

AIF service error

$
0
0

Hello everyone,

I have a working code in AX but when invoked through a service from outside it throws an exception.

I am using DocuActionArchive class in my code for file attachment. 

I have following lines of code that refer to this class.

DocuActionArchive archive;
archive = new DocuActionArchive();
archive.add(docuRef, filePath);

The service throw following exception:
System.ServiceModel.FaultException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InvalidRemoteCallException' was thrown.

It errors out on line: archive.add(docuRef, filePath);

Looks like it cannot call the add method in the DocuActionArchive class. I changed the property of this class from Run on Client to Run on Server but still get this error.


Is changeCompany keyword not supported on Threads?

$
0
0

Hi All,

One of my clients (AX 2012 R3) assigned me a task where I have to parallelize some reports that they developed.  These reports collect information for each one of the companies (there are about 80 entities) and collect information on each one, to show it on a single report.  The reports make extensive use of the changeCompany and select crossCompany keywords.

I was using Threads as the fastest option, but on my tests I found that if I use the changeCompanykeyword on the code of the static method invoked for each thread, the thread will never end, and no status is returned.  I wanted to confirm if anyone had the same issue?

P.S. Later I found that the method thread.ext() can be used to change the company on the execution of each thread.

Thank you!

How to retrieve system date (CreatedDateTime) in API?

$
0
0

How retrieve the System date in API?

I had enable the created Date time

but there is no field name as created date time

my query, did we need to create a custom field for it?

while select TAXITEMGROUP
from  purchLine
join OrderStatus, CreatedDateTime, ValidatedDateTime from inventQualityOrdeTable
where inventQualityOrdeTable.ItemId == purchLine.ItemId

{

//retrieve

CMSReturnContainer    returnContainer = new CMSReturnContainer();;

returnContainer.CreatedDateTime(inventQualityOrdeTable.CreatedDateTime); //hit undefined

}


Two grids two different data source

$
0
0

How we can achieve outerright join in form?

I have one form having 2 grids and 2 different datasources.

Grid A binded with Datasource1 ( regular Table)

Gird B binded with Datasource2 ( Temp Table)

Datasource2 table has more number of records as compared to Datasource1 ( few un-match records ).

I need to show all matching records in Grid A and also unmatch too.

Inner join bring only common records and outer join bring common records as datasource1 has lesser records as compared to datasource2.

Since datasource2 is temp table, joining condition has to used else linkPhysicalTableInstance fails.

any suggestions?

Linking Employee with user ID error

$
0
0

Assalam o alekum,

Hi Experts,

When I'm trying to Assign employee with user id, getting this error "Person XXXX is already related to user security." Mean while all other employee and users are related perfectly.

Thanks 

SMA

Pre-Processed RecId parameter not found. Cannot process report

$
0
0

Hi All,

I have developed a report with subreport. Main report is working fine but when I try to generate sub report I am getting below error.

I have checked the  parameters in visual studio and it is looks fine.

thanks in advance

Hookable attribute in D365FO

$
0
0

Dear All,

I read in some blogs regarding Hookable concept. I not understand the concept properly. I saw some error they posted there.

Can you please let me know in brief what is the reason to come this error ?How to resolve this ?

Please give me more shed on this.

Thanks!

Add a new time zone

$
0
0

I want to ask about the time zone that you see in the code below. Turkey (GMT + 02: 00) time zone that was changed later.

Timezone enum no changing time zones in Turkey's flour. How to add this to Timezone?

static void UserInfoPrefTime(Args _args)
{
    UserInfo  UserInfo;

    ttsBegin;

      while select forupdate UserInfo
        where  UserInfo.enable == NoYes::Yes

        if(UserInfo)
            {
                UserInfo.preferredTimeZone = Timezone::GMTPLUS0300BAGHDAD; // Timezone enum no changing time zones in Turkey's flour.
                UserInfo.doUpdate();
            }

    ttsCommit;

    info("ok");
}


          

Receipt not printing on multi Printer

$
0
0

HI Retail POS Champs ,

I am trying to print default receipt using printing dll default methods but receipt  is printing single print   on default printer.I want to print on all attached printers.

Can any one give me suggestion what could be reason or where I could debug this.Default process print on all printers.

Reg filter in the fields in form

$
0
0

Hi guys,

I have a form in which I created three fields namely,

Name 

checkbox

Window field

Now I have created a new text field in that form and now whenever I type starting letters it should filter that grid based on letters typed in that textbox.

Please give some suggestions.

Regards,

AXTechie


Delete Sales Order (Open Order Status)

$
0
0

I have problem with sales order, i want to delete sales order with open order status but the sales order lines has removed.

How I get back the sales order lines removed?

I have info log "You can cancel sales order lines only if the line quantity has not been processed for delivery. The sales order SO00004879 is partially cancelled and the status is Open order."

Actually packing slip and paicking registration has canceled / deleted.

Please the solution..

CompanyInfo table in AX 2012

$
0
0

Why cannot I find it in SQL, I could see it in AOT but not in SQL. Why?

PrimaryAddressLocation blank in db while primary address for the company exists in AX

$
0
0

Hello,

I am having an issue on AX where I have several companies which exists along with a primary address. On the legal entities and global address book screen I can see the addresses as primary but however in the database in dirpartytable the 'primaryaddresslocation' field for these companies are '0'. I have several custom queries which uses this field in joins and thus the values are not being returned. However, when I edit+save the address on the global address screen (even if I don't modify anything) the field primaryAddressLocation is populated in the table. Is there a way to update all the records in the table dirPartyTable without editing each record on AX? I have more than 300 records and can't imagine manually updating each line. 

p.s I have also tried a db sync, but it did not work.

Any advise? Thanks.

Unmark settlement of posted transaction without reversing

$
0
0

Hi,

Need tips on below scenario:

CI-90 Invoice was settled with payment journal PI-90. But PI-90 had wrong amount so had to reverse PI-90 by creating PI-91 with debit and credit field reversed.

PI- 92 with correct amount is created and posted. Now I want to remove the settlement link between CI-90 and PI-90 and link CI-90 with PI-92.

Is it possible to just change the settlement link and without reversing CI-90 and PI-90 and then creating CI-91 to link with PI-92?

As far as I looked into it there is refrecids stored in custtrans table to link the invoice and payment. But I don't know the implications of changing it manually from SQL server management studio.

Comunication with printer?

$
0
0

Hi all,

We have a customer using AX2009 that prints some labels for pallets in communication with a production machine. We have published some web services in AX, so we can get information from the production machine, and it seems working fine. The problem arrives when the proccess finishes, and AX sends the label to the printer. Sometimes, there are problems with printing and we don't find the way to manage it.

In Ax, do we have any way to comicate with the printer in order to know if the document we have sent has been printer or there has been al error? I have been looking for documentation related with this, but I have not find anything.

Thanks for your help.

Regards,

Kala

Viewing all 73760 articles
Browse latest View live


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