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

Sales line item update prompt - Lead time changed, recalculate ship and receipt dates

$
0
0

Hi,

How can I disable Sales line item update prompt - Lead time changed, recalculate ship and receipt dates?

Thanks

Sam


Send to work Detail to customer through mail in Dynamics 365 finance and operations.

$
0
0

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

White paper of Microsoft Dynamics 365 for operations Implementation Methodology

$
0
0

Dear Friends,

I want to find the White paper of Microsoft Dynamics 365 for operations Implementation Methodology

Microsoft Dynamics 365 for operations Implementation Methodology

How to add new dimentions as Default Dimentions

$
0
0

Dear Concern,

Kindly advice how to configurate  a new dimention as default dimention.

Insert transfer journal through x++

$
0
0

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

Cannot set value on PurchLine_ItemId in its current state (Visible = True, Enabled = True, ReadOnly = True) Using Selenium

$
0
0

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.

Info log - the cheque dont appear on ledger

production floor app

$
0
0

I have configured production floor app .

I find zero jobs in the list .

how do i get these jobs in app


How to calculate the purchase price of returned purchase order if the item is configured as weighted average cost

$
0
0

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. 

Warehouse Management of Batched Items

$
0
0
I'm stuck on receiving items with a specific batch. One PO can have multiple batch numbers for the same item, while many POs can have the same batch number for the same item. Items must be received into the warehouse, but batches cannot be mixed. Any help?

Dynamics Axapta Data

$
0
0

How can we ensure that the DATA is dropped?

BOM revision not considering master planning

$
0
0

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

MultiSelectLookup for a StringEdit control in MSDyn365Fo

$
0
0

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.

Cannot delete Invoice Approval Journal, despite lines being deleted

$
0
0

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

Enable Query Parameters dialog while printing Standard Sales Invoice Report

$
0
0

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


error in uploading DMF data of inventory jounal

$
0
0

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 !

AP - payment proposal minimum payment amount

$
0
0

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

Database log on DataArea table

$
0
0

Hi Friends,

I want to setup database long on DataArea table, I couldn't find it from the wizard tree.

Is this table traceable?

AX7 web service settings

$
0
0

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. 

easy finding table when setup database log

$
0
0

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.

Viewing all 46681 articles
Browse latest View live


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