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

warning infolog after inventory closing

$
0
0

Dear all, 

i got warning infolog after inventory closing.

the infolog is 

 

Transaction: Transfer order shipment TO-###### lot ID LOT-######

Unit cost price ###### can be wrong as the transaction cannot be fully settled.

Kindly advise, how to solve.

The inventory closing is success closing with the above infolog.

Thanks

Regards


How to turn on/off AX VM through Powershell

$
0
0

First, you need to install Azure PowerShell Go to the Azure Downloads page and click the link to install the Azure PowerShell cmdlets. clip_image001

Step 1: Get-AzureVM to find out all your VMs hosted on Azure. In my case i have one VM for AX2012 which was deployed through LCS image

Make sure to copy ServiceName and Nameimage

Step 2: How to start image

Syntax: Start-AzureVM -ServiceName "AX2012R3-Demo-Demo-da16992830bbf75a" -Name "DEMO-41e1aa3f1f" Refresh Azure Portal > VM > Status , you will see eventually the status will become “Running” imageimage

Step 3: How to stop image

Syntax: Stop-AzureVM -ServiceName "AX2012R3-Demo-Demo-da16992830bbf75a" -Name "DEMO-41e1aa3f1f" -Force imageBonus: How to get RDP fileimage

Syntax: Get-AzureRemoteDesktopFile -ServiceName "AX2012R3-Demo-Demo-da16992830bbf75a" -Name "DEMO-41e1aa3f1f" -LocalPath "c:\temp\AzureAX.rdp" image

How to launch RDP from command line directlyimage

Syntax: Get-AzureRemoteDesktopFile -ServiceName $serviceName -Name $vmName –Launch A session will pop up and prompt to connect to the VM image

How to delete a virtual machineimage

Syntax: Remove-AzureVM -ServiceName "AX2012R3-Demo-Demo-da16992830bbf75a" -Name "DEMO-41e1aa3f1f" –DeleteVHD image

Regarding Product Template Customization in AX 2012

$
0
0

Hi,

Product template helps create new products based on existing product. Basic product data (except Product number, Product name and Search name) are then copied to the created product from template. Template can be set based on existing product.

My question is how we can are add new fields which will be included in template-functionality. When a product is set as template and it has values in the new fields, they are copied as well to the created product, when the template is used.

Regards

Arun

 

 

While editing dataset for SSRS,I found that a certain created field not displayed

$
0
0

Plz somebody help me as an using Report data provider as query

Origin of SalesTable form dataSource named "LogisticsPostalAddressDeliveryLine"

$
0
0

Hi everyone,

My question is about SalesTable form, in a sales order line details, there is a field for Address, its name in AOT is LogisticsPostalAddressDeliveryLine_Address.

This field has a datasource named "LogisticsPostalAddressDeliveryLine" and the DataField is "Address".

But there is no dataSource with this name in the form.

Can anybody tell me how, & in which method, is this table added to the form's dataSources?

Sales Statements are posted but not reflect in Sales Ledger

$
0
0

Dear All,

We are using the Dynamics AX 2012 R3, Sales Statement for Daily Sales calculated and posted in the system but Sales Ledger not shows the amount. Posted Sales Values are not updated to Ledgers.

Please can anybody suggest on this..

Suresh Kumar

Which SSRS Report in AX 2012 generates Pro forma Invoice Report in Purchase?

$
0
0

Hi,

I want to change the layout of Pro forma Invoice Report in Purchase that is generated when the Pro forma Invoice button (labelled as PurchFormLetter_Proforma_Invoice under the Action Menu Item) is clicked from the Invoice tab within a Purchase Order. The output looks to be an SSRS report which prints to screen and I don't know how to get to it. Please help. Thanks.

Dhanya

security permissions into Excel

$
0
0

Hi all,

how to export security permissions into Excel?
I want to create a excel tracking all the security permissions of each user group.

Thanks
Gautam


Adding method in form in ax 2012

$
0
0

HI All,

I am trying to add a method to form dynamically, first i check if the method exists, if found i will delete that method and create new one, if not found i create new method simply. here is the code i am using. The following code is checking for the method existence and if not found its creating new method. BUT when method exists, it is not doing the way i wanted it simply stops and crashes the ax. please help me in correcting the following thanks in advance 

private void findOrCreateTimeStamp(
SysVersionControlTmpItem _item)
{
str timeStamp;
str methodSource;
UtilElements utilElement;
FormBuild formBuild;
MemberFunction method;
Object formRun;
Args args = new Args();
SysVersionControlTmpItem item = _item;
str methodName = "csGetVersion";
int time = timenow();
TreeNode treeNode = TreeNode::findNode(item.ItemPath);

utilElement = treeNode.utilElement();
timeStamp = date2Str(
today(),
321,
DateDay::Digits2,
DateSeparator::Slash,
DateMonth::Digits2,
DateSeparator::Slash,
DateYear::Digits4,
DateFlags::None);

timeStamp = timeStamp + "_" +
num2str0(time div 3600, 2, 0, 0, 0) + ":" +
num2Str0(time mod 3600 div 60, 2, 0, 0, 0) + ":" +
num2Str0(time mod 3600 mod 60, 2, 0, 0, 0);

methodSource = "public static str csGetVersion()\n{\n return '" +timeStamp+ "';\n}";

if (utilElement.recordType == UtilElementType::Form)
{
args.name(utilElement.name);

formRun = ClassFactory.formRunClass(args);
formBuild = new FormBuild(utilElement.name, true);

if (formHasMethod(formRun, methodName))
{
//Delete existing method and create new method here, since the method already exists in the component.
treeNode = formBuild.form().AOTfindChild('methods');
method = formBuild.form().AOTfindChild('methods').AOTfindChild(methodName);
method.AOTdelete();

formBuild.addMethod(
methodName,
methodSource);
}
else
{
//Make a new method here since it does'nt exist in the component.
formBuild.addMethod(
methodName,
methodSource);
}

formBuild.form().AOTcompile();
formBuild.form().AOTsave();
}
}

Need to find month of any quarter in best optimum way

$
0
0

Hi,

 I need to get the month on the basis of year and quarter.

In a year, we have 4 quarters and each have 3 months.

 

For example,

Year = 2014, quarter = 4, month = 3

Then get the name of the month. In above example it is December.

Regards,

Rishi

Transaction has already been posted.

$
0
0

Hi All,

I get this error while posting Vendor Invoice. Any idea why this will happen? The packing slip is posted by order quantity and vendor invoice is by product receipt quantity.

Thank you.

Budget Control for Fixed Assets

$
0
0

Hi All,

We created a budget register for ledger type-Assets.the system in not checking budget for those ledgers on fixed asset journal even though i created fixed asset budget register.

Budget checking is working fine for Type -Expense but not for Fixed Assets.

Kindly help.

Pallet isn't on location warning doesn't appear

$
0
0

Hello,

When I'm doing transfer journal and defining Inventory dimensions systems doesn't show warning message that given Pallet ID isn't at given Location.

For example if pallet1 is at location1, but in From / To inventory dimensions I select pallet1 - location2 it doesn't show message that pallet1 is not at location2 and to use the move pallet function when I press validate button or when I post.

Is there any setup that should be applied?

Memo Fields and Full Text index searches

$
0
0

Hi All.

I'm looking for some advice on searching Memo fields. We have a full text field that we would like to search in (performance is not an issue as its only a debugging function).


Enabling a FullText index and creating a FullText range on a query does not work as the DB handles '-'(dash) and ' '(space) characters not as themselves but as keywords such as "OR". Meaning the results are good for certain scenarios but for specific searches they yield too many results rather than specific accurate ones.

I'm able to do direct SQL queries on the table using "where myfield like '%Some String%'" but I cannot get this right in AX.

Reduce Cost price of an Item

$
0
0

Hi all,

I want to reduce the cost price of an Item.

For instance I posted opening balances through movement journal. And for an item i have gave cost price as $10 instead of $8. I want to reduce the cost of that item now. How can i do that ? Can anyone please help me out.

Thanks,


AX Performance issue

$
0
0

Hi All,

My Dev environment is too slow, how to increase the performance?

My Machine is of 16 GB RAm and 4 core processor.

Can any one explain in detail how to optimize the performance?

 

Regards,

Aravind

How to Install multiple Enterprise Portals on the same server ax 2012

$
0
0

I need to Install multiple Enterprise Portals on the same server ax 2012

can any one help me to do that?

SSRS: Unable to connect to report server

$
0
0

Hi,
I have a problem with one Reporting Server in our environment. The environment looks like this:

TS: Terminal Server with the AX client (AX2012 R3 RTM)
AOS-DEV: An AOS server with Reporting Services and extension installed.
AOS-TST: An AOS server with Reporting Services and extension installed.
SQL: SQL Server with SQL 2012, holds the Report Server databases

Both report servers are set up according to: https://technet.microsoft.com/EN-US/library/gg751340.aspx using the BC proxy account and access given to the same users/user groups.

I can deploy reports and reach the Report Manager URL on both DEV and TST environment locally, but I can only reach the Reports and Report Manager URL for the DEV environment from the Terminal server.

When trying to validate the settings in AX I get this error message: "Unable to connect to the report server at AOS-TST. Make sure that SQL Server Reporting Services is configured correctly matching the report server configuration in the Microsoft Dynamics AX client."

What might have been misconfigured, or is missing on the TST server? I have exhausted all my options and would really appreciate some help on this issue.

Thanks in advance,
Torben

Unable to update a service order line using C# / AIF Web Services

$
0
0

Hi,


I need some help in updating a service order line using the Service Management module. This is my first attempt at any update and I am new to AX.

This is what I want to do:

public void updateServiceOrderLine(AXServiceReference.SMAServiceOrderServiceClient client, AXServiceReference.CallContext context, String serviceOrderId)
{
            AXServiceReference.EntityKey[] entityKeyList = new AXServiceReference.EntityKey[1];
            entityKeyList[0] = new AXServiceReference.EntityKey();
            entityKeyList[0].KeyData = new AXServiceReference.KeyField[1];
            entityKeyList[0].KeyData[0] = new AXServiceReference.KeyField();
            entityKeyList[0].KeyData[0].Field = "ServiceOrderId";
            entityKeyList[0].KeyData[0].Value = serviceOrderId;

            AXServiceReference.AxdServiceOrder serviceOrder = client.read(context, entityKeyList);
            AXServiceReference.AxdEntity_SMAServiceOrderTable entity = serviceOrder.SMAServiceOrderTable.First();
           
            AXServiceReference.AxdEntity_SMAServiceOrderLine line = entity.SMAServiceOrderLine.First();

            line.action = AXServiceReference.AxdEnum_AxdEntityAction.update;
            line.actionSpecified = true;
            line.ProjSalesPrice = 5;

            client.update(context, entityKeyList, serviceOrder);
}

This gives me the exception: "Document Service order could not be updated. Error details: The document hash does not match the hash in the XML. The document may have been changed since last read".


So I tried various things like setting the "action" to "update" on the root document and all the subtables, so it doesn't try and create new lines for anything, but I am still getting the same error.

No one else is using the system at all, so there is no update clash. The error come from within the code.

Any help in resolving this would be greatly appreciated.

Regards

Chris

Unable to delete "created" Transfer Order. - Inventory and warehouse mgt

$
0
0

Hi,

Does any one encountered error while deleting Transfer order record. When we create Transfer Order and try to post it, the "Ship transfer order" is disabled. Then when we tried to delete it an error show up.

Viewing all 72043 articles
Browse latest View live


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