How can i prevent selling item that has no quantity at POS ?
Ax retail product sell
sales prices in sales order updated from cost price in purchase order
Hi,
I sometimes have a charge for transportation for my purchase orders. This cost I add to the cost price of the item. So if I order something for 100 and have a freight charge of 5, my inventory value will be 105.
However, I can't manage to automatically update the sales price for this line. So in the example my sales price would still be 100 and I would make a loss of 5. I could manually add a charge, but I would prefer an automatic update to avoid user errors.
My process is too always create sales orders first and then create purchase orders from those. Then I post delivery note and invoice for the purchase and later delivery note and invoice for the sales order.
I already changed some settings in the item setup, but to no avail.
Thanks in advance
Movement journal not getting posted
Hi,
I am trying to post a movement journal through code. I found the relevant code on the Internet.
Now, when I am executing the code the movement journal is getting created and is also posted. However, when I check the On hand quantity - the value is not getting changed.
Also, I cannot see the movement journal under the inventory transactions section.
Any idea on this?
I referred to the below mentioned link for the code :
http://basicax.blogspot.in/2013/05/ax2012-r2-x-code-to-create-and-post.html
Import Items into Ax with X++ Code
I was importing items into Microsoft Dynamics AX 2009 using the following job
static void ItemsImport(Args _args) { InventTable InventTable; container c; TextIo io; str 130 fileName; TextBuffer b; integer inc; ItemId ItemId; AxInventTable axInventTable; ; fileName = @"C:\Users\mom\Desktop\Items.csv"; b = new Textbuffer(); io = SysLicenseCodeReadFile::openFile(fileName,'r'); if (!io) throw error(strfmt("@SYS18678",fileName)); io.inFieldDelimiter(";"); c = io.read(); b = new Textbuffer(); ttsbegin; while (io.status() == IO_Status::Ok) { c = io.read(); inc++; if (io.status() != IO_Status::Ok) break; ItemId = conpeek(c,1); select InventTable where InventTable.ItemId == ItemId; axInventTable = new axInventTable(); axInventTable.parmItemId(conPeek(c, 1)); axInventTable.parmItemName(conPeek(c, 2)); axInventTable.parmNameAlias(conPeek(c, 3)); axInventTable.parmItemGroupId("PRD_CHF"); axInventTable.parmModelGroupId("PMP"); axInventTable.parmDimGroupId("Teinture"); axInventTable.axInventTableModule_Sales().parmUnitId("Kg"); axInventTable.axInventTableModule_Purch().parmUnitId("Kg"); axInventTable.axInventTableModule_Invent().parmUnitId("Kg"); axInventTable.parmBOMUnitId("g"); axInventTable.axInventItemInventSetup().axInventDim().parmInventSiteId("FIMA"); axInventTable.axInventItemPurchSetup().axInventDim().parmInventSiteId("FIMA"); axInventTable.axInventItemInventSetup().axInventDim().parmInventSiteId("FIMA"); axInventTable.axInventItemInventSetup().axInventDim().parmInventLocationId("MG_PRD_CHI"); axInventTable.axInventItemPurchSetup().axInventDim().parmInventLocationId("MG_PRD_CHI"); axInventTable.axInventItemInventSetup().axInventDim().parmInventLocationId("MG_PRD_CHI"); axInventTable.save(); } ttscommit; pause; }
The records are created correctly in the table but when I open the default orders settings/Site specific order settings order form for the product, all fields are still greyed out as if no records exists.
Has anybody faced this problem ? how I can correct the x ++ code ?
Any help would be appreciated.
Thanks,
MB6-704 / Microsoft Dynamics AX 2012 R3 CU8 Development Introduction
Hi All,
Does anyone know how many questions there will be total in MB6-704 Exam?
and How much time can I get to finish all of the questions?
I saw MS official site here. I thinks it is not mentioning about this.
POS Error 99522
Gives error in the post when you find a product or a client ,display error is 99522 undefined error is made.
POS ERROR - 99522 (Unidentified error)
Getting error on point of sales of microsoft dynamics ax while scanning or searching the product.
99522 : unidentified error.
QueryBuildRange AND clause on forms data source
I was wondering if anyone could help me out. I am trying to add a filter to a form's datasource at runtime. However no matter what I do it seems to add my filter clause(s) to the datasource via the OR clause instead of the AND clause since I am adding multiple filters to the same field. For example I need to only show the lines(rows) that the field
"ReferenceCategory" is not InventTransType::ProdLine and not InventTransType::InventTransfer
QueryBuildRange showPOLines, showTransfers;
showPOLines = this.query().dataSourceTable(tablenum(FWMBatchTrace)).addRange(fieldnum(FWMBatchTrace, ReferenceCategory));
showPOLines.value(SysQuery::valueNot(enum2str(InventTransType::ProdLine)));
showPOLines = this.query().dataSourceTable(tablenum(FWMBatchTrace)).addRange(fieldnum(FWMBatchTrace, ReferenceCategory));
showPOLines.value(SysQuery::valueNot(enum2str(InventTransType::InventTransfer)));
return's SELECT FIRSTFAST * FROM FWMBatchTrace(FWMBatchTrace) ORDER BY FWMBatchTrace.SearchLevel ASC WHERE ((NOT (ReferenceCategory = 8)) OR (NOT (ReferenceCategory = 6)))
which is almost right I just need the OR changed to an AND
showPOLines = this.query().dataSourceTable(tablenum(FWMBatchTrace)).addRange(fieldnum(FWMBatchTrace, ReferenceCategory));
showPOLines.value(SysQuery::valueNot(enum2str(InventTransType::ProdLine)));
showPOLines.value(SysQuery::valueNot(enum2str(InventTransType::InventTransfer)));
return's (overrides first filter with second filter)
SELECT FIRSTFAST * FROM FWMBatchTrace(FWMBatchTrace) ORDER BY FWMBatchTrace.SearchLevel ASC WHERE ((NOT (ReferenceCategory = 6)))
showPOLines = this.query().dataSourceTable(tablenum(FWMBatchTrace)).addRange(fieldnum(FWMBatchTrace, ReferenceCategory));
showPOLines.value(strFmt("%1 != %2 && %1 != %3", fieldStr(FWMBatchTrace, ReferenceCategory), enum2str(InventTransType::ProdLine) , enum2str(InventTransType::InventTransfer)));
return SELECT FIRSTFAST * FROM FWMBatchTrace(FWMBatchTrace) ORDER BY FWMBatchTrace.SearchLevel ASC WHERE ((ReferenceCategory = 255))
If you seperate them into differnt build ranges you get the same result
showPOLines = this.query().dataSourceTable(tablenum(FWMBatchTrace)).addRange(fieldnum(FWMBatchTrace, ReferenceCategory));
showPOLines.value(SysQuery::valueNot(enum2str(InventTransType::ProdLine)));
showTransfers = this.query().dataSourceTable(tablenum(FWMBatchTrace)).addRange(fieldnum(FWMBatchTrace, ReferenceCategory));
showTransfers.value(SysQuery::valueNot(enum2str(InventTransType::InventTransfer)));
returns SELECT FIRSTFAST * FROM FWMBatchTrace(FWMBatchTrace) ORDER BY FWMBatchTrace.SearchLevel ASC WHERE ((NOT (ReferenceCategory = 8)) OR (NOT (ReferenceCategory = 6)))
so I'm confused on how would I go about returning
SELECT FIRSTFAST * FROM FWMBatchTrace(FWMBatchTrace) ORDER BY FWMBatchTrace.SearchLevel ASC WHERE ((NOT (ReferenceCategory = 8)) AND (NOT (ReferenceCategory = 6)))
Would it be better to approach it from the other way and just add multiple == (equal) filters and just not include the items im trying to hide?
Dynamic Ax Certifications
Hi guys
I want to ask about Dynamic Ax Certifications . also my company want to be microsoft Dynamic Ax partner .
please tell me the required exams and its prices
thanks
Labor cost by project type
I want to have different labor rates for each project type. Any ideas how to do this aside from manually. We set up a lot of projects so I am really looking for a one-time setup solution.
I have tried to set up project category with rates and limit to project group but I cannot find a validation method.
Thanks
Project Ledger Update on Product Receipt
Hi all,
I have problem regarding the project ledger/transaction update when performing product receipt.
In my set up, I put transaction ledger to be updated when PO is receipt.
Therefore only accrued payable which will be updated when invoice created, while cost/inventory account is updated when product receipt.
However when I create PO to be assigned to project, no ledger or transaction updated when I perform product receipt.
Then after I create invoice based on the product receipt, the total cost amount in project, transaction report, and project ledger report are updated.
My question is can I change the transaction update above from invoice creation to product receipt process?
Thanks in advance for the help.
Regards,
M.H.
Data Import Export Framework Error "Could not find file..."
I'm attempting to load the DIEF tool with standard entity based on the documentation for importing a customer. The problem occurs when trying to preview the data after generating the source mapping and validating it. Everything appears to be OK right until the point of preview.
The error reads: Could not find file (Directory of file path) then an obscure text file name {BD6213FB-3AAC-4777-97DC-DE245BB73982}..txt.
If I had to guess what the issue was; it would be something related to the initial setup (installation) of the tool, however I cannot find exactly what to do about this error. Any help would be appreciated
Grouping items with similar properties at planning
I have been looking in to how to best group together production orders with similar properties. I have a customer who does metal fabrication and I need to be able to group together productions with the same sheet metal thickness when planning. I know Axtension has a very good solution for this, but it looks to be a solution to this somewhere under the hood in standard AX as well.
There is a feature for sequencing together productions with similar properties, but this looks to only be available for formula items. I cannot see why BOM items cannot be planned to a similar principal. Why the restriction?
I’ve looked in to properties, but it looks to only be handled for concrete time slots for work time in the calendar…
Does anyone here know of a good method to do this type of grouping when planning productions for standard BOM items?
Enable/ Configure out of box POS reports on AX 2012 R3
AX 2012 R3 demo VPC enterprise POS shows reports ( Sales by Staff, Sales by Store etc) that can be run on the POS. How do I enable this for a user ?
Unable to edit planned order qtys due to error "Working time STD has not been specified for 07-Apr-15"
Hey,
Our forecasting team is unable to edit the qtys in the planned order screen, due to the following "Working time STD has not been specified for 07-Apr-15"
How do I fix this?
Mel
Transfer item using WH
We are having an issue when trying to move items from one wh to another. We have multiple whs set and everything works properly except for one that belongs to another site, When we receive anything in that wh we received the error msg "Invalid license plate"
Cannot download updates from Partnersource
Hi All
I am struggling to download cumulative updates from Microsoft partnersource. I am able to find the knowledge base article, request the hotfix via email etc.. However on clicking on the download link from my email I receive "500 internal server error".
Is anybody else able to download updates at present?
500 - Internal server error.
Automated Product receipt and invoice posting for IC Orders
Hi
I do have multiple companies (A, B, C)
In the simplest case A orders at B (Intercompany order) now I want to automatically post the product receipt on A when Packing slip at B is posted. The same with the invoice.
Is it possible and how.
The other case is A order at B, B at C and C delivers to A. How can I post the documents automated in that case?
standard report error of date
Hi all,
kindly look into my issuse,
In ax 4.0> GL> Reports> Transaction> Declaration of sales Tax report.
When i'm trying to generate a report for date 1st march to 31st march for dimension "BLR". it is giving an
error as "Sales Tax has not been specified". Most interesting in error, "i tryed giving dates apart form 1st to 31st march" the report will generate without error and required information for dimension BLR. and when I chose Dimension "CHN as Chennai" it will generate full report withh set of data.
the oly problem is when im trying to generate a report for 1st-31st march for BLR-Bangalore dimension it will
give error sales tax not specified.
There 4 dimension BLR,CHN,MUM,HYD. Only error with BLR dimension
Please somebody help me
Populate table using XML
Hi,
I have an XML file which I fetched from my organization's server to feed the data in AX table, but I am obscure about how would I achieve this ?
Please help......!
Regards,
Rishi