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

RE: how to add hyperlink to another form?

$
0
0

Hi Rustem,

this is the second of the other thread,

I displayesd a list of user in listbox,I want to add link to the form that contains User,

I use jumpref in listBox:

public void jumpRef()

{

Args            args;

MenuFunction    menuFunction;

;

args = new Args();

menuFunction = new MenuFunction(menuitemDisplayStr(“SysUserInfoPage”), MenuItemType::Display);

args = new Args(menuFunction.object());

args.caller(element);

args.record(“RecordName”); // I don't have datasource to set it here.

menuFunction.run(args);

}


RE: Cost is Sales Return.

$
0
0

You would need to raise a support ticket with Microsoft to get a Microsoft answer. This is a community run by volunteers of the community, it is not Microsoft run.  

You would need to show the transactions, but what you are doing is possible, it is just that there are other processes, so your return sales order if created from the original it insists on the cost price, which is of course valid from an inventory perspective, also you can choose to bring this in at zero if you desire.

Cost is Sales Return.

$
0
0

Hello,

How to make the system capture the average cost while posting sales return if it is not against Return Lot ID.

Thx

Currency Exchange Rate Difference

$
0
0

Hi all! 

Our default currency is SAR (Saudi Arabian Riyal). We have a ledger account for Exchange Rate Difference and exchange rate differences for payments / transactions in SAR are shown in the account statement for the ledger account for some reason. 

You can see here in the screenshot for the journal GJ-00012082. Ledger Account 6350101003 is the Exchange Rate Difference Account. 

The amount currency is 0. The transaction is in SAR. Then why is the account coming here in the first place? Our secondary currency is USD. It shows a balance of -0.010 in the journal but this does not show in the statement of Exchange Rate Ledger Account. 

So to sum it up,

1) Why is the exchange rate account showing such a transaction (even though the value is 0). 

2) Why is the secondary currency being affected as shown in the journal voucher but not appearing in the ledger account statement? 

RE: how to add hyperlink to another form?

$
0
0

Hi BASMA!

But you already have a userid right? So, declare the table variable and select the record by userId.

RE: how to make journal series is auto serial instead of manual

$
0
0

Good Morning,

No , I refer to the Item journal related serial number?

please see this print screen for other company just to show you what i mean.

my issue in other company having manual serial need to make it auto .

Thanks.

how to make journal series is auto serial instead of manual

$
0
0

Dears ,

We have ax 2012 r2 and we set the serial in project ==> item journal as manual .

how to change the serial to auto serial .

Thanks ..

RE: Rows are not populated in SSRS report after adding codes.


Rows are not populated in SSRS report after adding codes.

$
0
0

Hello Experts,

In RDP some piece of code are given here:

    while select salesLine
        where salesLine.ItemId == queryInventTable.ItemId &&
        salesLine.createdDateTime >= DateTimeUtil::addMonths(DateTimeUtil::utcNow(), -12)
    {
        avgAnnualSales += salesLine.QtyOrdered ;
    }

    if(avgAnnualSales > 0)
        avgAnnualSales = avgAnnualSales/12;
    else
        avgAnnualSales = 0;   
    tReOrderReportTmp.AnnualAvgSalesQty = avgAnnualSales;
 tReOrderReportTmp.MinStockQty = minStock;

 if(tReOrderReportTmp.CurrentStock > 0 && tReOrderReportTmp.AnnualAvgSalesQty > 0)
        tReOrderReportTmp.MonthCoverSales = tReOrderReportTmp.CurrentStock / tReOrderReportTmp.AnnualAvgSalesQty;
    else
        tReOrderReportTmp.MonthCoverSales = 0;
   
    tReOrderReportTmp.MinStockQty = (tReOrderReportTmp.AnnualAvgSalesQty/30) * tReOrderReportTmp.LeadTime  ;
    
    tReOrderReportTmp.insert();
Report Output
 

 
 
After Added some code to get data for BOMQty column and modified codes here
 

 while select salesLine
        where salesLine.ItemId == queryInventTable.ItemId &&
        salesLine.createdDateTime >= DateTimeUtil::addMonths(DateTimeUtil::utcNow(), -12)
    {
        avgAnnualSales += salesLine.QtyOrdered ;
    }

    if(avgAnnualSales > 0)
        avgAnnualSales = avgAnnualSales/12;
    else
        avgAnnualSales = 0; 
 tReOrderReportTmp.MinStockQty = minStock;  
    tReOrderReportTmp.AnnualAvgSalesQty = avgAnnualSales;

// Added Codes Start
 
  while select inventTrans
    join salesLine where inventTrans.ItemId == salesLine.ItemId && salesLine.createdDateTime >= DateTimeUtil::addMonths(DateTimeUtil::utcNow(), -12)
       join  queryInventTable where inventTrans.ItemId == queryInventTable.ItemId
       join  inventTransOrigin where inventTrans.ItemId == inventTransOrigin.ItemId && inventTrans.InventTransOrigin==inventTransOrigin.RecId && inventTransOrigin.ReferenceCategory == InventTransType::BOMLine
    {
        BOMQty1 += inventTrans.Qty;
        tReOrderReportTmp.BOMQty = BOMQty1;
    }
 
 //Added Codes End

 if(tReOrderReportTmp.CurrentStock > 0 && tReOrderReportTmp.AnnualAvgSalesQty > 0)
        tReOrderReportTmp.MonthCoverSales = tReOrderReportTmp.CurrentStock / tReOrderReportTmp.AnnualAvgSalesQty;
    else
        tReOrderReportTmp.MonthCoverSales = 0;
   
    tReOrderReportTmp.MinStockQty = (tReOrderReportTmp.AnnualAvgSalesQty/30) * tReOrderReportTmp.LeadTime  ;
    
    tReOrderReportTmp.insert();
 
Report Output
 

 
Report showing only one record while pervious have 5 records.
 

RE: Trial Balance is zero after run Load Balance from Closing Sheet - AX 2012

$
0
0

Dear Ludwig and Raheel,

After i run initialized balance from Financial Dimension Set for Main Account Set and make sure that the Trial Balance form listed the balance for all account, the closing sheet shows the trial balance.

Thanks for your help.

RE: Enhancement Plan cost

$
0
0

I am sure they have the "right" to do so to act as the partner and would justify it by other services offered in this process, whether they would or not is another matter. It is possible to look for other partners and ask this question directly to any prospective partners, or discuss with your current partner why you are unhappy paying it.

Enhancement Plan cost

$
0
0

The cost of renewing the licenses of the program Dynamic AX which represents 16% of the cost of the program (Enhancement Plan), please benefit if the authorized agent (MS Partner)  has the right to add a profit margin at this cost or not 

RE: how to add hyperlink to another form?

$
0
0

Where  I declare userId??

args.record(“RecordName”); ???

RE: Trial Balance is zero after run Load Balance from Closing Sheet - AX 2012

$
0
0

Hi Yohana,

Please mark my answers as suggested if it was helpful for you.

RE: Rows are not populated in SSRS report after adding codes.

$
0
0

Number of records depend upon the way you join the tables.

it is hard to say which join types you want to use as it depends upon the requirement. With given information i can doubt where inventTrans.ItemId == salesLine.ItemId

you may want to change this as following

1) join InventTrans to InventTransOrigin

2) Join InventTransOrigin with SalesLine

Please note that Relationship between the sales order line and the InventTransOrigin is also located in InventTransOriginSalesLine


RE: Batch group

$
0
0

Are these brand new items?

As standard without the blank issue and receipt set it would have asked for them to be populated. Can you check the inventory transaction, is it blank or is there an entry?

Batch group

$
0
0

Dear all,

We have enabled Batchnumber for item transaction in ax2009.we have setup for dimension group as shown in Picture. For this case for Inventory management-->Journals-->movement, transfer & item arrival journals, while posting the form asks to fill batch number if it was empty. but in BOM & Counting journals, Batch number was not asking while posting when it was empty.

How to rectify the issue, we need batch number to be filled before posting(mandatory).

Is there any corrections to be made in dimension group or in the form level.

Thank you

M.Logendran

RE: Production Order Cannot Be Updated

$
0
0

I suggest posting a new thread, or answering the previous questions relating to customisations, importing etc.

Production Order Cannot Be Updated

$
0
0

"Quantity cannot be updated with inventory reference Prod. reported as finished journal because inventory transactions with status Ordered, Arrived, or Registered are insufficient."

I'm receiving this error when a specific production order is attempted to be reported as finished. The inventory transactions on the production order is empty. Also when I look at InventTrans, InventTransOrigin, and InventTransOriginProd, there is no record of this production order. However, I am able to find the component items related to the item on this production order on InventTransOrigin but not the item itself. 

Does anyone have any idea what could be happening?

RE: Currency Exchange Rate Difference

$
0
0

Hi,

Your system shows three decimal places and a secondary currency.

Both are non-standard features and must be the result of a modification that has been made.

Can you talk to one of the developers who applied those changes?

It might simply be a rounding issue for the secondary currency but maybe there is more and your development expert should be able to find out.

Best regards,

Ludwig

Viewing all 175888 articles
Browse latest View live


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