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

Mass deploy retail updates and customization by using System Center Configuration Manager [AX 2012]

$
0
0

Hello guys !

I have been working on Mass deployment on retail POS. 

I am following following link:

https://technet.microsoft.com/en-us/library/dn858396.aspx?f=255&MSPPError=-2147217396#DeployCustomizations 

it includes some steps and I have a confusion on some steps. 

Can you please help me resolve confusion about the given points and create deployment package:

  1. Create the customization. For more information about how to customize Retail POS, see Extend Point of Sale. [Point is clear]

  2. Start Visual Studio. [Point is clear]

  3. Open the following project: My Documents > Retail SDK > Scaleout Deployment > CustomizationDeployment > CustomizationDeployment.csproj. [Point is clear]

  4. Open the CustomizationDeployment.xml file. [Point is clear]

  5. Enter values for patchName and company. [Where should |I get patchName and company from ?]

  6. List the source files that are needed for the customization. [What source files are we talking about here ? are we talking about DLL files that we need to deploy ?]

  7. If you are customizing Retail Channel Configuration Utility, provide the path where the utility is installed. The default installation path is provided as an example in the file. [Not concerned step in my case]

  8. Include the customizations in the Files folder in your project. [Where is this Files folder located ?]

  9. Build the project. The binary .exe file will be used to generate a software update in Updates Publisher.

  10. Open a Command Prompt window and change the directory to the folder where UpdateGenerator.exe is located. By default, the file is located at <Drive>:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Scaleout Deployment\UpdateGenerator.

  11. Run the following command to generate a catalog file:

    UpdateGenerator.exe <Path to .exe file> -o <outputfile.cab>

  12. Start System Center Updates Publisher. [Is this a separate stand alone application ?]

  13. Import the catalog file into Updates Publisher and create an update package.


Import Journals with DIXF cross company

$
0
0

Hi all,

i try to achieve this:

https://community.dynamics.com/ax/b/dynamicsaxinsightbyanas/archive/2016/05/26/ax-2012-customize-dixf-for-cross-company-import

Some costumers will be imported via DIXF in several companies.

My goal is the same, i want to import data via DIXF in several companies. With the difference that I don't want to import customers, i want to import journals.

The reason is very simple. If each company has its own DIXF Batch job, we have to much batches.

So i tried with above link, to reach my goal. 

I added a field "importCompany" to the DMFLedgerJournalEntry table. Then i customize the method "InsertUpdate" like this:

When i run a batch with company DAT no files in any other companies will be inserted.

I tried to debug and analyse the problem, but i haven't any idea. 

Maybe my knowledge with DIXF is not enough, can anyone help me?

Transfer Order created through code change the received qty

$
0
0

hello every one ,

i have create a transfer order through code the transfer qty is = 3, then written the code and it shipped also the shipping qty is 3 but i want to change the received qty that is = 1 how to do this through code until the received qty not match the shipping qty status will not change to received..

Posting Restrictions Problem

$
0
0

sirs , 

I have one user i give him Accountantsecurity Role  

I used the journals name form then Posting restrictions form to restrict this user from posting  

but when i re-open AX  with this user id and password Post is enabled 

any suggestions ???? 

Import user group from Active Directory

$
0
0

Hello Guys, 

I am able to create new user and import the user from Active directory in Ax 365 .

But now , I want to import  user group from AD , So is there any option for import user group  in AX 365  from Active directory..

Please suggest.

AX is picking up already used number sequence while creating transfer order on Dynamics AX 2012 R3 environment.

$
0
0

Occasionally AX is picking up already used number sequence while creating transfer order on Dynamics AX 2012 R3 environment. Here the number sequence is setup as continuous and Automatic clean-up is set to 24hr.

The problem is occurring when creating a Transfer Order.

There is no customisation in this area of the system and hence the problem is in the standard system.

I believe that the root cause of the problem is the standard clean up feature of the number sequence code adding already used numbers into the reuse list of the number sequence.

Link Rebate Value to SalesLine or Header

$
0
0

How do I link the rebate value to a particular sales line? I'm trying to find the rebates that link to a specific sales order. 

Looking for the tables and relations. Thanks!

Linking GeneralJournal to PurchaseReceipt

$
0
0

I'm building a report in T-SQL, and trying to link the General Journal entries, against a specific GL account, to the Purchase Receipt number.

Is this possible?


Get SSRS Report Parameter Value from Form Selected Grid

$
0
0

Hi Experts,

I am facing problem about getting values from form selected grid to SSRS report parameter dialog

Here is some Ref what i need

MyForm:

In this above image i have selected one field name dhrumesh , I need that when i click on result menu button from above my selected field dhrumesh should come in the ssrs form parameter as below image

But I am getting the other value . Below is my code of all the three classes i have developer

DP Class(Data Provider):

Process Report:

[SysEntryPointAttribute]
public void processReport()
{
Query query;
QueryRun queryRun;
QueryBuildDataSource queryDS;
QueryBuildRange queryRange;
KR_StudentDetail sdTable;
KR_StudentResultReportContract contract ;
ListIterator studentListIterator;

tempTable.clear();
contract = this.parmDataContract() as KR_StudentResultReportContract;
query = new Query(queryStr(KR_StudentResultView));
studentListIterator = new ListIterator(contract.parmStudentIDList());
queryDS = query.dataSourceTable(tableNum(KR_StudentDetail));

while(studentListIterator.more()){
queryRange = query.dataSourceNo(1).addRange(
fieldNum(KR_StudentDetail,ID));
queryRange.value(studentListIterator.value());
studentListIterator.next();
}
queryRun = new QueryRun(query);
while(queryRun.next()){
sdTable =queryRun.get(tableNum(KR_StudentDetail));
this.insertIntoTempTable(sdTable.ID,contract.parmSemester());
}
}

Controller PrePromptModify:

protected void prePromptModifyContract()
{

str test;
Query query;
KR_StudentDetail StudentDetail;
KR_StudentResultReportContract contract;
FormDataSource fds;
container con;
int i;
List list=new list(Types::String);
SrsReportHelper::addParameterValueRangeToQuery(this.getFirstQuery(),tableNum(KR_StudentDetail),fieldNum(KR_StudentDetail, Name),SysQuery::value(this.parmArgs().record().RecId));
contract = this.parmReportContract()
.parmRdpContract() as KR_StudentResultReportContract;
StudentDetail = Args.record();
fds = Args.record().dataSource();
contract.parmStudId(StudentDetail.Name);
if(this.parmArgs() && this.parmArgs().parm()){
contract = this.parmReportContract()
.parmRdpContract() as KR_StudentResultReportContract;
test = this.parmArgs().parm();
con = str2con(test,",");

contract.parmSemester(conPeek(con,1));
for(i=2;i<=conLen(con);i++){
list.addEnd(conPeek(con,i));
}
contract.parmStudentIDList(list);
}

//txt1 = this.parmArgs().record();
//contract = new KR_StudentResultReportContract();
//contract.parmStudId(txt1.ID);
//this.parmReportContract().parmRdpContract(contract);
}

Has anyone have solution for this?
I am using UIBuilder in the report.

I am very grateful if any of you can help my problem .

Thanks and Regards

Krutish Ruparelia

 

 

Financial Reports in D365 for Operations

$
0
0

I want to run about 20 reports that I have setup as report groups. I do not want to go and change the date filter on all the reports. Is there a way to mass run the Financial reports in D365. 

I have about 30 stores and I generate a P&L by store. I want to run all of them at the same time. I do not want to add all the stores on one report so I have setup the dimension filter and want to print all of them separately.

Please let me know

thanks

Sunit

Warehouse wise user access permission

$
0
0

Dear Consultants,

In our company, we have so many warehouses which need to control/handle by different users.

However in standard AX, When doing a transaction, users can access to any warehouse and perform their transactions (ie, Product receipts, transfers etc..).

We need to restrict this option and give users to access only for their nominated warehouse and not for all the warehouses.

Please advise if above is possible.

Thanks

DarshanK

Production BOM consumption for MRP

$
0
0

Dear Consultants,

Please go through below scenario on BOM consumption and advise,

My product is XYZ - Sales order qty is 100 Pcs

in XYZ BOM lines, I have a Item called ABC, standard BOM consumption is 1 Pcs per 1 XYZ Qty

I ran the MRP, it gave me a planned PO for item ABC for 100 Pcs.

I have done the product receipt for this 100 Pcs and now it is in Stock.

I got a work order for Item XYZ for 100 Pcs, I firmed it and now its available in production Control.

@ Production BOM I had changed Item ABC consumption as 4 Pcs per 1 XYZ Qty.

Then I ran MRP again, I was expecting another planned PO for Item ABC for 300 Pcs but there were no planned PO.

Please advise, whether its possible to setup MRP to consider production BOM consumption or not.

If any setup changes required, please advise

Thanks

DarshanK

 

Creating a natural key by extending a table instead of overlaying

$
0
0

Good afternoon,

I had to create a Data Entity based on the CustInvoiceTrans table using the Wizard but as that table only has RecId as the Primary Key, it does not allow me to do so.

I found a way to make a copy of the RecId, put it in its own unique index which is set as the Alternate Key and set that index as the table Replacement Key, then the Wizard worked.

Create natural key:

https://www.screencast.com/t/gsEAXKoKXxto

 

I understand that the recommended way moving forward is not to overlay a table but to extend it. But how can I extend a table and yet set the Replacement Key? The Replacement Key is greyed out when I tried to extend the table.

 

Thanks in advance.

Microsoft Dynamics AX + AXeptance

$
0
0

Hello all,

I'm trying to figure out the best ways to automate regression testing in Dynamics AX. During my research I came across a software called AXeptance which seems to be used for regression testing automation. I have found several youtube videos on it (https://www.youtube.com/watch?v=-CWETXCz6tg). It seems like a good product but I feel like there is a lack of documentation online regarding it.

Do any of you use AXeptance for your AX testing? Would you recommend it? Is it easy to set up? Any information regrading AXeptance would be very helpful.

Thank you,

Mariam

Production status Released does not allow posting the journal

$
0
0

Hi All,

I am working on Virtual Machine MS AX 2012 R3

I am facing this error when I try to start or to validate picking list

Production status Released does not allow posting the journal.

Can any one suggest any solution.

Regards,


Problems with custom PO setup using Print management

$
0
0

I've created a completely new SSRS report that I want to use for all Purchase orders.

Here is what I have customised in AOT:-

1. Data source changes - PurchPurchaseOrderTmp, PurchPurchaseOrderHeader

2. Print management changes - PrintMgmtReportFormat.populate()

//
// Custom report formats, add your reports below
//
addOther(PrintMgmtDocumentType::PurchaseOrderRequisition, 'MyCustomReport.ReportDesign', 'MyCustomReport.ReportDesign', #NoCountryRegionId);

This code has allowed the pointing of the P.O. to this custom report design (PL > Setup > Forms > Form setup, click Print Management, change Purchase order > Original <default>, Report format.

3. Report controller changes (PurchPurchaseOrderController) -
a) main():

controller.initArgs(_args, ssrsReportStr(MyCustomReport, ReportDesign));


b) newDataContract():

formLetterController.initDataContract(_args, ssrsReportStr(MyCustomReport, ReportDesign));

After selecting a PO from the list page of Purchase orders, go to Purchase tab > Journals > Purchase order confirmations.

When selecting Preview/Print > Use print management, the purchase order uses the correct report design.

However, when I select Preview/Print > Original preview, the purchase order uses the original report design.

I have tried the following list of things so far to get this to work:

  1. Tools > Caches > Refresh... report server, dictionary, data, elements
  2. Restart SSRS services
  3. Restarted my client
  4. Cleared Client files - C:\Users\myusername\AppData\Local
  5. Restarted AOS
  6. Stopped AOS, full CIL compile using AXBuild, start AOS.
  7. Delete all data out of SysLastValue table.
  8. Adding the custom report to the Report deployment settings form (System administration > Setup > B.I. > Reporting Services). Then deleting all reports from Report manager and re-deploying all reports via Powershell command. Restart SSRS services

Thanks.

Stock Management - Locations

$
0
0

Hi there

I am having an issue with one of the location ( Stock Management> Setup>stock break down>locations)

i. Location showing maximum number of pallets : 1

ii. where we have one pallet sitting in the location which is also showing in on hand

But, in the "Number of Pallets" field showing as -1 and also showing available pallet locations as 2. ( Please see attachment where you can see information on the present issue location and also other location showing the correct figures)

Please guide me to get the solution for the above issue.

Regards

Venkat Vaddiraju

Maximum AOS instances without load balancer

$
0
0

Hi All,

I want to know that how many AOS instances can we add in one cluster without load balancer?

We have 6 AOS instances and facing issue of slow performance. AX client also stuck in not responding state at startup. Is this because of too many AOS instances?

We are using AX 2012 R3 CU11 with SQL Server 2014 SP2.

Regards,

Hassan

Can we invoice the serial number with out PO

$
0
0

Hi 

Currently we are in AX2012 R3 C11, we have a serial number having some transactions we transferred them to separate serial number having PO number for the transfer serial number so i can invoice the transfer  serial number.

But now i want to invoice the serial number which does not have the PO. can we invoice the serial number with out PO or not?

Thanks 

SAlesTotals Form

$
0
0

display MCGUnitCost MCGTotalCogsValues()
{
MCGUnitCost totalCogs,invoiceValue,noninvoiceValue;
SalesLine SalesLine;
MarkupTrans MarkupTrans;
InterCompanyPurchSalesReference InterCompanyPurchSalesReference;
PurchId PurchId;
PurchLine PurchLine;
MarkupValue markupvalue = 0,TotalPurchValue = 0;
//int64 purchRecId;
MCGSalesServiceType MCGSalesServiceType;


while select SalesLine where SalesLine.SalesId == this.SalesId
{
//totalCogs = totalCogs + salesline.mcgTotalLineCost();
totalCogs = totalCogs + salesline.mcgExtendedCost();
}
select sum(ExtendedCost) from MCGSalesServiceType where MCGSalesServiceType.SalesId == this.SalesId && MCGSalesServiceType.ServiceType == MCGServiceType::Invoiced;/* '::' Used to call static (class) methods: ClassName::methodName.*/
invoiceValue = MCGSalesServiceType.ExtendedCost;

select sum(ExtendedCost) from MCGSalesServiceType where MCGSalesServiceType.SalesId == this.SalesId && MCGSalesServiceType.ServiceType == MCGServiceType::NonInvoiced;
noninvoiceValue = MCGSalesServiceType.ExtendedCost;

while select InterCompanyPurchSalesReference where InterCompanyPurchSalesReference.SalesId == this.SalesId
{
PurchId = InterCompanyPurchSalesReference.PurchId;

//select sum(value) from MarkupTrans where MarkupTrans.MCGPurchId == PurchId;
//markupvalue = markupvalue + MarkupTrans.Value;

select sum(value) from MarkupTrans join purchline where MarkupTrans.TransRecId == PurchLine.RecId
&& MarkupTrans.TransTableId == PurchLine.TableId
&& PurchLine.PurchId == PurchId;
markupvalue = MarkupTrans.Value;
TotalPurchValue = TotalPurchValue + markupvalue;
}

return totalCogs + TotalPurchValue + invoiceValue + noninvoiceValue;
}

I am trying to interpret the logic behind this piece of code . 

Things I dont understand are below:

---while select SalesLine where SalesLine.SalesId == this.SalesId
{
//totalCogs = totalCogs + salesline.mcgTotalLineCost();
totalCogs = totalCogs + salesline.mcgExtendedCost();
} - What (while select SalesLine where SalesLine.SalesId == this.SalesId) this means

---this.SalesId - where it is taking the value from?

---MCGServiceType::Invoiced - I am not able to find MCGServiceType class in AOT.

---select sum(ExtendedCost) from MCGSalesServiceType where MCGSalesServiceType.SalesId == this.SalesId && MCGSalesServiceType.ServiceType == MCGServiceType::NonInvoiced;
noninvoiceValue = MCGSalesServiceType.ExtendedCost;

what is the use of (noninvoiceValue = MCGSalesServiceType.ExtendedCost) line as we are already summing the ExtendedCost.

Viewing all 72043 articles
Browse latest View live


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