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

field is not appearing in the form

$
0
0

hi ..

i have table which contains ID_IN(predefined edt),name ,amount..

then i have created the form where this table is given as datasource..

have created grid in the design...all the fields except id_in is appearing in the form..

help me to resolve this problem..


RE: Problem with Account Number in Reception of Purchase Order

$
0
0

Hi,

If you don't require those postings for this item, can't you Setup a dummy account for the charge, stock variation and receipt account?

Best regards,

Ludwig

Problem with Account Number in Reception of Purchase Order

$
0
0

Good afternoon;

I have an item that was created as a Service product and The Item Model Group doesn´t have selected be a stocked product but when I had receiving the product the Infolog appeared.

Please, helpme to resolve this Log.

1. This is the message InfoLog

2. This is the item, Product Type: Service.

 

3. These are parameters for Item Molde Group service

 

RE: Unitofmeasureconversion table not giving real numbers

$
0
0

Thanks a mil again Chaitanya.

question please... is it posible for me to get only the intra-class conversion values only? thank much for your help.

RE: Unitofmeasureconversion table not giving real numbers

$
0
0

Hi,

Can you provide me details about intra-class conversion values, as I am not aware of it.

RE: Calling product configuration from a batch job throws an error

$
0
0

Hi Ronnie,

A new standard class PCRuntimeSynchronousConfigurator is available in R3.  Even if this class is extending PCRuntimeConfigurator, it looks like subscribeToEvents method is not being used.  Thus, I'm presuming (but I didn't test myself) this class will not encounter the same error as below.

However, since this class is not using event handlers, it means it cannot be used if your product configurator models are using price models.  Because we need to catch Configurator.CalculationSummary.  The only work-around I can think of right now is to create a C# wrapper as an intermediate program between AX and product configurator DLL.  This wrapper must be added in $\AOT\Visual Studio Projects\C Sharp Projects (in the same way we usually do a new SSRS report project).
Within Visual Studio :

  • A reference must be made to Microsoft.Dynamics.AX.Frameworks.ProductConfigurationServer (not the client library!)
  • Deploy to Client = Yes, Deploy to Server = Yes
  • Configurator.EnableDirectEventInvocation must be called and handler can be coded like : objConfigurator.CalculationSummary += this.calculationSummaryEventHandler;
  • Configurator.Dispose must be called explicitely from x++ code otherwise memory leak will occurs

The wrapper should works client/server/cil side.

Regards,

Calling product configuration from a batch job throws an error

$
0
0

Hi AX gurus!

I am trying to create a product configured order, and the code works fine when I run it manually, but when I run it through a batch it throws an error.

It seems like its trying to cast a Super(PCAdaptorComponent) class to a Sub (PCAdaptorRootComponent) class.

Heres the error.

: Unable to cast object of type 'Dynamics.Ax.Application.PCAdaptorComponent' to type 'Dynamics.Ax.Application.PCAdaptorRootComponent'.

  at Dynamics.Ax.Application.PCXmlParseComponent.Parse(PCClass _component, XmlReader _xmlReader, PCComponentInstanceValue _componentInstanceValue, String _expectedName, PCAdaptorRootComponent _adaptorComponent) in PCXmlParseComponent.parse.xpp:line 131

  at Dynamics.Ax.Application.PCXmlParseProductConfigurationModel.Parse(PCProductConfigurationModel _productConfigurationModel, PCProductConfiguration _configuration, String _xmlContainer, PCAdaptorProductConfigurationModel _adaptorProductConfigurationModel) in PCXmlParseProductConfigurationModel.parse.xpp:line 60

  at Dynamics.Ax.Application.PCXmlParseConfigurationInstance.Parse(PCProductConfigurationModel _model, PCProductConfiguration _productConfiguration, String _userSelectedValues, String _boundValues, PCRuntimeMode _runtimeMode, PCAdaptor _adaptor) in PCXmlParseConfigurationInstance.parse.xpp:line 43

  at Dynamics.Ax.Application.PCExecuteVariantConfiguration.Runbackendconfiguration(Boolean _wdxAutoCalcPrice, Boolean ) in PCExecuteVariantConfiguration.runBackEndConfiguration.xpp:line 23

  at Dynamics.Ax.Application.PCExecuteVariantConfiguration.Saveconfiguration() in PCExecuteVariantConfiguration.saveConfiguration.xpp:line 7

  at Dynamics.Ax.Application.WdxWebOrder.Create(Int32 salesQty, String userSelectedXml, String boundValueResXML) in WdxWebOrder.Create.xpp:line 96

  at Dynamics.Ax.Application.WdxWebOrder.Import() in WdxWebOrder.Import.xpp:line 38

  at Dynamics.Ax.Application.WDXTestRunbaseBatch.Run() in WDXTestRunbaseBatch.run.xpp:line 7

  at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54

  at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13

  at BatchRun::runJobStatic(Object[] )

  at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

  at BatchIL.taskThreadEntry(Object threadArg)

RE: Problem with Account Number in Reception of Purchase Order

$
0
0

Hi Ludwing;

Maybe but I have anothers item as It and they have never required an account for charge, stock or receipt.


How Do You Set The Alignment For A Dynamics 365 Accounts Payable Check?

$
0
0

The customer is on Dynamics 365 and is using the AP check with MICR.  We have the format and MICR positioning set; however, when the customer prints multiple checks, the first checks looks good but the alignment shifted upwards.

Is there a setting that dictates this alignment?

Any insight is appreciated.

Thanks and regards,

Julie

RE: Unitofmeasureconversion table not giving real numbers

$
0
0

The thing is with the UnitofMeasureConversion table it captures 3 different category of conversions: Standard, Intra-class and Inter-Class

what I would like to get the intra-class conversion

intra-class conversions says the units has to be from the same class/group eg: pcs and KG I think these are from the same class/group called quantity.

Inter-Class now an be done when they are in different groups eg: when converting from liters to kg these are in both volume liquid and quantity

PS. with the intra an inter class an item number must be selected.

thanks again

RE: Creating display methods for form extensions

$
0
0

How are you passing this?

Lets say you have a base D365 form SalesTable.  You add a form extension SalesTable.Extension.  In SalesTable.Extension you add two form controls.  One form control is a drop down EDT with no table ds behind it, and the other is a string control populated by a display method based off of a SalesLine table buffer.

When you create the display method on the table extension class, you can only pass the SalesLine table buffer.  If you put a display method in a form extension class, when you configure the DataSource and DataMethod properties on the form control in the extension, it won't be found.  If you put in your form extension class display method anyway, and do not populate the DataSource, the compiler will say the method can't be found on the form.  

Creating display methods for form extensions

$
0
0

Hi all

I have a requirement to add a display method to the MCRSalesQuickQuote form that displays the the product name in the language that is set on the SalesTable table if the form is called from the SalesTable form. I am using the latest version of AX and am extending rather than overlaying the form.

The way that I would do this in 2012 would be to declare a LanguageId as a global variable in the form which is initialised in the init method. Then I could reference this in a display method on the form datasource.

When an extension of the form MCRSalesQuickQuote is created it is not possible to create a display method on the form datasource.

Is there a way I can achieve this? Is it possible to reference the calling form some how if I put the display method on the table?

Thanks,
Joe

RE: Problem with Account Number in Reception of Purchase Order

$
0
0

It is possible that those items belongs to other item groups.

RE: Voucher transaction

$
0
0

Hello,

For the criteria for voucher transaction are you able to do an 'Or Statement'?

Also in the criteria for voucher transaction how to do pull actual vs budget information?

Thanks!

Meghan

Voucher transaction

$
0
0

Hi ,

When we click on the voucher transactions two fields are Amount in transaction and amount .

Amount in transaction / Amount will contain the negative amount or positive amount.

Example :  Currenty system shows as mentioned below

Amount in transaction     Amount

-100                                      -100

  300                                       300

-800                                        -800 

My client is asking me there should be fields like Debit and credit field ( like how we have the Financial journals) , instead of amount shows with negative symbol in the Amount in transaction / Amount fields.

Client expects :

Debit                   Credit

                              100

300

                              800

In AX 2012 do we have those fields ?

What is the table name ?

What is the base table for the voucher transactions form ?


RE: Re-refresh grid based on new selected value ?

$
0
0

Hi Ismail Mohamed,

You are adding new range each time query is executed, instead of doing this you need to create range once on init of the form and then set a value of the range in executeQuery.

Re-refresh grid based on new selected value ?

$
0
0

Hello Everyone

first pic

i

Second pic

public void executeQuery()
{
    str myStrResultGet ;
    QueryBuildRange qbr;

    myStrResultGet=CustGroupId.valueStr();
    qbr = this.query().dataSourceTable(tableNum(SalesTable)).addRange(fieldNum(SalesTable,CustGroup));
    qbr.value(myStrResultGet);

    super();
}


my problem in second pic when i change the customer group selection for the second time the grid save old records and show it with new selection

thank in advance.

Criteria for Voucher Transactions

$
0
0

Hello,

For the criteria for voucher transaction are you able to do an 'Or Statement'?

Also in the criteria for voucher transaction how to do pull actual vs budget information?

Thanks!

Meghan

RE: Data management - fields are disabled and cannot be used for import/export.

$
0
0

This field is not public . So you should not map it

Data management - fields are disabled and cannot be used for import/export.

$
0
0

Hi,

i am setting mapping to import items from excel. I import it to released products.

When i choose some staging fields i get error:


Field(s) - 'PRODUCTSUBTYPE' are disabled and cannot be used for import/export.

this refers at least to fields ProductType and ProductSubType

How to override this errors?

Maybe i will succeed if choose another entity, not Released products?

Viewing all 175888 articles
Browse latest View live