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

RE: X++. How Voucher lines created when Invoice is posted?

$
0
0

Hi Osmhn,

You are now going into a core application part which is very dangerous. The logic is different for sales and purchase invoices. Purchase invoices are posted using the subledger framework; sales order invoices using ledger posing classes directly.

What exact manipulation do you have in mind? Can you elaborate?


RE: Action pane not shown in new custom role.

$
0
0

Thanks for reply.

how can i do small customization? can you tell me ?

RE: Action pane not shown in new custom role.

$
0
0

Please talk to a developer, they will know how to change this property. Since you need to also handle version control, deploy the change after it's done etc, you should not attempt to do it by yourself if you need to ask this kind of question :)

RE: AX Attachments

$
0
0

Did anyone ever come up with a fix for this ? Is the default Photo viewer in AX , Windows PhotoViewer ? I am getting the same error and the default file type is associated with Jpegs and JPG is paint . 

AX Attachments - no program associated

$
0
0

Hi,

I've found a weird behaviour in AX.

Imagine I attach a .jpg document to a record in AX when my default program to open .jpg's is set to "Paint".

I can see the document in the attachment form when I tick the "open" option but when I click "open" I keep getting an error saying that there's no program associated with this document extension. If I do directly to the file and double click on it opens with Paint without any issues.

If I change the association to another program such as "Windows Photo viewer" it works fine and I can open the file within AX.

Is there any problem / conflict between AX and Paint?

RE: X++. How Voucher lines created when Invoice is posted?

$
0
0

Thanks Andre for your time and comments.

I totally accept it is dangerous. Inputs from expert community are very valuable here.

I am thinking, when voucher line is created, if conditions meet then split value and create two voucher lines instead of one.

E.g. Original would have created one voucher line - Amount - 10.

Now create two voucher lines. Line - 1: Amount - 80. Line - 2: Amount - 20.

Hence the voucher balances overall.

class - LedgerVoucherObject, method - addTrans(). calls transactionCollection.add(_transaction), and Adds voucher lines.

so, based on condition, I call this twice, manipulate the ReportingCurrencyAmount (80+20)

transactionCollection.add(_transaction);

transactionCollection.add(_transaction);

Voucher overall will balance.

Want to try this in a prototype.

Do comment your view please.

X++. How Voucher lines created when Invoice is posted?

$
0
0

Hi Experts,

Need advice.

I am trying to understand technically (X++) how voucher lines created when purchase order or sales order or invoice journals are posted.

The relation between Posting Profile and PostingType when Voucher lines created, Is it possible to determine how many voucher lines will be created using Posting Profile?

If we consider process of PO being invoiced, there several voucher lines created. These are identified by PostingType.

Can you please help to understand, classes and conditions I should check to determine number of lines created in Voucher?

If I decide to, customise, when every voucher line is being created, to manipulate voucher line information (keeping the voucher balance intact), then can this be done in one central place?

Look forward to your inputs and suggestion.

RE: Action pane not shown in new custom role.

$
0
0

Hello Andre,

Your answer is right and I will mark it as a solution but here i want to know some more details. I have checked property which is set as Manual. what  if I changed it? if i changed it, will it effect on version control?


RE: Enable including sales tax in prices in free text invoice

$
0
0

Hi Tung,

There is a check box in the header of  the free text invoice to enable inclusive sales tax.

The problem with this checkbox is it does not calculate the inclusive sales tax which seems to be a bug in the product. You can try the option and let us know if it works for you.

Enable including sales tax in prices in free text invoice

$
0
0

Hi all,

I am facing a problem when using free text invoice. Normally when I use the sales order, I can include the sales tax amount in the sales price by clicking in the "Prices include sales tax" in the sales order header. However, when I used the free text invoice, I couldn't find anything to include sales tax amount in the price and I had to calculate the pre-tax amount outside and put it in the unit price in the free text invoice line. This way is quite inconvenient and might be inaccurate in amount.

Can somebody help me with this problem? 

Thanks,

RE: Project Invoice Proposal ( Item Transaction) posting error

$
0
0

Hi Ludwig,

Thanks for your response. Item Transaction(Purchase Order) are enter manually. We will not store the items in inventory, we just purchase the item from vendor and vendor will distribute to customers directly.

Error:

Error in unit of amount in currency USD. Must be rounded to 0.01.

The unit of 0.0012121212100000 USD being posted to account 60300-- is outside the current penny rounding threshold.

ProjLedger object not initialized.

60300- Is the Main Account created to handle the penny difference. I run sql query in Database and found the sum of transaction currency amount for account 30100-MHS-MHS-USA1--US18-102072.03-- as -18302.7212121212121200.

If you see  my above screens, Main Accounts - 30100, 10500 are linked to revenue accounts ( Project management and accounting - > Setups -> Ledger Posting profile ).

I can not able see this account 60300 in that Ledger posting profile form.

why ax is looking for 60300 account ?

I have problem when I try to attach my screenshot here.

Thanks,

Banu

Capacity reservations isn't deleted

$
0
0

Why isn't capacity reservations deleted when the job is ended. When would you like to save reservations until the production order is ended?

RE: Reporting extension Installation crashed with SQL 2016

Reporting extension Installation crashed with SQL 2016

$
0
0

While installing Dynamics AX 2012 R3 CU 12 reporting extension with SQL server 2016, the installer crashed with below screen.

any guidance much appreciated.

Regards,

yes.sudhanshu

RE: Getting error in the ledger statement for two different fiscal year date ranges

$
0
0

Thanks for your reply.

When i run the summary trial balance for each fiscal year, i always get 0.00 as opening balance. Because, we have not done the year closing.

I have commented the validation and run the report. It amounts are coming correctly for the selected date range even it is more than a year.

I comment the validation, will i get wrong amounts if i run the report after done the year closing?


Getting error in the ledger statement for two different fiscal year date ranges

$
0
0

Hi,

When i run the ledger statement for the last 2 years, i am getting this error "From date is in accounting year 2017. To date is in accounting year 2018. Dates must be in same accounting year.". I have checked the code, there is one condition. I just want to understand, why AX is restricting the user to run the statement for more than one fisal year period. Please help me to understand this issue.

fromDatePeriodStart = FiscalCalendars::findOpeningStartDateByDate(calendarRecId, fromDate);
toDatePeriodStart = FiscalCalendars::findOpeningStartDateByDate(calendarRecId, toDate);

if (fromDatePeriodStart != toDatePeriodStart)
{
isValid = checkFailed(strfmt("@SYS28745", year(fromDatePeriodStart), year(toDatePeriodStart)));
}

Thanks,
Hari

RE: Grouping Excel sheet columns while exporting data through X++

$
0
0

Hi,

My Excel export works but I cannot find the good syntax to use method Range.group(...).

For example, method merge works fine:

       rangeCOM = _sysExcelWorkSheet.cells().range("A1:A2").comObject();

       rangeCOM.merge();

       rangeCOM.horizontalAlignment(#xlRight);

That's why I would like to see exact syntax to use group(...) method.

Regards,

Mikaël Pires

Grouping Excel sheet columns while exporting data through X++

$
0
0

Hope you are doing good,

I am working on one requirement form one of my client which is to export data from ax to Excel through X++ code. But there is one tricky condition to group excel columns while exporting data. Please let me know if you have any idea/solution related to this.

Regards

Anjaneya 

RE: Action pane not shown in new custom role.

$
0
0

I  have one more question, what if form has NeededPermission "None" then what i have to do? should i have to add form and control permissions on the role as well?

RE: Action pane not shown in new custom role.

$
0
0

Hi Hassan,

When you change the property on the form, you don't have to add the form and action pane control to your security role. Are you using a version control system like Visual Studio for your developments? Personally, I would add the form and control to the form permissions on the security role instead of changing the property. This because the role is already a custom object and the form possibly still untouched.

Viewing all 175888 articles
Browse latest View live


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