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

MorphX VCS AX 2009 Error when creating new class

$
0
0

I have an AX 2009 where i have enabled MorphX VCS, and now when i try to create a new class i get this error.

Unable to rename Class NewClass. The application object is checked out. Select Undo checkout to discard your changes or change the name back.

The class does not already exist, and it does not matter what name i try to give it i get the same error.

Kernel 5.0.1500.6491
Appl 5.0.1500.6491


Reg:Dynamics 365 Retail for operations

$
0
0

Hi All,

i am learning Dynamics 365 Retail , i want to practice and get some hands on it , my question is 

1) do we have any free/trial instances available from microsoft with retail setup 

please let me know , if you have any info on it.

Regards,

Naresh

TFS 2013 to TFS 2013 synchronization

$
0
0

we're seeking to paintings on a technique to synchronize two TFS 2013 servers.

we've TFS 2013 servers, one inside the development environment (let's consider TFS 2013 development) and the opposite inside the manufacturing environment (TFS 2013 production).

We need that allows you to:

Synchronize portions of code from TFS 2013 improvement to TFS 2013 production on an as wished foundation.
Synchronize the TFS duties and work objects between TFS 2013 development and TFS 2013 manufacturing. This need to show up on a right away basis and should be bi-directional. this is, while any changes are made to the paintings items/responsibilities in either TFS 2013 improvement or TFS 2013 production it ought to at once be reflected on the alternative TFS server respectively.
we have began looking into the above and tried the usage of the TFS integration platform for synchronizing code between the TFS 2013 development and TFS 2013 manufacturing servers.

subsequently we basically have 3 questions

Is TFS 2013 to TFS 2013 code/work item synchronization supported through the TFS integration platform tool?
How can we cross about doing the Synchronization for the code repositories and work gadgets as described above for TFS 2013 to TFS 2013?
Is synchronization a new direct characteristic of TFS 2013, and may this be performed without any third party tools?

Error in URL property error in AX 2012

$
0
0

I created new URL through AOT->Web -> Web menu item-> URLs after that i clicked URL property i'm getting the error 

Error in URL property error, 

The only solution I have found is to install Software Update for Web Folders (KB907306), which doesn't exist anymore.

can any one give solution ASAP.

Thanks in advance

Baskaran E

Dynamics 365 Retail Modern POS installation

$
0
0

While installing the Retail Modern POS (dynamics 365) i am getting below error at step 5, is anyone help me out from this error.

"Creating device token failed

DA1011: A server side database related error occurred. please check the server log for detailed info or contact your IT support "

 

The duplicate name 'XXXXXXX' was detected. The duplication is either in the base element that extension applies to or in other sibling extensions

$
0
0

I try to create extension for HcmPosition form . A new datasource is added to the form extension then some of its fields are dragged & dropped to form design .


When I build the project I face the error "The duplicate name 'XXXXXXX' was detected. The duplication is either in the base element that extension applies to or in other sibling extensions" for field control dragged from the new data source. I am very sure that the control names are never used .

What may cause such error and how it can be resolved ?

Sales Invoice Date not the Original Transaction Date after posting Retail Store Statement

$
0
0

Friends,

I posted a Retail Store Statement on June 20, 2017 for the Store Transactions dated May 25, 2017. After successful posting of the statement, I examined the posted vouchers i.e. Customer Invoice Voucher and Payment Voucher.

There I found two different dates for the two types of vouchers:

  1. Customer Invoice Voucher with Today's Date that is the statement posting date
  2. Customer Payment Voucher with actual transaction date (when POS transaction was entered)

I'm curious to know why is this so and how can the Customer Invoice also be posted on its actual transaction date?

Thanks for your support.

Create Report Parameter from Base Enum and Default Data Today

$
0
0

Dear Experts,

I create a report using Data Contract and Report Data Provider.

1) I set Base Enum to be parameter on that report

But when I deploy to AX, only show StringEdit

I want this parameter to be dropdown with Base Enum's Value

2) I want to set default value on date parameter with today, like this image

and show this warning

Warning	1	The Report Definition Language (RDL) expressions used in parameter Reconcile_DateFrom cannot be evaluated during preview: =Today().  Deploy the report to the report server to see the values of the parameters.	VDI_DetailBank2Internal.AutoDetailMatchUnmatch [Preview]	0	0

How to do task 1 and 2?

Please give me an answer and reference

Thanks in advance

Best Regards,

Bintang 


How to reverse ledger closing sheet vouchers ax 2012

$
0
0

Hi,

I made the ledger closing in Ledger Closing Sheet form in AX 2012. Then I post it. But I realized that the process was faulty.

Now, I want to undo the action. But I did not know how to do that.

I would like your help.

Thank you very much for your help already.

Sales Quotation in Retail POS

$
0
0

Hi Experts,

Can anybody help me out that how to create the sales quotation from the retail POS then it will also create the quotation into the AX 2012.

Cannot create a record in Earnings statements (PayrollEarningStatement). The record already exists.

$
0
0

Hi,

i am calling earningstatment method of AX using .net business connector. while creating header it gives the below exception. when filtering this number its not found in DB and on frontend.


"Cannot create a record in Earnings statements (PayrollEarningStatement). Earnings statement number: ES-000088, GUMARO CASTILLO.
The record already exists."

Thanks,

 

 

posting date on payment proposal

$
0
0

Hi all,

In vendor payment proposal, I set the from date is 6/1 and to date is 6/31, I hope the posting date is 6/15, but if I set the minimum date is 6/15, the payments after 6/15 will not be consolidated. On payment method I already select 'total'. So how to resolve it except  change the posting date on journal lines one by one?

Thank you!

data retrieve from regular table but does not from same table when type is TempDB

$
0
0

I have temp table that has  netsales to each customer in specified city in specified year. i want to compare

netsales of  last two year by select data from temp table and update in deviation field "up" or "down" 

this code insert and get data from deviation field when temp table is regular but does not when is tempDB

while select ID from allsalesanalysisTMPOutter group by allsalesanalysisTMPOutter.ID
{
maxnetsales=0;
yearofnetsales=0;
while select allsalesanalysisTMPInner group by allsalesanalysisTMPInner.SalesmanName,allsalesanalysisTMPInner.ID,allsalesanalysisTMPInner.YearofDate,allsalesanalysisTMPInner.NetSales where ( allsalesanalysisTMPInner.YearofDate==(year(today())-1) || allsalesanalysisTMPInner.YearofDate==year(today()) ) && allsalesanalysisTMPInner.ID == allsalesanalysisTMPOutter.ID
{

if(allsalesanalysisTMPInner.NetSales >= maxnetsales )
{
maxnetsales=allsalesanalysisTMPInner.NetSales;
yearofnetsales=allsalesanalysisTMPInner.YearofDate;
}

}
select forUpdate allsalesanalysisTMP where allsalesanalysisTMP.YearofDate==year(today()) && allsalesanalysisTMP.ID==allsalesanalysisTMPOutter.ID ;
if(allsalesanalysisTMP){
ttsBegin;
if( yearofnetsales ==year(today())){
allsalesanalysisTMP.deviation="up";
allsalesanalysisTMP.update();
}
else if (yearofnetsales ==year(today())-1) {
allsalesanalysisTMP.deviation="down";
allsalesanalysisTMP.update();
}
//else{
//allsalesanalysisTMP.deviation="-";
//allsalesanalysisTMP.update();
//}
ttsCommit;
}
}

Server Certificate

$
0
0

Hi,

we are deploying a retail solution in Dynamics AX 2012 R3,

a server certificate is require for the Async Server and the Realtime service.

the full server name is Server.Domain.Loc,

can anyone tell me please where to get a certificate? I tried some websites but they don't provide certificates for local network.

and as this will be a production I can't use self-singed certificate.

Display methods on SSRS report AX7

$
0
0

Hi,

I need to know how can we use display methods in SSRS reports. I am having an issue. I have created extension class for an existing table. and under that class I have written my display method. 

[SysClientCacheDataMethodAttribute(true)]
public display CustAccount CustAccount(ProdTable _prodTable)
{
    CustAccount custAccount;

    if (_prodTable.InventRefType == InventRefType::Sales)
    {
        custAccount = SalesTable::find(_prodTable.InventRefId).CustAccount;
    }

    return CustAccount;
}

My report is a query based report. 

I am able to see the display method in report and also I have dropped the field into the report design. But there is no value on the report.

Please guide me though this. 


Get User Profile in X++ code AX 2012

$
0
0

How can i get User Profile ID for the currently logged in user in X++ code in AX 2012?

 

Translate language from one language to another

$
0
0

Hi All,

Is that possible to translate text from one language to another.

Ex  : Given text = "Sample" and Given Language = "Language wants to change"

Click ok

It will shown the translated text.

Please help.

How to edit LedgerJournalTrans posted line custom field in x++? AX 2012 R2

$
0
0

Hii,

We have a custom field for PurchID in our LedgerJournalTrans table and displayed on LedgerJournalTransVendPaym Form. This customization is working ok.

This customization is up to LedgerJournalTrans level only.

Now we want to update PurchID for already posted payment journals. I can do it from SQL update statement successfully, but need to do it in a form on button click in x++;

When I try to update from Form button click in x++ it gives following error.

"Cannot edit a record in Journal lines (LedgerJournalTrans). Journal batch number: VVX-002658, VPJ-000234.

The SQL database has issued an error."

        while select forupdate ledgerJournalTrans where ledgerJournalTrans.JournalNum == journalNum && ledgerJournalTrans.Voucher == voucher
        {
            if(ledgerJournalTrans)
            {
            ttsbegin;
                ledgerJournalTrans.PurchId = purchId;
                ledgerJournalTrans.PurchNote = poNote;
                ledgerJournalTrans.update();
            ttscommit;
            }
        }


Please guide, how to update  ledgerJournalTrans line custom field only.

Thanks,

How To change "Default Quantity For Line" default value

$
0
0

Hi All,

I would like to change the value of Default Quantity For Line from "product recipt quantity" to "Ordered quantity"

this is a drop dialog that point to this form VendEditInvoiceDefaultQuantityForLinesDropDialog and i created a handler that initialize le value of the lookup to desired value :

class ITFVendEditInvoiceDefaultQuantityForLinesDropDialog_Handler
{
    /// <summary>
    ///
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    [FormEventHandler(formStr(VendEditInvoiceDefaultQuantityForLinesDropDialog), FormEventType::Initialized)]
    public static void VendEditInvoiceDefaultQuantityForLinesDropDialog_OnInitialized(xFormRun sender, FormEventArgs e)
    {
        FormComboBoxControl specQty = sender.control(sender.controlId(formControlStr(VendEditInvoiceDefaultQuantityForLinesDropDialog, SpecQty))) as FormComboBoxControl;
        specQty.selection(PurchUpdate::All);
    }

}

but nothing changed how can i change it thanks :D

Indirect activities

$
0
0

Hi all

When a worker har started a indirect activity (job) how should he stop it without clock out?

Br Erik

Viewing all 72043 articles
Browse latest View live


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