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

RE: Ax7, "Invalid sort field" message in Custom Lookup Form

$
0
0

By the way I found it:

It seems that in Ax7 we need also to edit the rund method in the lookup form with something like this (From AssetBookLookup)

public void run()
{    FormStringControl callingControl = SysTableLookup::getCallerStringControl(element.args());    boolean filterLookup;    ;    filterLookup = SysTableLookup::FilterLookupPreRun(callingControl, assetBookTable_BookId, assetBookTable_ds);    super();    SysTableLookup::FilterLookupPostRun(filterLookup, callingControl.text(), assetBookTable_BookId, assetBookTable_ds);
}

RE: withholding tax and withholding tax

$
0
0

Hi Ludwig Reinhard ,

I started the installation of hotfix but when arriving at this interface I do not know what I have to enter as database name and as model database name.It does not accept the name of my server and the name of my database.

Can you help me to resolve this problem???

withholding tax and withholding tax

$
0
0

Hi,

the exchange rate applied to the withholding tax in the supplier payment journal is different from the one in the payment journal. Is there a way to maintain the exchange rate unchanged when trying to validate journals?

Please give me your views on this.

Thanks in advance.

Posting InterCompany Invoice Journal gives account structure error

$
0
0

Hello Guys,

I have multiple companies in AX.

Current company is AH02.


I am trying to post Invoice Journal with one line of AH02 Company account and second line with AH01 Company Account. 

Validation says, the Journal is ok!

But when I post the journal. This error comes up.

The account structures of both companies are SAME. 

What could be the issue?

Regards,

Hamza

RE: Query structure does not match entity data

Importing Personalized inquiries from one instance to another

$
0
0

Is there a process or discrete steps to move personalized  inquiries from one AX instance to another - e.g., from Test to Production.  Can a functional (not technical i.e., developer) user complete the task?

RE: AX 2012 R3 CU12 Entity Store

$
0
0

Pause on this .. it might be user error, lol.... Back in a bit as I need to repeat this

RE: Cannot firm 'Planned kanban'. A kanban rule with replenishment strategy 'Scheduled' was not found.

$
0
0

Hi Lakshmi,

First of all thank you for your reply.

I solved this issue in February and until now i didn't touch on it anymore.

But if I remember well this is how I solved this "problem":

->Production Flows (activities) must match with dimension groups (site, warehouse,location,etc...) of your planned order required from your item.

Try it and give me a feedack about this issue.

Good luck...


Cannot firm 'Planned kanban'. A kanban rule with replenishment strategy 'Scheduled' was not found.

$
0
0

Hi,

I am running master scheduling for the items which have scheduled kanban rule either as Product or Product family . The below error is coming for all the scheduled items.

I am guessing it could be some setup issue from kanban rule side or from item coverage side. But not sure how to find it.

Thanks,

Lakshmi

View methods in AX 7

$
0
0

Hi everyone 

I created a view WMSTransView with WMSJournalTrans as a datasource. Now i want to get the ItemName and assign ItemName to a calculated field o type string. First I create the method (below) and building the project. So far it works fine.

public static server str itemName()
{
   ItemId LedtItemId;
   ;
   LedtItemId = SysComputedColumn::returnField(tableStr(WMSTransView), identifierStr(WMSJournalTrans), fieldStr(WMSJournalTrans, ItemId));

   return InventTable::find(LedtItemId).itemName();
}

Now I add "string computed column" go to the property "view name" and select method itemName from the selection-list. When I build the project now I get a bunch of errors. 

  • Error AOS database sync failed. Incremental sync did not complete successfully. Error: InvalidOperationException:The computed value return from reflection call on class 'MZGroupWMSTransView', method 'itemName' return empty value.. 0
  • Error Database synchronization failed. You may have to do a full build of the package 'MozoExtensions' and all of its dependent packages. 0
  • Error syncengine.exe exited with code -1. 1
  • Error View: MZGroupWMSTransView sql statement generation failed. Error: The computed value return from reflection call on class 'MZGroupWMSTransView', method 'itemName' return empty value.. 0

I already compiled the whole MozoExtensions Package with resulted in 19 errors within SysComputedColumn-Framework. Does anybody know if the SysComputedColumn works within AX7 or knows how to use it?

Kindly help me if any one knows a solution.

RE: Year End Closing Error

$
0
0

Hi Dhruv Singhvi,

What does the second line in the infolog say?

Is there an account and - or voucher number missing?

Best regards,

Ludwig

What POS button images do you use?

$
0
0

Hi all,

We know POS looks nicer with buttons that have an image and text, rather than straight text.

My question is do you export the button images from Contoso to use for your own POS or do you get them from a third party? I haven't been able to find any information on exporting the images from Contoso so  either have to do text only or look for an alternative.

If someone has the code to export the images out of Contoso, or a recommendation for where to get images from, I'd appreciate it.

QueryBuildDataSource object not initialized

$
0
0

Dear Gents,

i designed customize SSRS report by Visual Studio.

First it was working perfectly then i changed parameter properties Set Allow Blank and Nullable to True .


after i rebuild and deploy. From that time i am getting below error.

i tried 3 times to delete report and recreated and I restarted all service one by one , full compile but nothing changed.

Error executing code: QueryBuildDataSource object not initialized.

Stack trace


(S)\Classes\ProjectReportDP\processReport - line 14
(S)\Classes\SrsReportProviderQueryBuilder\initialize - line 59
(S)\Jobs\

RE: Year End Closing Error

$
0
0

Hi Ludwig,

I had following parameters selected in General Ledger parameters. I had selected the following:

Since I had not filled initially voucher number it was throwing error. Even after, adding vouching number the error continued - "The fiscal year that ends with the date 31-Mar-2017 is already closed"

Thanks

RE: Year End Closing Error

$
0
0

Hi,

If you remove the second parameter, do you still receive the error message?

Best regards,

Ludwig


Year End Closing Error

$
0
0

Hi All,

I was trying to transfer previous year fiscal year balance to next year.

I was getting the following error: 

I have checked all the Calendars in GL>Setup>Ledger>Ledger Calendar for the relevant period and next period in which I am transferring balance.

Not able to understand how this error is coming.

Thanks

RE: View methods in AX 7

$
0
0

calling static methods and display methods are NOT sql syntext, its x++ presented in your above code. would you like to amend your method by code a following?

public static server str InventNameAlias()
{
    DictView dv     = new DictView(tableNum(YourCurrentViewName));
    SysDictTable    sqlInventTable = new SysDictTable(tableNum(TableNameSuchAsWMSJournalTrans));
    str idFieldName = dv.computedColumnString('NameoFDataSourceInYourView',
        fieldStr(TableNameSuchAsWMSJournalTrans, FieldNameSuchAsItemId),
        FieldNameGenerationMode::WhereClause);

    return strFmt('Select Top 1 NAMEALIAS from INVENTTABLE where INVENTTABLE.%2 = %3',
        sqlInventTable.name(DbBackend::Sql),
        sqlInventTable.fieldName(fieldNum(TableNameSuchAsWMSJournalTrans, FieldNameSuchAsItemId), DbBackend::Sql),
        idFieldName);
}


RE: Supplier Pro Forma invoice

$
0
0

Hello

Me again :-)

I have another couple of questions you may be able to help with. These should be quite simpler than my Spanish dilemma.

1) we do a lot of prepayments in the UK, by where we pay for large quantites of goods upfront and order them as we need them until we close the contract and receive either a credit or an invoice from the supplier for the balance remianing.

Can you tell me if the process below is correct with regards to using the prepayment functionality in AX2012

Example:

We pay upfront for 10 laptops @ £100.00 each, invoice is for £1000.00

We create a 'prepayment posting profile' (ledger 9224 prepayment).

We create a PO with one line for 10 units at £100.00 unit price (ledger 2001 computer).

We click 'prepayment' on the PO and enter £1000.00

We click 'prepayment invoice' and post an invoice onto the vendor account for £1000.00

We pay the invoice as normal using a 'payment journal'.

During the month we receive against the PO say 9 laptops.

We close the contract with the supplier who then issues us a credit for 1 laptop for £100.00.

This is where I need clarification if this is correct.

Go to PO and click 'invoice', next click 'apply prepayment'.

Will doing this (ledger speaking), reverse the original prepayment of £1000.00 currently sat on the ledger and post the £900.00 to computers on the ledger, indicated by a credit balance sat on the vendor account for -£100.00.

ie

1) Prepayment invoice

£1000.00 (9224 prepayment Ledger)

Total on vendor account £1000.00

2) Final invoice/credit

-£1000.00 (9224 prepayment Ledger)

£900.00 (2001 computer ledger)

Total on vendor account -£100.00

2)

Finally, we have a report created in an older version of AX, which identifies each "open" Prepaid Purchase Order in a table with columns as follows:

1) Purchase Order Number

2) Value prepaid

3) Value of goods received so far

4) Value of balance left on contract

Is there such a report in AX2012 that identifies prepaid purchase orders like this?

Again, many tanks for your help.

Supplier Pro Forma invoice

$
0
0

Hello

I need help with regards to processing proforma invoices using AX2012, in line with Spanish VAT law.

In that, I want to see if there is an easier way then what we are currently doing.

This is where it gets tricky.

1) In Spain, you are not allowed to recognise a proforma as an invoice, the way we do this in AX2012 is by not populating the invoice number field, as AX will then not recognise it as an invoice and so not bring it up on invoice reports.

2) I cannot just journal the VAT element using a general journal once the actual invoice arrives due to point one, because the invoice will never ever be recognised then.

3) Our company has controls in place with regards to making payments, one of which is that you can only generate payment journals from open entries on supplier accounts. You cannot create a payment journal from nothing (eg like a prepayment journal), which then sits on the supplier account and is only cleared down when the actual invoice is received and processed.

The current process we have is as follows.

1) Process the proforma with no invoice number, so it is an open item on the supplier account and can be paid in line with our controls, but at the same time it is not recognised as an invoice

2) when the actual invoice arrives, reverse the proforma and process the actual VAT invoice onto the supplier account, then match these two entries off so they are not paid. That way, the actual invoice is now recognised, VAT is recorded correctly, and the proforma equals zero and has never been recognised as an invoice.

Is there a simpler way of doing this, but still following these rules.

Could I use Purchase Orders, I see there is a 'proforma' button next to the 'invoice' button you would use to process an invoice from a purchase order. If so, if the PO has VAT on it, does it post the vat, and if not, how do you adjust the VAT when the actual invoice arrives.

Or, if I populate the invoice number field on a general journal, would this make AX recognise it as an invoice.

Any guidance or help would be greatly appreciated.

RE: Year End Closing Error

$
0
0

Hi Ludwig,

My query can be divided into two parts:

(i) Even when Calendar Status is Open - Why is the error message stating: The fiscal year that ends with the date 31-Mar-2017 is already closed. The Period status should also state - Closed not Open/On Hold

(ii)How to achieve transfer of balances

I will take your suggestion, untick the 2nd parameter and try transferring. (But unchecking the same will keep no trackability of Closing/Opening transactions)

Thanks,

Dhruv Singhvi

Viewing all 175888 articles
Browse latest View live


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