Can anyone please help me out with use of Central bank purpose code in AX 2012, I knw how to setup and assign it to vendor however I am not sure why we setup these codes in AX.
Central Bank Purpose Codes
RE: Acquiring old Fixed Assets
Hi dpecora,
If there is nothing else open for this thread, then it would be great if you could verify the answers to let also other community members know what helped you to get this issue resolved.
Many thanks for your support and best regards,
Ludwig
How to display GST rates and amounts used in Indian Taxation on Project Invoice Proposal Print Preview report in AX 2012 R3?
Hi all,
I want to display IGST, CGST, SGST amounts and rates used in Indian Taxation on Project Invoice proposal Print Preview report. We can see these amounts from the Tax document option as shown in following picture:
There are codes available online to calculate GST rates and amounts on Purchase order or sales order confirmation and invoice. But I can't find a way to calculate the same on Project Invoice Proposal.
Actually, I need this because I want to show these rates and amounts for each line on Print Preview report in action pane.
RE: Slash '\' appears when using con2str()
Hi Sukrut,
Thanks for fast reply.
I have tried also and it is the same, the \ still there
Slash '\' appears when using con2str()
Dear experts,
I have a form that shows data of GeneralJournalEntry table data, and a button Print. When the button is clicked, the selected records's JournalNumber in grid will be sent to query LedgerTransPerJournal as range. I created a container that stores the selected records's journalNumber, when I set the container data as range in query, there are some '\' appear after each journalNumber. I don't how why it happened, the method i used is con2str().
This is my code of Print button:
void clicked() { GeneralJournalEntry locGeneralJournalEntry; Query q; QueryRun qrun; container conJournalNum; locGeneralJournalEntry = GeneralJournalEntry_ds.getFirst(true); q = new Query(queryStr(LedgerTransPerJournal)); q.dataSourceTable(tableNum(GeneralJournalEntry)).clearRanges(); if (!locGeneralJournalEntry) { warning('Voucher lines must be selected'); return; } else { while (locGeneralJournalEntry) { //info(strFmt('%1', locGeneralJournalEntry.SubledgerVoucher )); //q.dataSourceTable(tableNum(GeneralJournalEntry)).addRange(fieldnum(GeneralJournalEntry, JournalNumber)).value(SysQuery::value(locGeneralJournalEntry.JournalNumber)); conJournalNum += [queryValue(locGeneralJournalEntry.JournalNumber)]; locGeneralJournalEntry = GeneralJournalEntry_ds.getNext(); } q.dataSourceTable(tableNum(GeneralJournalEntry)).addRange(fieldnum(GeneralJournalEntry, JournalNumber)).value(SysQuery::value(con2Str(conJournalNum))); qrun = new QueryRun(q); qrun.prompt(); } }
This is the screen of QueryForm:
RE: Advanced WMS Production Over-Pick
An alternate approach would be to use Wave Replenishment.
But You would need to update to AX 2012 CU13 or use this upgrade patch KB 4015472. (Not sure about D365).
On your production wave template make sure Replenish is there as a step.
You production pick should be from LineSide.
The wave replenishment should be from your storage location to your LineSide Location.
Whenever a Production wave is released to warehouse it will check if the requisite quantity is available at Line Side otherwise it will create a replenishment work for the same.
Allow overpick on the menuitem used for Replenishment Put away work, so that the worker can pick whole box instead of lose quantity. Alternatively you can use Box as your replenishment unit.
Hope this helps.
Advanced WMS Production Over-Pick
All,
I have a situation where the warehouse worker may want to over-pick material for a production order using the mobile device and Advanced Warehousing. I know that I can over-pick on a SO and Transfer Order with settings in the mobile device menu item and in the worker record, but I cannot figure out how to allow over-picking of materials on a production pick work item. This is needed for this specific situation as we are not using license plate control, but may have a box of 50 each that we want to move to the line-side location (stage) when the Pick List only calls for 1 item. We would only consume 1 on the production order, but the remaining 49 would be located LineSide so no new work would be created for future production orders until the entire 49 were consumed.
Has anyone worked out a solution to this issue?
Thanks,
Jonathan
RE: Wrong invoice's due date with sales order
Hi Giorgio,
I myself don't have the answer for that, I was checking with Ludwig whether there is any configuration for setting the Due Date Calculation based on the Product Receipt Date.
Regards,
John Philip .S
Wrong invoice's due date with sales order
Dear all,
In my case, the due date don’t start to use the invoice's date for the calculation but the sales order creation's date. Somethings have an idea about the parametrization that I should change to restore a normal situation.
Kind regard,
Giorgio
Partially Invoiced with Service tax Purchase orders not working for GST (India) for Remaining quantity
Hi Friends,
I am not able to post partially Invoiced purchase orders for GST (India) which is effected with service tax earlier.
If service tax not effected system is allowing to process with GST but if service tax is effected system not allowing to post with GST for remaining quantity.
Example :
Line 1-10 Qty with Service tax and invoiced 6 Quantity with Service tax.
Line 2 - 15 Qty No tax es and not invoiced
Now i want to post the remaining 4 quantity in First line with GST but system is not allowing to post invoice, getting the below error.
is system will allow to post invoice for this situation?
RE: Mobile Application with AX 2012 - 401 Error while trying to hit AX via Service Bus
Hi All,
Has anyone faced the above issue before?
Mobile Application with AX 2012 - 401 Error while trying to hit AX via Service Bus
Hi All,
Am trying to replicate the whitepaper given for developing mobile apps for AX 2012 and it is failing in the last step. Please find the steps that I have done so far and any help would be of great help. Am getting 401 error when am trying to create a record in AX2012
1) 3 windows 2012 server systems where Domain Controller & AX 2012 are running on machine A, Middle Tier WCF or Dynamics AX mobile connector running on machine B and ADFS server configured on machine C. All of them are within the same domain.
2) Am using a simple console application for making the call.
3) The first two steps where ADFS token and ACS token are obtained are happening without any issue.
4) Now am passing the ADFS token along with the ACS token as authorization header to the service bus after configuring the connector (checked it is running fine)
5) The call which I have created for calling the service bus is below.
public static string CreateRecord(string adfsEncodedToken, string acsEncodedToken) { var expenseObj = new { Amount = "100", Comments ="Expense of 100 INR", CurrenyCode = "EUR", Date = "08/18/2017" }; var payload = new { adfstoken = adfsEncodedToken, expenseData = expenseObj }; var payloadJSON = JsonConvert.SerializeObject(payload); var restURI = "xxxxx.servicebus.windows.net/ExpenseRest"; System.Net.WebRequest req = System.Net.WebRequest.Create(restURI + "Expense?Action=Create"); //Add these, as we're doing a POST req.ContentType = "application/json; charset=utf-8"; req.Method = "POST"; req.Headers["Authorization"] = "WRAP access_token=\"" + Uri.UnescapeDataString(acsEncodedToken) + "\""; //We need to count how many bytes we're sending. Post'ed Faked Forms should be name=value& byte[] bytes = System.Text.Encoding.ASCII.GetBytes(payloadJSON); req.ContentLength = bytes.Length; System.IO.Stream os = req.GetRequestStream(); os.Write(bytes, 0, bytes.Length); //Push it out there os.Close(); System.Net.WebResponse resp = req.GetResponse(); if (resp == null) return null; System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream()); return sr.ReadToEnd().Trim(); }
6) The connector screenshot is below for the reference. Am not really sure where should I configure the action methods for the ExpenseRest? Any help here?
7) The error message am getting:
<Error><Code>401</Code><Detail>MalformedToken: Invalid authorization header: The request is missing WRAP authorization credentials. TrackingId:bbcdad19-c450-4f41-b01f-068aab4d14b3_G26, SystemTracker:xxxxx.servicebus.windows.net:ExpenseRest/Expense, Timestamp:8/29/2017 10:24:49 AM</Detail></Error>
8) The fiddler header that I was able to capture.
Content-Type: application/json; charset=utf-8 Authorization: WRAP access_token="net.windows.servicebus.action=Send&schemas.microsoft.com/.../trust&Audience=xxxxx.servicebus.windows.net/&ExpiresOn=1504012990&Issuer=xxxx-sb.accesscontrol.windows.net/&HMACSHA256=Asadsadasdsadasd343435345!!!" Host: xxxx.servicebus.windows.net Content-Length: 4379 Expect: 100-continue
The whitepaper Link:technet.microsoft.com/.../dn155874.aspx
Not really sure how I can make it work. Thanks in advance.
RE: Changing the currency on a PO that is linked to a PR
Hi AngelAX,
I checked this in a demo environment and it worked fine. When you change the PO currency AX will ask you to recalculate the prices in the foreign currency but that's it. Everything else works as usual.
Have you already tested this in a demo environment?
Best regards,
Ludwig
Changing the currency on a PO that is linked to a PR
Good Day
We have a PO that was done in ZAR currency. The user wants to change the PO to USD.
The PO is linked to a PR.
Please advise on how to do this without affecting invoicing stage
Regards
AngelAX
RE: Query extended range failure: Right parenthesis expected near pos
Agree with chaitanya it's a bug, we are getting this issue in standard AX only. we didn't make any customization on this form
Thanks chaitanya, will try your suggestion.
Thanks,
Pranay
RE: Slash '\' appears when using con2str()
It's the expected behavior of your code. It says that you want to find JournalNumber GJT-001893,GJT-001894,GJT-001895 and it escapes special characters in the string by calling SysQuery::value(). It will look for the literal value "GJT-001893,GJT-001894,GJT-001895", not for three different values.
You could fix it by removing SysQuery::value(), but it would still be problematic. For example, if you have many records, you can exceed the allowed length of query range values. Your code is also more complicated than needed. Get rid of all these problems by simply creating several ranges for the JournalNumber field:
QueryBuildDataSource journalEntryDs = q.dataSourceTable(tableNum(GeneralJournalEntry)); FieldId journalField = fieldnum(GeneralJournalEntry, JournalNumber); ... while (locGeneralJournalEntry) { journalEntryDs.addRange(journalField).value(queryValue(locGeneralJournalEntry.JournalNumber)); locGeneralJournalEntry = GeneralJournalEntry_ds.getNext(); }
RE: Issue with grouping the queries in sys operation framework
What do you mean by "moving queries to groups"?
RE: Partially Invoiced with Service tax Purchase orders not working for GST (India) for Remaining quantity
Hi Ramanadham,
Kindly clarify on the following:-
1. Are you trying to provide Sales Tax Group (ST) & GST for single Line/PO.
2. What is the Invoice Dates? Is it after July-17?
And the error message shown in the screen shot says the STC Service Tax Registration No. is not specified in the transaction.
Note:- Service Tax is not applicable post GST. Kindly use GST for the Service Item. And if Sales Tax Group is provided GST will not calculate.
I Hope my understanding with regard to your issue is correct, if not kindly elaborate on the issue.
Regards,
John Philip .S
RE: Issue with grouping the queries in sys operation framework
Hi Martin,
Assume I am having two dialog groups in my UI parameter. One is SalesGroup with some combo boxes and another one is CustomerGroup with some combo boxes. Now I am using SalesTable and CustTable as query parameter in my UI. By standard both the queries will be displayed on the right side of the UI below each other. But what I want is to add the SalesTable query to be displayed inside SalesGroup and to add the CustTable query to be displayed inside CustomerGroup.
Thanks!
how to take backup of data on table
Dear All,
Can you please let me know how to take backup of data of table in AX 2012 R3.
Please give me more shed on this.
Thanks!
Arpan