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

RE: Why items would have unreal planned purchase order?

$
0
0

PrzemekG,

I have one more example of item id that is showing unreal planned purchase order.

Another one PLU 10824 Lustre Gold Glimmer. Current SS is 127.24 for Toronto, but the system is prompting for planned purchase order of 1kg for today. The current QTY on hand is almost 10X of the safety stock. Please see screenshot below.

 

I did click into view details to try to understand what’s prompting for this planned purchase order, but I don’t seem to understand, there’s a safety stock and BOM line in pegging. But like I said, qty on hand is almost 10x of safety stock.

 

Thanks,

 


Why items would have unreal planned purchase order?

$
0
0

Hi,

I’m looking at my item PLU 11806 under planned purchase order, then realized the system is prompting 190kg of planned purchase order on the 12th of September, please see screenshot below,

Safety stock for this item is 150kg, when the system prompt for that 190kg, we still have 970kg on hand, that’s way more than what we will need for safety stock. And next PO is coming on the 21st with 750kg on the PO.

 

I’m just wondering if there’s any particular reasons why some items would have unreal planned purchase order?


 

RE: System admin roles/privileges

$
0
0

Can you be more specific about what you want by talking about test script? AX only has very limited capabilities for automated test scripts, through the Performance Benchmark Software Development Kit.

ax.help.dynamics.com/.../performance-benchmark-software-development-toolkit-sdk-for-microsoft-dynamics-ax-2012

If you are talking about how to test specific roles while you are a sysadmin, you could switch access with a job:

kashperuk.blogspot.co.uk/.../tutorial-debugging-ax-while-still-using.html

There is no list of what roles and privileges does a sysadmin have, since it has access to everything, even the "hidden" features that are not visible as a regular security role/privilege. It is hardcoded in the AX kernel.

System admin roles/privileges

$
0
0

I need to create a test script to test out a read only role for system admin?  Does anyone have a list of all of the roles and privileges that system admin has?  Thank  you.

RE: Adding Custom View to Form Data Source causes CROSS JOIN and duplicate rows

$
0
0

Cross join is not a problem by itself, but you'll have to add a relation to EcoResProduct. You may need to do it in code.

Adding Custom View to Form Data Source causes CROSS JOIN and duplicate rows

$
0
0

Hi,

I'm having problems adding a data source to the EcoResProductDetails form. When I add my custom view to the Data Sources, set the JoinSource to be "EcoResProduct" and LinkType to "OuterJoin" I am getting duplicate rows and SQL Trace is showing me that the generated SQL has a CROSS JOIN to my table, hence the duplicates.

My view is returning one row per Product (Product RecId, Attribute1, Attribute2).

Is there something missing in my View definition (or underlying Query) that prevents AX from knowing which field to use to join my view to EcoResProduct? 

SELECT T1.PRODUCTMASTER,T1.RETAITOTALWEIGHT,T1.VARIANTCONFIGURATIONTECHNOLOGY,T1.RETAILCOLORGROUPID,T1.RETAILSIZEGROUPID,T1.RETAILSTYLEGROUPID,T1.INSTANCERELATIONTYPE,T1.DISPLAYPRODUCTNUMBER,T1.SEARCHNAME,T1.PRODUCTTYPE,T1.PDSCWPRODUCT,T1.MODIFIEDBY,T1.RECVERSION,T1.RELATIONTYPE,T1.PARTITION,T1.RECID,T2.PRODUCTDIMENSIONGROUP,T2.PRODUCT,T2.MODIFIEDBY,T2.RECVERSION,T2.PARTITION,T2.RECID,T3.PRODUCTMASTER,T3.ISVARIANTGENERATIONENABLED,T3.ISREUSECONFIGURATIONENABLED,T3.RECVERSION,T3.PARTITION,T3.RECID,T4.PRODUCT,T4.STORAGEDIMENSIONGROUP,T4.RECVERSION,T4.PARTITION,T4.RECID,T5.PRODUCT,T5.TRACKINGDIMENSIONGROUP,T5.RECVERSION,T5.PARTITION,T5.RECID,T6.DESCRIPTION,T6.NAME,T6.PRODUCT,T6.LANGUAGEID,T6.MODIFIEDBY,T6.RECVERSION,T6.PARTITION,T6.RECID,T7.HARMONIZEDCODE,T7.NMFCCODE,T7.PRODUCT,T7.STCCCODE,T7.RECVERSION,T7.PARTITION,T7.RECID,T8.OEM,T8.PRODUCTRANGE,T8.PARTITION,T8.RECID,T9.NAME,T9.RECVERSION,T9.RECID 
FROM  ECORESPRODUCT T1 
LEFT OUTER JOIN ECORESPRODUCTDIMENSIONGROUPPRODUCT T2 ON ((T2.PARTITION=@P1) AND (T1.RECID=T2.PRODUCT)) 
LEFT OUTER JOIN ECORESPRODUCTMASTERMODELINGPOLICY T3 ON ((T3.PARTITION=@P2) AND (T1.RECID=T3.PRODUCTMASTER)) 
LEFT OUTER JOIN ECORESSTORAGEDIMENSIONGROUPPRODUCT T4 ON ((T4.PARTITION=@P3) AND (T1.RECID=T4.PRODUCT)) 
LEFT OUTER JOIN ECORESTRACKINGDIMENSIONGROUPPRODUCT T5 ON ((T5.PARTITION=@P4) AND (T1.RECID=T5.PRODUCT)) 
LEFT OUTER JOIN ECORESPRODUCTTRANSLATION T6 ON ((T6.PARTITION=@P5) AND ((T6.LANGUAGEID=@P6) AND (T1.RECID=T6.PRODUCT))) 
LEFT OUTER JOIN WHSECORESPRODUCTTRANSPORTATIONCODES T7 ON ((T7.PARTITION=@P7) AND (T1.RECID=T7.PRODUCT)) 
CROSS JOIN HYDPRODUCTATTRIBUTEVALUEVIEW T8
LEFT OUTER JOIN ECORESPRODUCTDIMENSIONGROUP T9 ON ((T9.PARTITION=@P8) AND (T2.PRODUCTDIMENSIONGROUP=T9.RECID)) 
WHERE ((T1.PARTITION=@P9) AND ((T1.INSTANCERELATIONTYPE=@P10) OR (T1.INSTANCERELATIONTYPE=@P11))) 
AND ((((((T8.PARTITION=@P12) AND ((T8.PARTITION#2=@P13) OR (T8.PARTITION#2 IS NULL))) AND ((T8.PARTITION#3=@P14) OR (T8.PARTITION#3 IS NULL))) AND ((T8.PARTITION#4=@P15) OR (T8.PARTITION#4 IS NULL))) AND ((T8.PARTITION#5=@P16) OR (T8.PARTITION#5 IS NULL))) AND ((T8.PARTITION#6=@P17) OR (T8.PARTITION#6 IS NULL))) AND EXISTS (SELECT 'x' FROM ECORESPRODUCTCATEGORY T10 WHERE ((T10.PARTITION=@P18) AND ((T10.CATEGORYHIERARCHY=@P19) AND (T10.PRODUCT=T1.RECID)))) ORDER BY T1.DISPLAYPRODUCTNUMBER OPTION(FAST 4)



SELECT T1.PRODUCTMASTER,T1.RETAITOTALWEIGHT,T1.VARIANTCONFIGURATIONTECHNOLOGY,T1.RETAILCOLORGROUPID,T1.RETAILSIZEGROUPID,T1.RETAILSTYLEGROUPID,T1.INSTANCERELATIONTYPE,T1.DISPLAYPRODUCTNUMBER,T1.SEARCHNAME,T1.PRODUCTTYPE,T1.PDSCWPRODUCT,T1.MODIFIEDBY,T1.RECVERSION,T1.RELATIONTYPE,T1.PARTITION,T1.RECID,T2.PRODUCTDIMENSIONGROUP,T2.PRODUCT,T2.MODIFIEDBY,T2.RECVERSION,T2.PARTITION,T2.RECID,T3.PRODUCTMASTER,T3.ISVARIANTGENERATIONENABLED,T3.ISREUSECONFIGURATIONENABLED,T3.RECVERSION,T3.PARTITION,T3.RECID,T4.PRODUCT,T4.STORAGEDIMENSIONGROUP,T4.RECVERSION,T4.PARTITION,T4.RECID,T5.PRODUCT,T5.TRACKINGDIMENSIONGROUP,T5.RECVERSION,T5.PARTITION,T5.RECID,T6.DESCRIPTION,T6.NAME,T6.PRODUCT,T6.LANGUAGEID,T6.MODIFIEDBY,T6.RECVERSION,T6.PARTITION,T6.RECID,T7.HARMONIZEDCODE,T7.NMFCCODE,T7.PRODUCT,T7.STCCCODE,T7.RECVERSION,T7.PARTITION,T7.RECID,T8.OEM,T8.PRODUCTRANGE,T8.PARTITION,T8.RECID,T9.NAME,T9.RECVERSION,T9.RECID FROM  ECORESPRODUCT T1 LEFT OUTER JOIN ECORESPRODUCTDIMENSIONGROUPPRODUCT T2 ON ((T2.PARTITION=@P1) AND (T1.RECID=T2.PRODUCT)) LEFT OUTER JOIN ECORESPRODUCTMASTERMODELINGPOLICY T3 ON ((T3.PARTITION=@P2) AND (T1.RECID=T3.PRODUCTMASTER)) LEFT OUTER JOIN ECORESSTORAGEDIMENSIONGROUPPRODUCT T4 ON ((T4.PARTITION=@P3) AND (T1.RECID=T4.PRODUCT)) LEFT OUTER JOIN ECORESTRACKINGDIMENSIONGROUPPRODUCT T5 ON ((T5.PARTITION=@P4) AND (T1.RECID=T5.PRODUCT)) LEFT OUTER JOIN ECORESPRODUCTTRANSLATION T6 ON ((T6.PARTITION=@P5) AND ((T6.LANGUAGEID=@P6) AND (T1.RECID=T6.PRODUCT))) LEFT OUTER JOIN WHSECORESPRODUCTTRANSPORTATIONCODES T7 ON ((T7.PARTITION=@P7) AND (T1.RECID=T7.PRODUCT)) CROSS JOIN HYDPRODUCTATTRIBUTEVALUEVIEW T8 LEFT OUTER JOIN ECORESPRODUCTDIMENSIONGROUP T9 ON ((T9.PARTITION=@P8) AND (T2.PRODUCTDIMENSIONGROUP=T9.RECID)) WHERE ((T1.PARTITION=@P9) AND ((T1.INSTANCERELATIONTYPE=@P10) OR (T1.INSTANCERELATIONTYPE=@P11))) AND ((((((T8.PARTITION=@P12) AND ((T8.PARTITION#2=@P13) OR (T8.PARTITION#2 IS NULL))) AND ((T8.PARTITION#3=@P14) OR (T8.PARTITION#3 IS NULL))) AND ((T8.PARTITION#4=@P15) OR (T8.PARTITION#4 IS NULL))) AND ((T8.PARTITION#5=@P16) OR (T8.PARTITION#5 IS NULL))) AND ((T8.PARTITION#6=@P17) OR (T8.PARTITION#6 IS NULL))) AND EXISTS (SELECT 'x' FROM ECORESPRODUCTCATEGORY T10 WHERE ((T10.PARTITION=@P18) AND ((T10.CATEGORYHIERARCHY=@P19) AND (T10.PRODUCT=T1.RECID)))) ORDER BY T1.DISPLAYPRODUCTNUMBER OPTION(FAST 4)

RE: How to set default dimension values on creating a new Customer/Vendor etc

$
0
0

I am not too deeply involved with financials development and you are right. The backing entity should be referred indeed, so you could only do that in a post- event handler subscription of the insert() method, and update with your value. I have found this post explaining that the customer master must exist before the default dimension could be filled in: community.dynamics.com/.../180355

How to set default dimension values on creating a new Customer/Vendor etc

$
0
0

I have a requirement to customise a few forms that display financial dimensions. There is a preference to pre-populate the financial dimension values and save the user from having to do it. Also, validation that certain dimensions have been populated is another requirement.

e.g. for CustTable form in our system, the FastTab "Financial Dimensions" is displayed with 11 Financial Dimension such as Customers, FixedAsset, Sector, etc. 

So when a new record for Customer is created the user sets the Customer name and Customer group and clicks "Save and open" > "Customer" which launches the CustTable form.

The Edit button needs to be clicked to allow changes.

At this point the user needs to see these dimension values already populated with various default values. 

Each default may have its own rule (not yet defined) which in theory I should be able to write in X++.

I can see the form's init() method uses DimensionDefaultingController to dynamically create the form controls to represent dimension values but would like to know how and where best to do this customisation.

Thanks.


RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

Hy,

i've the same message with as Dynamics AX Update 1 Version on Azure VM, i set up before three month (June 16). What to do?

BR Andreas

RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

I meant whether it's a demo, DEV, a sandbox or so. Maybe you can simply drop it and deploy a new one from LCS.

RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

Thank you Martin,

it's a well prepared DEMO System with a lot of process-data for presentaion of Dynamics Features (Project, Services, crm, production, ...)

So i don't like to loose it.

BR

RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

You can move data with the help of Data Management, possibly storing the data in LCS for reuse on other project (and you can move code too, if needed).

Otherwise follow my original answer.

RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

I would strongly recommend to use the actual Dynamics AX, instead of the mere, old Community Technology Preview. There are many changes. Nevertheless I'm not sure if you can update data from CTP; using the preview for preparing important data was possibly a pretty bad decision.

RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

System was deployed in June 16 with Verison AX 7 Update 1 (no CTP).

i did the update from same version (AX 7 U1) to AX 7 Update 2 on another (empty) machine succesfully and now would like to do this also with my prepared presentation machine.

RE: MRP - Blocking inventory status creates demand

$
0
0

Hi all, thanks for your answers.

I tried to replicate this behaviour on a CONTOSO environment and on my tests I found out what was happenning:

1) Create an item with the following parameters and groups:

2) Adjust quantities on blocking inventory status:

3) Run master planning (no planned order were created). So I checked the net requirement for my item and found out the following:

The "Inventory journal" demand actually exists. However, no planned order were created because the 100ea were considered as "on-hand".

So the problem I was having wasn't the "Inventory journal" demand but the units of my product which weren't considered as "available".

Why weren't they available? Because the batch was expired.

4) So I changed the expiration date of my batch and activate my master plan to consider shelf life:

5) Re run master plan and I got a planned purchase order:

So at this situation, the "Inventory journal" could be thought as if the blocking status was creating the demand.

Thanks again and sorry about my mistake.


RE: SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

Ah, now I see, you're a different person asking about a different version that what this thread was about.

So as I already said - either deploy a new environment and move the data, or upgrade SQL Server.

SQL 2016 error for Dynamics AX 7 Virtual machine

$
0
0

Hey everybody

From the virtual machine for Dynamics ax 7, I get errors from Event Views (Event ID 17051: SQL Server evaluation period has expired.) .

What should I do?

Thanks

VAN

RE: Ultra slow (locked) employee time transfer

$
0
0

I talked with our DBA and he says our TempDB installation follows the best practices.

One thing I failed to mention was that it usually happens only on the first transfer of the day.

The next ones are normal and do not lock.

Anything else we can check/try?

Ultra slow (locked) employee time transfer

$
0
0

Since we updated to CU10, we have some problems with Time Transfers.

It sometimes locks out and degrades AX performance for every other users.

When this happens, AX goes "Not responding", and on the SQL server I can see these queries alternating:

CREATE TABLE tempdb."DBO".t20097_606F5CE892C6431BBB3CF67FA1BC2B37  (BURDENTYPE INT NOT NULL DEFAULT 0 ,DEFAULTDIMENSION BIGINT NOT NULL DEFAULT 0 ,PRODID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,ITEMID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,ROUNDUP INT NOT NULL DEFAULT 0 ,ROUNDUPQTY NUMERIC(32,16) NOT NULL DEFAULT 0 ,QTYCOBYCALC NUMERIC(32,16) NOT NULL DEFAULT 0 ,REMAINCOBYPHYSICAL NUMERIC(32,16) NOT NULL DEFAULT 0 ,INVENTTRANSID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,INVENTREFTYPE INT NOT NULL DEFAULT 0 ,INVENTREFID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,INVENTREFTRANSID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,BACKORDERSTATUS INT NOT NULL DEFAULT 0 ,QTYCOBYSTUP NUMERIC(32,16) NOT NULL DEFAULT 0 ,COBYQTYSERIE NUMERIC(32,16) NOT NULL DEFAULT 0 ,INVENTDIMID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,REQPOID NVARCHAR(20) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,REQPLANIDSCHED NVARCHAR(10) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '' ,ENDCONSUMP INT NOT NULL DEFAULT 0 ,PRODUCTTYPE INT NOT NULL DEFAULT 0 ,COSTALLOCATION INT NOT NULL DEFAULT 0 ,COSTALLOCATIONPCT NUMERIC(32,16) NOT NULL DEFAULT 0 ,OVERHEADAMT NUMERIC(32,16) NOT NULL DEFAULT 0 ,PDSCWINVENTCALC NUMERIC(32,16) NOT NULL DEFAULT 0 ,PDSCWREMAINPHYSICAL NUMERIC(32,16) NOT NULL DEFAULT 0 ,PDSCWINVENTSTUP NUMERIC(32,16) NOT NULL DEFAULT 0 ,COBYQTY NUMERIC(32,16) NOT NULL DEFAULT 0 ,STUPDATE DATETIME NOT NULL DEFAULT '1900-01-01 00:00:00.000' ,PDSCWQTY NUMERIC(32,16) NOT NULL DEFAULT 0 ,FINISHEDDATE DATETIME NOT NULL DEFAULT '1900-01-01 00:00:00.000' ,REALDATE DATETIME NOT NULL DEFAULT '1900-01-01 00:00:00.000' ,CALCDATE DATETIME NOT NULL DEFAULT '1900-01-01 00:00:00.000' ,COBYREFRECID BIGINT NOT NULL DEFAULT 0 ,CREATEDDATETIME DATETIME NOT NULL DEFAULT dateadd(ms, -datepart(ms,getutcdate()), getutcdate()) ,CREATEDBY NVARCHAR(8) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT '?' ,DATAAREAID NVARCHAR(4) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS  NOT NULL DEFAULT 'dat' ,RECVERSION INT NOT NULL DEFAULT 1 ,PARTITION BIGINT NOT NULL DEFAULT 5637144576 ,RECID BIGINT IDENTITY NOT NULL CHECK (RECID <> 0) ) 
ALTER TABLE tempdb."DBO".t20068_5C4650A463254BB0A173D7C0CAEB11F1 ADD CONSTRAINT i20068_I_20068REFNUMIDX_5C4650A463254BB0A173D7C0CAEB11F1 PRIMARY KEY CLUSTERED (PARTITION,DATAAREAID,RECID) 
CREATE UNIQUE CLUSTERED INDEX i20097_I_20097NUMIDX_AF10A8077A2B407A8C25743C2657BEBA ON tempdb."DBO".t20097_AF10A8077A2B407A8C25743C2657BEBA (PARTITION,DATAAREAID,RECID) 


 

Any ideas what's going on?

RE: Financial Dimension Value in Column in Management Reporter

$
0
0

Hello Binit,

What is your employee code?

Is it a financial Dimension or an Attribute?

Ludwig

Viewing all 175888 articles
Browse latest View live


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