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

Bulk Settlement of Open Customer Transactions

$
0
0

I would like to settle a LOT of open customer transactions, that have reversals. 

In short, a batch of open transactions were imported on the incorrect date, and then a new batch was imported to reverse them (and then a new batch imported with the correct dates).

So i have an IN, an OUT, and an IN again.

I want to match up (possibly using an import of sorts) the initial IN and OUT transactions.

Is this possible? or do i have to do it manually?


Get TmpTaxWorkTrans From Ledger Journal

$
0
0

Hi. I'd like to get fields from TaxTmpWorkTrans through LedgerJournalTrans Table in LedgerJournalTransVendInvoice (AP -> Invoice Journal -> Lines) and LedgerJournalTransDaily (GL->General Journal -> Lines) Forms. 

But, how does TaxTmpWorkTrans table relates with LedgerJournalTrans table? 

I checked the codes on TaxTmpWorkTrans form but couldn't understand how it works.

Would appreciate it if someone can explain and give me a better idea on how this TaxTmpWorkTrans really works.

Thank You. 

How to let a datasource allow to create/delete , but not allow to update existing records?

$
0
0

Hi,

I have tried to set

DS.allowEdit(false);

DS.allowCreaet(true);

DS.allowDelete(true);

in datasource init() method on form. I cannot edit , but also cannot create a new line.

Any advice? thanks

Missing voucher numbers - Invoice register journal

$
0
0

Hi guys, 

I have created a number sequences called pt_Lfak_18 and this is setup as continous. I have attached this number sequence to the invoice register journal. I have now realized that they are some missing voucher numbers. The voucher numbers are not continous. Please see the attachments for further information. Do you maybe know what is wrong ? 

A view cannot be joined to another query and another view

$
0
0

Dear community,

I would like to add another column in a smmBusRelListPage that shows dimension costCenter. The column must be filtered and be sortable.

I used a view for this purpuse described here:

https://community.dynamics.com/ax/f/33/t/142686

My listpage has a query1 as data source, query1 has busRelTable as data source, busRelTable has the address table and my customized View1 as a data source. My View1 has a query abc_DimAttrValQuery as a datasource.

I have couple of questions about views:

- when I set my view as a second data source on the list page, and I expand its nodes, I don't see any dependent tables/views in its data source anymore. Is it correct ? When I open the "table browser" for the view, I see the fields that I explicitely mentioned, but no data there. However data exists in AX.

- I need to set my view (abc_DimAttrValueSetItView2) as outer join to the smmBusRelTable data source. The views support only inner join, thats why i packed my view into the query (abc_DimAttrValQuery). Where can I set the outer join property for the query?

- I rapped my view in a query. My query has a data source of smmBusRelTable, and the smmBusRelTable has another view (abc_DimAttrValueSetItView2) as a datasource. When I open the view with the table browser from my query, I dont see my range that I set on the field dimension attribute value; and I see the fields that I explicitely mentioned in my view plus from the first dependant data source, but not other fields from two dependent tables. I set the relations between tables as suggested in the AOT for the relevant tables. How can I join this view correctly?

Thank you

Surcharge applied on surcharge

$
0
0

Hi!

We have a situation where the customer is using standard cost inventory valuation for purchased items. The customer wants to add a 5% overhead to the purchase price, which will then yield the standard cost (at 105% of the purchase price). This overhead shall be placed in the costing sheet so that standard cost calculations will take the overhead into account when updating standard cost from the latest purchase price.

We have successfully set up the costing sheet to accomplish this. We receive a 5% overhead on the purchase price and the standard cost is calculated correctly. 

The problem we have is at the journal for Product receipt. The overhead is booked on the correct  GL account for absorption that we specified in the costing sheet. But the amount is wrong. The amount is 5% of the purchase price ,+ 5% of the 5% overhead.

So if the purchase price is 100 and the overhead is 5,   5,25 is booked on the overhead account in credit.    Then  0.25 is booked as debet on the price difference account.  The inventory account is calculated correctly, but the customer wants to follow up on this and have the correct amount booked in the absorptions account. 

Any ideas what the problem can be?

what effect this Parameter: Tracking Dimension Group/Primary Stocking

$
0
0

what effect this Parameter: Tracking Dimension Group/Primary Stocking

Financial Dimensions from master record are not updated, when order lines are uploaded via Excel Addin

$
0
0

Dear DAXperts,

I am using Excel addin for uploading Sales order lines and I could successfully upload them. However, the issue is, the financial dimensions attached on item is not populated when I check on SO lines (even after refresh/even after confirmation). Is this a known behaviour? Is there a fix/hotfix available for this?

Appreciate your help.

Regards,

Sree


Gets stuck with error

$
0
0

Hi All,

I have stores requisition with 40 lines. When i will submit for workflow getting following error

"Enumaration Stock does not exist". This is due to enumaration value not in switch case statement.

While is looping the 40 lines in between one empty this buffer will have some null data due to this buffer, one condition has been failed. so that error will came.

My question is how this empty buffer gets added in between the looping, anyone facing this issue.

Please assist.

Thanks.

Error throwing in Chain of Commands For Form Extension Classes.

$
0
0

Hi All,

There seems to be error raising when trying to use chain of Commands for methods in form Level DataSource.
Example table 1 is present in formdatasource with overrided method ExecuteQuery and I am trying to use chain of commands for executequery In my Extension Class.

Reference grid show SO number from another company

$
0
0

Hi,

I have an issue with the Reference Grip.

We have company 1 and company 2, it is some shared tables (e.i. Vendor Tables). Now in the latest days we have ran into a problem.

First we create an SO in Company 1, then we create a PO through the SO. Then the SO number shows in the Referance grin in the PO, BUT it also shows a second SO reference/lone, an reference that is in company 2 and this SO number have no relation in Company 1.

If I check in Company 2, and search for the same PO number that I have created in Company 1, I can see that this is related to the second SO number that shows up in the Company 1.

Any one that had this problem?

Error in Invoice Journal

$
0
0

Hi All

After i updated the ax 2012 to CU13 i found this error when i try to approve invoice journal 

also when i tried to finish packing slip it give me an Error that Number Sequence not specified

how can i fix these Errors?? 

regards.

What is the purpose of Attribute Modifier field on attribute screen in dynamics 365?

$
0
0

When i am creating a new attribute. The value "Catalog" is populated in the attribute modifier field. I don't know what is the purpose of this field and what's it impact on catalog?

Can anyone guide me on this?

Security Privileges for SalesLines preview Part

$
0
0

Dear All,

We have build new security role in Ax 2012 R3. 

Users in this Role can have access to view all sales order components. but the users are not able to see the sales line preview part - the part that is highlighted in the below picture.

What is the security privileges I should give it to the Role in order to see this part ? 

Please support. 

CLR Exceptions in Dynamics AX X++ code

$
0
0

Hello,
Your help Please.

I have a 3-layer application that I want to use in X ++ 2009, AxLocalizationPT (Presentation), AxLocalizationBT (Logical) and AxLocalizationDT (Data).

It throws the following error with the exception (Exception :: Internal):

System.Reflection.TargetInvocationException: Se produjo una excepción en el destino de la invocación. ---> System.IO.FileNotFoundException: No se puede cargar el archivo o ensamblado 'AxLocalizationBT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' ni una de sus dependencias. El sistema no puede encontrar el archivo especificado.
Nombre de archivo: 'AxLocalizationBT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
   en AxLocalizationPT.AddDataFormManager..ctor()

=== Información de estado anterior al enlace ===
LOG: Usuario = Certitech\Administrador
LOG: DisplayName = AxLocalizationBT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = file:///D:/Program Files (x86)/Microsoft Dynamics AX/50/Client/Bin/
LOG: PrivatePath inicial = NULL
Ensamblado de llamada : AxLocalizationPT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: Este enlace empieza en el contexto de carga default.
LOG: No se encontró ningún archivo de configuración de la aplicación.
LOG: Utilizando el archivo de configuración del equipo en C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: La directiva no se está aplicando a la referencia en este momento (enlace de ensamblado privado, personalizado, parcial o basado en la ubicación).
LOG: Ya se detectó el mismo enlace, que generó un error hr = 0x80070002.

   --- Fin del seguimiento de la pila de la excepción interna ---
   en System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   en System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   en System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   en System.Activator.CreateInstance(Type type, Boolean nonPublic)
   en System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   en System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   en ClrBridgeImpl.NewClrObject(ClrBridgeImpl* , Char* pszClassName, Char* assemblyName, Int32 argsLength, ObjectWrapper** arguments, Boolean* isException)

Here the method that compiles without errors:

public void dataSourceInfo(TableId _tableId, RecId _recId, DataAreaId _dataAreaId)
{
    CompanyInfo companyInfo;
    ExchRate exchRate;
    System.Decimal val;
    VendInvoiceJour vendInvoiceJour;
    str svrErp;
    AxLocalizationPT.AddDataFormManager addDataFormManager;
    CodeAccessPermission permission;
    System.Exception ex;
    ;
    svrErp = SysSQLSystemInfo::construct().getLoginServer();
    companyInfo = CompanyInfo::find();
    if ( _tableId == 491 )
    {
        select vendInvoiceJour where vendInvoiceJour.RecId == _recId && vendInvoiceJour.dataAreaId == _dataAreaId;
        exchRate = ExchRates::displayExchRate(vendInvoiceJour.ExchRate);
        val = new System.Decimal(exchRate);
    }

    new InteropPermission(InteropKind::CLRInterop).assert();
    try
    {
        addDataFormManager = new AxLocalizationPT.AddDataFormManager();
    }
    catch(Exception::CLRError)
    {
        ex = CLRInterop::getLastException();
        info(ex.ToString());
    }
    catch (Exception::CodeAccessSecurity)
    {
        info("Code Access Security Error");
    }
    catch (Exception::Internal)  // This exception handler was the Magic Sauce!!
    {
        ex = CLRInterop::getLastException();
        if (ex)
        {
            info(ex.ToString());
        }
        else
        {
            info("Internal Error");
        }
    }
    catch (Exception::Error)
    {
        info("None of it worked (generic Exception)");
    }
    addDataFormManager.initAddDataManager(_tableId, _recId, tableId2name(_tableId), _dataAreaId, val, svrErp);
}



Significance of 'Ledger updates' screen

$
0
0

When any project transaction is posted, we can see the accounting postings (Debit / Credit) by clicking on the 'View voucher' link. The information provided is sufficient to understand which ledger accounts in the GL are hit as a result of posting the transaction.

If we click on 'Ledger updates' screen, the same result is displayed. What is the significance of 'Ledger updates' screen then, why will someone click on that and to see what additional information which a user cannot get from 'View voucher'?

Also can the information displayed in 'View voucher' and 'Ledger updates' be different in any case?

Error Message after clicking "opening transaction" under Periodic - fiscal year close

$
0
0

Error Message after clicking "opening transaction"

"Cannot create a record in Dimension set (DimensionHierarchy). Dimension tree name: {6482C14C-DCD1-4205-B580-9FA3C1BCE327}.
The record already exists."

Join Two table InventTableModule and UnitOfMeasureConversion

$
0
0

I can not join those table I try the primary key recId and still no result can some one help me ?Thanks 

D365 Forms - Command button Delete

$
0
0

Hello,

I added command buttons in form, with command "New" and "Delete". The two buttons are displayed but only the "New" works...

An idea ?

Thanks

update AssessableValue_IN in salesline only one time on clicked mathod in ax 2009

$
0
0

Hello,

I have create on button suppose AssessableValue value update . in this button clicked mathod i wrote code that it will update AssessableValue_IN value with freight charge. now problem is when i clicked  then working, then suppose i clicked on that again it adds freight charge again.. and so on.

is this possible that when i clicked and value updated with freight charge, and when i again clicked it not update on that sales order and sales line.

Thanks,

Akshay

Viewing all 46681 articles
Browse latest View live


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