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

Grid column sequence change dynamically

$
0
0

Hi,

I have requirement to change grid column sequence according to the selection from dropdown.

Ex. I have 4 value in dropdown. If value 1 selected then display record in grid. 

Then if value 2 selected then some of the field should not be present and some of the column sequence need to be changed. 

Column visibility can be set by code. But I am not getting to arrange the sequence dynamically.

Currently I am using multiple grid and making it visible according to selection value from dropdown but that doesn't seem correct way to do if more values in dropdown exist.

Could anyone suggest, something that can be implemented here?

Thanks,

POOJA


forecast upload

$
0
0

Is there a way of uploading forecasts and budgets without opening all the periods risking people posting actual journals to historic periods accidently?

Report layout is not showing the actual layout on client user with me it is ok

$
0
0

Hi Experts,

I developed a report as shown in above image. But the issue is with me it showing good but with client who request for it is not showing its actual layout check the above 2 images.

Best Regards,

Shabir Ahmad

Working in Job not in class

$
0
0

I consumed web services from external application and invoked the classes and method using CLRInterop.

My job is executing fine, when i add the piece of logic inside the class it worked , Today morning when i test the class its not executing , I am not able to catch the exception . Class property run on 'server'.

Error While posting the invoice of PO

$
0
0

Hi,

I have a PO with several lines. I have done the invoice for 3 lines.

When i try to post the invoice for Line 5 & 6 of the PO, i get the error message as

"Number sequence for the reference transaction Id has not been set up in the GST reference number sequence group"

this is an Indian localization

cash discount in AR not working

$
0
0

Hi Friends,

We had problem with applying cash discount to customer's payment. Cash discount setup looks right, the table 'custtranscashdisc' has the discount amount recorded, I guess it's populated after sales order invoiced?

when coming to payment, it didn't show up. User has to manually adjust it.

Our process is this, user upload file to create sales order, then manually invoice them, then, user will upload file to create payment, if there is no invoice information for SO, then user will manually put in,  then, manually create payment journal.

My question are, if I do everything manually, the discount should apply when I pick invoice for payment, right? For uploading payment file, there must be code to applying discount when find invoice matching, right? or, discount created when payment journal created.

I am new to this process, any help is greatly appreciated.

Implement first only record for joining tables in AOT Queries

$
0
0

Hi Team,

I am developing some AOT queries. There is some duplicates data are in joining tables. I tried to fix it by first only property set to true but its not working with inner join.

I need a solution so that I could fetch single record on the basis of duplicates data column.

I tried with Group by option as well but this way i am getting error as i set range in the same query. 

parent table

join table

Thanks

Ashok Kumar

Can I drop/delete TempDB Tables that AX has created

$
0
0

Hi,

I'm a DBA  working with AX for the first time.

I've noticed that application creates a lot of TempDB tables, and due to a lot of the code it doesn't delete most of the tables it creates (i.e the devs never built cleaning up routines in the code). This is creating a big problem because these tables start to eat into the memory of SQL, and take memory that could be used by the buffer pool (i currently have 300k temp tables and growing).

I spoke to one of the AX devs who advised that if AX needs to use a temp table it will create one, and it won't use a previously created table. So from my understanding it is always creating temp tables when required, does what it needs to do, and finishes, doesn't drop the table, rinse and repeat.

But what i have noticed when looking at queries throughout the day, is that some queries are using temp tables that were created weeks ago.

My main questions are, if i delete one of these tables while it is not in use, and then a query runs that would've used that tempdb table. Will AX create a new table because it can't find the previous one, or would there be some error when the query runs, as it can't find the temp table it expects to be there?

The end goal for all of this is to create a routine that cleans out TempDB tables on a nightly basis.

Thanks


Tabpage security control on parameter form

$
0
0

Hi experts,

I have added a tabpage to an existing parameter form. I have also created new security role & would want this security role to access only this newly developed customzied tabpage .

Please let me know how can i build security so as to achieve this.

Thanks

Mav

Sales Order Sales Person Addition

$
0
0

In the Sales Order function there is usually a location under Setup to edit Sales person. There is also Sales Person 1 and Sales Person 2. Upon logging in today the Second Sales Person option is not available, how do I add that back?

setup Access

$
0
0

DEar All

can you please tel me how can we stop the access for setup area from all normal users 

AX 2012 R3 SRSPrintDestinationSettings duplicate PDF file

$
0
0

Hi Everyone,

I created a job to save free text invoices to PDF using SRSPrintDestinationSettings in a specific folder.

This is working fine. but, the issue is that create new sub-directory with a duplicate pdf file into this new folder

static void AAl_printFreeTextInvoice2(Args _args)
{
    SalesFormLetter                 salesFormLetter;
    SRSPrintDestinationSettings     settings;
    FreeTextInvoiceContract         freeTextInvoiceContract   = new FreeTextInvoiceContract();
    FreeTextInvoiceController       freeTextInvoiceController = new FreeTextInvoiceController();
    Args                            args = new Args();
    CustInvoiceJour                 CustInvoiceJour;
    ;

    select  CustInvoiceJour where  CustInvoiceJour.recid == 5637255489;
    args.record(CustInvoiceJour);
    args.parmEnumType(enumNum(PrintCopyOriginal));
    args.parmEnum(PrintCopyOriginal::Original);
    // Set the report data contract with parameters.
    freeTextInvoiceContract.parmCustInvoiceJourRecId(CustInvoiceJour.RecId);
    freeTextInvoiceContract.parmCountryRegionISOCode(SysCountryRegionCode::countryInfo());

    freeTextInvoiceController.parmArgs(args);
    freeTextInvoiceController.parmReportName(PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesFreeTextInvoice).getDefaultReportFormat());
    freeTextInvoiceController.parmExecutionMode(SysOperationExecutionMode::Synchronous);
    freeTextInvoiceController.parmShowDialog(false);
    freeTextInvoiceController.parmReportContract().parmRdpContract(freeTextInvoiceContract);

    freeTextInvoiceController.parmReportContract().parmPrintSettings().printMediumType(SRSPrintMediumType::File);
    freeTextInvoiceController.parmReportContract().parmPrintSettings().fileFormat(SRSReportFileFormat::PDF);
    freeTextInvoiceController.parmReportContract().parmPrintSettings().overwriteFile(true);
    freeTextInvoiceController.parmReportContract().parmPrintSettings().fileName(@"C:\Users\xxx\Desktop\xxx\Tests\freeTextInvoice.pdf");

    settings = freeTextInvoiceController.parmReportContract().parmPrintSettings();
    salesFormLetter = SalesFormLetter::construct(DocumentStatus::FreeTextInvoice);
    salesFormLetter.parmShowDialog(false);
    salesFormLetter.updatePrinterSettingsFormLetter(settings.pack());
    salesFormLetter.parmUseUserDefinedDestinations(true);

    args.caller(salesFormLetter);
    freeTextInvoiceController.parmArgs(args);
    freeTextInvoiceController.startOperation();
}

The job save pdf and sub folder like this : 

Can someone please point how can i solve this issue ?

creating multiple orders in ax

$
0
0

hi,

is it possible to create multiple orders at once with same settings instead of making them singly? i don't know version of ax but it's old. i think it's 3.0.

if not maybe can i coppy them instead of making orders with same settings all the time?

trying to drill down to what SKUs the inventory recalculation affected.

$
0
0

I am working in Microsoft AX 2009 and our system is using the weighted average by date method which includes the physical value. There will be instances where an account will show a balance with a Voucher ADJV indicating that it is from the inventory recalculation that I run weekly (see pic 1). However, when I go to the Origins tab to drill down to what SKUs are affected it - it'll show me all the skus and accounts that were affected by the recalculation in that journal (see pic 2). My questions are - is there a way to see exactly what SKU affected which account? As you can see in pic 2, finished goods, wip, and cogs were hit showing all the different SKUs but it doesn't say which skus hit which account. My second question is why are there different G/L accounts hit from the recalculation...why would some hit cogs while others hit finished goods? I would understand inventory accounts being hit but I don't get what constitutes a sku recalc to hit certain cogs accounts?

VAT is not saving in AX 2012

$
0
0

Dear Forum expert.

My Client, there are using Ax 2012 R3,

There has created a service item and it was released product.

When there are trying to add the Item sales tax group it was not saving for sale order under item sell fast tab.

I have added the purchase fast tab for the purchase order item sales group and it was saved for sell it is not saving.

Could you please help me how to fix this issue.

WIth Regards,

Goutham Mahesh G.


AX2012 R2 Retail POS Offline mode not working

$
0
0

Hi Folks,

I have configured offline database for retail POS for AX 2012 R2 for our new store, but POS is not working in offline mode.

Let me give a brief idea about the server/services structure we have:

STORE A(existing store working always in online mode at Location A):

1. AOS and AX database exists at same location at different servers (lets call the servers as AOSSERVER, AXDBSERVER)

2. Store database is hosted at separate server consisting of dedicated Synch Service and Real time service (lets call the server as HQSTORESERVER).

STORE B(New store expected to be live with offline capabilities at Location B):

1. Location B is on intranet with Location A network via antennas.(no VPN).So, technically Location A and B are in same domain.

2. Location B has its own store server with dedicated synch service and store database(Lets call the sever as STOREBSERVER).

3. This store depends upon HQSTORESERVER for any RTS calls.

4. note: Intranet connectivity for location B(from HQ, location A) sometimes goes down and in that case company wants to depend upon pos terminals to be operational with offline capabilities (StoreBServer is still in network with POS terminals at store B, only RTS would be unreachable).

5. Now the POS is configured at terminal B1 with offline database.

6. we deliberately broke intranet connectivity for Location B (for testing), POS login still works but throws multiple errors(as can be retrieved from even log) on order confirmation. Errors are almost same with process trying to call RTS on  HQSTORESERVER .

Error1: TCP Error code 1060, Could not connect to net.tcp//HQSTORESERVER.<domain>/CommerceDataExchangeRealTimeService/Service.msc/Common ............

Error2:No DNS entry exists for HQSTORESERVER.<domain> .....................

As per my understanding, if the intranet link between Location B and Location A is broken (RTS is not reachable) Or terminal B1 cannot connect to STOREBSERVER, then terminal B1 will automatically switch to offline mode.

Is my understanding correct? or if not, how can i make offline mode work as per my requirement?

Regards,

Saddaf khan

Some Database File too Big

$
0
0

Now I use AX2012. I Found about Some Database is big.  This database name is AX_MR_Test_Primary.mdf .

I want to reduce size. And There many database in my database. I want to delete it. 

Thank you

apichai 

AX2012 CU13 - Kernel and Application Versions

$
0
0

Hi,

Can anyone tell me what the latest version numbers are for the AX2012 CU13 Kernel and Application.

We're running on:

Kernel Version 6.3.6000.9100  (we're being told this includes an August 2019 update, that we can't find any info on) 

Application Version 6.3.6000.149

Thanks

Mark

Re-opening a closed year

$
0
0

Hi. Our accounts seems to have some issues with the closed year 2019 and want to re-open it. 

Is this possible and if so, is there any risks involved? 

purpose of catch weight in ax2012 R3

$
0
0

Hi,

What is the purpose of Catch weight 

When and Where it is used

Viewing all 72043 articles
Browse latest View live


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