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

Error while starting D365 vm from Virtual Machine Conection

$
0
0

Hi Friends

I installed Hyper-V on windows server 2012,I have D365 vhd File which I configured for VM.once I start VM .

I am getting below error.

'' failed to start.
Failed to start the virtual '' because one of the Hyper-V components is not running.

'' failed to start.(virtual machine ID '')

THE VIRTUAL MACHINE MANAGEMENT SERVICE FAILED TO START THE VIRTUAL
MACHINE '' BECAUSE ONE OF  Hyper-v COMPONENT IS NOT RUNNING(VIRTUAL MACHINE ID '')


Create project resource from operational resources

$
0
0

Hi everybody, how can i activate the "new from operational resource" button on project resources form. The AX7 version is 11 but i can't see this button on the form. Is there a parameter for activating this button? I will try to select machine and tool type resources for project planning, if it is possible.

Import file on network in Batch job

$
0
0

Hi all,

Can anyone please help me out from this issue. i m not able to read csv file data while scheduling that batch job.

i have schedule batch job through class, in that run method i have create code for reading csv file from path and inserting data into table.

below is the code for creating the RunbaseBatch job.

#File
IO iO;
CustAccount custAccount;
Name        custname;
FilenameOpen filename = @"C:\test\File1.csv";//To assign file name
Container record;
boolean first = true;
Table1 table1;
;
iO = new CommaTextIo(filename,'R');
if (! iO || iO.status() != IO_Status::Ok)
{
  throw error("@SYS19358");
}
while (iO.status() == IO_Status::Ok)
{
  record = iO.read();// To read file
  if (record)
  {
    if (first) //To skip header
    {
      first = false;
    }
    else
    {
      table1.Name = conpeek(record, 1);//To peek record
      table1.CustAccount = conpeek(record, 2);
      table1.insert();
      info(strfmt('%1--%2',custAccount,custname));
    }
  }
}

I m not able to read data from csv file from this line

iO = new CommaTextIo(filename,'R');

If i have run only for getting the list of csv file then it's giving me the all csv file from the folder.

Voucher number for purchase invoice posting

$
0
0

Dear AX 2012 specialists, 

When consulting the ''Ledger transaction list report'', the voucher generated from purchace invoice from PO, generate a line with no voucher number (summarised instead of the voucher number) ! Please to explain what could cause this problem ! 

Getting Agent Id of PO Invoice

$
0
0

Hi Guys,

How to get the Agent Id of purchase invoice using x++? or where I can find the agent Id of the purchase invoice?

Thank you.

Fixed Asset not aquired

$
0
0

Dear All,

I want to ask about some of fixed asset.

I had some fixed asset that not acquired yet.

how to its depreciated like the other one.

Thank you

what is the reason in inventory COUNT journal , a item is not populating with qunatity?

$
0
0

Dear 

i am creating a count journal , but one of the item that i am trying to create in the count journal is not appearing with quantity

i am creating a journal then i am going create >> On-Hand 

other items are populating with their quantity by site /warehouse / batch

but a specific one is not 

what could be the reason?

Debugging

$
0
0

Hi all,

How to debugg sales order posting, can you please give any one brief explanation on  debugging .


After posting Transfer Order at the time of "Stock Transfer Receive" amount is showing wrong for the Purchase

$
0
0

Hello to All,

Recently we are facing one issue its related Inventory Ageing Report. Actually Inventory Ageing Report and 

GL Transactions does not matching. So for this we checked out Transfer Order History Transactions and We posted some Transfer Orders also, at this time we are getting some wrong amount like: after TO "Shipment" the value is showing proper in Inventory Transactions as well GL(Voucher), and once we posted the  "Receive" the Transaction of Purchase amount is not matching with sale or shipment transaction amount.

Even its not calculating Base price or On hand Cost Price,Trade Agreement Purchase Price also. we are not getting why its showing that much amount for Transfer order receive of purchase value like below.

Please check below screen:   "its happen after GST patch"setup.

But in GL Transaction Amount showing proper it means matching here:

Please if any one know way to solve this issue, please help me out.

Thanks,

Anjan.

 

Index that is created on Table extension cannot be used on Form datasource "Index" property

$
0
0

I have create a new table extension for InventJournalTable table, were I need to create new Index. 

After creating new index, I am trying to use it on InventJournalTable_DS on a custom form as a value of "Index" property. I can see that it is present in lookup alongside other indexes but when I select my new index and try to compile project, I receive issue that tells me that "Index *nameOfMyIndex* doesn't exist".

Any ideas, how to fix that?

How to call C# class code in AX 2012 Job from Visual Studio 2013

$
0
0

I have  created a class in c# and added this to AX job through solution explorer:-

Now i need to call this c# code in AX 2012 job , for which i have wrote a below job:-

I have got a below error while compiling the ax job.

All the ax visual Studio component are installed.

Kindly let me know how to fix this bug.

We are using Ax 2012 R3 CU10.

Note : I have followed the steps mentioned in this video

Implement Total functionality for Form

$
0
0

Hi,

 I have form with header and line (just like salesTable or PurchTable). I have to add a total functionality for this form same like on saleTable form or PurchTable form i.e to display total qty, total Value etc..

  So my question is can I achieve it through view (and attach it to view) or do I need to implement same functionality like salesTotal or PurchTotal (create class for totaling and all)?

 pleas suggest simple & best approach

Invoiced Purchase Order - Rejected Goods

$
0
0

Dear All,

i want to ask about PO.

we have PO with item A, ordered 27 pcs, unit price 4.32, net amount is 116.64

its has been receipt and invoiced.

turn out, 1 reject.

vendor dont want it being return because the freight charges bigger than unit price
vendor suggest to reduce the price from invoice 116.64 - 4.32 = 112.32

what is the best practice to clear this case

I think i cant use return order minus 1, because vendor dont want to receive back the rejected goods.

we just want to deducted the amount and will obsolete/discard the qty from inventory later.

thank you

Unable to move file using System.IO.File

$
0
0

Am trying to move file from one folder to another using System.IO.File. Unfortunately, it does not work, but when I make use of the copy method, the file replicates itself on the specified directory. See code below for your reference. Thanks in advance.

for(rowNo = 1; rowNo <= conLen(pCountFiles) ; rowNo++)
        {
            fileDetails     = fileNameSplit(conPeek(pCountFiles, rowNo));
            pCountFileName  = conPeek(fileDetails, 2);
            newMoveFileDir  =   strFmt('%1/%2/%3', sharedFolder, pCountProcessFiles, pCountFileName);

            permissionSet   =  new Set(Types::Class);
            permissionSet.add(new FileIOPermission(fileName, 'rw'));
            permissionSet.add(new FileIOPermission(newMoveFileDir, 'rw'));
            permissionSet.add(new InteropPermission(InteropKind::ClrInterop));
            CodeAccessPermission::assertMultiple(permissionSet);

            if(System.IO.File::Exists(newMoveFileDir))
                System.IO.File::Delete(newMoveFileDir);

            System.IO.File::Move(filename, newMoveFileDir);

            CodeAccessPermission::revertAssert();
        }


Need to understand the functionality of "Filter data source" and "Filter field" property on form control D365 Fin & Ops

$
0
0

Hello All,

I need to know what these two controls ("Filter data source" and "Filter field") are for ? as per the help text, they are used for custom filtering of unbound controls. If I mention the data source and field to filter and show result on the grid.

I know this can be achieved with QuickFilter control, but the quick filter control only filters based on one field selected.

I need to filter based on more than one fields, is there any way I can achieve this without adding ranges through code?

TIA,

-Vishal Jevtani


Parameters in Travel & Expense - Line Level posting

$
0
0

Hi everyone,

does anyone know, what for there are two Parameters in "Travel&Expense Parameters":

1)Allow date corrections for expense reports

2)Line Level posting?

I couldn't find anythin in TechNet.

Thanks for your help!

Dimensions in General journal transactions of type Customer or vendor are missing

$
0
0

Dears,

Please note that i am able to read all financial dimensions from "dimensionattributevaluecombination" table linked to "ledgerjournaltrans" table when type ='ledger' but the dimensions are not appearing when type not equal ledger. (ex: customer, vendor).

your support is highly appreciated.

regards,

Elias

AOT > SalesTable > when initfrom method it's actually called?

$
0
0

Dear All,

I saw in Sales Table. There are lot of initFrom methods are there. Can you please let me know when initfrom method it's actually called?

For example : initFromCustTable OR initFromSalesQuotationTable.

Please give me more shed on this.

Thanks!

Arpan

Incorrect workflow version being used

$
0
0

AX2012 R3

Have been working with purchase approval workflows of 5+ years and thought I knew my way round most issues, but this has us beat.

Created a new purchase order workflow version on a test server.

Exported the new version and imported in to production environment.

Activated the new version in production.

Created a new purchase order, checked the workflow history of that PO and it is still using the old workflow version.

We have lots of AOS and client servers, 50+. If we login to one specific server and import and activate the workflow and then create the new PO on that server it uses the new correct workflow version!

If we log into a different server the workflow version table shows the correct version number as active, but if we create a new PO it uses the old version!

We have cleared the server cache.

Please tell us we don't have to restart every server or start the services on every sever...

error on restoring form extension datasource, "The fomDataSourceHasDataSourceFieldGroups with ID cannot be deleted because it is locked against deletion".

$
0
0

Do anyone have any idea what could be the reason for this error ? I am just clicking restore on datasource of any of the form extension.

Viewing all 73760 articles
Browse latest View live


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