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

Error on Inventory counting Journal - Item 000004 is locked for updates in warehouse 41 because it is being counted.

$
0
0

Dear All,

Process I followed- 

First of all I created Tag counting journal to understand the process of it . What i understood is that it counts the inventory and when we post the tag counting it transfers the tag counting to Inventory counting journal and creates a new journal for counting journal.

Question 1  Can someone please tell me for counting the inventory we can use directly inventory counting journal. So why we are using Tag counting journal for counting.

Scenario 2 - After posted a tag counting journal . I created a new Inventory counting journal for that same item for which tag counting is created and posted so when I click on post to post inventory counting journal I am getting this error Item 000004 is locked for updates in warehouse 41 because it is being counted.. Can someone please explain me this error what is the meaning of this error and why it is coming (Screenshot attached)


AP Vendor invoice posting error for insuficient inventory available to picked

$
0
0

When we create PO product receipt and once the inventory is available, then user create the Transfer order respectively. But after TO posting when we try to post Vendor Invoice, system showing error.

2.00 quantity cannot be picked because only -0.00 is/are available from the inventory. 

Project group field is mandatory while making Service order

$
0
0

Dear Sir/Mam,

When I am making Service order project group field is mandatory. 

Can someone please tell how to make unmandatory project group field in Service order??

accounting distributions with invoiced purchase order

$
0
0

I have a purchase order with two items, both items are received; the first item is billed but I am trying to cancel the receipt of the second article and it shows me this error

  

I have always corrected this error by modifying this part of the purchase order (Financial Dimensions).

  

this modified this part which resolved the error

  

but this time I can't fix this, because the purchase order has an invoice, which prevents me from modifying the financial dimensions

what options do I have to solve this?

Demand Planner will not save consensus forecast

$
0
0

Greetings All,

We are having an issue that just popped up with the Demand Planner" application.

When transferring to the consensus forecast, the data is not being saved. Normally this automatically happens using the transfer process, now it prompts to save and never actually commits the save.

After the transfer, you can open the consensus forecast and see the change and the "Save" icon is highlighted as it it did not save.

Clicking save does nothing.

Closing the program and opening back up displays the old data before the transfer happened.

Any ideas on what the issue could be?

Thanks,

Mark

Why purchase requisition lines don't display in the form's grid when I create a purchase requisition through X++ code

$
0
0

Greetings to everyone.

I created a Class object, that runs on Client, which executes an automated process to generate in bulk purchase requisitions in order to save time and effort for users having manually create them one by one.

This is the code i programmed in AX for the methods that generate both the header and lines for the PR.

protected PurchReqTable insertPurchReqHeader(
PurchReqBusinessJustificationCodes _reason,
container _readCon)
{
PurchReqBusJustification purchReqBusJust;
PurchReqTable purchReqTableLocal;
PurchReqName purchReqName = conPeek(_readCon, 3);

purchReqTableLocal.clear();
purchReqTableLocal.initValue();
purchReqTableLocal.PurchReqId = NumberSeq::newGetNum(PurchReqTable::numRefPurchReqId()).num();
purchReqTableLocal.BusinessJustification = _reason.RecId;
purchReqTableLocal.Originator = HcmWorker::userId2Worker(curUserId());
purchReqTableLocal.PurchReqName = purchReqName;
purchReqTableLocal.PurchReqType = PurchReqType::Purch;
purchReqTableLocal.RequiredDate = systemDateGet();
purchReqTableLocal.RequisitionPurpose = RequisitionPurpose::Consumption;
purchReqTableLocal.insert();

return purchReqTableLocal;
}

protected void insertPurchReqLine(container _readCon)
{
PurchReqLine purchReqLine;
VendTable vendTable;

PurchReqItemIdNonCatalog purchReqItemId = conPeek(_readCon, 3);
CompanyId companyId = conPeek(_readCon, 4);
EcoResCategoryName categoryName = conPeek(_readCon, 5);
PurchReqPrice purchReqPrice = conPeek(_readCon, 7);
TaxAmount taxAmount = conPeek(_readCon, 8);
LineAmount lineAmount;
PurchLineAmount purchLineAmount = conPeek(_readCon, 9);
CurrencyCode currency = conPeek(_readCon, 10);
VendAccount vendAccount = conPeek(_readCon, 11);

vendTable = VendTable::find(vendAccount);

purchReqLine.clear();
purchReqLine.initValue();
purchReqLine.initFromPurchReqTable(purchReqTable);
purchReqLine.initFromEcoResCategory(this.findCategoryByName(categoryName));
purchReqLine.initFromVendTable(vendTable);
purchReqLine.BuyingLegalEntity = CompanyInfo::findDataArea(companyId).RecId;
purchReqLine.LineType = PurchReqLineType::Category;
purchReqLine.ItemIdNonCatalog = purchReqItemId;
purchReqLine.PurchQty = 1;
purchReqLine.PurchUnitOfMeasure = UnitOfMeasure::findBySymbol('****').RecId;
purchReqLine.PurchPrice = purchReqPrice;
purchReqLine.LineAmount = taxAmount != 0 ? purchLineAmount + taxAmount : purchLineAmount;
purchReqLine.CurrencyCode = currency;
purchReqLine.DefaultDimension = this.getDefaultDimensionFromDisplayValues(_readCon);
purchReqLine.insert();
}

With the class deployed I then carried out developer tests at executing the process, and it successfully created the purchase requisitions, as shown in the following image.

However, if I click the edit button to open up the purchase requisition details form I found out that the data for the header is showing fine, but the lines are missing or not being displayed in the grid section.

What's curious is that I checked the PurchReqLine table in the AOT and found out that the lines for each of the PR, created through the automated process, were generated without issues. In fact, the lines are displaying as well in the PR list page form, as shown in the first image above.

Is this particular issue caused due to setup, permissions, or code lacking in my class?

And, how do I make the PR lines to display in the form?

How to add some logging for what batch jobs are executing and being terminated?

$
0
0

log what are the jobs left behind as well

Budget Control on Total Accounts with two or more ranges

$
0
0

Hi Everyone, 

I am working budget control on total accounts, I have a scenario to implement, I have to configure two or more main accounts ranges under the umbrella of one total accounts.

How do I configure "Budget Control Configuration" to capture this scenario.

Like this: account Intervals

I have configured this, but it is not working. 


error contract = this.parmdataContract()

$
0
0

Hi,

I am new to Dynamics AX and I am unable to understand few things in coding as I started learning AX. I am not from a coding background please guide me here or could you please refer me a book or channel where I can get in depth knowledge on these codes.

These are few lines of codes from Contract, DP ,UIbuilder and Controller classes, where I am unable understand how they work in current code and purpose of calling these methods and Classes

  1.DP_CustVendContract contract = this.parmDataContract() as DP_CustVendContract;

2. contract = this.dataContractObject()

     contract = this.parmdataContract()

   

3.SysTableLookup sysTableLookup;


sysTableLookup = SysTableLookup::newParameters(tableNum(HL_HospitalTable), santoshlookup);

4.publicstaticvoidmain(Args _args)
{

 ItemTransactionSummaryController controller;

    controller = new ItemTransactionSummaryController();

}


 

default e-mail message format

$
0
0

Hi,

when the e.g. packing slip is posted, posted document has the options to be printed, saved to file or e-mailed:

Is it possible to setup/change default message format? In our case "ASCII" is always the first option by default, but we would like to have PDF as first option instead of chossing from the list:

Can an user set this up or it is a code based setup ? 

Forecast with other project than fixed price project

$
0
0

Hi,

why isnt it allowed to use forecast on t & m projects or other projects?

Planned Transfer "From Warehouse"

$
0
0

This might be a quick solution, but can someone help determine why my from warehouse does not show under "planned transfer orders" 

The item coverage for each item has the main warehouse listed as well. 

Change Field Value with Default Value

$
0
0

Hey! I am new to AX 2012 and I have to do a task. I have to change some field with the value set as default. I have two fields. The MarketingCategory ( the value I need to change/update) and the DefaultValue (Yes/No base Enum). 
I have to change the values from the lines and I don t know how to do it. Can you help me with the class code? I need this so I can create a batch job after that. Thank you!

The values That I have to change are the MarketingCategory, MarketingCategoryClass. I need to do this by code, for all lines from the Released Products.

There is a field mismatch in the union query. Field SalesName is not compatible with field Description.

$
0
0

I am creating relation between salestable and PriceDiscAdmTable. In this context I have added new column in salestable named as JOURNALNUM and I also created relation in salestable but when  I am synchronizing table it is giving following error

Picking list registration

$
0
0

hello All;

I have an picking route with status ( Started ) and with ( Completed ) status in the lines.
How can this happen
note: this sales order is invoiced.

Thank you all.


How to show the stage of advancement of products with multiple operations - WIP

$
0
0

I am asking for advice on the issue below:

The company produces products with 10 operations, each operation takes 1 working day, i.e. production takes 2 weeks from start to finish. Products are manufactured as production or batch orders, each order may have a different number of units produced and different orders include different products.

During each operation, materials and semi-finished goods  are consumed.

Multiple orders for the same as well as for different products can be opened at the same time.

Question: how to show in D365FO the stage of advancement of the fulfillment of each order, and in particular, at the turn of the month, how to report how many products are in stock after each operation -  in WIP status and how many cost values are frozen in unfinished products after each operation.

Reporting of used components for production in quantity other than estimated.

$
0
0

 Asking for advice:

How to report in D365FO different than estimated quantities of used components when creating lines of Journal of Picking Lists for production order or batch order.

The question is about reporting quantity while using the function: Job card terminal, Job card device or Production floor execution.

Is it possible with the standard D365FO without system modifications?

Reporting consumed quantities of components on desktop by manually creating Picking Lists is known and is not the issue.

I want to Avoid Updating Purchase Order Line, "Unit Price" Value & "Overwrite & Price Discounts" Pop Up work for "Non Trade agreements" PO also .while Updating Any Field Of Purchase Order & Line Value.

$
0
0

Which ItemId have No Trade Agreement , When Anyone Try to change this type of Purchase Order Field (Header + Line) "Unit Price" Value is changing Automatically To current Item Price.

& Which ItemId have Trade Agreement Below "Overwrite & Price Discounts" Pop Up is coming. While Changing any Filed Of Purchase Order Line.

So, My Requirement is , I want to Avoid Updating  Purchase Order Line, "Unit Price" Value & want above "Overwrite & Price Discounts" Pop Up work for "Non Trade agreements" PO also .while Updating Any Field Of Purchase Order & Line , 

Note- I aware of Trade Evaluation Policies 

Kindly Help To achieve This Requirement. 

Wrong Attibute type shows at webshop

$
0
0

Hello,

One of our items dont show the correct attribute at the webshop, it just shows the letter "v" under Technical specifications. We use the translate function but it looks correct in AX. I can not find where this "v" would come from. All the other attributes look correct and get translated. Any help would be great, thanks

 

Retrieve item net requirments via x++

$
0
0

I am trying to understand what methods to call and how to call them in order to capture the On-hand, Planned and Open POs, Production lines as shown on an items net requirements. Thanks.

Viewing all 175888 articles
Browse latest View live


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