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

Passing argument

$
0
0

Hi  All,

How to Passing argument from Form to Class in Ax 2012??

Regards,

Narayan


Catch weight AX 2012 R3 CU10

$
0
0

Hi Experts,

We have disabled 'Catch weight' in License configuration.

However, table PdsCatchWeightItem is filled with records. I am unable to figure the root cause of how data got inserted in PdsCatchWeightItem when 'Catch weight' is disabled.

We have imported released product using DMF; I am not sure whether this has created records in table PdsCatchWeightItem.

Regards,

N.Sridhar

Changing formdatasource after a control

$
0
0

Hi,

In a grid it is possible to select different records in a grid. How can i do select a record through my control/lookup (ItemId) and therefore changing the whole form after the itemId, name, name alias etc. ?

I have tried filter (execute query, init datasource) modified on the control.

The only thing that worked was active, but it constantly updated, so i could'nt write anything in the other controls.

Please help.

Create Line Number in a report

$
0
0

Hi All,

I am newbie... I want to create line number on my report, example like this :

Number              Field            Field

1                        ...................        ................

2                        ...................       ...................       

3                       ...................       ...................       

may anyone help me to describe step by step....??

Thx before....

configuration keys

$
0
0

how to use configuration keys where it is used how it is implemented 

orig() value in POST event

$
0
0

Hi!,

I asked similar question before but not exactly the same...

The previous answer didnt summerise whole topic...

In my project i have to compare value that was change in table... and after change i have to log the action i another table...

E.G.

Table AAA field BBB changed from "ccc" to "ddd" my POST event handle the action and put the log into another table...

Table AAA contain also field XXX and if XXX is changed event do nothing...

Is it possible to handle that only in POST event ??

In PRE i have ability to use orig() and compare what was changed... but in POST orig() doesnt work ;/

Thank you in advance!

Where can i find the sequence number of RMA column in return order ?

$
0
0

Hi All, 

I want to know the sequence number for RMA, because i need to review it's settings.

I reviewed the parameters, under setup section in both "Sales and Marketing" and "Account Receivable", but i didn't find anything. 

I appreciate any help.

Thank you :)

Debugging service on VS

$
0
0

Hi guys,

I have a simple question. I am debugging a service class using VS. How should I update it on VS when I edit that service class on AX2012. I tried compiling, refreshing, restoring, etc.?


Decimal calculation inside of product configurator / product model

$
0
0

Hey Guys, i need an idea for a weird situation i am facing.

Maybe someone can quickly recreate it.

In a AX 2012 R2 Product configuration model, i have following attributes set up:

1. Type: integer nr. / bounded to range=  1-99999 - standard value 12700

2.Type: decimal - to be entered by user in configuration

3.Type: decimal - calculation in the model = Field Nr. 2 x 10000

4. Type: integer - calculation in the model = Field Nr. 2 x 10000

When i put "5232,40" in field Nr. 2 in the configuration mask, Outcome is:

Field Nr. 3 (decimal) = 52324000,00 - as i would expect

Field Nr. 4 (integer) = 52323999 - what creates trouble

This happens only, if my decimal number ends with ,3 or ,4 or ,8 or ,9.

What the heck ??

Temp database size and growth

$
0
0

Attached is the screenshot of the tempdb size and growth.

Is this Perfect or I should increase the growth % .

Command used for attached output : use tempdb then exec sp_helpfile

Please advice.

regards

How to serialize object to XML ??

$
0
0

Hello,

It's look like a very easy question... but i can't find correct answer...

What is the easiest way to serialize object to XML ??

Thank you in advance!!

System hangs up while posting PO/SO for more than 15-20 min in AX 2009

$
0
0

HI , 

I am struggling an issue that comes in AX 2009, that system gets hangs up while posting PO/SO, I face this issue frequently.  

Help me out for rid out this problem . 

India localization release for D365 for Operations

$
0
0

What is the release plan for India localization of D365 for Operations. Can it be expected in 2017? Any commitments from MS?.. As an existing customer, I am exploring probability of upgrading to D365 for operations from Ax 2009

PriceDiscTable form filter restrictions

$
0
0

Hello all,

In the PriceDiscTable form, when I right click on certain table fields, I have the option to 'filter by field' and 'filter by selection', and the same option is not available in other fields (eg: ItemCode).
On the filter window (Ctrl + F3) this field is not appearing in the lookup, so I can't add it there as well.

When I open the AOT table, all filters are allowed.

What is causing this restriction in the form? And how can I allow the user to apply/modify filter all table fields?
Thanks in advance.

Adding validation to workflow execution

$
0
0

How Can I add validation to AX workflow  to prevent execution of workflow ( by codoe) based on some conditions without through an error i.e. the user can perform the action again after matching the condition


SalesInvoiceReport with different design

$
0
0

Hii,

I have a new requirement. We need SalesInvoiceReport with different design and look. We dont want to disturb the existing report (AR -> Sales Orders). Data is same with few new fields as compared to the existing SalesInvoiceReport report.

Should I create a new Project and copy existing objects like SalesInvoiceController, SalesInvoiceDP, SalesInvoiceContract, SalesInvoiceHeaderFooterTmp, SalesInvoiceTmp and change the names. And create a new Visual Studio project,  create new precision design report and use new classes and tables.

Is this the good approach to get results?

Please guide.

Thanks,

Vendor Invoice account

$
0
0

For one of my vendor V-000004, i choose invoice account V-000006 but after doing invoice posting through Invoice journal for V-000004, transaction is coming in same vendor V-000004 not in V-000006. How does invoice account work?

Did i missed any setup or anything?

I need some help in that.

Thanks in Advance.

How to compare two versions of workflow?

$
0
0

Hello all,

I would like to know if there is a way to compare different versions of workflow in AX 2012?

Thanks in advance for your help

Regards

Gergana

The Security Development Tool : install on multipe AOS

$
0
0

Hi all,

 

I'm on a test server with 2 aos .

 

The version the AX is 2012r2 cu7.

 

I have installed the Microsoft dynamics security tool with the power shell command :

 

Install–AXModel –File “c:\Program Files (x86)\Microsoft\Security Development Tool\SecurityDevelopmentTool.axmodel”

 

All it's ok but only on one aos.

 

Now how i can to install the model on the second ? what command used ?

 

Best regards

 

Alban

PDC Amount of a customer

$
0
0

Hi Champs,

I have to get the customer PDC open amount (PDC in hand for customer) till provided date. I am using below code but didn't get the desired result. Any one has sample code to acheive this? or may be i am missing some thing.

CustTrans   offsetTrans;

while select offsetTrans
        where offsetTrans.AccountNum == _custTable.AccountNum&& offsetTrans.AmountMST < 0&& offsetTrans.TransDate <= transDate
    {
        ledgerjournalTransRecId=0;

         if (offsetTrans.PaymMode && CustPaymModeTable::find(offsetTrans.PaymMode).PDCClearingPosting)
         {
            select RecId , JournalNum from  ledgerJournalTrans where ledgerJournalTrans.CustTransId == offsetTrans.RecId
            join ledgerEntryJournal where ledgerEntryJournal.JournalNumber == ledgerJournalTrans.JournalNum
            join generalJournalEntry where generalJournalEntry.LedgerEntryJournal == ledgerEntryJournal.RecId&& generalJournalEntry.AccountingDate <= transDate&& generalJournalEntry.Ledger == Ledger::current()
            join generalJournalAccountEntry where generalJournalAccountEntry.GeneralJournalEntry == generalJournalEntry.RecId
            join ledgerEntry where ledgerEntry.GeneralJournalAccountEntry == generalJournalAccountEntry.RecId&& ledgerEntry.IsBridgingPosting == NoYes::Yes
            notexists join ledgerTransFurtherPosting
                        where ledgerTransFurtherPosting.RefRecId == ledgerEntry.recId;

            if (!ledgerJournalTrans)
            {

                select AmountCurDebit, AmountCurCredit, Voucher,RecId, TransDate from pdcLedgerJournalTrans
                    where pdcLedgerJournalTrans.CustTransId == offsetTrans.RecId
                join MaturityDate, CheckNumber, PDCStatus from pdc
                    where pdc.AccountType == CustVendACType::Cust
                            && pdcLedgerJournalTrans.RecId == pdc.LedgerJournalTrans ;

                ledgerjournalTransRecId = pdcLedgerJournalTrans.RecId;

                if (pdc.CheckNumber)
                {
                    select firstOnly custVendPDCRegister
                        where custVendPDCRegister.CheckNumber == pdc.CheckNumber
                        && custVendPDCRegister.LedgerJournalTrans == ledgerjournalTransRecId;

                    select firstOnly ledgerJournalTransLocal
                        where ledgerJournalTransLocal.RecId == custVendPDCRegister.LedgerJournalTrans;

                        chqAmount += abs(ledgerJournalTransLocal.AmountCurDebit -  ledgerJournalTransLocal.AmountCurCredit);
                }
            }
         }
      }


Viewing all 73760 articles
Browse latest View live


Latest Images

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