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

SendEmail by AX standard - Failed

$
0
0

Hi All,

I'm facing issue with SysEmailTable::sendMail() method. The thing is that if I run for one or less than 100 invoices to send for the customer email it is working fine. But when it's trying to generate more emails I get on the form Email sending status, that email was failed. for some of them. But not for all. I don't have any ideas where issue comes from. By the way emails is with generated PDF attachment.


RE: System grouping for Load Inbound Putaway

$
0
0

Hi Jason,

did you already find a solution for this issue?

regards

System grouping for Load Inbound Putaway

$
0
0

Hi 

I am having difficulties with sorting work so that the put away process will sort the puts based on the locations in alphabetical order.  

The process I'm completing is for Inbound items:

Create a load with multiple Purchase orders coming onsite via load planning workbench

Complete inbound receive process for the Purchase orders

Created a Menu item - system grouping purchase put away work based on the LoadId field

Then completing put away via the menu in mobile device  - enter the load id and then proceeding to put away all the items from the PO's linked to the Load

I am sorting the work based on location and also tried the sort location number but it seems to want to put away based on the last item received which created the work.

Any ideas as to the process for this?  Generally the sorting I have completed for work processes of outbound picks from locations in the warehouse work in the correct order, but something I have done here I suspect from the work creation at time of receive is causing issues with the put away.

Cheers,

Jason 

Timesheets - entering hours against weekends and bank holidays set as 'Closed' in the calendar

$
0
0

Hi,

Is there any work around  - we have a calendar which contains Bank Holidays and weekend set as Closed for Pickup and Closed however there are instances where the employee wants to set time against these days but currently cannot due to the Closed Calendar.

I know we could set each day to 'Open' but that defeats the object of the Working Calendar

Any ideas will be much appreciated.

Thanks

Natalie

Write data in an excel file from AX7.

$
0
0

I have a problem in which i want to write the data in the excel file from AX. 

As the SysExcelApplication class does not exist in AX7. So how can we achieve this task. 

I want to do the exact thing.

RE: I want to create a dynamic query. Can I use the sysQueryForm?

$
0
0

This is what solves the problem:

void Sample_1(void)

{

Connection Con = new Connection();

Statement Stmt = Con.createStatement();

ResultSet R =Stmt.executeQuery(‘SELECT VALUE FROM SQLSYSTEMVARIABLES’);

while ( R.next() )

{

print R.getString(1);

}

}

I want to create a dynamic query. Can I use the sysQueryForm?

$
0
0

Can anyone guide me to use the sysQueryForm. I want to create a dynamic query. 

I have read that this can be used to create and manipulate and save queries.

RE: Error: Invalid dimension value combination / account structure - project management - hour journal

$
0
0

Hi Moritz,

Did you leave the Service field blank? If yes you need to allow blank for Service in the Account Structure because all values doesn't mean the blank is allows.

Regards,

Pal


Error: Invalid dimension value combination / account structure - project management - hour journal

$
0
0

Hi all,

I got a problem while posting a project hour journal.  

There is one project where this error message is generated. 

I already checked the account structure and there is nothing wrong.

Any suggestions?

Thanks in advance.

Regards,

Moritz

RE: Executing a query given from front-end.

$
0
0

void Sample_1(void)

{

Connection Con = new Connection();

Statement Stmt = Con.createStatement();

ResultSet R =Stmt.executeQuery(‘SELECT VALUE FROM SQLSYSTEMVARIABLES’);

while ( R.next() )

{

print R.getString(1);

}

}

Executing a query given from front-end.

$
0
0

Hi I have a problem in which I have a string which is my query.

like "Select * from CustTable where CustTable .AccountNum=="Acc-001" "  (hope this is clear that i am receiving my query in a string).

Now is there any way that I can execute this query in X++. Where i can just pass this string that is actually my query to some object/variable/function which executes it and returns me a buffer or a query object which I can iterate and get all the records returned as result. 

RE: SendEmail by AX standard - Failed

RE: Error: Invalid dimension value combination / account structure - project management - hour journal

$
0
0

Hi Pal,

the service field is automatically filled from the project specification. Allow blanks is not checked, but this is correct.

Regards,

Moritz

RE: PDF differences regarding layout, character display and line breaks (AX 2009)

$
0
0

A bit silly to reply to myself, but I guess I found a solution to the line break / line spacing problem ... finally, more than 2 years later.

The bit to modify is in the "PDFViewer" class, method "writeStringField". Adjust the following line at the bottom of the last for-loop to your liking:

ypos -= this.scaledFontHeight(_field);


ScaledFontHeight() seems to work incorrectly when using certain fonts. By adding fixed values (if you're just using a single font on your report) or by multiplying with a factor you can create a workaround.

Hopefully this will be my last fix in the PDFViewer class :D

PDF differences regarding layout, character display and line breaks (AX 2009)

$
0
0

Hello!

We are experiencing diffrences regarding overall report layout, display of characters (width, spacing, etc) and different line breaks when exporting reports as PDF with the integrated AX 2009 PDFViewer class compared to the display output.

What we have checked so far is fonts (same versions on AOS and every client), printer settings (same as display output) and margins (same overall).

1) Is there anyone else experiencing the same problems with the integrated PDF output?

2) Is there any possibility to get rid of those differences with the integrated PDFViewer class?

3) If there is no solution using the integrated PDFViewer class, is there a possibility to direct output to an external PDF writer?

Thanks a lot for your input,

Chris


AX 2012 R3 Print charges on invoice

$
0
0

I have added charges to the header of an sales order, and when i print the invoice the charges are placed at the bottom under the "total charges".

I want to have the charge specified on the invoice (not only summarized), so I selected the "Show details" on the Print options before generating the invoice. The charges are still placed under the "total charges" field on the invoice. I changed the "Print charges" field to "Summarize", but still the same result.

How can I specify the charges for a sales order on the invoice?

Why is the print options for charges "Show details" and "Summarize" if it shows the same result?

RE: Voucher ledger accounts are not showing financial dimensions with main account

$
0
0

Hi Nishant, did you define the proper Business Unit on your payment journal? Click Financial Dimension in the Line itself from Top Menu and select the Account or Offset Account regarding which one is the Bank!

Regards,

Pal

RE: Inventory value report

$
0
0

A quick solution that i have implemented is as follows

  1.  Add itemname field in InventValueReportTmpLine Table.
  2.  Modify insert() menthod of InventValueReportTmpLine  table. Fetch the item name before Super() method.
  3.  Modify getInventValueReportTmpLine() method of InventValueReportDP class. Add itemname field in #GroupByFields Macro.  (You can add at the end of the macro or after resourceid field.)
  4.  Call the newly added field in the report.

Similarly you can add other fields which can be derived from already existing fields of the InventValueReportTmpLine  table.

 

Hope this helps.

Inventory value report

$
0
0

Hello everybody,

I'm using Microsoft Dynamics AX 2012 R2, to display the value of the inventory I use the report  "Inventory and werhouse management>Reports>Status>Inventory value>Inventory value" but on the report much information is not displayed  like the werhousen the name of products,...! is that normal, have I to do any configuration in order to display more information in this report?

Thank you very much for your help.

RE: Error: Invalid dimension value combination / account structure - project management - hour journal

$
0
0

Problem is solved.

There was one worker profile where the financial dimension was not filled.  This was also a known issue in the lcs portal.

Best regards,

Moritz

Viewing all 175888 articles
Browse latest View live


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