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

RE: Purchase red Budget stop


Purchase red Budget stop

$
0
0

I currently have purchase requisition workflow set up and this is in operation.

I have now added full budget control as well.

When I create a purchase red which exceeds the budget I get a warning or stop based on my group, however I can still submit to workflow. Then purchase req then follows the normal approval path.

What do I need to stop on the purchase req workflow t stop the submitting of the workflow, or at least allow the workflow to go into error?

RE: Vendor Retention Release R2

$
0
0

Hello Ian,

I can understand this.

If there is a possibility think about migrating to d365fo because then you will always be on the latest version and do not have to think about hotfixes and these things anymore.

All the best,

Ludwig

Vendor Retention Release R2

$
0
0

I have created a retention release invoice using the PO once it has been invoiced, but there doesn't appear to be a way to make that invoice calculate and add tax?

RE: 1180 Job throws error

$
0
0

Hi Haribaskar,

Did it work before? There can be an issue with a connection. The database can be not reachable or credentials provided are not correct.

Product receipt issue.

$
0
0

Hi All,
Purchase order made for one vendor but product receipt is posted for another vendor in ax 2012.
Posted Product receipt with zero quantity. in product receipt >> Lines tab >> ordered showing quantity but that quantity is not related to this purchase order.

* User is telling that he has not made product receipt.

how system automatically product receipt got posted.

>> how product receipt got posted with zero quantity with another vendor it should not happened.

how it was happened can any one please suggest.

RE: How to get Vendor primary tel, fax, email in AOT Query

$
0
0

Why don't you  take a chance to look at existing vendor report, which displays the basic vendor information.

BTW each party has a primary location and there are contact information against the primary location. this includes things like Phone#, Fax, etc.

On VendTable there are methods like email(),  postalAddress() etc. These can be seen to get the idea about how you can get the information.

How to get Vendor primary tel, fax, email in AOT Query

$
0
0

Hello All,

I need put the Vendor's information about tel, fax, email (primary) in SSRS report.

I just can use AX 2012 AOT Query, please help and thank you.

I use SQL:

select P.PURCHID,P.ORDERACCOUNT,P.PURCHNAME,V.TAXGROUP,V.PAYMTERMID,V.CURRENCY, Max (case when D.PRIMARYCONTACTPHONE = LA.RECID then LA.LOCATOR else '' end) as 'Phone',Max (case when D.PRIMARYCONTACTFAX = LA.RECID then LA.LOCATOR else '' end) as 'Fax',Max(case when D.PRIMARYCONTACTEMAIL = LA.RECID then LA.LOCATOR else '' end) as 'Email'
from PURCHTABLE as P join ( VENDTABLE as V join ( DIRPARTYTABLE as D join LOGISTICSELECTRONICADDRESS as LA on D.RECID = LA.PRIVATEFORPARTY ) on V.PARTY = D.RECID ) on P.ORDERACCOUNT = V.ACCOUNTNUM
Group by P.PURCHID,P.ORDERACCOUNT,P.PURCHNAME,V.TAXGROUP,V.PAYMTERMID,V.CURRENCY
order by P.PURCHID

Br, Jen


RE: Product receipt issue.

$
0
0

You can investigate the related tables VendPackingSlipJour, VendPackingSlipTrans, VendTrans, InventTrans, to see if the createdDateTime matches.

Probably, somebody changed the vendor in the DB/Table browser/code..

Run batch job for AIF data

$
0
0

Hi Experts,


I have one table, using that table I created AIF document service, and using that Inbound service we are able to created data in our table.

Our requirement is to run a process(Batch job) moment data comes to our table through AIF, I have written my code on insert() method of table but its not working when data is coming through AIF.

Please suggest me

RE: Security Policy with a query union linked to Role

$
0
0

Hi André Arnaud de Calavon,

Yes of course :-)

I created a new field on PurchTable (and not need to link HcmWorker anymore) and the query union is replaced with a simple query with a simple range and its value is a query expression:-)

The Union looks like :

SELECT * FROM PurchTable

WHERE .... AND EXISTS (SELECT * FROM PURCHTABLE WHERE ....) OR EXISTS (SELECT * FROM PURCHTABLE WHERE ....)

New query looks like:

SELECT * FROM PurchTable

WHERE .... OR ... OR ...

And my performance is back :-)

Dona83

RE: Product receipt issue.

$
0
0

Hi Sunil,

In addition: the system cannot do things like creating product receipts or changing vendors by himself. If it wasn't a user, it could be caused by a customization or another user.

RE: Upgrade to CU 13 from CU 8

$
0
0

You should run CU13 update installer first, only then start working with ISV / custom code.

1. Run CU13 update installer in dev

2. Update ISV solutions in dev

3. Resolve code conflicts on CUS layer

4. Run data upgrade

Upgrade to CU 13 from CU 8

$
0
0

Hi 

One of my customer is planning to upgrade from CU 8 to CU 13. Just wanted to check approach. 

1. We have custom code in CUS layer. 

2. Total 9 ISV is already installed. 

3. EP update need to be done. 

Approach :-

1. Planning to remove first Isv in dev box and install new updated CU13 ISV. 

2. Run Cu13 update installer. 

3. Resolve code conflict and run data upgrade checklist. 

Can you please confirm my approach. 

What need to done for EP update?

RE: 1180 Job throws error

$
0
0

Other jobs are working fine. Only this job throws error. Then How the connection problem will come.


RE: How to validate if a license plate is already existing and existing in other locations in X++ code?

$
0
0

[quote user="Crispin John Augustine"]

I don't know of a standard method.

But a simple code to look at InventSum joined with InventDim should do the job..

[/quote]

Hi Crispin,

Thanks for the suggestion!

I tried doing this:

inventDim       = InventDim::find(_workLine.InventDimId);
inventStatusId  = _workLine.inventDim().InventStatusId;

select firstonly RecId from inventSum
join inventDimLoc
join inventDim
where inventDimLoc.inventDimId == inventDim.inventDimId
&& inventDim.inventDimId == inventSum.InventDimId
&& inventDim.InventLocationId == inventDimLoc.InventLocationId
&& inventDim.InventSiteId == inventDimLoc.InventSiteId
&& inventDim.LicensePlateId == targetLicensePlateId
&& inventDim.wmsLocationId == inventDimLoc.wMSLocationId
&& (inventDim.InventStatusId == inventStatusId);

if (inventSum.RecId == 0)
{
    WHSWorkTable::addTargetLicensePlate(_workLine.WorkId, targetLicensePlateId);
}

I checked if the RecId of InventSum is blank or has a value. If it's blank, it means the license plate is not existing yet, but if there is a value, it means it exists.

How to validate if a license plate is already existing and existing in other locations in X++ code?

$
0
0

Hi,

What I'm trying to achieve is to validate a license plate ID generated by a user, if it is already existing and existing in other locations. If it is not, I will insert the license plate ID in the WorkTable.

How can I validate this or are there standard methods / code I can follow to validate?

Thank you.

RE: No account number exists for account type Cost for project MyProjectName

$
0
0

It ended up being that the cost account for the project category needed to be set up for this legal entity.   Thank you for your suggestion.   It set us down the right path.

No account number exists for account type Cost for project MyProjectName

$
0
0

Posting a Packing Slip in AX 2012 R2 and Receive error:   Any suggestion would be helpful.

Posting

 - Sales orders:  SO00000603

- Item:  MyItem

X No account number exists for account type Cost for project MyProjectName

Stack trace is:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 217
at Dynamics.Ax.Application.FormletterService.Postsalesorderpackingslipproject(SalesFormLetterPackingSlipProjContract _contract) in FormletterService.postSalesOrderPackingSlipProject.xpp:line 14
at FormletterService::postSalesOrderPackingSlipProject(Object , Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.DictClass.Callobject(String _methodName, XppObjectBase _Called, Object[] varArgs)
at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93
at Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(Object[] parameters) in SysOperationServiceController.runServiceOperation.xpp:line 22
at SysOperationServiceController::runServiceOperation(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at SysDictClass::invokeStaticMethod(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

How do I import Project Tasks and Journal lines for hours using DIXF?

$
0
0

Hi,

I have began researching DIXF and there are a lot of templates for import, including the options to create custom ones. I found that there is a template for the ProjJournalTrans table which covers the Journal lines for hours, but I didn't find a template for importing the Project's tasks.

Basically every few hours or so I want to import a Project's tasks and time entries from an internal website into AX 2012. My question is the following:

Is there a "smart way" to import the WBS for a Project (including all the Jounral lines for hours), or do I have import the data, table by table (and therefore creating new templates for the SMMActivities, PSAActivitySetup and PSAActivityEstimates tables, coresponding to a Project task)? 

Basically the new Projects and Journals are created by the users, but the Project's tasks and time entries for these tasks are managed in our website so we need to import them.

Thanks.

Best Regards,

Evgeni Dyulgerov

Viewing all 175888 articles
Browse latest View live


Latest Images

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