I have deployed one package through LCS as well but upon installation , when I build the system from VS in sandbox environment I am not able to see latest code bits. Any suggestion on that .
Deploying packages no code visible in Visual Studio
Importing role types for vendors in global address book
Hi Everyone,
I have a scenario where same vendor list is used in multiple legal entities and we want to import vendors with multiple roles in different legal entities. I need help in figuring out if this is possible?
1. Vendor A is to be used in different legal entities and we want to avoid linking this vendor manually by copy vendor to another legal entity function.
2. We have an option of importing same vendor lists in other legal entities too but that creates a lot of duplicate records in global address book.
Any ideas how a vendor can be assigned different legal entities by import.
BP Label Error AX 7
Can someone guide me to why does this error popup
I have a model SLD_HRApplicationFoundation
, which has a SLD_HRP
label file. When I check for best practices, I get the following error
BP Rule: [BPErrorUnknownLabel]:Path: [dynamics://EdInt/SLD_HRRetirementAge]:Unknown label'@SLD_HRP:Param0014'. Legacy labels (such as label id @SYS12345) are case insensitive and
modern labels (such as 'MyLabelId' in @MyLabelFile:MyLabelId) are case sensitive. Use upper
casing when referring to legacy labels and exact casing for modern labels.
Where as my SLD_HR.en-US.label.txt
file has the following entry
Label ID: Param0014
Label: Default retirement age
Description: Help text for retirement age years
and the properties
set for SLD_HRRetirementAge
EDT as
Label: @SLD_HRP:Param0013
Help text: @SLD_HRP:Param0014
I am currently running AX7 update 8
and SLD_HRApplicationFoundation
model has been build to latest changes and database is synchronized as well.
Cast error if code is running in CIL
Hi
Got an error if code runs in CIL. Call IL method with Job:
conreq = ['output reverse'] conret = Global::StrReverseIL(conreq); public static server container StrReverseIL(container _str) { container conparm = _str, conret; new XppILExecutePermission().assert(); conret = Global::runClassMethodIL(classStr(Global), staticMethodStr(Global, strReverse), conparm); CodeAccessPermission::revertAssert(); return conret; } System.InvalidCastException: Unable to cast object of type 'System.Object[]' to type 'System.String'. at Global::strReverse(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)
The table SysXppAssembly and XppIL was cleand up bevor running new CIL.
Any idea what have to be changed?
Connection string of SQL server staging database to d365 on premise
I want to know how connect to staging database created in SQL server of same domain in which d365 for finance and operations is installed.
Now I want to pull data from staging database tables
And push data from d365 to staging database tables.
Please help me.. this is my first d365 project
Best Practice: Table extensions with more than 10 new fields
Hi all,
we have a table extension to add some new fields to a AX standard table. If the number of new fields is greater than 10, there is a BP-warning like "Number of new fields in base table table.Extension is greater than 10"
What's the best way to avoid this BP-warning? Should i create a new table to extend the standard table analogue to the 2012 Extension Framework? Or is it sufficient to create a second table extension?
Thanks for your help.
findOrCreateRange() in date range
Dear All,
I saw below code any many queries in for date range :
SysQuery::findOrCreateRange(this.queryBuildDataSource(),
fieldNum(ProdTable, FinishedDate)).value(SysQuery::range(12\01\2017, 12\31\2017);
Can you please let me know how it's work findOrCreateRange() in date range.
Please give me more shed on this.
Thanks!
Arpan
Getting Data From AX 2012 R3 To Enterprise Data Warehouse
Hi all,
We are on implementing Dynamics AX 2012 R3 in a retail company. Our existing data warehouse is well designed and based on SQL Server 2014. It meets the business units' requirements widely and get the data from other source systems like PLM, e-commerce, retail , POS and etc. We want to keep the DW on.
Now we are working on ETL process that extract the data from AX and load into DW. What is the best way for extracting data including metadata that is defined in AX application, not in database? Of course we can use SSIS packages by creating data flow task with direct SQL query within it. But Numerous metadata is defined in AX application, not in database, so it is really hard to get data just by looking into database.
Is there any AX tool or application that get data including AX business logic in standart AX?
Thanks in advance.
Sefa.
AP Invoice Journal Vendor Details
Hi,
I created an interface to upload employee expense report to AP >Invoice journal from a .CSV file. Everything works correctly except for "Terms of payment", remittance information and some other vendor information is not being automatically inserted for lines with account type vendor. When I click on vendor account and select it again from a drop down menu then information populates correctly. How can I auto-populate vendor details without explicitly pulling these fields from vendor records?
Thank you
AX (Axapta) password hashing algorithm
I am getting familiar with the concept of hashing passwords and different algorithms, because I want to find out if the passwords which are used by users are safe enough. In order to do so as far as I understand I should perform a dictionary attack specifying the hashing algorithm.
The hashes look like the following: 0BXADEU0D076DU
I cannot find similar hashes in the table (https://hashcat.net/wiki/doku.php?id=example_hashes) or elsewhere on the internet, so I cannot determine the hashing algorithm. Does someone know which algorithm is used in AX? Is there any other way to assure that users are not choosing such weak passwords as "Password1" or "P@ssword1", which could be allowed by relatively strict password policy rules.
How to access D365 for operation database externally
I have developed an external schedule application for AX2012 and now planning to port over to D365.
Originally we have custom tables used in my schedule app and access those tables using Entity framework. AX2012 and external are in the same machine and same database.
I heard rumors that you won't be able to access cloud database directly once you upgrade to D365 for operation so I need to change my app to use OData to connect to the database? Is this true?
How to passing the the form control value from child form to parent form
Dear all,
I has some trouble with the passing value between two form.
I have form parent: formA, child form: formB.
From formA, I click on a button to open formB (dont pass anything from formA to formB), and in formB, I do something (text something into stringedit control for an example) and I want to pass the this text(in stringedit control) to formA.
How can I do, please give me some ideal.
Thanks,
DatMC
Listpages have only queries to add as datasource
Good morning,
why listpages have only query to add as datasource.what is the reason.
please have some light on this.
Best regards.
Have a great day.
Issue facing while converting buffer to a container
I want to convert an updated buffer into a container and for this I used buf2con() function, according toMSDN it will return a container with the table buffers of a record. But in my case container size always remains same (i.e. 3 but Buffer contains more than 3 fields) and I never see the buffer values in my container.
Loop through all fields and compare records
Hi,
Can anyone teach me how to loop in all fields? I have a table with a Emplid (not unique). The table store the history changes. what i want is when the field of the current record is empty. The empty field will be fill by the previous record. And those field of the current record that is not empty, will not be overwritten by the previous record.
Illustration:
Tprev: F1 F2 F3 F4 F5....
Tcurrent: _ f2 _ _ f5...
Tcurrent display = F1 f2 F3 F4 f5
This Tprev and Tcurrent is the same Emplid and differ only in RecordSequence#.
i already get their record position to determine which is the prev and the current record.
thanks,
kill online user in dynamics ax 2009
Hi All,
Is there a way to remove instantly all the active users on Dynamics AX 2009? I mean, all open/online AX application will be close automatically once I run a specific script?
Currently I have a job that will kill all the online users using SQL job. During my testing on DEV environment I open five (5) AX application on different computers then I run the SQL job to kill connection. When I check the online user all of them are remove on the Administration-->Online Users-->Client Session> but whether they already remove on the online users, the AX application of the five users or the front end AX is still working or did not close automatically.
Here is one of the step in my script to kill online users;
---
UPDATE [SysClientSessions]
SET [Status] = 0
----
Please help.
Thanks...
Entity Relationship Diagrams for AX7
Looking for an Entity Relationship Diagram for AX 7 - I would specifically like the general ledger one. They have some for AX 2012 R2 but none for AX7. Any mention of ERDs are at least three years old in the forums (unless I missed something). Does anyone know where I might find one? (NOTE: I primarily have access to Management Studio. If you are going to suggest doing it myself with data tools - some guidance on how to do this would be great) Any and all help much appreciated.
D365FO PU9 Customer Contact Information
In PU8, 3 additional contact information types have been added (Facebook, Twitter, and LinkedIn).
However in PU9, this is gone. Any idea how to enable these? Was it removed?
Thanks in advance.
Microsoft Dynamics 365 AX (ERP) for a small business (Restaurant). Can it be possible?
Dear Dynamics community,
i'm just a regular restaurant owner on Brazil, and i'm searching for a solution to make my life as administrator of my business more easy, and save more threes (lol)!..
What i'm facing is: I can afford the software, but i cant afford the implementation (third-party services).
Can someone give me a light?
Can a small business owner, with a lot of willpower, but without too much Money to spend (we are facing the biggest economical crysis on our country, but offcourse i can spend some Money on it) have a decente solution for his businesss ? :P
The biggest challenge for a restaurant its the POS, the dynamic of the business are diferente cause we have to sell and produce at same time, on my country we have a lot of softwares but it lacks on the management in general, no banking account integration etc), and we face the brazilian laws (you cant develop a software by yourself because it needs homologation and for it you have to be into some business).
I'm really confused, why people are using (on my country at least) high-end technology for personal use (like cellphones and stuff), and not thinking on it to use on business on a effective way ? even software companys aren't thinking too much for small business ;
We need technology too!
am i thinking too big?
(my degre are on business administration, i have some knowledge on computers in general. I started to search for a solution on 2010, when i was on high school, them my dad died from câncer on 2013 and i had to quit high school and take the front of the business. have researched open-erp on time, open bravo, some other solutions in general. )
Thank you guys, i'm sorry if here isnt the right place to discuss some more philosophic aspects of the erp use; but i guess that we need to think ahead!
Filter grid record
i have 2 tables header and line.
filter line grid 'InventTable' record by if any header exist without executequery relation(exists or NotExist).
so i used below code.
container con having header values like 'ItemId'
for(i = 1; i <= conLen(con); i++)
{
info(strFmt("ItemId inside execqry: %1", conPeek(con, i)));
qbr = qbds.addRange(fieldNum(InventTable, ItemId));
qbr.value(SysQuery::valueNot(conPeek(con, i)));
}
above code havn't any error but didnt get expected result.
these filtered only last record.
Anybody help.....
Thanks in advance.