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

Change record color in grid based on a display method

$
0
0

Hello all,

I am attempting to create a modification to the WHSReleaseToWarehouse form where the grid control changes the record to a color based on a condition. I will be overriding the displayOption method in the datasource of the form.

The condition I was hoping to use is based on a display method. As I follow through the pattern for changing grid record colors I found that display method fields does not work.

For instance the below code errors out in the compiler. With the error "The table WHSInventTransSumDim does not contain the field displayQtyLeftToReleaseDelta." This is because the WHSInventTrnasSumDim is actually datasource named WHSInventTransSumDimSO and the field displayQtyLeftToReleaseDelta is the display method.

Can anyone recommend a way to use the display method in my condition?
Do I need to go down the route of creating a temp table?

public void displayOption(Common _record, FormRowDisplayOption _options)
{
    WHSInventTransSumDim        whsInventTransSumDimLocal;
   
    
    
    whsInventTransSumDimLocal    = _record;
    if (whsInventTransSumDimLocal.displayQtyLeftToReleaseDelta >= 1)
    {
        _options.backColor(WinAPI::RGB2int(255,255,0));//yellow
    }
    super(_record, _options);
}








The transactions on voucher do not balance as per 09/06/2016. (accounting currency: -11,502.90 - reporting currency: 0.00)

$
0
0

Hi,

I'm trying to post a journal in the general ledger module and I get the following errors:

Can someone help please?

Axapta AIF : Add Services reference dynamically , is there any way ?

$
0
0

 Hi Guys ,

Kindly help me out , I want to add services reference(WSDL services) in AX , but that should be dynamically or runtime , I have one field at form level which will have url ... I know we can add reference in .net via creating C# project but what if same thing I want to do dynamically , In short "Add Services reference" should be done by code or complex parameter link class should be able to pass via web URL ....

any good link or code, job would be Appreciated....

Thanks

Adding channel users in call center is not showing mode of deliveries in sales order. Error message 'is not a valid Mode of delivery'

$
0
0

Hi

Scenario1:

1. Go Retail->Common->Retail channels->Call centers. Add user in Channel users.

2. Go to Sales order form->Header->Delivery fasttab->mode of delivery. The list is blank. 

3. I am unable to save the record or move forward. Error message is '......is not a valid Mode of delivery'

Scenario2:

1. Go Retail->Common->Retail channels->Call centers. Remove user in Channel users.

2. Go to Sales order form->Header->Delivery fasttab->mode of delivery. The drop down is now showing the data.

 

I need to enable channel users in call center since i will have to use 'Payments' functionality in Sales order. Enabling channel users is giving error message 'is not a valid Mode of delivery.

Can anyone help me understand what i am missing. Since Contoso environment is working fine. This is on Ax 2012 R3 CU10. 

Regards

Setty

Number sequences special format

$
0
0

Hi, 

Would it be posible to set up the nr sequence to allow for a invoice numbering format according to this: "yymm##"

BR,

Erik

First X++ query based view

$
0
0

I am new to the AOT side of AX and am trying to build this query into an eventual test report.  I am unable to select DataSource on the view field property "PurchIDnotWork."

This is my progress:

DIXF Read Only?

$
0
0

Everything has been running pretty smoothly lately up until now... For some reason, our users are receiving an error stating our database is in Read Only. It's not every user, just those using DIXF to upload files. I'm really not sure what to look at here... If SQL was set to Read Only, pretty much everybody would be having issues. I've revalidated the access through the DIXF parameters. I've bounced the DIXF service. I made sure the working directory hasn't lost it's credentials. And I can access the Service URL from all those having issues. The error message we get is pretty bleak so I'm pretty much guesing at this point..

The only thing that seemed off was the working directory was at 98% storage taken. I archived any old data to another drive to free up the space, but it didn't seem to help. 

Does anybody have any ideas I could try? 

We're running DAX 2012 R2 CU7

Using SQL 2014

Inventory journal lines were posted in AX

$
0
0

Hi

We tried to post an Inventory Movement Journal. After clicking the Post button, journal header indicates the number of lines that were included in the journal, but no lines are shown when we click the Lines button. Journal was not posted in AX, but lines can be seen in SQL. What could have happened?


Authorize and Refund Credit Card

$
0
0

Hi all,

Urgently need assistant, Currently trying demo to authorised credit card payment manually. However I encounter the following infolog:

Function CreditCardProviderProcess.init has been incorrectly called.

C

Journal validation troubleshoot

$
0
0

Hi all, I have a problem when posting FA journal where it throws error

"Account structure XXX, for the combination YYY, is not valid for ledger ZZZ"

I already checked there's nothing wrong in the journal and also for the main account.

I try to use the main account in GL and it can posted but if in FA it throws that error.

When i debug the validation in LedgerVoucherTransObject\check method there's this query :

The RecID selected in Main Account table is the other company LedgerChartOfAccount and it compare with LedgerChartofAccount::current() which is the current company then it throws an error.

But in GL journal, when i debug it, it selected the correct company main account record, why in FA, the query always selected other legal entities?

Error No financial data is being updated in the inventory unit (Transportation Management Module)

$
0
0

Dear ALL, 

right now i'm implement TMS, when process outbound shipment appear error : No financial data is being updated in the inventory unit. 

this error appear when i'm shipment item using CW unit. .

please help...  

Dynamics AX Retail POS 2009 LOGO and BARCODE addition

$
0
0

Hello everyone !

I am working on retail POS dynamics AX 2009. I need to add a logo and a barcode on the sale receipt.

If i am not wrong then Dynamics AX R3 by default allow us to add logo and barcode we just has to use that accordingly.

But for Dynamics AX 2009 this functionality is not available by default and i have no idea how to add it. I know i have to add code in Peripheral project and Printer.cs class file and in printdoc_printPage function. But what exactly i am supposed to do is not known to me yet.

Any help will be appreciated. 

DMFEmployeeEntity not creating address

$
0
0

Hi Experts,

I am using DMFEmployeeEntity (AX 2012 R3) to create Employee records. I have creating the mapping of staging and target. 'Copy data to target' is creating employee records in the system except the address information.

To create the address I am using DMFEmployeeAddressEntity. Is there any possibility to use DMFEmployeeEntity to create employee records with address.

Thanks,

N.Sridhar

Using AIF application on AX7. Is it possible?

$
0
0

Hello, everyone.

We have plan that change the system into AX2012 R3.

and then, We will upgrade the system into AX7 after several years.

but we need to external application like .NET for our branch. 

Now, we consider using AIF to integrate application(or exchange data).

but i'm not sure that we can use it on AX7.

If it impossible, how should I do to upgrade more easily when we upgrade system into AX7 from ax2012

Payment not in the correct status: Authorized

$
0
0

Can anyone help me with this?

I configure the Authorised payment for credit card. When I create sales order with credit card payment it can go through. But when i try to cancel or try to make refund it stated as above.


Disabling SysDelectObjects after upgrade

$
0
0

Hi,

We have recently upgraded to AX 2012 R3 CU10 and are currently doing unit testing in PRD environment. We have an issue in VendTable form where when we try to edit the vendor we get the message stating the select statement has increased number of bytes consider changing the value on data base tuning. We have not added any extra data sources to this form which could cause this. So we considered changing the database tuning to 96KB from 48KB.

I have a feeling that changing this is causing issues in Vend Invoice journal where the application some time hangs when we try to create/update/delete in the Vendor invoice journal. Could this change on database tuning be the cause for application hang on journal.

So I want to disable the SysDeleteObjects 6.0,6.2,6.3 from the license configuration and sync the database. This operation might allow us to keep the database tuning to 48KB and help us to get rid of vendor edit issue and invoice journal hang issue.

My question is can we disable this SysDeleteObjects before going live, as few blogs suggest that this should be kept till we find the environment has been stable after the upgrade.

Could you please suggest your experience and suggestion on this?

Thanks,

Ismsail.

Delete the Item category and all attributes for a single item or all items

$
0
0

Hi All,

              I need to Create a simple job to delete the item category and attribute value .Can anyone Please help me Regarding that.

Thanks&Regards

Veeramani S

RDP Class not working

$
0
0

Hello,

So I have written the logic for getting all invoice line amount of all item IDs of a particular group for each day and displaying it in the SSRS. Please check the below code and advise where i went wrong as it is not throwing any error but the report is not even displaying the column names.

Please advise.

While (queryrun.next())
{
_TM_GLTable.clear();
_CustInvoiceTrans = queryrun.get(tableNum(CustInvoiceTrans));

_date = _FromDate;
_noOFDayes = _ToDate - _FromDate;
_totalamt =0;

for(i=1;i>=_noOfDayes;i++)

{

while select * from _inventItemGroupItem where _inventItemGroupItem.ItemGroupId == _ItemGroupId
{
select sum(LineAmount) from _custInvoiceTrans where _custInvoiceTrans.ItemId == _inventItemGroupItem.ItemId
&& _custInvoiceTrans.InvoiceDate == _date ;
_totalAmt += _custInvoiceTrans.LineAmount;

}
_TM_GLTable.initValue();
_TM_GLTable.InvoiceDate = _date;
_TM_GLTable.LineAmount= _totalAmt;
_TM_GLTable.insert();
_date = _date+1;

}


}

Invalid object name tempdb.DBO...

$
0
0

can you help me to handle error it?

urgent..

Add new field on WMS mobile device

$
0
0

Hi, Guys.

I have a new field on PurchLine named 'Test'. I need to add it on the mobile device "Purchase Receive" functionality. Whenever user scans ItemId then the new field "Test" should get populated on the screen. Also, the user should be able to search PurchLine on the value based on "Test".

Please help. Also, share some customization links for the mobile device for WMS.

Viewing all 46681 articles
Browse latest View live


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