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

We can develop plugin for CRM, if it is possible to develop plugin for ERP and if such ERP plugin can work for all ERP products (AX;ANV;GP and so on)

$
0
0

As we all know , we can develop CRM plugin  it is A plug-in is a custom business logic that integrates with Microsoft Dynamics CRM to modify or extend the standard behavior of the platform. Plug-ins act as event handlers and are registered to execute on a particular event in CRM.

If MSFT provide such ability to develop plugin for ERP to registered to execute on a particular event in ERP?

where can i find such developement related documents and if we can develop one solution to cover all ERP products (AX;NAV;GP;SL and so on)?


Difference in the value - GL vs Report

$
0
0

HI, 

We have issue of difference of values between the GL and Reports

We have individual GL code for FG, WIP, Projects ...

after generating the report , we found the mismatch of the values respectively

Mainly the Production posting hits different journals

please advise, from where to start the reconciling or check the mapping

GL Code

Description

As per GL (INR)

 As per Report (INR)

 Difference (INR)

xxxx

FG

    83,683,067.00

              83,597,903.24

                85,163.76

aaaa

WIP

    23,303,628.00

              53,873,683.64

      -30,570,055.64

How to call View method data in another view method

$
0
0

Good Morning,

Hope you are fine.

I have a query which has GeneralJournalAccountEntry and GenerealJournalEntry as DataSources

i created view with same and added some fields like ledgerdimension,Accountingdate.

I want Fixed asset number from ledger dimension for that i wrote view method to get fixed assetfrom ledger dimension and  added the string field and gave this view method which is fine.

Now i want to get some fields which is customized table (Ex - xyzTable) In this i have fixed asset number and category field.

Now when i am writing a new view method to get category from xyz table how can i compare with fixed asset which is a view method added as field

For Example if the field i am comparing is a datasource field then i can write like below

 str sDateTime;
 sDateTime = SysComputedColumn::returnField(tableStr(VendorInvoiceView), identifierStr(VendInvoiceJour), fieldStr(VendInvoiceJour, createdDateTime));

But in my case the fixed asset is data method added as field in view how can i use view field to compare(fixedasset) with  xyztable. (fixed asset). like in above code my field is not bounded to any datasource its a view method.

Dear experts please provide some solution on this.

Regards,

Have a  great day.

Form Real Control Doesn't have a method issue

$
0
0

I Opened Released Products and in the Engineer Tab I clicked Lines this error is popping up i need to solve this issue. I am new to AX.

Thanks in Advance .

How can I extract data from Voucher Transactions by specifying a period?

$
0
0

Hello,

I am a part of Finance and accounting team of the company.

It would be very nice if someone could kindly let me know how to specify the period when we do data extraction from Voucher Transactions.

For example, how can I extract voucher transactions specifying the period from March 1st to Sep 30th of this year?

Also, when we want to use the extracted data in Excel, let me know whether direct copy and paste of data from AX to an Excel file is the best way.

Thank you very much in advance!  

I need to confirm PO automatically through code at the time of creation of PO while RFQ is accepted, Can i write the code in PurchRFQAcceptJournalPost class.

$
0
0

I need to confirm PO automatically through code at the time of creation of PO while RFQ is accepted, Can i write the code in PurchRFQAcceptJournalPost class.

in ax 2012

Any help will be Appriciated.

ERP Microsoft AX 2012 R3 Export topics / experience exchange

$
0
0

I am Looking for a Company using ERP Microsoft AX 2012 R3 and deals with export topics. We would like to exchange our experience and ask specific question how and what. Is there any Company dealing with this issue? 

Thank you in advacen,

BR,
Adam

Multiselection not work

$
0
0

Hi all, I wrote method to count sum of marked form records, form name is CustTrans. Here my method:

public real calculateSumAmountTransactCurrency()
{

     CustTrans custrans;
     real sumValue;
     MultiSelectionHelper helper = MultiSelectionHelper::construct();
    helper.parmDatasource(CustTrans_DS);
    custrans = helper.getFirst();
    while (custrans.RecId != 0)
    {
        //info(custrans.AmountMST.toString());
        //info(custrans.RetailStoreId);
   //  ABS_SumAmountMST=sum(ABS_SumAmountMST, custrans.AmountMST);
       sumValue+=custrans.AmountMST;
        custrans = helper.getNext();
    }
  //  return ABS_SumAmountMST;
    //ABS_SumAmountMST.realValue(sumValue);

  return  sumValue;
}
When I unmark record, still I see value of record. What is wrong with code given above.


AX close automatic "Microsoft Dynamics AX business connector session 112 RPC exception 1726 in ping occured in session 112 process Ax32.exe thread 20232"

$
0
0

I have a problem with client that program AX crashes many times when use it. AX will close automatic.

I found error log as below on problem client.

Microsoft Dynamics AX business connector session 112 RPC exception 1726 in ping occured in session 112 process Ax32.exe thread 20232

This site use multiple AX user (1 AX user = 2-3 users)

Multiselection in AX Dynamics 2012 R3

$
0
0

Hello,

I have a problem. I have written a method of sum which calculate sum of selected records, by field amountMST in CustTrans form. I expect result that unmarked all record sum will be 0. But I see sum of record despite it is unmarked. Where is a problem in code. Here is the code.

public real calculateSumAmountTransactCurrency()
{

     CustTrans custrans;
     real sumValue;
     MultiSelectionHelper helper = MultiSelectionHelper::construct();
    helper.parmDatasource(CustTrans_DS);
    custrans = helper.getFirst();
    while (custrans.RecId != 0)
    {
        //info(custrans.AmountMST.toString());
        //info(custrans.RetailStoreId);
   //  ABS_SumAmountMST=sum(ABS_SumAmountMST, custrans.AmountMST);
       sumValue+=custrans.AmountMST;
        custrans = helper.getNext();
    }
  //  return ABS_SumAmountMST;
    //ABS_SumAmountMST.realValue(sumValue);
      custrans = helper.getNext();
  return  sumValue;
}
Any help.

AX7 : Output SSRS Report to docuref

$
0
0

I want to output a report in the docuref (in background)

to do this, i used this technique https://meritsolutions.com/render-report-memory-stream-d365-aka-ax7/

Unfortunately, the compiler throws many warnings because the SRS* classes are marked as Internal use only.

Is there another way to do that?

there is the code i use:

public DocuRef PrintReport(DocuTypeId _docuTypeId)
{
    DocuRef addedRecord;
    SRSPrintDestinationSettings settings;
    System.Byte[] reportBytes = new System.Byte[0]();
    SRSProxy srsProxy;
    SRSReportRunService srsReportRunService = new SrsReportRunService();

    SRSReportExecutionInfo executionInfo = new SRSReportExecutionInfo();

    Args args = new Args();
	if (journalList)
    {
        args.object(journalList);
    }
    else
	{
        args.record(record);
    }
    args.caller(caller);
    

    // Provide details to controller and add contract
    controller.parmArgs(args);
    controller.parmReportName(reportName);
    controller.parmShowDialog(false);
    controller.parmLoadFromSysLastValue(false);
    controller.parmReportContract().parmRdpContract(contract);

    // Provide printer settings
    settings = controller.parmReportContract().parmPrintSettings();
    settings.printMediumType(SRSPrintMediumType::File);
    settings.fileName(fileName);
    settings.fileFormat(SRSReportFileFormat::PDF);

    // Below is a part of code responsible for rendering the report
    controller.parmReportContract().parmReportServerConfig(SRSConfiguration::getDefaultServerConfiguration());
    controller.parmReportContract().parmReportExecutionInfo(executionInfo);

    srsReportRunService.getReportDataContract(controller.parmreportcontract().parmReportName());
    srsReportRunService.preRunReport(controller.parmreportcontract());

    srsProxy = SRSProxy::constructWithConfiguration(controller.parmReportContract().parmReportServerConfig());
    // Actual rendering to byte array
    reportBytes = srsproxy.renderReportToByteArray(controller.parmreportcontract().parmreportpath(),
    SrsReportRunUtil::getParameterValueArray(
        srsReportRunService.createParamMapFromContract(controller.parmReportContract())
		),
    settings.fileFormat(),
    settings.deviceinfo());

    if (reportBytes)
    {
        // Converting byte array to memory stream
        System.IO.MemoryStream stream = new System.IO.MemoryStream(reportBytes);

        // Upload file to temp storage and direct the browser to the file URL
        //File::SendFileToUser(stream, settings.parmFileName());

        stream.Position = 0;
        str fileContentType = System.Web.MimeMapping::GetMimeMapping(this.parmFileName());
        // Attach the file to a record using stream object
        addedRecord = DocumentManagement::attachFile(this.parmRecord().TableId,this.parmRecord().RecId,this.parmRecord().DataAreaId, _docuTypeId, stream, this.parmFileName(), fileContentType,'GED file attached');
	}
	return addedRecord;
}

Project Contract Value shows zero on estimate

$
0
0

Hi,

I was trying to create a project estimate but contract value always shows as zero. Not sure which part I missed here.

Here is milestone/on account with values. Project type is fixed-price.

Create price agreement journal from RFQ reply

$
0
0

Hello, 

I'd like to know, my client needs to create price agreement journal directly from the RFQ reply. 

When I click on the Create a trade price journal button from the reply , it only creates the journal but the line are not filled. 

Is there a parameter somewhere I need to activate so that the lines in the RFQ reply are copied unto the jounal ? 

It works perfectly for purchase agreement but i can't find solution for price agreement journal. 

Many thanks in advance 

Sophie

Mobile device wms

$
0
0

Hello guys, 

I set up the worklist feature for mobile device and I added the menu option purshase with user directed but when i open the work list and go on one work but when i want to ognore or return to the main meni i have this error  "wrong container could not create object 'Query' ax 2012" and can't return back.

could you please help !?

cordially

DynamicsPerf 2.0 Installation for Dynamics AX

$
0
0

Hi, there is a procedure to move from DymaicsPerf 1.2 to 2.0? Thank you, Michele Lemmi


how take backup from customization

$
0
0

Greetings everyone 

i'm using ax2012R3 and i'm planning to take backup from all customization from my environment is there any easy way to take them all at once 

Duplicate date while get range from while (queryRun.next()) in RDP report

$
0
0

Hello..

I create a report to get transaction and OB for main account (report like Dim statement)

So I need to get OB for range of main account that specified in dynamic parameters.

so I used  

    while (queryRun.next())
    {
            mainAccount1 = queryRun.get(tablenum(MainAccount));
            EGCDimStatmentTMP022.selectForUpdate(true);
            EGCDimStatmentTMP022.AccountingCurrencyAmount    = this.calcOBMainAccount(mainAccount1.MainAccountId,fromDate);
            EGCDimStatmentTMP022.MainAccountId               = mainAccount1.MainAccountId;

and inserted the result in a regular table no TMP table , just to see the result in the table..

I think the result will be on line because I specified  one main account in dynamic parameters .

I think there is a  wrong loop happen in      while (queryRun.next())

I need just to get the main account for one time.

More information

 

Thanks in advance....

open transactions settlement date

$
0
0

Hi All, 

 Does an open transaction has an no settlement closed date? If i see a closed transaction, it has closed date, thats not the case with open transaction. So, can I say that a transaction with no closed date is an open transaction

Vendor disbursesment workflow - allow edit and review

$
0
0

I have created a supplier/vendor disbursement workflow with two stage approval.  However, the approvers at each stage would like the ability to view the invoice images attached to the invoice journals.

You can view the images from the 'Settle transactions' menu item within the payment journal, but once the journal is submitted to workflow the 'Settle transactions' button is greyed out.

Does anyone know if you can enable the 'Review/Edit' functionality within the workflow, therefore allowing the approvers to easily navigate to the invoice images?

Unable to post packing slip or invoice

$
0
0

Hello Everyone,

I am unable to post the packing slip or invoice of sales order as I am getting the below error message, though the items are present in inventory and I have tried to change the enum as " deliver now" or " all" while post packing slip or invoice but getting the same error message. Please help.

Thanks,

Vinay

Viewing all 73760 articles
Browse latest View live


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