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

RE: Create and post General journal via x++

$
0
0

Hi Crispin,

Thanks for the reply. JournalNum relation i know. My case also journal number is same.

LedgerJournalTransTaxExtensionIN table dont have the record related to Ledger journal trans, here i can create manually from this table. It will shown the voucher. But i dont know this is correct or not. Please suggest.

Thanks.


Create and post General journal via x++

$
0
0

Hi All,

I have create and post General journal via x++.It can post but this does not shown the journal lines at front end. But lines are shown in LedgerJournalTrans table.

If i will go and see in Audit Trail it will shown the vouchers but not shown lines in General journal form(Header only shown).

Can you please help to solve this.

Thanks.

Dimension

$
0
0

How to use Dimension [1], Dimension [2], Dimension [3] .. as display(X++)?

Thanks in advance for your help

RE: Create and post General journal via x++

$
0
0

There is already Code in LedgerJournalTrans.createTransferTrans() to create data for this table (in case of IN)

But that is not relevant to why your lines are not appearing..

Identifying caller form AX 7

$
0
0

Hi Experts,

How to identify caller form in AX7.

For e.g. Serial number dimension field is available in many forms like Inventory transfer journal, Movement journal, Purchase order form etc.

When we click on Serial number, system will open a form (InventSerialLookup).

Is there any possibility to identify from which form InventSerialLookup is called?

Thanks,

N.Sridhar

RE: Updating employee project calendar

$
0
0

Hi Ludwig, I am talking about this Calendar in Project report setup form. I have got an entity to all fields other than Calendar.

Updating employee project calendar

$
0
0

Hi Team,

While working on AX 2012 R3 I had to use a custom batch to update project calendar for all workers, is there any function or data entity available in D365 Finance and operations to do the same. I tried to find it but no luck.

Regards,

Nakul

RE: Invoice journal posting error

$
0
0

Hi Ludwig,

Thanks for your reply, Yes, I tried, I think this is exchange start date problem.

Thanks,

Prabakaran R.


Invoice journal posting error

$
0
0

Hi,

I tried to post the invoice journal manually in accounts payable, unfortunately getting this error : "A currency to convert from is required to retrieve exchange rate information". please suggest me any solutions.

Thanks,

Prabakaran R. 

RE: Timesheet project activity required

$
0
0

Oh, sorry, maybe has been a misunderstood.

I actually want to see that warning ... and finally I get it checking that field at the project itself (thanks Christoph). I thought If the parameter was configured at module level it would be applied to all projects, but It does only at the creation moment.

So, now I have to update this to all my projects with a batch.

Thanks a lot.

RE: Add some sales packing slips to SalesEditLines form.

$
0
0

Thank you very much, I have figured out the solution.

static void Job13(Args _args)

{

   SalesFormLetter         salesFormLetter;

   SalesTable              salesTable;

   CustPackingSlipJour     custPackingSlipJour;

   CustPackingSlipTrans    custPackingSlipTrans;

   TmpFrmVirtual           tmpFrmVirtual;

   List                    selectedList = new List(Types::Record);

   tmpFrmVirtual.setTmp();

   salesTable = SalesTable::find('SO18030002');

   while select RecId, TableId from custPackingSlipJour

       where custPackingSlipJour.InvoiceAccount == salesTable.InvoiceAccount

   {

           tmpFrmVirtual.clear();

           tmpFrmVirtual.TableNum      = custPackingSlipJour.TableId;

           tmpFrmVirtual.RecordNo      = custPackingSlipJour.RecId;

           tmpFrmVirtual.NoYes         = NoYes::Yes;

           tmpFrmVirtual.Id            = custPackingSlipJour.SalesId;

           tmpFrmVirtual.insert();

   }

   while select tmpFrmVirtual

   {

       selectedList.addEnd(tmpFrmVirtual);

   }

   // Construct form letter

   salesFormLetter = salesFormLetter::construct(DocumentStatus::Invoice);

   // Add the packing slips to the sales form letter

   salesFormLetter.selectFromJournal(selectedList.pack());

   salesFormLetter.salesTable(salesTable);

   // Reorganize as desired

   salesFormLetter.specQty(SalesUpdate::DeliverNow);

   salesFormLetter.sumBy(AccountOrder::Account);

   salesFormLetter.reArrangeNow(true);

   salesFormLetter.reArrange();

   if (salesFormLetter.prompt())

   {

       salesFormLetter.run();

   }

}

Batch job is still running even after deletion (D365O)

$
0
0

I have created a custom DataEntity (myDE) for custom table (myTbl). On Production Environment (PROD) I created an Export Project (myEP) and put myDE for incremental export into my local SQL DB into myTbl_Staging.

After while, I’ve got a requirement to increase the length in one of string field of myTbl (and definitely, the requirement says, that in local SQL DB the string value in already exported records also MUST be increased).

For this purpose, I stopped incremental export of myDE in myEP, and created a new Export Project (myTmpEP).

In myTmpEP I created a recurrent job (recurrentJob_1) to export ALL records via myDE by FULL PUSH (in a recurrent job (recurrentJob_1) settings I specified: stop execution after one time). After couple hours I checked the result of export in my local SQL DB (in myTbl_Staging) and discovered, that something goes wrong. The expected quantity of records is 71500, but when the qty of records (my local SQL DB in myTbl_Staging) had had been reaching 71500, after some time (I don’t’ know the exact time interval, I think it’s about 5-15 minutes) ALL records are deleted from myTbl_Staging and the process of fulfilling the myTbl_Staging started again. I decided that I created a recurrent job (recurrentJob_1) in wrong manner, so decided to delete recurrentJob_1

I navigated: System administration/Data management (please do not pay attention to the content in picture, I just want to show the way how I did it)

Step1. Exection details

Step2. View execution log (please do not pay attention to the content in picture, I just want to show the way how I did it)

Step3.  Selected an appropriate job and click "Delete" button.

Step4.  then I deleted and execution of the project

After that, I went to my newly created Export Project (myTmpEP)

and clicked "Export" (so in fact I created a second batch  job (recurrentJob_2))

Than decided to check the result in myTbl_Staging  (in my local SQL DB), and I discovered, that first recurrentJob_1 is still running (together with recurrentJob_2) - I confirmed in this by selecting distinct values of EXECUTIONID field from myTbl_Staging  table:

SELECT count(distinct INVENTSERIALID), EXECUTIONID  FROM [D365DH].[dbo].[DeviceInventTableStaging] GROUP BY [EXECUTIONID] 

Once again, I decided to delete execution by repeating Step1-Step4. Unsuccessfully. The data is still fullfilling into myTbl_Staging (in my local SQL DB).

I checked SystemAdministration\Inquiries\Batch jobs\Batch jobs - there is no my job in the list. Also, I was trying to find the same value of EXECUTIONID from myTbl_Staging (in my local SQL DB) in DMFDefinitionGroupExecution.ExecutionId field (on PROD) but there is no such records there.

The only place where I found same EXECUTIONID is in DMFExecution.ExecutionId table.

So, the question is: how can I stop the execution of batch job? (taking into account - the the batch job is not in the list of batch jobs (SystemAdministration\Inquiries\Batch jobs\Batch jobs))

Integrating with GE Proficy

$
0
0

I was asked to recommend if there was existing middleware to allow GE's Proficy MES to communicate with Microsoft AX. 

How to detect maximize event in AX4 form

$
0
0

Hi to everybody. 

I need to catch the event that is launched when I click in maximize (or minimize) button in any AX4.0 form. I have to write code after that (the event).

Is it possible?

Thanks a lot in advance.

Daniel.

RE: Recurring File integration - delete files

$
0
0

Hi Martin,

I have one question regarding Recurring Data integration - Can we delete files from azure blob queue if a file is downloaded by middle tier application using X++ . We are having one issue once all messages are downloaded from queue , and when 3rd party application is trying to dequeue , since no messages are there in queue to process, it is processing last downloaded message again .


Recurring File integration - delete files

$
0
0

Right now we are able to perform outbound operation for composite entity through API . And we can track which all messages are downloaded from interactive message table records . But is there any way to delete set of records from target entity table which are already downloaded by 3rd party in order to have incremental push only from target entity . Why i am saying incremental because for composite entity tracking cannot be enabled and we are trying to push only incremental records by business logic but records which are already sent out has be deleted from target entity table .

how to show selected document

$
0
0

Hi all,

i have a list page form there i have created one record against that record i have attached three documents.i have done small customization in document attachment form that is, in three documents i can able to activate only one document. this i have achieved .now my requirement is in list page form  i have created one button called showdocument.if i select any record in list page then ill click show document button it should open the document which is activated(consider an example i have attached three documents in that one document i made as activated)...

how i can achieve this...any suggestions. 

Thanks in advance.

AX2012 Client Crashes When Creating New View

$
0
0

We have a problem that just started recently where something in the AOT is corrupt, and any time you try to create a new View, the AX Client locks up indefinitely.  Just for kicks, left it sitting overnight, but it never comes back.  All you can do is force-close the application.

The AOS itself seems to be unaffected, as you can immediately restart the client and continue working as long as you don't try to create a View.

We had a similar problem in the past with a corrupt AOT object, and the following article fixed it.  However, this time, we cannot identify any corrupt objects to remove:

https://blogs.msdn.microsoft.com/emeadaxsupport/2010/03/16/identifying-damaged-table-objects-in-the-aot-metadata/

There is nothing in the event log, infolog or anywhere.  

My next step is to dump each layer, one at a time, but hoping there is an easier fix without the risk of losing code.

Any suggestions?

Thanks,

- Brad

RE: Create and post General journal via x++

$
0
0

Hi Edselv ,

Create one record manually in the same Journal and try to see difference between you record which is created by code vs Created from UI.

Viewing SSRS report though VPN

$
0
0

Hello Everyone, Am not sure this is the forum for this type of question but I am posting none-the-less to get some help.

So I have a situation where when printing reports while connecting to VPN I get the following error message:

"The underlying connection was closed: A connection that was expected to be kept alive was closed by the server" If am in the office on the network I can print (screen print)the reports from AX 2012 fine but, when I try to do the same thing when connected via VPN it gives me that error message. Any idea why this is happening?

I would appreciate any help possible.

Viewing all 175888 articles
Browse latest View live