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

OData Updating an Entity - Returning 400 Bad Request

$
0
0

Hi all,

I'm trying to update a record from an entity utilizing with the generated classes from the odata templating and code generation tool but the server is returning a 400 Bad Request:

I'm updating the entity in a fashion similar to this 

var entity = context.ConsItemPrices.Where(x => x.ItemId == "value").First();

entity.PropertyName = "some value";

context.UpdateObject(entity);

context.SaveChanges();

This pattern works for almost any other entity except for this one.  It should be important to note that this is a custom entity that it's Primary Key consists of simple types and a custom enum which was set as Nullable = true.  Before generating the classes from the $meta data file, I had to tweak the key to make the enum into a string and also make it nullable = false so that I could even read the entity set from the Odata endpoint.  I have a feeling that it might be the cause of the update failure. 

Any thoughts or ideas are more then welcome.

Thank you.


RE: Add ssrs in menu (general voucher form)

RE: High CPU issue on SQL server when running Change based alert batch jobs

$
0
0

Hi Dynamicsgeek,

You can run "Performance - Top Queries By Total CPU time" report from SQL management studio. Using it you should be able to identify tables and queries causing high CPU. Maybe you purged wrong one.

Also check that you have index and statistics maintenance in place. Because if you have not fragmented indexes or outdated query plan can cause lots of performance issues.

High CPU issue on SQL server when running Change based alert batch jobs

$
0
0

Hi,

We have a client who has High CPU on SQL server whenever Change based alert batch job runs in Dynamics AX application.

Recently, EVENTCUD and related tables were purged. But, there is no improvement.

Could you please advise?

RE: Copying financial dimensions in Invoice journal

$
0
0

Are you trying to have the default dimensions coming from the Vendor record to post to both the vendor side and the ledger side?

As long as you have a 1 line journal (account and offset account) that should work.

If you have a multi-line distribution, an easy way to trigger the "copy dimension" from vendor side to the ledger side is to use the "breakdown" functionality (Functions > Voucher Breakdown), which gives an easy way to create distribution while keeping the same dimension values.

RE: Duplicate payment lines in Customer Transaction

$
0
0

First, go to the vouchers of the 2 payments, and press the "audit trail" button to see who posted these transactions, and when.

can you confirm the transactions were both posted at the same time?

If not, that's not a "simple" duplicate transaction.

Maybe the batch bringing statements from the POS is bringing the same transactions 2 different runs?

seeing the gap between creation can give you clue to how these transactions are created.

RE: Display LandLine phone, cell/mobile phone, Delivery Note number and Delivery Note date in Sales Invoice Report

$
0
0

Is contact phone always the same for all invoices? than set this number as the legal entity's phone number - this is printed on the OOTB sales invoice.

same with cell/mobile.

Delivery note number and dates are not a 1-1 relationship with invoice (it is a many to many) so you will have to both customize but also restrict how you can use the system in the future.

Display LandLine phone, cell/mobile phone, Delivery Note number and Delivery Note date in Sales Invoice Report

$
0
0

I want to display following info in Sales Invoice Report

  • LandLine phone of contsct person,
  • cell/mobile phone of contact person,
  • Delivery Note number and
  • Delivery Note date 

How can I do it. Prompt input is highly appreciated.


RE: Route and Bom report

$
0
0

Hi CaspJegl,

Can you explain what exact attempts you did? How did you define the query?

RE: Is There A Relation Between LedgerJournalTrans and TaxLedgerAccountGroup Tables?

$
0
0

Hi Momochi,

This link will not work as the TaxOutgingLedgerDimension value is not the same as the LedgerDimension. Can you elaborate if you are using a journal with the Tax main account directly? Usually Tax is being calculated based on settings for the Sales Tax Group and Item sales tax Group.

Is There A Relation Between LedgerJournalTrans and TaxLedgerAccountGroup Tables?

$
0
0

Hello awesome community! I'm new to AX, still learning and I seek your help if you please :)

Is there any relation between LedgerJournalTrans and TaxLedgerAccountGroup weather direct or indirect?f

I want to get the "TaxLedgerAccountGroup.TaxOutgoingLedgerDimension" by having (by knowing) "LedgerJournalTrans.LedgerDimension" if possible or any field related to LedgerJournalTrans. 

because I want to get the "Sales Tax Payable" Account and Name for a line in a journal.

Thanks in advance!

RE: The ledger posting group VAT Postings does not have an account for sales tax direction Use tax specified.

$
0
0

It looks like that you are trying to post regular VAT and not use tax?

Sounds like In one company, by mistake, someone configured the VAT to be recorded as a "use tax" and not as "normal" VAT.

Go to the sales tax group that is used on the problem transaction (or VAT group) form (depends on the language you use).

Find in the "setup" box, if in the line for "VAT 5%" code the "use tax" check box is selected - this sounds like a the mistake.

The ledger posting group VAT Postings does not have an account for sales tax direction Use tax specified.

$
0
0

i have this killing error and it is related to VAT, i have setup 2 companies and one company is having no problem and it can post invoice journals with VAT and VAT is calculating and posting properly and there in no issue,

i have done the same vat setup in the other company and each time i am trying to post the invoice journal, i am facing an error and this error is killing me now

"The ledger posting group VAT Postings does not have an account for sales tax direction Use tax specified."

I checked everything, broke my head but could not find a reason of this error... and believe me there is no difference of setup in both the companies

i will start a new thread as well right now......

before posting invoice journal, when i click the VAT tab, here is the image which shows up and there is VAT direction, i think i need to disable this Direction, how, i don't know. Keep in mind i am in Saudi Arabia and very recently, the government has introduced VAT here. I am using 2012 R2

RE: Hide the setup in General ledger

$
0
0

Look for all the menuitems Related to each form in set up menu and see in what privileges those menuitems are included. Most probabaly you need to change LedgerMaintain Priviliage to make all these  set up menus disabled. If  You don't want to change existing role duplicate it and remove ledgermaintain Privilage from it.

Hide the setup in General ledger

$
0
0

Hi,

I am using default roles(Ledger Accountant) for General Ledger in particular user, i want to hide the setup in General ledger. please suggest me.

Thanks,

Prabakaran R.


RE: Prepayment Reversal

$
0
0

you did not specify if you are using "public sector" functionality or not, so I will assume not.

I also assume this prepayment created was never paid/settled.

If that's the case, you do not need to do the initial steps described by Kirsten (they are only relevant to public sector, when encumbrance is activated.

Start from 3 - create equal and negative prepayment from the PO, post and "invoice.

continue to step 4 to settle the negative prepayment against the PO.

Prepayment Reversal

$
0
0

Hi All,

I have AX R3 build, I created the PO and made prepayment invoice.

I didn't settle this prepayment and also never made any receiving or invoicing on PO.

Now if I go to vendor-> Transactions then select the invoice and click on  'Reverse transaction' then got error:
The open vendor invoice is tied to a purchase order. 

OR if on Vendor-> Invoice tab-> Prepayment and click on 'Reverse', then on this form didn't get any record/invoice to reverse.

Anyone has any idea that how can i reverse the prepayment rather than cancelling the PO ?

Thanks

-Rahat Ali 

RE: Item Arrival Status

$
0
0

just putting item on item arrival doesn't show you in inventory. Once you post it its available in inventory. If your item does not pass QC you can return it.

Item Arrival Status

$
0
0

If I put material in item arrival, will inventory shows in stock? Will system consider this as available material? And if it does not pass QC then return this to supplier to fix it, will I be able to see this QC record? Do I need to do any PO return?

RE: Cannot select a record in System cache flush (SysCacheFlush). Error accessing database connection.

$
0
0

Try to clear cache

Do following steps:

1. Stop AOS.

2. Delete the .auc file from users\\Appdata\ folder

3. Restart AOS.

Viewing all 175888 articles
Browse latest View live


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