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

trcAxaptaSync File not updated even after synchronising the data

$
0
0

I had just Synchronized the Data Dictionary and I found that there were no errors in the infolog. But my concern is the log information did not store in the trcAxaptaSync file..

I remember earlier it got some records in the same file but now it did not.

I need to show this information... any other way???


No active period for the selected date

$
0
0

Dear AX users,

I'm working with AX 2012 R3. The company setup for the periods is Monthly currently. We'd like to change to Weekly, but I'm facing a problem.

I've already generated the periods for Weekly:

I've also updated the timesheet periods:

and the worker periods: (+ I deleted the monthly periods for the same time of the year)

However, when I try creating a timesheet, I'm facing the error : "No active period for the selected date"

Would someone have an idea which parameter is missing?

Thanks in advance for your help!

Best regards,

Nelly

change Report design for the standard Cheque report ( USStyle ) in D365Fo

$
0
0

Hi All,

Need to change Report design for the standard Cheque report ( USStyle ) in D365Fo

Below Step's I followed

1.  duplicate the report

2. [ExtensionOf(classStr(BankPrintTestCheque))]
final class BSFBankPrintTestCheque_Extension
{

 static void determineReportMenuOutput(TmpChequePrintout _tmpChequePrintout, Object _this)
    {
        Args args = new Args();
        BankPrintTestCheque bankPrintTestCheque = _this;
        args.caller(_this);
        if (_tmpChequePrintout.ChequeFormType == ChequeFormType::USStyle)
        {
          
            new MenuFunction(menuitemOutputStr(BSPChequeMenu), MenuItemType::Output).run(args);
        }
       
    }

3.

class BSFChequeControllerExt extends ChequeController
{
    #SRSFramework
    public static BSFChequeControllerExt construct()
    {
        return new BSFChequeControllerExt();
    }

    public static void main(Args _args)
    {
    
        BSFChequeControllerExt controller = new BSFChequeControllerExt();
        controller.parmArgs(_args);
        controller.deleteTempData();
        controller.parmReportName(ssrsReportStr(BSFCheque_US, Report));
        controller.parmShowDialog(false);
        controller.parmDialogCaption("@SYS24090");
        controller.startOperation();

}

Problem is Report is not woking,please advice on this
    

Difference between chain commands & class extension in d365fo

$
0
0

Hi All,

what is  difference between chain commands & class extension in d365fo

how to fetch the data from oracle db to D 365 F&O !

$
0
0

Hi Friends, I have a new challenge on D 365 F&O.

I need Oracle DB (create a new table and data (let's say create an employee table and data)) and need to connect to D 365 F&O ?

Regarding this, Any application having for D 365 (example as power apps etc..).

Please help me out.

Regards,

Vinilkumar.

How to Restructure Financial Dimension

$
0
0

Hello All,

We are having custom financial dimension defining them for our yearly projects, to check how much we consumed from the budget is created for this projects and keep follow up the expenses at the reporting levels for this dimensions.

also some projects it might be extend to serval years, and the structure for the dimensions from the beginning is to create every year a new dimensions using first 4 digit for the year and the next 5 digit for the number of projects.

So mu question is, the customer needs to see how much budget created & consumed & left to this projects yearly?

also from the creation date of this projects ! which is can be different years and also different dimension ?

I create a new dimension using the year name and I using the calculate total and do not allow manual entry. but I cannot see it at any reports like budget control statistics or budget analysis.

So please if there's any help for catch the customer output reports and also for restructure this dimensions to avoid create a new dimensions every year for same projects !!?

Operation No. Update

$
0
0

Hi Experts,

How can I update the Oper No. field? Thank you.

Integration-D365FO

$
0
0

Hello Experts,

I have the below doubts,

1)Can we expose the entities which includes computed column in it to Azure Data Lake?

2)In AZL it will be a single file for an entity or else if the entity has 5tables then 5 files will get stored?.

3)Can we restructure (joining the views/custom calculation) the views (I.e. FinOps tables) created in the AZL based on the business requirements Using Azure Synapse by avoiding custom calculation code in FINOPS?

4)How the performance will be in both the above cases?


Send report through mail in AX 2009

$
0
0

Hi,

Can you please let me know how to send report through mail in AX 2009.

It might be thorough batch or Manual.

Tomorrow, I have meeting with business user, then i will clear on this.

Meanwhile could you please reply on this.

Thanks!

How to join query datasource to EITHER its sister datasource OR its parent?

$
0
0

I am attempting to join a query datasource to Either its parent OR its sister, but am not getting the desired results.

I overrode the init method of the query and added a range to the subject datasource with a query expression after the super() similar to this:

datasourceRange.value('((whsLoadLine.inventTransId == salesLine.inventTransId) || (whsLoadLine.inventTransId == kitSalesLine.inventTransId))');

SalesLine = Parent DS

    kitSalesLine = Child of SalesLine

    whsLoadLine = Child of SalesLine

The issue is that it is not returning whsLoadLine records for the kitSalesLines.

At this point, my assumption is that this just isn't possible.   I can't make the whsLoadLine a child of the KitSalesLine because it would change the formatting of the XML.  This is an aif document query.

Adding data source to AOT query by code

$
0
0

I am trying to adjust AOT query during the run time by adding extra data source   by it does not work , If I try to build the whole query during the run time it works , how can I adjust the AOT during the run time  ?

Column is non filterable

$
0
0
  1. In all pay statements, all fields are filterable. in case of  additional pay statements, which is linked with same form but using composite query to get additional pay statements only, some fields are non filterable and the message (Column is non filterable) appears , how can I fix this issue ?

Change Customer master Data

$
0
0

I m new for this system, is it possible to change master data by upload excel without change it one by one?

For example, if i want to change the credit limit to 10k for thousand customer. is it possible to edit in excel and upload back to AX system?

Restrict the particular tables in SQL Server via creating username and password !

$
0
0

Hi Friends, I have one challenge on SQL side.

We have tables 'vendtable, custtable, generalJournalentry, generalJournalAccountEntry'  in AX, but due to Integration I need to give access on these tables.

My client don't want to 'share sysadmin access'. what he is asking I need to give access and share the username and Password on these tables.

My solution is, in sql server we have 2 options

1.) authentication (no restriction)

2.) create username and password, so that while opening SSMS need to connect via Username and password.

client want to ask second option i.e create a username and password (show only the above tables, means restrict these tables) and share this username and password to the client.

Can we give access for particular tables (example custtable, vendtable, journaltableentry etc..) in SQL (by creating username and password) ?

is it possible to share the above, if yes, please help me.

Regards,

vinilkumar.

[X++] Can't get .Net (Http)WebRequest ResponseStream

$
0
0

Hello,

I am trying to make some test web requests out of AX 2012 to an open API, as we need to implement parcel carrier API into our system in near future.

As we don't have experience with C# I've only tested this using .Net Framwork directly from X++ code.

Unfortunately, the HttpWebRequest.GetResponseStream() method doesn't seem to do or return anything. When I debug my class, the programm just stops after executing that method. I've also tried using the WebRequest class, however I get the same result. For better understanding, see my code here:

//Test class for calling an API and printing response
public class IMP_CallRESTfulWebService
{
    System.Net.HttpWebRequest       webReq;
    System.Net.HttpWebResponse      webRes;
    CLRObject                       clrObj;
    System.IO.Stream                stream;
    System.IO.StreamReader          streamReader;
    System.IO.StreamWriter          streamWrite;
}

public void run()
{
    //Give permission to run unmanaged and managed code
    new InteropPermission(InteropKind::ClrInterop).assert();
    //Create web request instance
    clrObj = System.Net.WebRequest::Create("https://petstore.swagger.io/v2/pet/09021999");
    webReq = clrObj;

    //Set web request properties
    webReq.set_Method("GET");
    webReq.set_ContentType("application/x-www-form-urlencoded");
    webReq.set_Timeout(10000); //in Miliseconds

    //Get the response object
    webRes = webReq.GetResponse();

    //Print status of response
    info(strFmt("%1",webRes.get_StatusCode()));
    info(strFmt("%1",webRes.get_StatusDescription()));

    //Get content returned by the servers as stream and open that stream using StreamReader for easy access
    streamReader = new System.IO.StreamReader(webRes.GetResponseStream());

    //The read & print the stream content
    info(streamReader.ReadToEnd());

    //Cleanup the streams, response and revert permission assert
    streamReader.Close();
    stream.Close();
    webRes.Close();
    CodeAccessPermission::revertAssert();
}

main() method just runs the class.

Has anyone experienced similar issues? What could be the problem? Also, is there a way to debug the .Net Framwork method?

And finally, as we are completly new to implementing API's into AX:
Is there maybe a better way to implement an API in AX 2012 R3? The API we are going to implement in the future can either use SOAP or REST and will use XML to send and consume data.

Looking forward to hear any advice,

kind regards


Show require Dialogue box when we delete a record from table in D365 F & O

$
0
0

Hi All..

I created one table that table have two fields RollNumber and Name

In front end when i delete the record from table i want to show the dialogue box like " sure you want to delete RollNumber = 11 and Name = aaa"

I need solution for this task in Dynamic 365 Finance and Operations

AX for finance and operations -> SSRS report data provider new fields

$
0
0

Hi Guys,

recently experienced weird behavior in visual Studio on adding new fields into ssrs report data provider temp table.

    [SRSReportDataSetAttribute(tableStr(RetailLabelTmp))]
    public RetailLabelTmp getRetailLabelTmp()
    {
        select * from tmpTable;
        return tmpTable;
    }

I have added new fields in RetailLabelTmp table extension but can't manage to see them in SSRS report

It is existing report. Compilation, DB sync completed. DataSet in a report has been Restored. But no luck.

Any ideas would be much appreciated.

Thanks!

Dynamics AOS service down automatically

$
0
0

Dear Senior,

When ever I run customize JOB, AOS service down automatically and then I start the service than I run process its run successfully but I run 2nd time the service go down.

I did Incremental CIL and Full CIL and sync DB. But issue was same.

Query is not working on functional side

$
0
0

I have update a query of Generate Earning in Payroll Module. Actually I have add employ type drop down in query (PayrollStatementGenerationQuery) and it is showing dropdown in developer side when i run the query but when i tried to open form it is showing previous version. I've also run CIL and full CIL but it is still not working.

Here are screen shots of query in which I have created new data source of HcmEmployment table.

query

when i run query in developer side then it is showing dropdown of employ type

query

but when I tried to do it from functional side it is showing old version of query here are the screen shot below

query

query

query

Purchase Requisition in Ax2012

$
0
0

Hi 

Please advice me to solve this issue, We are getting this error when user want to create a requisition. error is 

''Not authorised to order products for the worker in the legal entity and operating'' 

This worker already hired for this legal entity but still same issue. Please find attached file for error screenshot 

Regards

Muhammad Rizwan

Viewing all 73760 articles
Browse latest View live


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