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

How Can I Freeze columns in Table Control in D365

$
0
0

I have a table control in which i want to freeze Item column (while scrolling from left to right Item Id column remain freeze)


issue with dll files

$
0
0

Greeting everyone

i have did some customization on SDK of Retail 

and sometimes DLL of that customization not working then i did restart the pc to fix that

then after around 3 days the problem is back again looks like not apply new dll customization 

this problem happenedsometimes only for dll file of(Extensions & Triggers)

and looks like not apply so i must do restart to make it apply again

why that's happened ?

Adding 4 fields for last PO in near Preview Pane

$
0
0

Hi Experts,

Is it possible to add 4 fields(Item name, price, unit and net amout) near to(right of) preview pane and under fact box as shown in image above.

Best Regards,

Shabir Ahmad

Not allow submit to workflow based on a condition

$
0
0

In trvexpenses form there is a standard workflow.

If the amount in the trvexptrans table is more than 1000( just an example) I don't want the the user to be able to submit the record to the workflow.

How do I do this?

Do I extend the workflow event handler? If so then how?

Thank you 

The folder \IP address(shared folderxxxx\xxxx(Folder Name) specified for the document type does not exist

$
0
0

Hi Experts,

I am getting error while try to open attached file(or want to show the attached file).

Best Regards,

Shabir Ahmad

Get the complete XML as string from SOAP request or response

$
0
0

Hi,

Warm Greetings.

In the integration of SOAP with AX, I'm sending data to a service.function and getting response.

In that, response there could be large list of error Acknowledgement code.

I have to save those request XML and response XML in a table, please advise to get me the respective XML / JSON from the service or function.

Thanks,

MR reporter question

$
0
0

In several of my reports that should return a $0 value, MR shows the term "[Red]-" when I convert to Excel.  Is there any way to fix this?

SSRS Report Tmp table

$
0
0

I am working on customizing Purchase Req report customizations. As part of requirement i need to add list of approvers to PR report and hence i have to add another Tmp table to report objects.

The main Tmp table( insertIntoTempTable) which is being used by report is updated by an Private method.

I would like to extend DP class (PurchReqDP)'s  insertIntoTempTable() method to add logic but since this method is private i can not use COC. So i ended up COC on insertIntoTempTable's Insert method.  as following code

[ExtensionOf(tableStr(PurchReqTmp))]

final class PurchReqTmpOI_Extension
{
    public void insert()
    {
        str userName;
        OIPurchReqApproversTmp oiPurchReqApproversTmp;
        next insert();
        
        PurchReqTmpOI_Extension::oiPopulateApprovalOwner(PurchReqTable::findPurchReqId(this.PurchReqId));
        
    }

    private static void oiPopulateApprovalOwner(PurchReqTable _purchReqTable)
    {
        WorkflowWorkItemTable   workflowWorkItemTable;
        WorkflowElementTable    workflowElementTable;
        OIPurchReqApproversTmp  oiPurchReqApproversTmp;
        

        while select  ElementId,UserId,Status from workflowWorkItemTable
                    where   workflowWorkItemTable.RefTableId    == _purchReqTable.TableId &&
                            workflowWorkItemTable.RefRecId      == _purchReqTable.RecId &&
                            (workflowWorkItemTable.Status       == WorkflowWorkItemStatus::Pending
                                || workflowWorkItemTable.Status == WorkflowWorkItemStatus::Delegated
                                || workflowWorkItemTable.Status == WorkflowWorkItemStatus::Completed) &&
                            workflowWorkItemTable.IsClaimed     == true
                join ElementId, ElementType from workflowElementTable
                    where   workflowElementTable.ElementId      == workflowWorkItemTable.ElementId &&
                            workflowElementTable.ElementType    == WorkflowElementType::Approval
        {   

            ttsbegin;
            oiPurchReqApproversTmp.PurchReqId                   = _purchReqTable.PurchReqId;
            oiPurchReqApproversTmp.OIPROwnerApprovalStatus      = enum2Str(workflowWorkItemTable.Status);
            oiPurchReqApproversTmp.OIApprovalOwner              = workflowWorkItemTable.userName();
            oiPurchReqApproversTmp.OIApprovalDate               = DateTimeUtil::date(workflowWorkItemTable.DueDateTime);
            oiPurchReqApproversTmp.insert();
            ttscommit;

        }

    }

The Extension of PurchReqDP looks like as follow

[ExtensionOf(classStr(PurchReqDP))]
final public class PurchReqDPOI_Extension
{
    private oiPurchReqApproversTmp oiPurchReqApproversTmp;

    

    [SRSReportDataSetAttribute(tablestr(OIPurchReqApproversTmp))]
    public OIPurchReqApproversTmp getPurchReqApproversTmp()
    {
        select * from oiPurchReqApproversTmp;
        return oiPurchReqApproversTmp;
    }

Now issue is, I do see newly added oiPurchReqApproversTmp table get populated but when it comes to getPurchReqApproversTmp() to fetch data to show on report it does not have anything in it. 

Please note DP class uses SRSReportDataProviderBase as base class.

Any help is really appreciated.

Thank you.


Issue with Invoicing schedule in Contract Obligation - AX 2012 R2

$
0
0

Dear AX Experts,

My client needs all contract Obligations with End date as 2020-12-31 to be extended till 2021-12-31. I have handled that through a X++ Job and contracts extended correct. Whereas I am observing that Invoicing schedule not created for 2021.

Kindly can some one suggest if there is a way to refresh invoice schedule to populate in accordance to the extended end date

Collection process not available in collection-case

$
0
0

Dear all, 

I am in the midst of researching the usage of case-mgt for collections. It is very interesting and Ax2012 offers quite an extensive set of functions. So far i have been able to use the most common functions of collections and now i want to make usage of case-managment to follow-up on collection-cases accross the company. 

So far i have defined a case-category  with category-type "collections". Next i have created a very simple case process and linked it to the case-category. 

Afterwards i have created a case out of the collections detail page for a customer for a certain transaction. The case is created but the collection process is not available although specified in the setup.

When i look into the case (via \home\common\cases\all cases) and open the case, the field "case process"' is left empty. i would expect it to be prefilled with my associated case process. When i select my case-process Ax2012 throws an error:

i do not know how this is linked to the "opportunities". Anybody got an idea where i can start to look?

kind regards, 

Jo

Invoice Date-Automatically Update

$
0
0

Hi

I'm hoping someone can help me.

Currently when posting invoices I am having to manually insert the correct date in each of the Invoice Date Fields. Is there a quicker way of updating the invoice date fields, perhaps when I insert the first date the rest of the fields will automatically update?

Client later version than AOS

$
0
0

Hi everyone

If you update Ax 2012 CU9 to CU 13, you'll need to update the clients that connect to it as well. If you don't, (ie. If you use an outdated client) you'll run into problems.

Can you however, update the client (to CU13) and still connect to a CU9 AOS? (ie. run a NEWER client with an older AOS). There are situations where this might be needed.

Is it possible?

Thanks

Wrong key in the bank statement date after reconcile bank reconciliation

$
0
0

Hi all,

anyone can help me to solve this?

I realize I put wrong bank statement date after I reconcile the bank reconciliation, any suggestion or solution to edit the bank statemen date after i reconcile?

System: Microsoft Dynamics AX

Thank you in Advance.

Vendor Account Statement no data available.

$
0
0

Navigation- Accounts Payable>Inquiries & Reports>Vendor Reports>Account Statement

In this report standard filters are not working, like if we extract Vendor Account account of any individual vendor putting filter of either any business unit or product division or both , report doesnt provide any data. It says no data available.

However in the vendor transaction we can see all the transaction for the given vendor and business unit.

How to store Enum label instead of Enum value in D365 finance and operation

$
0
0


I want to store enum label rather than enum value in my DB side. for example i have one base enum "Status" value of this enum is (0  for Open , 1 for Closed ). in DB i want to store open and closed instead of 0 or 1. i found one code for the same. if this is the correct way to implement , in which method i should write this code. Please advice if there is any other way to achieve it

SysDictEnum dictEnum = new SysDictEnum( enumnum(InventTransType) );

dictEnum.value2Label(InventTrans.TransType);


How to create & replicate data across multiple LE's.

$
0
0

Hi experts,

I have  a requirement of creating new workflow & add new project group in 300 plus legal entities.

I have created the workflow, exported its xml myworkflowxml & also created the project group in 1 entity. Current plan is to login to each & every entity , import the workflow xml & create the project group.

Is there any better way using which i could avoid this gignatic manual effort using which i could import the workflow xml across all entities & have the same project grroup configured across all entities.

Thanks

Mav

Synchronising database : Cannot create a record in Address format lines

$
0
0

Hi,

when synchronising database, we have received this error :

- Cannot create a record in Address format lines (LogisticsAddressFormatLines). Address format: 0003, State or province.
I have searched for duplicated format, like it said in this post, https://community.dynamics.com/ax/b/k3retailtechnicalblog/posts/ax-2012-r2-cannot-create-a-record-in-address-format-lines-when-synchronising-database, i have found one i modified it and then updated the address but in vain.
Can you help me to resolve it?
Thank you

Add field in standard report

$
0
0

Navigation Transaction ID

 Accounts Receivable>Invoice journal> Click on invoice>Tax document>Transaction ID

Navigation GSTR report 

Tax>Tax Reports>GER export to GSTR csv

Transaction ID is to be mapped in GSTR 1/2 Report.

How to do I extend a standard report only to add an extra column and also add the logic in the RDP class?

Create new customize gantt chart ax2012

$
0
0

Hi, 

I want to create new gantt chart in AX2012 that can have customization  in future.

It is possible to create gantt chart in ax2012, or should i use some other tools to create a gantt chart

Thanks

Dual Write is not working

$
0
0

Hi Everyone, Am trying to link environment in Dual Write but am getting the error. Below is the screenshot attached. Please check and help me on this. 

Am using D365Fo(Current Version)

Viewing all 72043 articles
Browse latest View live


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