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

Purchase Reauisitions from Project Forecasts

$
0
0

Dear DAXperts,

One of my customers use PSA module (AX 4.0) and there is a functionality to create purchase requisitions from forecasts. They are currently upgrading to D365 and expect similar (nice to have) feature. Is it possible?

All I know is from forecasts, we can create Item requirements and from there we can create Purchase Orders. Manually once can create a PR from project, but not sure how it can be generated via Forecasts in D365. Any insights/suggestions are much appreciated.

Regards,

Sree


RE: Method that updates the sales line in sales order?

$
0
0

Salesline can be updated by directly calling salesLine.Update(). As Crispin said most of the time salesLineType.Update method is called. Better you put your debugger in salesLine.Update() or salesLinetype.update() and see from where it is called.

In case of packing slip class called is SalesPackingSlipJournalPost . So put debugger updateJournalLine  method and debug

Method that updates the sales line in sales order?

$
0
0

Hello, I would like to know which class and method is the one updating the sales order line in sales order form. So far what I have gathered is SalesTableForm class (SalesLine_write). But I think this method is only used for creating new sales lines. Thanks in advance!

RE: form dataSource record is not updated on call

$
0
0

Because your code is incorrect. You have to add dynalink on your form datasource within the child formDS's init method. Store the element.args().record in a local variable, and link based on that buffer.

RE: Lot in AX 2012 R3

$
0
0

You would have to get the business use scenarios for those fields, then map it against the AX business scenarios, since the actual fields behind the 2 ERP systems could mean completely different things.

So start by giving us a business description of each field you would want to map, otherwise it will be a guess-work and you are risking of mapping something which holds completely different information than what they have intended to receive.

RE: Incorrect Exchange Rate when reversing foreign currency project invoice

$
0
0

Syed, I am not an accountant myself, but the accountants I work with are telling me the reversal (this is not a credit note, but a cancellation of the original invoice) of an invoice should be using the same exchange rate as the original invoice.

If you are correct, and IFRS calls for using the contemporary exchange rate, how come the invoice reversal functionality for AP invoices behaves differently?

Incorrect Exchange Rate when reversing foreign currency project invoice

$
0
0

We have an AX out of the box behavior that is causing us trouble.

If you create a project invoice in foreign currency (=not the accounting currency) on one month, and then you want to reverse that invoice in a following month, you get an issue with the reversal amounts as posted to the GL (and to the tax ledger)

[for example - USD invoice, in a EUR based company

Original invoice was USD 1,000 --> EUR 800

The reversal is USD -1,000 --> EUR -850]

AX uses for the reversal the exchange rate in the time of the reversal, and not the exchange rate of the original invoice.

As a result we are left with unequal amounts in accounting currency on the revenue account#

Worse off - when we need to report our total sales/purchases and VAT amount, they would show up as if we had a sales balance with the client (while in fact, we have sold 0 to them)

Anyone encountered this issue? How to address it?

Activate Retail Modern POS Error

$
0
0

Hi all

I'm trying to access the modern pos and gives me the following error:

<Provider Name="Microsoft Dynamics AX Retail : Retail Client Broker" /> 

CommerceRuntimeException was thrown.Microsoft.Dynamics.Commerce.Runtime.DataValidationException: Handler for request type Microsoft.Dynamics.Commerce.Runtime.Services.Messages.UserLogOffServiceRequest not found.

ValidationResults:

   at Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.GetUserService(RequestContext context, Request request, String authenticationProvider)

   at Microsoft.Dynamics.Commerce.Runtime.Workflow.AuthenticationHelper.LogOff(RequestContext context, UserLogOffRequest request)

   at Microsoft.Dynamics.Commerce.Runtime.Workflow.UserLogOffRequestHandler.Process(UserLogOffRequest request)

   at Microsoft.Dynamics.Commerce.Runtime.Workflow.WorkflowRequestHandler`2.Execute(Request request)

   at Microsoft.Dynamics.Commerce.Runtime.Workflow.Composition.PipelineRequestHandler.Execute(IRequestHandler handler, Request request)

 

 

 

Microsoft Dynamics Retail Modern POS

The Commerce Runtime Request with request id '3a8a9797-4430-ce23-c6ef-cbc00093ff8b' and request url 'crt://online/StoreOperationsManager/LogOn' failed.  Error: {"odata.error":{"code":"Microsoft.Dynamics.Commerce.Runtime.UserAuthenticationException","message":{"value":"{\"ErrorResourceId\":\"Microsoft_Dynamics_Commerce_Runtime_AuthenticationFailed\",\"Message\":\"An error occurred during logon.\",\"Data\":{},\"InnerException\":{\"Message\":\"Microsoft_Dynamics_Commerce_Runtime_HeadquarterResponseParsingError\",\"Data\":{}}}"}}}.

I have reviewed the forum and I do not get the solution.

My version of Dynamics AX is 2012 R3 CU12


RE: Synchronize databse not completing in initialize check list during Installtion of AX 2012 R3 CU10

$
0
0

I restarted AOS service, did axbuild, full CIL compile and  db sync. It worked. Thanks.

Synchronize databse not completing in initialize check list during Installtion of AX 2012 R3 CU10

$
0
0

Hi All,

Database Synchronize step is not completing in initialize check-list somehow and not allowing me to go ahead while installation of AX 2012 R3 CU10 (SlipStream).

It shows actual db synchronization got finished but in the initialize check-list it's not marking as completed hence cannot move ahead to the next step.

I followed below post but didn't help me.

https://community.dynamics.com/ax/f/33/p/182154/454407

Anyone faced this before?

Async Server Message Database for Retail AX 2012 R3

$
0
0

Good day. 

Hi Experts, 

Currently, I resided the Async Server Message Database where the AX databases are placed. 


Question: Microsoft provided me a server architecture/landscape proposal where the Real time and Async Server will be deployed in a separate server. In this case, do I need to install a separate SQL instance to handle the message database? If so, is it okay we use SQL Express to it? 


Thanks,


Raph

RE: Management Reporter Error Opening Column Definition

$
0
0

Dear Chaitanya Golla,

It cannot resolve it.

When i open Event Viewer, i see the error:

:Violation of PRIMARY KEY constraint 'PK__Dimensio__3214EC078AEB5558'. Cannot insert duplicate key in object 'Datamart.DimensionCombinationResolving'. The duplicate key value is (29542).

Violation of PRIMARY KEY constraint 'PK__Dimensio__3214EC078AEB5558'. Cannot insert duplicate key in object 'Datamart.DimensionCombinationResolving'. The duplicate key value is (27423).

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

Beginning transaction.

Committing transaction.

0 dimensions updated with organization id

2017-09-20 01:27:11.9395740

Can you help me?

Management Reporter Error Opening Column Definition

$
0
0

When I tried to open a column definition in MR I received an error:

Management Reporter: The operation could not be completed due to a problem in the data provider framework.

When I clicked OK on this error a second was displayed:

I clicked OK again and then received a third error as Management Reporter crashed and closed:

Management Reporter for Microsoft Dynamics ERP has stopped working

Anyone know this error?

Thank you so much!

RE: Keep all data in staging

$
0
0

Hi André,

I used Import Project.

My step is describe below

- Create new import project

- Type name, Source data format: Excel ,  entity : Customers, select the file, select the sheet.

Then check Staging Data:  there is no row

Click Import to start

Refresh the import and check result: data is already copy to target

Then view Staging Data: all rows were copied to Target

System automatically copied Data from Staging to Target without any Confirmation.

Keep all data in staging

$
0
0

When I tested in D365, system automatically post data directly to Target Table. Only when there is a error on rows, these rows are still in Staging Table.

I need to keep all data in Stage Table before confirming them to Target Table ( same function "Get Staging Data"  in AX 2012). Any suggestion for this case ?

Thank you so much.


RE: Inventory Dimension Serial Number must be speficied

$
0
0

Hi Weaveriski,

here's the screenshoot.

its already assigned to serial.

sorry, turn out that my user not use item arrival journal,

after the po confirmed, my user create product receipt directly at AP, Action pane receive.

receipt list, 

at the receipt list/product receipt line, my user update line and choose registration.

the SN already registered.

when I posting, show infolog like I post earlier in the past.

what it the real problem for this process.

really need your advice.

Thank you

Inventory Dimension Serial Number must be speficied

$
0
0

Dear All,

Could you help me, my user when doing product receipt, have infolog message like below.

what is the problem, anyone could help ?

I really need explanation about this case.

thank you

RE: InventBatchIdLookup Form Tabs

$
0
0

Hi Crispin, this is the init method. I've added the highlighted line. By "refresh/initialize links with InventBatch datasource", is that what you mean?

void init()
{
    super();

    this.initReturnMode();

    callerControl   = SysTableLookup::getCallerStringControl(element.args());

    element.updateDesign(InventDimFormDesignUpdate::Init);

    inventDimFormSetup.initInventDimQueryDatasource(inventDim_ds);
    inventDimFormSetup.initInventSumQueryDatasource(inventSum_ds);
    inventDimFormSetup.initInventSumQueryDatasource(inventBatch_ds); //Added by Hairul

    xSysLastValue::getLast(this);
    ctrlShowAvail.value(showAvail);

    if (inventDimFormSetup.hasCallerInventDimParm())
    {
        ctrlLinkDim.value(linkDim);
    }
    else
    {
        linkDim = false;
        ctrlLinkDim.visible(false);
    }

    inventAvailabilityFormCache = InventAvailabilityFormCache::construct();

    if (#PDSPotencyEnabled)
    {
        if (inventDimFormSetup.hasCallerItemId())
        {
            pdsItemId = inventDimFormSetup.callerItemId();
            baseAttribute = InventTable::find(pdsItemId).pdsBaseAttributeId;
        }

        if (element.args().dataset() == tableNum(ProdBOM))
        {
            callerProdBOM = element.args().record();
            pdsNormalizedQty.visible(true);
        }
    }
}

I found the linkactive on InventDim ExecuteQuery() method:

void executeQuery()
{
    WMSPalletId wmsPalletId;

    if (inventDimFormSetup.hasCallerItemId())
    {
        inventAvailabilityFormCache.refreshCache();

        inventDimFormSetup.executeInventDimQueryDatasource(this,
                                                           linkDim,
                                                           showAvail
                                                          );

        wmsPalletId = inventDimFormSetup.callerWMSPalletId();

        if (wmsPalletId)
        {
            this.query().dataSourceTable(tableNum(InventDim)).addRange(fieldNum(InventDim,wmsPalletId)).value(queryValue(wmsPalletId));
        }

        element.updateDesign(InventDimFormDesignUpdate::LinkActive);

        super();
    }
}

But I don't understand how to "open the OnHand tab after every link is activated". Please explain more. Thank You.

InventBatchIdLookup Form Tabs

$
0
0

Hi. I'm working with InventBatchIdLookup form which three different tabs containing different grids and different datasources. 

My focus here is only on the first two tabs, Batch number tab & On-hand tab.

Batch numbers tab datasource is from InventBatch table.

On-hand tab datasource is from InventDim table.

I added two fields from InventBatch table inside On-hand tab grid.

My problem is, these Best Before Date & Manufacturing Date is only displayed when I open the On-hand tab from Batch numbers tab. 

If I open the On-hand tab directly as shown in the picture, the fields will be blank. Only when I switch to Batch numbers tab then switch to On-hand tab again will the values be displayed.

Honestly I don't know where to start. I figured this could be refresh issue and this tabChanged() method is where it's is happening but I don't know what to change or override.

public void tabChanged(int _fromTab, int _toTab)
{
    super(_fromTab, _toTab);

    mustSaveLast = true;

    element.setSelectMode();

    if (_toTab == #tabPageReference)
    {
        element.selectMode(inventDimTrans_inventBatchId);
        inventDimTrans_inventBatchId.setFocus();

        inventTrans_ds.executeQuery();
    }
    else
    {
        if (filterLookup)
        {
            selectedFormDataSource.research();
        }

        SysTableLookup::lookupTabChanged(callerControl,
                                         selectedControl,
                                         selectedFormDataSource);
    }
}

void setSelectMode()
{
    void setSelectedControlAndDataSource(FormStringControl  _selectedControl,
                                         FormDataSource     _selectedFormDataSource)
    {
        selectedControl         = _selectedControl;
        selectedFormDataSource  = _selectedFormDataSource;
    }

    if (inventDimFormSetup.hasCallerItemId())
    {
        switch (tab.tab())
        {
            case 2  :
                this.selectMode(inventDim_inventBatchId);
                inventDim_inventBatchId.setFocus();
                setSelectedControlAndDataSource(inventDim_inventBatchId, inventDim_ds);
                break;
            case 3  :
                this.selectMode(inventDimTrans_inventBatchId);
                inventDimTrans_inventBatchId.setFocus();
                setSelectedControlAndDataSource(inventDimTrans_inventBatchId, inventDimTrans_ds);
                break;
            case 1  :
            default :
                this.selectMode(ctrlInventBatch_inventBatchId);
                ctrlInventBatch_inventBatchId.setFocus();
                setSelectedControlAndDataSource(ctrlInventBatch_inventBatchId, inventBatch_ds);
        }
    }
    else
    {
        this.selectMode(ctrlInventBatch_inventBatchId);
        setSelectedControlAndDataSource(ctrlInventBatch_inventBatchId, inventBatch_ds);
    }
}


Can you help explain what's actually going on with these tabs? Thank You very much.

RE: Setup - Store zone - default receipt/issue locations.

$
0
0

Hi Lakshmi

Did you find any reply on this?

Regards

Rejul R

Viewing all 175888 articles
Browse latest View live


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