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

Unit that is used by production order

$
0
0

Hi

I just wanted to confirm that which unit configured on the product that will be used as the production order unit ?

and is it possible for me to change the unit on the production order ?

Thanks.


Project CategoryID/CategoryName Not Being Displayed

$
0
0

Hi,

I recently created a new project category in Proj Mngt & Acct.  Problem I'm having is that I can view the corresponding Shared Category under Shared Categories but cannot see the Project Category in the list under Project Categories.   When I try to create it again, i get the error message: "The record cannot be created because it already exists in either the Project accounting, Expense management, or Production application."

I did a lookup in the ProjCategoy table but the entry does not exists there.  I also searched the Category table but still to no avail.   Can anyone point me in the right direction to getting passed this.  Is there any other table in the DB where this entry is created.  

Thanks

PRODUCTION ORDER/WORK ORDER (RETURN OR CANCEL)

$
0
0

Hi,

Is it possible production order can be canceled or returned?

please guide me if you know about the process of cancellation or return the production order

thanks

i shall be thankful for your future consideration

Kind Regard

Rana Imran 

AX 2012 R2 - Is there a functionality regarding dynamic quality test

$
0
0

I´m searching for input regarding a dynamic quality test with Dynamics AX 2012. There is an ISO norm 2859-3 that describes a procedure that adapts its check routine to the previous test results. But it is not required to cover this norm 100%.

Has anybody experience with such a quality test and AX 2012?

AX resultset class.

$
0
0

Hello,

I am using resultset in AX.

if there are 100 columns, and I want to getString from the resultset from each of the column.

I do loop like this:

for (i = 1; i <= 100; i++)
{
  s = myResultset.getString();
}


The above is time consuming. If I have 1000 rows and 100 columns, for 100 rows it is about 15 seconds (because of the function getString, which is very long time consuming).

Is there any better performance to get the columns value (in a balk or something ...)?

Thanks :)

adding external views to AX.

$
0
0

Hello,

I created a complicated view (outside AX), and want to integrate it into AX.

Is there any way integrate an external view, which was written outside AX into AX?

Thanks :)

milestones billing

$
0
0

Hi everybody,

I have to make a bill based on milestones in fixed price project , but i have a problem when i open the bill proposal interface the system don't find the on_account transactions that represents milestones .

Can any one help please .

Error: post (credit note) invoice

$
0
0

Hi there,

 

         We created 2 sales order which are already posted invoice. Now since the customer had returned the products so, we need to create credit note. So, we create a new sales order with Return type and use the function> create credit note> select only the orders line from both invoices in the bottom part of ‘create credit note’ form. It seems ok when we posted packing slip. But it shows the error while we try to post invoice. The error message is

 

S0-XXXX

“ Quantity –xx cannot be returned, as items have already been returned or marked as open transactions”

 

      We did a couple check on Inventory button> marking and nothing is marked. Also, we check in the open transaction editing in AR>Function> Open transaction editing. And it shows that there is a red hand symbol but after we go to inquiry button> specification: there is nothing show up in the overview tab

 

     Could anybody please help ?

Regards,

 


Modify the amount of a fixed asset?

$
0
0

Hi

We have entered the wrong amount when we registered a fixed asset.

Can I change the amount of a fixed asset and then run the depreciation again from beginning?

Using Microsoft Dynamics Ax 2009

Regards

Jessica

Transit warehouse and WHS

$
0
0

For intercompany sales orders I would like to use the Transit warehouse to simulate that goods are on the way from company A not yet received in company B. It seems like this Transit Warehouse is only beeing used when shipping Transfer orders and not Sales orders. Is there a way to get this working like Transfer orders ?

Receipt margin

$
0
0

A purchase order is scheduled for receive on 28.01.2015.  Currently the ATP info shows this date as a available date. But normally is the receipt not directly availabe for delivery on the receipt date.  I am searching for a margin setting. So I can setup a margin of 1 day between receiving and delivery. 

ATP +issue margin is no option because then you have always a margin and not only in case of receipts. 

Item requirement returns

$
0
0

Hi .. I just need to check that I haven't missed something here and if anyone can offer the best practice on the following.

 

AX 2012, R2, CU6,

Project management and accounting (Currently, I don't use this module but there is a possibility that this area may be of use to me, so I may have missed something)

I have a project, project type is internal and I have worked out how most of the process flow works. Using the item requirements form, I can issued items to the project (create the delivery note) and issue to the project's WBS (work breakdown structure) / Activity number and at a specific cost. The subsequent project sales order has an invoiced status, the project remains 'in progress'

 

This is what I am missing:

 

What is the correct way to return an item that has been delivered to an internal project and to a specific WBS / Activity number so that the costs and item are returned back into stock correctly?

I need to return that specific issue from a specific activity number at that specific cost, basically a total reversal of the original, like a credit note.

 

I 'can' do this manually by adding a negative item quantity, selecting the activity number in question then assigning the lot ID / return lot ID through the item requirements form, then produce the delivery note. I am hoping that there is a better way to do this and less prone to user error.

 

Thanks in advance

 

Martin

 

[WHS] change inventory status between pick & put ends in a deadlock

$
0
0

Hi,

is it even possible to change the status in a movement work from available to blocked?

I change the status by code (simply setting "_toInventStatusId" in code down below) if the target location is some special location.

The code seem to allow that:

Bu if i try to execute the movement work it ends in a dead lock. The client pretends to process and i have to restart AX.

Now my question is, is it an illegal action to change status during work?

Edit:

I completed the work by WHSWorkExecute-Form and it worked out perfectly. Maybe some parameters are missing when i execute it by "Complete Work"-Button. I suspect the target LP. But i wonder why i didn't get an error message. But now it's weekend! I'm outta here.

Greetings Nils

AOS service start

$
0
0

Hi,

restored DB , db_model  with the contoso demo data in sql . it was successful.

but when I try to start the AOS services I getting error saying that

"windows could not start the microsoft dynamics ax object server 6.2$ ####### on local computer.for more info review the system event log.If this is non microsoft service contact the service vendor , and refer to service specific error code - 90"

when I open the system event log I found two errors

1)

The Microsoft Dynamics AX Object Server 6.2$01-######### service terminated with service-specific error %%90.

and 2)

The event logging service encountered an error (5) while enabling publisher {b977cf02-76f6-df84-cc1a-6a4b232322b6} to channel ForwardedEvents. This does not affect channel operation, but does affect the ability of the publisher to raise events to the channel. One common reason for this error is that the Provider is using ETW Provider Security and has not granted enable permissions to the Event Log service identity.

Am not able conclude solution for it, please help on this.

Thanks in advance.

Login failed for user 'CONTRACKFM\AXAPP'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: ]

$
0
0

i got error in AX dynamics .What is wrong??? i need anybody help ??


Building Query to summerize customers overdue balance

$
0
0

Hi.

I am struggling a bit with building a query that can present me with customers overdue balance. I think the issue is related to group by, but not sure. The problem is that I only get one record with a sum for all customers and not per customer as expected. Here is my X++ code (I have also tried an AOT query with the same result).  Any suggestions is appreciated.

    CustTable custTable;
    CustTransOpen custTransOpen;

    Query                   q;
    QueryRun                qr;
    QueryBuildDatasource    qbds, qbds1;
    QueryBuildRange         qbr;
    QueryBuildFieldList     qbf;
    ;

    q = new Query();
    qbds = q.addDataSource(tablenum(CustTable));
    qbds.orderMode(Ordermode::GroupBy);
    qbr = qbds.addRange(fieldnum(CustTable, CustGroup));
    qbr.value("10");
   
    qbds1 = qbds.addDataSource(tablenum(CustTransOpen));
    qbds1.orderMode(Ordermode::GroupBy);
    qbds1.joinMode(JoinMode::InnerJoin);
    qbds1.relations(true);
 
    qbf = qbds1.fields();
   
    qbf.addField(fieldnum(CustTransOpen, AccountNum));
    qbf.addField(fieldnum(CustTransOpen, AmountMST), SelectionField::Sum);

    qr = new QueryRun(q);
    while(qr.next())
    {
        custTable = qr.get(tablenum(CustTable), 1);
        custTransOpen = qr.get(tablenum(CustTransOpen), 1);

        info(strfmt("Customer %1 - %2", custTable.Name, custTransOpen.AmountMST));
    }

Inventrans.datestatus

$
0
0

Hi,

we have problems with InventTrans.DateStatus.

This field is set by the method "setStatusDate" but this method is never called when updating the record. If we change the dates in a sales line or in a purch line dateStatus is false (not changed).

This date is also used as request date in MRP calculation (class ReqCalc), so MRP is also false and the reqTransOverview also.

In Ax2009, the method setStatusDate was called in the begining of the update method.

Why this difference between 2009 and 2012 ?

Calling setStatusDate in the begining of the update method like in AX2009 correct the problem ?

Status Bar

$
0
0

Hi,,

I need to add a new field in the status bar. But, I don't know how!
So, can anyone help me?

AOS crashes when trying to compare objects in AOT

$
0
0

Hi All,

When I am trying to compare objects in AOT, AOS crashes. The windows event log on sever showing the following error:

Faulting application name: Ax32Serv.exe, version: 6.2.1000.1763, time stamp: 0x51c98642
Faulting module name: clr.dll, version: 4.0.30319.18444, time stamp: 0x52717f9a
Exception code: 0xc0000005
Fault offset: 0x0000000000131bd2
Faulting process id: 0x18dc
Faulting application start time: 0x01d039cb491d8816
Faulting application path: AX32Serv.exe path.
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

and the below error is generated from .NET runtime:

Application: Ax32Serv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 000007FEF9591BD2 (000007FEF9460000) with exit code 80131506.

Has anyone faced similar issue before and what could be the resolution?

Thanks.

Dependent task runs before other tasks in batch?

$
0
0

Hi,

I'm creating a batch job through X++ code. I've created a main task MT using addTask() method and created several other tasks and then setup a dependency of all these tasks on the main task.

For example,

batchHeader.addTask(dependencyController, batchHeader.parmBatchHeaderId());

sysOperationServiceController = new SysOperationServiceController(classStr(MyClass), methodStr(MyClass, myMethod));

threadContract = sysOperationServiceController.getDataContractObject();

threadContract.parmMinWeek(1);

        if (batchHeader)

{

batchHeader.addRuntimeTask(sysOperationServiceController, batchHeader.parmBatchHeaderId(), BatchConstraintType::And);

batchHeader.addDependency(dependencyController, sysOperationServiceController, BatchDependencyStatus::Finished);

}

sysOperationServiceController = new SysOperationServiceController(classStr(MyClass), methodStr(MyClass, myMethod));

threadContract = sysOperationServiceController.getDataContractObject();

threadContract.parmMinWeek(2);

        if (batchHeader)

{

batchHeader.addRuntimeTask(sysOperationServiceController, batchHeader.parmBatchHeaderId(), BatchConstraintType::And);

batchHeader.addDependency(dependencyController, sysOperationServiceController, BatchDependencyStatus::Finished);

}

The issue is that the dependent task is running before the other tasks have completed execution. Even though while debugging, first the two tasks are hit and then the dependency task is hit but the status of he two tasks are still executing.

Due to this, my logic has issues.

Has anyone faced this scenario ever? Any help will be highly appreciated.

Viewing all 72043 articles
Browse latest View live


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