Quantcast
Channel: Microsoft Dynamics AX
Viewing all 125409 articles
Browse latest View live

Forum Post: RE: Migration from AX 2012 R3 TO D365 !

$
0
0
You can connect one dev environment to one ADO branch at a time (currently, MS is working to improve this later). So most likely you would want to use a separate environment for this. But it's up to you. You just can't work simultaneously with the two branches. You have to always change workspace mapping, get latest, build, synchronize the database when you connect to another branch from VS.

Forum Post: RE: Packing slip cancellation / correction in inter company original sales order

$
0
0
I didn't test whether AX should let you get in to this mess; feels like it shouldn't, but it's difficult to remember what you can / can't do when orders are linked in an InterCo DD scenario! Worst case; could you invoice your customer for 2, and then credit them for 1?

Forum Post: RE: Issues on field selection is in the select query on framework class "AifSendService\getEligibleEndpoints()"

$
0
0
Hi, AifAction record, which you get back from the DB, you should add this field explicitly in the field list (or ask for all the fields) to get. The value stored on DB level has nothing to do with the enum value, as the later is only an AOT type which translates an integer value to something readable.

Forum Post: RE: Serializing and deserializing Json in AX

$
0
0
Ammar, I had followed your suggestion as stated above and it works successfully. But the problem is how to define the order of the data contract member? Actually, I run your procedure several times and give different output order each time I ran. I had done the debugging and got this code to be the cause of the issue. methods = dictClass.methods(true, false, true); se = methods.getEnumerator(); this code above is generating list of all the methods in a class. However, I did not found how or where I could change the code to follow the order such defined in SysOperationDisplayOrderAttribute in each of the data contract member. Could you please give me some enlightenment? Lot of thanks in advanced.

Forum Post: RE: Create Fixed Asset Journal but LedgerDimesion not filled up

$
0
0
Hi Cj, Some of the code you post shows that it's OK to write. But I didn't see this. I don't know if you didn't have a copy or if you missed it. ledgerJournalTrans.insert(); Can you provide more information?

Forum Post: POS Designer

$
0
0
when I try to edit design of receipt from Retail->Setup->POS ->Receipt profiles -> "Designer" button I got this message Unable to create activex control PosIs.TillLayoutDesigner (ClassId:PosIs.TillLayoutDesigner.dll) Is not found on the system,Please check if the control is correctly installed

Forum Post: RE: Posting of Transfer order between warehouse and location

$
0
0
Are you using master planning ? It creates transfer journal if the setup on item master is available for the same. Also check coverage group , In that you will be able to find Both warehouses and location ( from and to ) which reads as default for item transfer. Let me know if this helps

Forum Post: Error message : Missing SalesTable2LineFields.lineUpdateDescription implementation for field PackagingDate on Sales Table.

$
0
0
Hello all, Error message : Missing SalesTable2LineFields.lineUpdateDescription implementation for field PackagingDate on Sales Table. The code is this final class SalesTable2LineFields_DLXClass_Extension { FieldLabel lineUpdateDescription() { FieldLabel description, packagingReceiptDate; FieldId fieldId; switch (fieldext2id(this.fieldId())) { case fieldnum(SalesTable, PackagingReceiptDate_DLX) : packagingReceiptDate = fieldId2PName(tableNum(SalesLine), fieldNum(SalesLine, PackagingReceiptDate_DLX)); fieldId = fieldnum(SalesTable, DeliveryDate); break; } description = next lineUpdateDescription(); if(packagingReceiptDate) { description = packagingReceiptDate; } return description; } } Thank You Siddhant Singh

Forum Post: RE: Packing slip cancellation / correction in inter company original sales order

$
0
0
Dear Vinesh , I have the following doubts 1> For 2 delivered items in Com. A have you invoiced for only 1 item with the value of 2 items ??? 2> If above scenario is correct than have you invoiced PO in Com. B with the same amount of 2 items or 1 item?? 3> If above scenarios are correct than you are left with 2 option . (a) If items still remains in com B ( not used or consumed ) you can make return order for purchase and reverse every transaction in com. B PO , GRN and invoice . after that follow same reversal procedure for com. A ( reverse SO , Packing slip and Invoice ) so it will nullify effects on ledger and Book fresh SO and make transaction again. (b) If you have consumed those item in com B than you need to pass inventory valuation adjustment because per qty rate of your invoiced item in com. A might have inflated as you have invoiced value of 2 items as 1. Update if this helps

Forum Post: RE: Packing slip cancellation / correction in inter company original sales order

$
0
0
hi terry , It allows I guess If item master have been setup as 100% over delivery in sales. as I was also confused that AX will not allow to pick or pack more qty than stated in Sales Order. Another scenario might be of adding one more line of same item in Sales Order.

Forum Post: RE: Create Fixed Asset Journal but LedgerDimesion not filled up

$
0
0
Hi Blue, Yes, There is at the end, it is working fine to insert and create records but when I am open the records in fixed asset journal the account is empty. But when I am doing debugging it is has the value but i don't why is not showing or displaying that data. Thanks and regards, CJ

Forum Post: RE: Create Fixed Asset Journal but LedgerDimesion not filled up

$
0
0
Hi Cj, I see your problem. Can you share more of your code? Thanks.

Forum Post: RE: Create Fixed Asset Journal but LedgerDimesion not filled up

$
0
0
Hi Ludwig, I am using the Dynamics 365 Finance and Operation the latest one. I am not using the LCS but I am using the dev box(vhd) in my azure. Thanks and regards, CJ

Forum Post: RE: Create Fixed Asset Journal but LedgerDimesion not filled up

$
0
0
Hi Blue, here is the code below. public static str createFixedAssetJournal(AssetTable asset) { LedgerJournalTable ledgerJournalTable; LedgerJournalTrans ledgerJournalTrans; LedgerJournalTrans_Asset ledgerJournalTrans_Asset; Assettable assetTable; DimensionDynamicAccount ledgerDimension; DimensionDynamicAccount offsetDimension; ; if(asset) { ttsbegin; //Info(strFmt("Asset Id:%1", asset.AssetId)); ledgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(asset.AssetId,LedgerJournalACType::FixedAssets); offsetDimension = ledgerJournalTrans.getOffsetLedgerDimensionForLedgerType(AssetLedgerAccounts::assetOffsetLedgerDimension(asset.AssetId, AssetTable.assetBookCurrent().BookId, AssetTransType::Acquisition),curExt()); ledgerJournalTable.initValue(); ledgerJournalTable.JournalNum = JournalTableData::newTable(ledgerJournalTable).nextJournalId(); ledgerJournalTable.Posted = NoYes::No; ledgerJournalTable.JournalName = 'FACur'; ledgerJournalTable.JournalType = LedgerJournalType::Assets; ledgerJournalTable.initFromLedgerJournalName(ledgerJournalTable.JournalName); ledgerJournalTable.insert(); ledgerjournalTrans.initValue(); ledgerJournalTrans.CurrencyCode = Ledger::accountingCurrency(CompanyInfo::find().RecId); ledgerJournalTrans.LedgerDimension = ledgerDimension; ledgerJournalTrans.AccountType = LedgerJournalACType::FixedAssets; ledgerJournalTrans.TransactionType = LedgerTransType::FixedAssets; ledgerJournalTrans.Approved = NoYes::Yes; ledgerJournalTrans.Approver = HcmWorker::userId2Worker(curuserid()); ledgerJournalTrans.LineNum = LedgerJournalTrans::lastLineNum(ledgerJournalTrans.JournalNum) + 1; ledgerJournalTrans.TransDate = DateTimeUtil::getSystemDate(DateTimeUtil::getUserPreferredTimeZone()); ledgerJournalTrans.accountName(); ledgerJournalTrans.AmountCurDebit = 4000; ledgerJournalTrans.OffsetAccountType = LedgerJournalACType::Ledger; ledgerJournalTrans.OffsetLedgerDimension = offsetDimension; ledgerJournalTrans.insert(); ledgerJournalTrans_Asset.initValue(); ledgerJournalTrans_Asset.RefRecId = ledgerJournalTrans.RecId; ledgerJournalTrans_Asset.AssetId = assetTable.assetId; ledgerJournalTrans_Asset.TransType = AssetTransTypeJournal::Acquisition; ledgerJournalTrans_Asset.BookId = AssetTable.assetBookCurrent().BookId; ledgerJournalTrans_asset.insert(); LedgerJournalTable.selectForUpdate(true); LedgerJournalTable.numOfLines = LedgerJournalTable.numOfLines(); LedgerJournalTable.update(); ttscommit; } return LedgerJournalTable.JournalNum; }

Forum Post: AX workflow for the Vendor Invoice Approver

$
0
0
Hello All, Can I create a condition for the Vendor Invoice Workflow, where the approver to the Vendor Invoice should the one who creates the Purchase Order. Here the scenario is that the Creator of the Purchase Order should be the Approver to the Vendor Invoice, I am unable to get such condition, Kindly advise???????????????????????????

Forum Post: Accessorial assignment level

$
0
0
Hi every body i want to use route with rate in ax 2012 R3. I want to use and set up Accessorial assignment too. could you please tell me that what are differences between Accessorial assignment level(shipment-Hub-Package-Load).how can i see different result between these types. Thank you Sepideh

Forum Post: RE: Vendor Payment Advice

$
0
0
Hi Ludwig, I'm working in D365 v10 update 26 thanks!

Forum Post: RE: Serializing and deserializing Json in AX

$
0
0
Eldy, to be honest i didnt bother myself with member order. Why would you need this anyway? if you are sending this to any API it will pass it doesnt need to be ordered.

Forum Post: RE: Create Fixed Asset Journal but LedgerDimesion not filled up

$
0
0
Hi Cj, LedgerJournalTable ledgerJournalTable; LedgerJournalTrans ledgerJournalTrans; LedgerJournalTrans_Asset ledgerJournalTrans_Asset; Assettable assetTable; ledgerJournalTable.initValue(); ledgerJournalTable.JournalNum = JournalTableData::newTable(ledgerJournalTable).nextJournalId(); ledgerJournalTable.Posted = NoYes::No; ledgerJournalTable.JournalName = 'FACur'; ledgerJournalTable.JournalType = LedgerJournalType::Assets; ledgerJournalTable.initFromLedgerJournalName(ledgerJournalTable.JournalName); ledgerJournalTable.insert(); ledgerjournalTrans.initValue(); ledgerJournalTrans.CurrencyCode = Ledger::accountingCurrency(CompanyInfo::find().RecId); ledgerJournalTrans.AccountType = LedgerJournalACType::FixedAssets; ledgerJournalTrans.TransactionType = LedgerTransType::FixedAssets; ledgerJournalTrans.Approved = NoYes::Yes; ledgerJournalTrans.Approver = HcmWorker::userId2Worker(curuserid()); ledgerJournalTrans.LineNum = LedgerJournalTrans::lastLineNum(ledgerJournalTrans.JournalNum) + 1; ledgerJournalTrans.TransDate = DateTimeUtil::getSystemDate(DateTimeUtil::getUserPreferredTimeZone()); ledgerJournalTrans.LedgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(AssetTable.AssetId,LedgerJournalACType::FixedAssets); ledgerJournalTrans.accountName(); ledgerJournalTrans.AmountCurDebit = 4000; ledgerJournalTrans.OffsetAccountType = LedgerJournalACType::Ledger; ledgerJournalTrans.OffsetLedgerDimension= ledgerJournalTrans.getOffsetLedgerDimensionForLedgerType(AssetLedgerAccounts::assetOffsetLedgerDimension(AssetTable.AssetId, AssetTable.assetBookCurrent().BookId, AssetTransType::Acquisition),curExt()); ledgerJournalTrans.insert(); ledgerJournalTrans_Asset.initValue(); ledgerJournalTrans_Asset.RefRecId = ledgerJournalTrans.RecId; ledgerJournalTrans_Asset.AssetId= assetTable.assetId; ledgerJournalTrans_Asset.TransType = AssetTransTypeJournal::Acquisition; ledgerJournalTrans_Asset.BookId = AssetTable.assetBookCurrent().BookId; ledgerJournalTrans_asset.insert(); ttsbegin; LedgerJournalTable.selectForUpdate(true); LedgerJournalTable.numOfLines = LedgerJournalTable.numOfLines(); LedgerJournalTable.update(); ttscommit;

Forum Post: Auto generated Purchase order from firme Planned order

$
0
0
Hi, When i firm the created planned order to create purchase order Purchase order is created with the status approved. I need to set the status as draft i debugged the code and found the class where this status is set (Class :Vesioning document method: approveChangeRequest()) i planned to create coc for this method but i have a doubt this will affect any other functionalities (Also PR to PO status need to be draft --> for that i enabled the field in the procurement and sourcing parameter) but for the planned order to Purchase order status change there is no such parameter available in master planning module Please suggest me whether to create coc for the mentioned method or any other better way to achieve it.
Viewing all 125409 articles
Browse latest View live


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