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

Edit a RealEdit field loaded with a display method

$
0
0

Hi all,

Is there a way to edit a RealEdit field in a grid that was loaded with a display method?

Thanks


Refresh factbox on create of line

$
0
0

I have added a formpart as a factbox in SalesTable for the lines. Its purpose is to show the product attributes for the item on that sales line where available.

With existing lines the factbox displays each line's item product attributes.

When I click on <Add Line> and a new line opens, the formpart still shows the product attributes of the previous line that had focus. I tried the suggestion in this link http://dev.goshoom.net/en/2015/11/refreshing-form-parts/, but it is not working in my scenario. I have added it to the modified-method of ITemID, I have tried it OnFocus and I have tried it on the create-method of SalesLine. The factbox changes only after the line was saved with and without the code in the link.

The datasource link between my formpart and the line is SalesLine. There is no InventTable and I don't want to add it to the form datasource just for my formpart. It will be linked to the salesline anyways and I assume on create there is no salesline, not one with a value in Recid.

I need the factbox to show no values ON CREATE of the line. So how do I clear the factbox? If I can't, then how do I at least collapse it because it is confusing to the user to see the product attributes of the previously focused line while entering the data on the new line.

Data upgrade from AX 2012 R3 to Dynamics 365 Operations

$
0
0

Hi guys, 

I am in a process of setting up a trial AX 2012 database upgrade for a client, however, finding the pre-ugprade checklist steps confusing. Has anyone completed this process, then please share some light how to kick start this process? Is the data upgrade process is still applicable by preview/invitation only? If so, what's is the process of getting this started? 

I am trying to follow this official MS blog, which says to download a KB to start with, however, it takes me to the my LCS page but links to no particular KB :

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/migration-upgrade/upgrade-overview-2012

Appreciate your help in advance. 

Workflow error regarding "company calendar" when submitted Project Budget

$
0
0

I am receiving the following error when submitting a Project Budget: "Stopped (error): The company calendar has not been created for all years in your selected allocation.  Create additional years in the calendar, and then allocate the funds". The project is setup with a start date of 01JUN2011 and an end date of 30DEC2017. The project scheduling is tied to a calendar with dates defined for 01JAN2000 through 31DEC2030.

Is there any advice on what disconnect there may be? If no direct advice, I would appreciate any recommendations on where I may set up breakpoints so that I may be able to catch the workflow in action and step through to where it runs into this validation problem.

Many thanks in advance!

D365FO - data upgrade script failed

$
0
0

Hi All,

While upgrading data in development box and running steps outlined on this link https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/migration-upgrade/upgrade-data-to-latest-update, when I reached to Remove encryption certification rotation step and executed the script it failed with following error. Even this file does exist in the directory.

I executed single command but it failed with error, how can I check from where it is trying to reading the file with variable $PSScriptRoot

Import-Module"$PSScriptRoot\RotationInfo\RotationInfoModule.dll"


Request change button is grayed out in AX 2012?

$
0
0

So im trying to correct a GRN via the Request change button, but it seems to be grayed out, assist is much appreciated please.

How are records in LedgerJournalVoucherChanged table created?

$
0
0

Hello Community,

Might you please tell me when records in LedgerJournalVoucherChanged  are created.

I created a vendor transaction, posted that transaction then created an invoice register and posted that register, after putting breakpoints in Insert and update of LedgerJournalVoucherChanged   table, but no luck, I also would like to know when fields "fromvoucher " and "To voucher" are updated with values from vendTrans and from generalJournalTrans, 

Kind regards,

Jihane

Input manually Item number - COMPANY-SPECIFIC IDENTIFICATION - D365

$
0
0

Hi all,

Does anyone know how to change the setup from automatically assign Item number - COMPANY-SPECIFIC IDENTIFICATION into input manually in D365?

Thank in advance,

Best regards,


What about Dynamics 365

$
0
0

Hi All,

Is there any material available to know about dynamics 365, In google so many links are available but this links are not satisfied to learn about the 365. Please anyone have clear material to start 365. I have working 1 year 4 months in AX 2012, but no idea in 365.

Anyone help.

Thanks. 

SalesPackingSlipJournalPost

$
0
0

Hi, I need to keep a record of posting the packing slip and I want to enter a record in an export table whenever a sales order packing slip is posted.

I have 2 problems:

(1) I can't seem to set a breakpoint in the SalesPackingSlipJournalPost class.  The compiler seems to be just ignoring my breakpoints.

(2) I'm not sure where to capture this data.  I don't want to capture it on the form because the packing slip could be posted elsewhere.

     I think the 'endpost' method looks like a good place but I can't test it by setting a break point.

Can anyone help?

Thanks in Advance

Brian

Prepayment invoice error: The purchase order or product receipt was corrected after the vendor invoice was created. All accounting distributions must be re-created to reflect any changes to the purchase order's or product receipt's accounting distr

$
0
0

This infolog occurs while i tried to do a PO invoice of a prepayment.

please advice.

sales price model field behavior based on Item Model Group

$
0
0

Hi all,

On the product released product details screen, when updating the Item Model Group field to a non-stocked model, the sales price model field (on  the 'Sell' tab> 'price update' group) become disabled.

I am not finding the method in the code controlling this behavior. Does anyone know where this particular businness logic is done in X++?

Thanks in advance

MS project integration performance is slow in AX 2012 r3 cu12

$
0
0

hi everyone below are the steps mentioned by my customer , i suggested all the possible options to improve the performance . (Kb3181556 also installed)  (all the available options to speed up the SQL have been tried)

1.we took SQL’s advice on adding indexes to tables 

500 line WBS takes about 8-11 minutes to open - there is not much performance It seems that it is the framework itself that is taking time to process such amount of data. It will be faster on proper hardware, but it is very difficult to tell by how much

3.we are looking at using WBS of 2000 lines and more - the time for opening grows linear; given number of lines, we are looking at around 20 minutes opening time

4.Usual WBS would be 100-150 lines, but still opening time of 5 minutes is not acceptable

5.when publishing data from MS Project to AX - project categories are lost and defaulted to the ones set in Project parameters
We enabled logging on AIFProjWBSService – looking at XML sent to Dynamics from Project Add-In, the ‘CategoryDefault’ and ‘CategoryDefault2’ fields are always blank – which causes logic to reach out to Project parameters and take the default setting from there, thus overriding whatever user has selected in Microsoft Project (the categories in MS Project appear OK in dropdown)

WF approval document preview field group

$
0
0

Hi All,

I have created WF approval and I need to set Document Preview Field Group to 'Grid', but there is no option like that, what have I done wrong, how can it be solved? Thanks.

What if the warehouse mobile devices don't work?

$
0
0

Hi all,

I wonder if using advanced warehouse management there is a workaround when mobile devices don't work or the access to the website does not work.

Can we work with sales order or purchase order from the warehouse perspective with the AX client?

Thanks in advance.

Regards.


Company Logo is not coming for Movement report

$
0
0

Hi All,

I have multi company in my environment. When i am printing report for Company "A" logo is printing . When same report running from company "B" it's showing blank.

I went through the form and code . Logo is setup for this company also code is taking Image as size 1.

Is there anything i am missing in Company "B" or any setup which i need to take care ? 

Unable to view report in the mobile format through D365 desktop application

$
0
0

Hi,

We have the requirement to view/print the 'Packing list' and 'Container contents' reports (standard reports) using mobile device and when we tried to view/print the report in the mobile format using the below link it displays a blank screen .

https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=usmf&mi=action:WHSWorkExecute

But in the desktop mode it is working as expected.

Is there any configuration required to run the standard SSRS reports in mobile format.

If it works in the mobile format in desktop, i hope i can do the same using mobile device using Mobile app.

Please guide me on this.

 

 

Purchase Order : Physical remaining quantity in the unit PCS must be other than zero.

$
0
0

Dear Expert,

I have receive following error while creating Purchase Order Receiving Receipt.

Purchase Order workflow error for budget

$
0
0

We have several PO's that are Stopped (error) in workflow, that state the error Purchase Order: XXXXX Budget has not been adjusted correctly. When we go to the Project Budget Balances and the original budget, approved budget are the same total. What needs to happen for the workflow to go through for these PO's?

Outer Join & Full Outer Join in Query

$
0
0

Hi. I'm building an X++ Query based on this SQL Server query:

select .........
from CUSTINVOICETRANS custinvoicetrans
full outer join CUSTINVOICEJOUR custinvoicejour
on custinvoicetrans.invoiceid = custinvoicejour.invoiceid
full outer join CUSTTABLE custtable
on custinvoicejour.invoiceaccount = custtable.accountnum
inner join SALESTABLE salestable
on custinvoicetrans.SALESID = salestable.SALESID
inner join SALESLINE salesline
on custinvoicetrans.SalesId = salesline.SalesId and custinvoicetrans.ItemId = salesline.ItemId
left outer join (select shipmentid, transrefid,containerno, dataareaid from PWAustraliaRetailChild where dataAreaId1 = 'GF' and status = '9') f
on custinvoicetrans.salesid = f.TRANSREFID
where
custinvoicetrans.itemid<>''
and custinvoicetrans.DATAAREAID='GF'

...by the way, PWAustraliaRetailChild is a View. My X++ Query is as follows:

QueryBuildRange rangeInvoice;

QueryBuildRange rangeStatus;

QueryBuildDataSource q1,q2,q3;

q1 = query.addDataSource(tableNum(CustInvoiceTrans));
rangeInvoice = q1.addRange(fieldNum(CustInvoiceTrans, ItemId));
rangeInvoice.value(queryNotValue(strFmt('%1' ,"")));
rangeInvoice.status(2); //range status = hidden

//CustInvoiceTrans -> CustInvoiceJour
q2 = q1.addDataSource(tableNum(CustInvoiceJour));
q2.addLink(fieldNum(CustInvoiceTrans, InvoiceId),fieldNum(CustInvoiceJour, InvoiceId));
q2.joinMode(JoinMode::OuterJoin); //outer


//CustInvoiceJour -> CustTable
q3 = q2.addDataSource(tableNum(CustTable));
q3.addLink(fieldNum(CustInvoiceJour, InvoiceAccount),fieldNum(CustTable, AccountNum));
q3.joinMode(JoinMode::OuterJoin);

//CustInvoiceTrans -> SalesTable
q2 = q1.addDataSource(tableNum(SalesTable));
q2.addLink(fieldNum(CustInvoiceTrans, SalesId),fieldNum(SalesTable, SalesId));
q2.joinMode(JoinMode::InnerJoin);

//CustInvoiceTrans -> SalesLine
q2 = q1.addDataSource(tableNum(SalesLine));
q2.addLink(fieldNum(CustInvoiceTrans, SalesId),fieldNum(SalesLine, SalesId));
q2.addLink(fieldNum(CustInvoiceTrans, ItemId),fieldNum(SalesLine, ItemId));
q2.joinMode(JoinMode::InnerJoin);

//CustInvoiceTrans -> PWAustraliaRetailChild
q2 = q1.addDataSource(tableNum(PWAustraliaRetailChild));
q2.addLink(fieldNum(CustInvoiceTrans, SalesId), fieldNum(PWAustraliaRetailChild, transRefId));
q2.joinMode(JoinMode::OuterJoin);

//PWAustraliaRetailChild.status @ wmsshipment.status == 9
rangeStatus = q2.addRange(fieldNum(PWAustraliaRetailChild, status));
rangeStatus.value(strFmt('%1' ,9));
rangeStatus.status(2); //hidden

My X++ Query didn't return the same result as the SQL Server one. Can you please help me point out where I did wrong? I checked multiple times and I'm pretty sure I have linked all join fields correctly. Is it because I didn't create full outer join? How exactly to create full outer join? Because as far as my understanding, full outer join is not supported in AX.

Thank You. 

Viewing all 72043 articles
Browse latest View live


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