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

RE: D365 For Operations Import EDI Sales Orders using extensions to Data Entities

$
0
0

Hi Mark,

There is new technology used where data entities can now be the source of a message. It is also possible to write a custom service class in D365.

It is possible to extend out of the box entities with computed columns to meet your requirement. Have a look at the documentation: docs.microsoft.com/.../data-entity-computed-columns-virtual-fields

I don't agree with you that Microsoft missed anything here as they are providing a framework which can be extended to have additional entities, columns for your EDI messages.


RE: Cannot create a record in Sales summary update (SalesJournalAutoSummary). Form: Quotation, Customer. The record already exists.

$
0
0

Check NewCustomerExt method if it passed an empty customer buffer while trying to create/update a record in this table. I would just add Insert and Update method to table and place breakpoints there. 

Cannot create a record in Sales summary update (SalesJournalAutoSummary). Form: Quotation, Customer. The record already exists.

$
0
0

I am facing below error in MPOS application while creating new customer. I have verified RTS its working fine. 

There is no record available with same name in AX and still I am getting this error.

I have also tried to create customer with different names but still facing same issue.

Anybody have any idea how to resolve this?

RE: Privilege for Delegation of work items in a workflow in AX 2012 R2

$
0
0

Hi Naga,

Can you explain how and where you want to have the delegation? A user with at least the System user role and another role with permissions on a workflow type, can setup a delegate for him. Also when a task is assigned to him, he can delegate the approval to another person, if allowed in the workflow configuration.

If you are referring to the workflow history form (re-assignment), then something needs to be done. I need to check then at a customer how we did achieve this. We had introduced a workflow key-user role where some persons from a department could re-assign the outstanding tasks.

Please let me know what you are exactly looking for.

RE: Create a free text invoice

$
0
0

Hi Srinivas,

In addition to the answer from Sukrut, you can also use the free text invoice for selling fixed assets and also a manual fee on projects.

RE: Define AX field parameters in AX

$
0
0

Hi D_Meethu,

Please clarify what application you are trying to open with this URL. What parameters are supported in this app with what names? Where exactly do you want to have this button available (what form)?

Define AX field parameters in AX

$
0
0

Hi all,

I am trying to create a button with the Hyperlink functionality and using the below code clicked() on the button:

void clicked()
{
    SalesTable salesTable;
    System.Diagnostics.Process pr = new System.Diagnostics.Process();
    System.Diagnostics.ProcessStartInfo si = new System.Diagnostics.ProcessStartInfo('https://(URL actual link).rdl&rp:Warehouse=1D&rp:InclSO=SO0808090');

    pr.set_StartInfo(si);
    pr.Start();
}


Here,
after the&rp parameters should be mapped as Warehouse = SalesTable.InventLocationId, InclSO = salesTable.SalesID - and values should be picked from the selected line on the grid when running the report. Where and how can I declare the AX field parameters so that the URL opens with correct selected parameter?


RE: Integration between Dynamics AX 2012 and Sales force automation

$
0
0

Thanks Mr.Andre

But we need some advice details of this topic


Integration between Dynamics AX 2012 and Sales force automation

$
0
0

Dear pro

We have Sales force automation purchased it in Microsoft partner to be integrated with AX but this integrates by database level by stored procedure.

When you review integration documentation file sent by this partner, find the following :-

Update Dynamics AX 2012 data from (Application Name) using stored procedures.

- An example of those business rules as we will see in the order header and order details, the primary key of the order header table [SALESTable] is ([DATAAREAID],[SALESID]) while the primary key of the detail table [SalesLine] is ([DATAAREAID],[INVENTTRANSID]) , the InventTransID is something generated by AX and SB would never have a clue how it is generated.

- In the (Application Name) documentation I found the examples for stored procedures “LoadOutstandingInvoices” SP and I checked the (Application Name) database stored procedures and I found it matches the previous meaning of the stored procedure

- Our hope is that business connector would manage those extra fields and generate their values automatically.

That is mean the below integration process will not use the Dynamics Validations or data Structure and by the way that will cause a total disaster on the solution by short and long run. 

The Microsoft Recommendation is very clear for any Integration process used Application Integration Framework. 

kindly quickly support and advise with regard to this integration.

RE: AX 2012 R3 Slow Performance

$
0
0

Hi abergsbaken,

You have to start measuring if hardware resources could be a bottleneck. What type of storage do you have for the AX databases and the tempDB? What is the power plan of the servers? If it is set to power save, there will be a real issue.

Can you also tell what exactly is slow in this environment and when? Is it opening forms, some batch processes, reports? Please elaborate. Do you have customizations?

AX 2012 R3 Slow Performance

$
0
0

I was hoping that some of the AX experts that frequent this forum could possibly shed some light on performance issues we are having in DAX environment. So a little bit about our environment, we recently upgrade to AX 2012 R3 CU10 from AX4.0 SP2

Database Server: SQL Server 2014 Standard Edition, 16 vCPU and 128 GB RAM. Storage is connected via 16GB fiber channel, Logs, Data and TempDB separated. 

AOS Servers: (6) AOS Servers 4 vCPU and 12GB RAM

Batch Servers: (2) Batch Servers 4 vCPU and 12GB RAM

We have set trace flags, do proper backups and index maintenance and have followed numerous blogs and forum posts for best practices but we still see slow performance.  

I am sure I am missing some of the details so please ask, 

Hoping someone can shed some light on an area I may have missed or things that have worked for them.

RE: Define AX field parameters in AX

$
0
0

You can define field in  any parameters for e.g. salesParameters like below I shown

'https://(URL actual link).rdl&rp:Warehouse=%1&rp:InclSO=%2'

and at runtime create URL .

URL = strFmt(URLFromParamterstable,YourwarehouseIDFromLine ,yoursalesIdFromLine));

RE: Posted Receipt List but failed Product Receipt- AX 2012

$
0
0

Sorry to bump a 3 year old thread, but there is no other documentation online that exists about this issue.

Was anyone able to solve the issue Arun and david describe? I made sure all accounts for the item group are assigned. I made sure the checkboxes for posting physical are checked.

But I try to post a product receipt and I get no error and no confirmation. Screen refreshes and nothing has happened and order is still in "open order"

Posted Receipt List but failed Product Receipt- AX 2012

$
0
0

Hi;

I am stuck at the PO receipt list and can't get any further.

Running A X2012, raised a PO for an item with the following item model group settings:

Stocked, physical and financial negative inventory, post both physical and financial inventory, receiving requirements all checked.

No serial or batch tracking, blank receipts allowed down to a location.

PO raised, confirmed, and then a receipt list was generated. It did what it said on the tin: registered the quantity as physical available, PO status not changed, no posting to GL

I tried to post product receipt to no avail using the following combinations:

registered quantity: fail

ordered quantity: fail

removed registration: fail

reverse receipt the same quantity in negative (another entry in receipt list journal): fail

register again, retry: fail

invoice the PO (to skip product receipt and get down to the business): fail - require 3-point matching

Cancel the PO: fail - cancels only the quantity not egistered yet (zero)

Can anyone guide me into what I might be doing wrong, or how to proceed from there?!

ps: failed = hitting the OK button on product receipt does not generate transactions or journal entries or change the PO line status.

RE: Link to insert into database from excel File

$
0
0

I want to insert into table where the data from excel ....

I can't use excel add-ins because I want to make match condition with the old data that insert before...

can you tell me with the code?

because I want to make condition where the data same, the data can't in.

Thanks a lot.


Link to insert into database from excel File

$
0
0

Please show me the link to get the code for me to insert data into ax table but from excel file 

Thanks a lot.

RE: Modified SSRS report not showing the newest version of the report.

$
0
0

In your case, you need to clear Cache for Visula studio.

1. Close Visual Studio (ensure devenv.exe is not present in the Task Manager)
2. Delete the %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\15.0\ComponentModelCache directory
3. Restart Visual Studio.

Modified SSRS report not showing the newest version of the report.

$
0
0

Hi All,

I modified an AX 2012 SSRS report in visual studio and managed to deploy it and view my changes in AX.

However, I wanted to further modify the report so I opened it up in VS again and made my changes. I then built the report, added it to the AoT, and then deployed the report.

After I did my second rounds of modifications, I went to check my report again in AX and it is still showing the same formatting as before. None of my changes were picked up though and AX is still showing the report as after I had modified it the first time.

I tried refreshing the SSRS service and clearing element cache in the Dev. Workspace, but neither of those worked.

Does anyone have any idea what I can try next to get this to work?

Also, I am running on SQL server 2012 if that matters.

Thanks,

Phil

RE: Privilege for Delegation of work items in a workflow in AX 2012 R2

$
0
0

Hello Naga,

As Andre has stated all users with the default system users role will have access to delegate there own workflow to someone else. If you want to give a non system administrator user, access to delegate workflow for all users through the System administration module, I would have to suggest against this idea. This is a function only the System administrator should be performing. The privileges tied to that function give users to much access over the sysusersetup.

If you would like to achieve this through workflow history, to reassign work items pending approval, then you will need to add the privileges below.

Privilege:

WorkflowManageWorkflowInstances

WorkflowViewWorkflowHistory

RE: Init Method Extension in Dynamics 365 ax7

$
0
0

Hi Padma

I'm not sure which platform you're on but if you're on the 7.1 then what I see is wrong.

If you creating an extension of a class/table/form then you need to use ExtensionOf attribute and make it final instead of static so you are not confined to creating static methods only. And if you are creating a extension then your class name has to end with "Extension" rather than "Extension1" regardless of the platform you are on.

Please refer to this on how to create an extension class: docs.microsoft.com/.../class-extensions

From the screenshots that you have put up, I can see that you're creating a post handler of the form init method. Why not use the OnIntialized event? Nonetheless, your post-handler looks wrong as well. Your method is static, you won't be able to call it using a dot operator anyway.

So a few pointer:

1. If you're on 7.1 or above, this is how your extension class should look like:

[ExtensionOf(tableStr(LedgerJournalTable))]
public final class LedgerJournalTable_Extension

2. Change your method from static to non-static and you don't need send in the record

public real getCreditbalance()
{
    LedgerJournalTable ledgerJour;

    select * from ledgerJour
       where ledgerJour.JournalNum == this.JournalNum;

    return ledgerJour.JournalTotalCredit;
}



3. Post-handler:

 [PostHandlerFor(formStr(LedgerJournalTable), formMethodStr(LedgerJournalTable, init))]
    public static void LedgerJournalTable_Post_init(XppPrePostArgs args)
    {
        //args.getThis() will return you an instance of the formRun
        FormRun formRun = args.getThis();
        //From this you need get your LedgerJournalTable cursor
        LedgerJournalTable ledgerJournalTable = formRun.dataSource(formdatasourcestr(LedgerJournalTable, LedgerJournalTable)).cursor() as LedgerJournalTable;
        //call your method
        real creditBalance = ledgerJournalTable.getCreditbalance();
    }

Try this out

Let me know how it goes.

Viewing all 175888 articles
Browse latest View live


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