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

Error: Class BOMCalcProd must be called with a production.???

$
0
0

Dear Experts,

When I "start" Production Batch Order this error occur"Class BOMCalcProd must be called with a production.". This error is occuring in just one business company. Already this issue has been discussed with developers.

Please Explain?


settle open transaction (fiscal period close) on few customers only error

$
0
0

Dear Experts,

          i face this problem first time that when user settling open transaction of a customer its appearing fiscal period close error..but i m totally blind here that this error is appearing on few customers...others customer's transactions in that entity is settling without this error..

may i know why and how it should be happened...error on few customers...but remaining are going well during settle open transactions.

Thanks in advance 

Regards

comvariant type error

$
0
0

     type =cells.item(row+1,1).value().variantType();
Error: t it is showing that operand types are not compatible with operator . My excel format is xlsx..

help me to resolve this

Warehouse minimum quantity with buffer properties

$
0
0

Dear,

 

I will first describe our own situation.

We have a global warehouse for our inventory of our raw material and semi-assembled parts.

We have multiple production area's with their own small location to store the parts needed in the next production orders.

For some high runners products we deliver the parts in higher fixed quantities to reduce the movements (and counting) between the warehouse and production locations. This results in a small inventory at our production area.

Our goal is that the parts will be delivered from the warehouse. We don't want some material movements between different production areas.

For instance "production area 1" needs "part A". We have some small inventory from "Part A" at the location of "production area 2", but still we want the material be delivered from the warehouse and not from "production area 2".

As long as we have some inventory in the warehouse, we don't have any issues with this, so far...

But since we have some parts at the production area which are not reserved for a specific order, Ax will take them into account when a new order has been implemented. This can result in a situation that -for this specific order - we don't have enough inventory in the warehouse itself, since we have some “not reserved material” By which need to make some material movements between different production areas. Something we don't want to do...

A small inventory buffer in the warehouse would solve this issue.

What could be a solution for this?

Our first idea is creating a minimum stock in the warehouse. But this should be a minimum stock which has the possibility to work as a buffer. I mean that the AX system must create orders to strive to have the inventory above this minimum level, but in case the production area is demanding some material, those parts will be delivered, by which the warehouse quantity will be temporary below this minimum level.

As far as I know, the AX minimum setting doesn’t allow to have a temporary lower quantity at the warehouse location.

A solution for this issue would be a huge step to our supply chain.

 

Thanks in advance!

Error :" Number ME1000011215 does not match format TMP1#########."

$
0
0

Hi,

I get an error when I want to delete the general journal.

Error :" Number ME1000011215 does not match format TMP1#########."

LedgerJournalTrans.Voucher = ME1000011215
NumberSequenceTable.Format = TMP1#########.

I found the problem by debugging.I get this error because of the control I mentioned below;

if (strLen(num) != strLen(format))
throw error(strFmt("@SYS25062",num,format));


But I create log with Ax's standard screens.LegdgerJournalTrans.voucher number series standard.I am not doing a manual operation.I checked the number series setups.

Have there been any such bugs before?
I'm glad you helped me.

Best Regards.
Seçil.

remove " " from the text when exporting into .TXT format in ax 2012 using x++

$
0
0

Dear all,

i have to export data from ax to .txt form , everything is working but i want output like given screen without " "

static void askexportfile(Args _args)
{

CommaIO CommaIo;
FileName fileName;
;

fileName = @'D:\Support\akshay\' + custinvoicejour.InvoiceId + ".txt";//".csv";

CommaIo = new CommaIO(fileName,'W');
 CommaIo.write('Name','ItemName,','Qty');

CommaIo.outRecordDelimiter(" ");


CommaIo.write("akshay","10001",6 );


}

WINAPI::shellExecute(fileName);
}

Output

how do i get file without " " this. Like

Please provide me solution on this how do i achieve this.

Thanks

Akshay

AX2009 - Electronic invoicing setup (Belgium)

$
0
0

Hi all,

I'm trying to set up electronic invoicing on an AX 2009 environment with KB3190092 installed, since this is required by the regional goverment (in this case Belgium, region Flanders).

I've followed the white paper from the KB, and everything seems to be OK on the customer / AIF / batch ... end.

The only thing missing seems te be a digital certificate I need to set up.

Where do I obtain the certificate ? Is this issued by the goverment ? Can I use a generic certificate for testing purposes ?
What is the setup in AX for Belgium concerning these certificates ? The white paper seems to conveniently skip this part.... (found setup related info for Mexico, but that's about it...)

Thanks in advance for any insights !

AX2012 : DMF error with code Error executing code: FormRun (data source) has no valid runable code in method 'new'.

$
0
0

I have a problem when I clicked modify source mapping in DMF module. I try to reinstall DMF already.

I can't find some classes that show on error log (Classes\FormFunctionButtonControl).

Can you help me for this case.

Error executing code: FormRun (data source) has no valid runable code in method 'new'.

Stack trace

(C)\Classes\FormRun\new
(C)\Classes\SysSetupFormRun\new - line 4
(C)\Classes\ClassFactory\formRunClassOnClient - line 10
(C)\Classes\ClassFactory\FormRunClass - line 24
(C)\Classes\FormFunctionButtonControl\Clicked


Lock symbol on the fields

$
0
0

If the User is assigned to the particular Role with Only one legal entity ,if he open a particular form he is unable to view the field data.it is grayed out and small lock symbol is coming on the field. How can i solve this issue ?

if I assign this Role with all Legal entities.then i am able to view the field data.

Create a claims-aware Enterprise Portal site

$
0
0

Hello Community,

I keep getting the error below when executing new-AXClaimsAwareEnterprisePortalServer -Credential $Cred -Port 443 -SSLCertificate $SSLCert.

I have set the values for $Cred and $SSLCert already
I am using Dynamics AX 2012 Management Shell. I enabled Remote signing. I am running as admin.

Any help would be greatly appreciated.

PS C:\Windows\system32> new-AXClaimsAwareEnterprisePortalServer -Credential $Cred -Port 443 -SSLCertificate $SSLCert

 

new-AXClaimsAwareEnterprisePortalServer : Object reference not set to an instance of an object.

At line:1 char:1

+ new-AXClaimsAwareEnterprisePortalServer -Credential $Cred -Port 443 -SSLCertific ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : SecurityError: (Object referenc...e of an object.:String) [New-AXClaimsAwareEnterprisePortalServer], NullReferenceExce

   ption

    + FullyQualifiedErrorId : New-AXClaimsAwareEnterprisePortalServer,Microsoft.Dynamics.Administration.Powershell.NewAXClaimsAwareEnterprisePortalS

   erver

Query with filters for dates

$
0
0

Hi Everyone,

Im new to AX....So I have create a Dialog having fields FromDate and ToDate...and when enter the values for these two fields...

I want to print all the sales order in info whose SalesOriginId = "WEB" and InvoiceDate is between the range FromDate and Todate(entered above).....i want to perform this operation  through query class..

Can Someone pls help..

thanks in advanve

PO Accrual Not Being Relieved

$
0
0

I created a PO and received it. All went well and from a FInacial Side it created the accrual on the GL. HOWEVER when I invoice, it does not relieve the accrual. Therefore my GL is off. It appears it is a new item I am using and NOT happening on all PO's. What am I missing?

Customer balance form not updating correctly

$
0
0

Hi

I am having an issue with the "ordered" and "credit remaining" fields not updating for a customer.  I have the credit limit type in sales parameters set to Balance+All.

To recreate I create a new GBP customer with a credit limit of £2000. I put on a few orders, but do not invoice them. These should adjust the figures of the ordered and credit remaining fields on the balance form but they do not.

If I run the recalculate credit limit batch job it doesn't make any difference.

If I change the customers credit limit to £3000 it asks me to recalculate the credit limit, which I do. Only then does it update the customer balance form.

Is there a parameter to force these balances to update in real time?

Thanks,
Joe

How to get current PurchOrder(id)?

$
0
0

Hi everyone,
I create one form ,which shows all PO ,SO and inventTransId :

I want when I open first /Accounts payable/Common/Purchase orders/All purchase orders and click of any Purchase order like this:

When I click PurchOrderQuery , this button open this form from first picture , I want in filed with SO,PO and inventTransId  automatically to show current PO or SO .

Give me some code.


Regards,
Vladislav

Some users can see many fields in any forms

$
0
0

Dear Friends,

I want setup some users can see some fields in any forms. Example: I open customers form. I want:

1/ User A can see some fields in Customer region (ignore some other regions)

2/ User B can see some fields in Customer, Address region (ignore some other regions).

3/ User C can see field Account, Name in Customer region (ignore some other regions).

Question: Can AX 2012 support it?.


50Kg is discount 5%, 2kg is no discount

$
0
0

Dear Friends,

The ABC company want to setup the promotion is:

1/ If customer A buy quantity 52Kg then 50kg is discount 5%, 2kg no discount.

2/ If customer B buy 1.5M USD (amount) then 1M USD is discount 10%, 0,5M USD no discount.

Question: Can AX 2012 support it?.

Issue with Generic List in X++

$
0
0

Working in AX 7.
I am using a service in which I have used a generic List<model> in C#. I have called that service in AX class. When I am passing the parameter of type Generic List to service method, it is not accepting. 

Below is the code for C# service.

Public string CreateMethod(parm1,parm2,parm3,System.Collections.Generic.List<Model> list,parm4) 
{

}

Below is the code for AX class

Service.ItemsDetail items = new Service.ItemDetail();


System.Collections.Generic.List<Service.ItemsDetail> lista = new System.Collections.Generic.List<Service.ItemsDetail>();

while loop

{

items.a = 1;

items.b =2;

lista.Add(items);

}

Service.CreateMethod(parm1,parm2,parm3,lista,parm4);

on "lista" it is not accepting. Although it is of same type as of C#.
screenshot is also attached.




Web service from outside VPN not available

$
0
0

Dear community,

I created an inbound port with the HTTP adapter and added a document service to it. I am connected to the DEV environment over clients VPN.

Now the inbound port is successfully deployed and I can see the service in web browser with VPN connected.

http://XXXXXXX:8888/MicrosoftDynamicsAXAif60/XXXXXXXXXX/xppservice.svc

when I connect to the web seite outside of vpn, I get an error:

Can’t reach this page; Make sure the address is http://XXXXX is correct.

What setuo should I change to make the web service available over the internet?

How to disable fields for certain application users?

$
0
0
Greetings to all!
I'm working on AX2012 and I need to disable a checkbox type field inside a form.
What I want is this field (checkbox) appear disabled for certain application users and enabled for other users.
I have created a privilege to achieve it assigning it to application users but I have not obtained positive results.
 Is it possible to do this by code? How is it possible to do it?

Thanks for your help and for your comments.
Have a good day!
Regards from Mexico!

As keyword in D3FO

$
0
0

Hi All,

Can you please let me know what is the use of "as" keyword n D3FO?

Give me an example how it's work practically.

Please give me more shed on this.

Thanks!

Viewing all 72043 articles
Browse latest View live


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