Hi,
How can I disable Sales line item update prompt - Lead time changed, recalculate ship and receipt dates?
Thanks
Sam
Hi,
How can I disable Sales line item update prompt - Lead time changed, recalculate ship and receipt dates?
Thanks
Sam
Hello All,
I need to send the mail with work Detail to customer.
Could you please help to configure the mail setup .
Thank you so much for your help!!!!
Regards
Deepak
Dear Friends,
I want to find the White paper of Microsoft Dynamics 365 for operations Implementation Methodology
Dear Concern,
Kindly advice how to configurate a new dimention as default dimention.
Hello ..
i want to insert about 1000 lines in one journal , so i found the next code and it help me to insert one line
but i need to insert 1000 liens from another ax table
Original code is
static void CreateTransferJournal(Args _args) { InventJournalTable inventJournalTable; InventJournalTrans inventJournalTrans; InventJournalCheckPost inventJournalCheckPost; NumberSeq num; boolean _throwserror=true; boolean _showinforesult=true; InventDim frominventDim,ToinventDim; ; ttsbegin; inventJournalTable.clear(); num = new NumberSeq(); num = NumberSeq::newGetNum (InventParameters::numRefTransferId()); inventJournalTable.initFromInventJournalName(InventJournalName::find (InventParameters::find().TransferJournalNameId)); inventJournalTable.Description = “Inventory Transfer Journal”; inventJournalTable.SystemBlocked = true; inventJournalTable.insert(); inventJournalTrans.clear(); inventJournalTrans.initFromInventJournalTable(inventJournalTable); inventJournalTrans.ItemId = “xxxxxx”; frominventDim.InventLocationId=”xx”; frominventDim.inventSiteId =”xx”; ToinventDim.InventLocationId = “xxxx”; ToinventDim.InventSiteId = “xx”; ToinventDim = InventDim::findOrCreate(ToinventDim); frominventDim = InventDim::findOrCreate(frominventDim); inventJournalTrans.InventDimId = frominventDim.inventDimId; inventJournalTrans.initFromInventTable(InventTable::find(“1101″)); inventJournalTrans.Qty = 10; inventJournalTrans.ToInventDimId = ToinventDim.inventDimId; inventJournalTrans.TransDate = SystemDateget(); inventJournalTrans.insert(); inventJournalCheckPost = InventJournalCheckPost::newJournalCheckPost (JournalCheckpostType::Post,inventJournalTable); inventJournalCheckPost.parmThrowCheckFailed(_throwserror); inventJournalCheckPost.parmShowInfoResult(_showinforesult); inventJournalCheckPost.run(); inventJournalTable.SystemBlocked = false; inventJournalTable.update(); ttscommit; }
so now i edited the code and added while select from the other table
static void CopyOfCreateTransferJournal(Args _args) { aaaT aaa1; InventJournalTable inventJournalTable; InventJournalTrans inventJournalTrans; InventJournalCheckPost inventJournalCheckPost; NumberSeq num; boolean _throwserror = true; boolean _showinforesult = true; InventDim frominventDim,ToinventDim; ; inventJournalTable.clear(); num = new NumberSeq(); num = NumberSeq::newGetNum(InventParameters::numRefTransferId()); inventJournalTable.initFromInventJournalName(InventJournalName::find(InventParameters::find().TransferJournalNameId)); inventJournalTable.Description = 'Inventory Transfer Journal'; inventJournalTable.SystemBlocked = true; inventJournalTable.insert(); while select * from aaa1 { ttsbegin; inventJournalTrans.clear(); inventJournalTrans.initFromInventJournalTable(inventJournalTable); inventJournalTrans.ItemId = aaa1.ItemId; frominventDim.InventLocationId = aaa1.InventLocationIdFrom; frominventDim.inventSiteId = aaa1.InventSiteIdFrom; ToinventDim.InventLocationId = aaa1.InventLocationIdTO; ToinventDim.InventSiteId = aaa1.InventSiteIdTo; ToinventDim = InventDim::findOrCreate(ToinventDim); frominventDim = InventDim::findOrCreate(frominventDim); inventJournalTrans.InventDimId = frominventDim.inventDimId; inventJournalTrans.initFromInventTable(InventTable::find(aaa1.ItemId)); inventJournalTrans.Qty = aaa1.Qty; inventJournalTrans.ToInventDimId = ToinventDim.inventDimId; inventJournalTrans.TransDate = SystemDateget(); inventJournalTrans.insert(); //inventJournalTable.SystemBlocked = false; //select forUpdate inventJournalTable;// where inventJournalTable. //inventJournalTable.update(); //if(InventJournalCheckPost::newPostJournal(inventJournalTable).validate()) //InventJournalCheckPost::newPostJournal(inventJournalTable).run(); ttscommit; } }
Now there is an error after start the job
(Maximum number of decimals for the stockkeeping unit is 8)
thanks
Hello,
I use Selenium to execute my functional flows, when I execute a purchase flow for the first time, it passes.
but when I re-execute it for the 2nd time it gives me this error message:
Result Message:
Test method MS.Dynamics.Performance.Application.TaskRecorder.TestFullScenarioBase.TestFullScenario threw exception:
System.InvalidOperationException: Cannot set value on PurchLine_ItemId in its current state (Visible = True, Enabled = True, ReadOnly = True)
I close the browser and visual studio and I rebuild then it works.
if anyone knows how to fix this problem.
I have this inbound purchase order with purchase unit price of 47, invoiced qty = 106. I created returned purchase order and referenced it to the said purchase order. Qty that I will be returning is 3 and unit price that was automatically populated is 183.06. My expectation is it should be same price as the unit price of original purchase order. When I am trying to create return purchase order and use credit note, the unit price is same as the original purchase price.
Looking forward to an explanation on how to calculate it. Thanks in advance. Let me know if further information is required.
How can we ensure that the DATA is dropped?
Hi,
We are handing case like below points.
Case : User creating the sales order and production order for the FG Item number MTB001,
For Eg:
i) Currently active BOM ID is AXV1 for the FG item MTB001
ii) BOM ID AXV1 is consist of 10 BOM lines with 2 SFG and 8 RM lines
iii) Now running master plan system exploding requirement of BOMID: AXV1
vi) Now user wants to include some items, So revising the BOM and naming it as BOM ID AXV2 for the same FG item and made this as active.
v) Now the BOM AXV2 consist of 15 BOM lines with 5 SFG and 10 RM lines
vi) Now while regenerating the master plan system still considering the BOM ID AXV1 and not exploding for BOM ID AXV2, Why because production order created with the previously active version of AXV1.
vi) User requirement is wants to explode for the new active BOM ID: AXV2.
Note: We cannot able to reverse the production order, because the they partially posted the picking list.
Kindly request to suggest the solution.
Regards,
Dhakshana Moorthi Guruvel
Hi All,
In AX 2012 we create multi-select lookup for a control using SysLookupMultiSelectCtrl class for example tutorial_LookupMultiSelectGrid form. I have tried the same in D365 for the string edit control using OnLookup event but the selected values not shown in the string-edit. Here is my code...
[FormControlEventHandler(formControlStr(SysDocuBrandDetails, SysDocuBrandDetails_CompanySelection), FormControlEventType::Lookup)] public void SysDocuBrandDetails_CompanySelection_OnLookup(FormControl sender, FormControlEventArgs e) { SysLookupMultiSelectCtrl msCtrlCust; container controllookup; FormStringControl stringControl = sender.formRun().design().controlName('SysDocuBrandDetails_CompanySelection') as FormStringControl; FormRun formRun = sender.formRun(); Query query = new Query(); QueryBuildDataSource qbds; qbds = query.addDataSource(tableNum(CompanyInfo)); // qbds.fields().dynamic(NoYes::Yes); qbds.fields().addField(fieldNum(CompanyInfo,DataArea)); qbds.fields().addField(fieldNum(CompanyInfo,Name)); //assigning control and query to the class msCtrlCust = SysLookupMultiSelectCtrl::constructWithQuery(formRun, stringControl, query, false, controllookup ); }
Please tell me why it is not working in D365 whereas it is working fine in AX 2012.
Hi guys,
We have an invoice approval journal that has had the lines deleted, but I can't delete the actual journal itself for some reason. I get the following error message:
Ledger journal table cannot be deleted while dependant Journal lines exist. Delete dependant Journal lines and try again.
Does anyone know what the issue could be? Could this journal somehow be linked to lines from another journal?
This is on 2012 R3
Seal
Hi All,
How can we enable the Query Parameters dialog while printing Standard Sales Invoice Report.
In SalesInvoiceController i tried with the below code in Main and PrintDocumentSet methods:
formLetterController.parmShowReportViewerParameters(true);
formLetterController.parmShowDialog(true);
But without any luck, share your thoughts.
Thanks & Regards,
Ansar Basha.S
Hi all,
i am trying to import data of inventory journal by dmf, it is working fine for 1 line but when try to enter to multiple line it is not letting me to do it, it is giving me error on jounal id which i copied for all line because i want to import all line in one jounal. but it is giving me primary key error.
what could be solution here , kindly help !
Hi,
I would when I run the create payment proposal , if the payment amount will be less than a 'minimum payment amount', then it should not generate a payment voucher. Is there an option for that?
Thanks
Sam
Hi Friends,
I want to setup database long on DataArea table, I couldn't find it from the wizard tree.
Is this table traceable?
Hi all,
Could you help me to find the place in UI or IIS, or elsewhere where I would be able to change settings of AX web services?
Thank you in advance.
Hi Friends,
Is there an easy way to find the table when setup database log? tree is module based, but, how do we know which table is in which module?
It's really hard to locate a table in the tree structure, or it existed in tree at all?
for example, I haven't found this table anywhere.
InventDimSetupGrid |
Many thanks.