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

Calling FormA DataSource methods in formB close method

$
0
0

Hi Friends,

I would like to pass some value to FormA datasource methods through FormB close method. For example: Am openning FormB through FormA while closing the formB i wants to passing the values to formA datasource method.

Kindly help on this. Thanks in advance.


Automatic charge for purchase order and account distribution

$
0
0

HI I just setup automatic charge for purchase.

Created a PO and the charged is calculated.

The problem is that when i click on accounting distribution the ledger account is the same for the line and for charge.

I set the account in the charge but everything is posting in the same GL

Thanls for your help

Cannot settle open invoices in foreign currencies.

$
0
0

Hello, let me explain how this issue is occurring.

We are a Canadian company and we buy/sell to the USA sometimes. When we buy from them the invoice is posted in USD. I was told that when we pay these invoices to wait for them to clear the bank and then settle the payment through Payment journal and change currency to CDN and adjust the settlement amount to the amount that came out of our bank account, so that it will reconcile with the bank.

The problem when I do it this way is when our Exchange Rate in AX is higher than the exchange rate the bank used. It will pay the amount specified, but because the exchange rate in AX is higher the system thinks that we under paid on our invoice.


For example: We have 1 invoice that we owed $239.40 USD, when the payment processed it was $314.18 CDN, which is roughly 1.3124 Exchange Rate CDN to USD.

The exchange rate in our system was set higher, to 1.3806. So when I paid this, the system says we owe $330.52 CDN, an additional $16.34, which is the difference in exchange rates. And now it shows $16.34 in "Amount not settled" and this invoice is still sitting as open.

How can I fix this invoice so that it no longer shows as "Open", and what are some practices that are used to in AX that can prevent this from happening.

Deploying a custom service - The type or namespace name does not exist in the namespace

$
0
0

I've tried creating a few really simple custom services, but when i try to deploy the service group I keep getting error messages similar to the message below.  After saving the classes within the service, I have been running the incremental CIL, and I have also tried running full CIL, but am still getting the same error message.

The port ‘SamCustomServiceGroup’ could not be deployed.\nError:
c:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp\ServiceGeneration\SamCustomService.cs(38,19) : error CS0234: The type or namespace name ‘SamCustomsServiceTest’ does not exist in the namespace ‘Dynamics.Ax.Application’ (are you missing an assembly reference?)

This example service is from sumitsaxfactor.wordpress.com/.../create-your-first-custom-service-ax-2012.

unpublish entities

$
0
0

How do you unpublish an entity that has been previously published but not exported?   I see there is a delete and a drop but can't find any help on what they do -- if indeed either button is how you unpublish an entity.

Error Language when add a new purchase order in Project Management & Accounting

$
0
0

Hello, I have a problem when add a new purchase order in Project Management & Accounting in Dynamics AX 2012

(Project management and accounting/Common/Item tasks/Project purchase orders)

I already set the language for the vendor & orderer language, but when I save there will be an error

like this :

Is there any one can help me?

Regards,

Jesica

PO Reject

$
0
0

Hi, 

User A can raise Purchase order and submit.

Approver can approve the purchase order but upon rejecting the purchase order, an error pops up that user A does not have sufficient rights

Work item could not be created. Insufficient rights for user A.

On-hand

$
0
0

Hi,

How can I find on-hand stock at any particular date (even on a past date)

Regards,

Arshad


Exclude zero cost items from invoices

$
0
0

Is there a way to create a sales order with multiple lines, using both stock and non stock items, and for each item that has a zero cost to exclude those lines from the invoice?

We have a process where we receive purchase orders for item A and we create a sales order in AX for item A at a cost and we add a second sales order line for item B or Item C at zero cost. Item B is a stock item, item C is a non stock item.

When we create the invoice we need to only include item A. The logic to include / exclude is zero cost. If the item is a stock item at zero cost we still need to pick pack and decrement from inventory.

2012 R3

Open form in new window in ax 7 via x++

$
0
0

Hi all,

when clicking a menu item , new form should be appear in new window(pop up). how to achieve this in x++ code in ax 7.

there is option for pop button in the screen, that it will take into new window pop.. 

 is it possible to do this in code

Purchase requisitions without Workflow

$
0
0

Dear Friends,

As per client requirement, we need to prepare a Document about how to submit Purchase Requisitions without Workflow. 

Can you please guide me how do I proceed. 

Thanks,

Sai Nag

Management reporter and dynamic row definitions

$
0
0

Hi,

I previous versions of AX (AX2009 and earlier) the report called Financial statement could be configured to dynamically show new accounts or dimensions whenever they were created by using ranges and the option "Print subcomponents".

I don't find similar feature in Management Reporter, only that I have to run periodically the Missing Account Analysis to be sure that all accounts are included in the reports.

Any similar "Print subcomponents" solution in Management Reporter?

Remaining quantity is miscalculated

$
0
0

Hi,

We have a SO where the customer ordered 110 pcs. 

After a delivery of 20 pcs the remaining quantity is miscalculated to 100 pcs.

I cant see what could have create this problem, only thing is that there is a 

picking list of 10 pcs on the same item that was cancelled the same day.

But why would this affect it.

Any ideas? thanks in advance! 

Calculating start date.

$
0
0

Start Date on some production orders defaults to today's date sometimes when we run MRP, instead of calculating backward from the finish date. WHY?

AP Invoice workflow

$
0
0

Hi All,

There are more than one person who can submit/request the AP invoice approval.  Is there a way that can tell the system to notify the upper level base on the AP's "Report to" person and not the person who submit the invoice approval request?  

Thanks


Inventory On-Hand movement without creating journal (x++ way)?

$
0
0

Hello everyone, 
As the title suggests, I'm looking for a way to replicate/automate 'this task' in code.

The task is to transfer/move inventory on-hand without using transfer journal. I know how to do this from the 'work process' menu.
The standard process is to open this form (Warehouse Management -> Common -> Work Process (login) -> Transfer Stock).

You can see the process in a more detail way on this link : blogs.msdn.microsoft.com/.../inventory-on-hand-movementstransfers-using-the-mobile-device-menus

I find that this form is opened by WhsWorkExecuteForm class. But I can't find the logic to do the transfer on WhsWorkExecuteForm class. I put breakpoint on the similar class like WhsWorkExecute, but the system never catches my breakpoint. Could someone please enlighten me coz I have been banging my head against the wall.


I have a feeling that WhsWorkExecute.createMovementWorkInventTrans can be used to this. but it accept WhsWorkId from WhsWorkTable and I'm not sure how to insert WhsWorkTable the 'ax' way.

Thanks in advance.

Management Reporter Initial Integration Error

$
0
0

Dear Experts,

I have problem with Management Reporter Initial Integration. Following is the error message from log:

An exception was thrown while reading object from table, GJAE, with key, 5637245171.

--- Exception Dump ---
Caught Exception: [System.OverflowException] Conversion overflows.
Stack trace:
at System.Data.SqlClient.SqlBuffer.get_Decimal()
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.AX2012Helpers.ReadDecimal(SqlDataReader reader, String columnName)
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.ActualTransactionObjectProvider.CreateActualObject(SqlDataReader reader, Company company, UnitOfMeasure repCurrency, UnitOfMeasure funcCurrency, UnitOfMeasure origCurrency, TransactionType transType, Nullable`1 ledger, Nullable`1 recId)
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.ActualTransactionObjectProvider.<ReadObjectsSql>d__f.MoveNext()

 

Refers to the first line: An exception was thrown while reading object from table, GJAE, with key, 5637245171

What should I do to check GJAE data?

InventTrans losing location dimension when product is received.

$
0
0

Hello all, We have a manufacturing process that purchases items to be used in the assembly on a JIT schedule.

1) The worker in the factory receives items from on a PO. The item has a location dimension on the PO.

2) Those items are reserved to a production order BOM line that has the location dimension on it. The issue is that these JIT items are getting reserved at the warehouse level instead of location.

I currently have an X++ job that updates the InventTrans record with the proper InventDimId from the BOM line. In debugging through the code, I see that InventDim.clearLocationAndBelowDim() gets called because InventDimParm has RecId = 0.

I have not worked with the InventDimParm table very much so I'm not sure what it does. Could someone provide a bit of insight as to what is happening?

Procrurement

$
0
0

How do I assign vendor part numbers to released products?

Issue with PO line matching policy

$
0
0

We have a curious issue where when some users are creating POs, the matching policy is defaulting to 2-way even though company policy is 3-way matching. I have checked the vendor, and it is set to company policy. This only seems to happen with users that have the "purchasing agent" role. Users with the "purchasing manager" role do not have this issue. Any ideas? It's creating issues in our purchasing department because they are manually having to change the matching policy back to 3-way after the PO has been created.

Viewing all 46681 articles
Browse latest View live