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

what is a limit of rows while exporting data using data management?

$
0
0

Hi Techies,

I am investigating an issue while exporting data using one of the custom entities developed. If I use export in excel then export is failing after 1.3 million of records saying "Spreadsheet is full" whereas data is exporting fine using CSV.

Error details -

Package execution failed details:: definitionGroup: Test, errorCode: DMF043, errorDescription: <?xml version="1.0"?><Errors><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>ExcelFileExport [86]</SubComponent><Description>SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Spreadsheet is full.". </Description></Error><Error><ErrorCode>-1071607767</ErrorCode><SubComponent>ExcelFileExport [86]</SubComponent><Description>SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "ExcelFileExport.Inputs[Excel Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "ExcelFileExport.Inputs[Excel Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure. </Description></Error><Error><ErrorCode>-1073450974</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ExcelFileExport" (86) failed with error code 0xC0209029 while processing input "Excel Destination Input" (97). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure. </Description></Error><Error><ErrorCode>-1071636284</ErrorCode><SubComponent>Oledb Export [1]</SubComponent><Description>The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020. </Description></Error><Error><ErrorCode>-1073450952</ErrorCode><SubComponent>SSIS.Pipeline</SubComponent><Description>SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Oledb Export returned error code 0xC02020C4. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. </Description></Error></Errors>

What can be the possible solution if we need data in excel only. Or am I using some odd excel version. Does anyone faced this before?

Any response is appreciated.

Thanks,

Sangram


Summary update for intercompany Invoicing

$
0
0

Hello, 

I'm trying to set up automatic summary for the intercompany invoicing.

I've done the necessary set up on both entities (Customer and vendor) but I get this error message when trying to post the invoice for 2 sales orders :

Both SO were delivered separately, so I have 2 packing slip on vendor's side and 2 purchase receipt on the customer's side.

I've managed to make it work by generating one packing slip for both SO (Through automatic summary at the time of delivery), and this maed the automatic summary for invoing work.

But I'd like to be able to do it for multiple SO with multiple packing slip.

Is there a way to make it work or does it only work when the delivery is also done through automatic summary?

Thank you

Best regards, 

Fabrice

Multi-threaded DIXF export

$
0
0

Hi,

I follow the steps in the article below:

https://community.dynamics.com/ax/b/insidedataintegrationtoolsinax3/archive/2015/09/22/how-to-export-the-data-in-file-by-dixf-with-multiple-functionality

But interesting is that if I specify multiple threads (# of tasks), then I can see the DMFEntityWriterTasks generated in batch, but there are no staging records inserted when batch jobs finished. But if I only specify one single thread, then I can see records inserted into staging table.

What would be the potential cause of this?

Thanks,

How to get values from form parts? D365FO

$
0
0

In the departments hierarchy form in human resources, there is a form part that shows the effecrive date and that date changes automatically when i ever change anything. I want to add a button to the form that filters based on that effective date but i don't know how i can get that date from the form part.

DIXF export to files

$
0
0

Hi,

We would like to use DIXF (AX 2012 R3 CU13) to export data to CSV files, but we don't know whether this can be multi-threaded? I cannot find where to set the multi-threaded for this in processing groups.

Thanks,

WHSLoadTable edit mode not allowing edits on custom fields

$
0
0

Hello:

I'd like to understand how once a form goes into Edit mode that certain fields become uneditable. The form I'm looking at currently is WHSLoadTable. I click into a load in Open status, then navigate to the header. Once there and I click Edit on the upper left, certain fields such as Load Id, Equipment, and Status grey out and are not editable. I'm trying to understand how this works as our VAR added custom fields to this form and our custom fields are also greying out. I'm hoping if I understand how the standard fields are managed it might also shed some light on our custom fields.

I should mention I've looked at the data sources on the form, the init() on the form, the table attached to the datas source, any extensions to the form or the table. I see the some of the fields do not allow edit but that's not the case with our custom fields. Any help would be appreciated. 

Thank you!

Inventory Closing is Adjusting Old Sales Orders

$
0
0

When I am performing inventory closing process, the Sales order invoice that was settled during the previous closing process, is getting settled again.

For example, I have Sales order invoice, that was posted on 20 Dec 2018. When I ran the inventory close process on 31 Dec 2018, it posted a settlement transaction and adjusted the cost amount. However, when I ran the closing process again on 31 Jan 2019, it again posted another settlement transaction and adjusted the cost amount for that particular

My model group is FIFO. Can someone explain any possible reason for it and how to make sure that once settled invoice/transaction is not picked up again by the close process

LCS subscription

$
0
0

Hi ,

I would like to retrive a LCs subsciption for one of the Ax project and former employee who was owning it has left and we are unable to add new owner to the project.

Please advice.


Reduce Load Line Quantity after Shipment Confirmation

$
0
0

Is it possible to reduce (or change) load line quantity after shipment confirmation in load planning workbench @AX 2012 R3 Advanced Warehouse Management (WHS) without reversing shipment confirmation?

Voucher xxx is already used as of date xxx while posting pending vendor invoice

$
0
0

Hi All, 

We created a new intercompany customer invoice in GBR2 company . Free text invoice created automatically in GBR2 company and posted . In company NLD1 a pending vendor invoice is created . We tried to post that pending vendor invoice and ax is throwing below error.

I checked the journal and found this voucher number is already posted in date 1/25/2019

This is my Number Sequence screenshot , it is showing next number for the voucher is 33.

Please advice. Thanks for your help in advance. 

Thanks, 

Banu

Error: LedgerJournalEngine object not initialized during Number Sequence access

$
0
0

In AX2009 I have created a new number sequence and added it into the LedgerJournalTransVendPaym form’s LedgerJournalTrans datasource. My intention was to populate the PaymId field with a distinct number for each batch of ACH payment transactions processed.  An error occurs with message below. It fails because the LedgerJournalEngine has not been initialized. I tested this number sequence successfully in two other test forms that did not use LedgerJournal classes. Is this error due to my lack of familiarity with the LedgerJournalEngine and its use in the LedgerJournalTransVendPaym?

I very much appreciate any help on this. Or just a hint to point me in the right direction.

HERE IS THE ENTIRE ERROR MSG

Error executing code: LedgerJournalEngine object not initialized.
(C)\Classes\LedgerJournalEngine\takeNewVoucher
(C)\Classes\NumberSeqFormHandlerLedgerJournal\formMethodDataSourceCreate - line 5
(C)\Forms\LedgerJournalTransVendPaym\Data Sources\LedgerJournalTrans\Methods\create - line 28
(C)\Classes\FormDataSource\executeQuery
(C)\Classes\FormDataSource\linkActive
(C)\Forms\LedgerJournalTransVendPaym\Data Sources\LedgerJournalTrans\Methods\linkActive - line 10

 

HERE IS THE METHOD FAILING ON LINE 5

void formMethodDataSourceCreate(boolean _forced = false)

{
     ;
     newVoucher = false;
     if (ledgerJournalEngine.takeNewVoucher()) << Line 5
     {
             super();
             if (lastNumber)
             {
                    newVoucher = true;
                    currentNewUnsaved = 0;
             }
      }
     currentNewUnsaved++;

}

           

HERE IS MY CODE PERTINENT TO THE FORM AND DATASOURCE

LedgerJournalTransVendPaym

class FormRun extends ObjectRun

{

NumberSeqFormHandler   numberSeqFormHandler;

}

LedgerJournalTrans write

super();

element.numberSeqFormHandler().formMethodDataSourceWrite();

 

LedgerJournalTrans validateWrite

super();

ret = element.numberSeqFormHandler().formMethodDataSourceValidateWrite(ret) && ret;

return ret;

 

LedgerJournalTrans delete

element.numberSeqFormHandler().formMethodDataSourceDelete();

super();

 

LedgerJournalTrans create

element.numberSeqFormHandler().formMethodDataSourceCreatePre();

super(append);

element.numberSeqFormHandler().formMethodDataSourceCreate();

 

LedgerJournalTrans linkActive

element.numberSeqFormHandler().formMethodDataSourceLinkActive();

super();

 

 THIS IS THE SEQ NUM SETUP

/*Setup payment reference for CIBC CAD Payment Id's*/

   numRef.DataTypeId               = typeId2ExtendedTypeId(typeid(CADPaymId));

   numRef.ReferenceHelp           = literalstr("CAD Payment Id");

   numRef.WizardHighest           = 9999999;

   numRef.WizardLowest             = 1;

   numRef.WizardContinuous         = true;

   numRef.WizardManual             = NoYes::No;

   numRef.WizardAllowChangeDown   = NoYes::No;

   numRef.WizardAllowChangeUp     = NoYes::No;

   numRef.SortField               = 5;

   this.create(numRef);

 

AX 2012 R3 CU9 and TFS2017

$
0
0

Hello,

I want to know if AX 2012 R3 CU9 and TFS 2017 compatible?

Thanks!

Transaction Date 28 feb 2019 not in a closing period

$
0
0

Hi All,

i have a issue.

As per MSDN blog closing adjustment should be done for a particular ledger (say : 12345) to transfer the balance during month closing for jan. if we missed. Next option is to pass adjustment entry in Feb month closing. so from below blog tried to do closing entry but getting a error "Transaction Date 28 feb 2019 not in a closing period".

 https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/make-closing-adjustments-in-the-closing-sheet

Kindly provide some insights to resolve this issue, thanks in advance.

Kind regards,

Vinesh Tandel

Dynamics Object Adapter Call failed while opening form in EP.

$
0
0

I have attached one new button to open (Retrieve From), When the button is clicked, the below message appears

Eventviewer message:

Message: Dynamics Object Adapter Call failed.

Source: Microsoft.Dynamics.Framework.Data.AX

Exception details:

Operation is not valid due to the current state of the object.

at Microsoft.Dynamics.AX.Framework.Portal.Data.DataSetViewRow.BeginEdit()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSourceView.BeginEdit()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.HandleEditMode()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.HandleMode()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.EnsureDataBound()
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.OnDataSourceViewChanged(Object sender, EventArgs e)
at System.Web.UI.DataSourceView.OnDataSourceViewChanged(EventArgs e)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxDataSourceView.DataSetView_ListChanged(Object sender, ListChangedEventArgs e)
at System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e)
at Microsoft.Dynamics.AX.Framework.Portal.Data.DataSetView.OnListChanged(ListChangedEventArgs e)
at Microsoft.Dynamics.AX.Framework.Portal.Data.DataSetView.FormDataSource_CacheChanged(Object sender, Object args)
at Microsoft.Dynamics.AX.ManagedInterop.RuntimeContext.ExecuteHandler(Object handler, Object sender, Object eventArgs)
at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.ExecuteHandler(ClrBridgeImpl* , ObjectWrapper* pObjectWrapperHandler, ObjectWrapper* pObjectWrapperSender, ObjectWrapper* pObjectWrapperEventArgs)
at AxEventDelegate.kcInvoke(AxEventDelegate* , interpret* ip)
at cqlClass.callEx(cqlClass* , Char* , interpret* )
at AxCore.AxRuntime.Call(AxRuntime* , IAxObject* axObject, String methodName, Type returnType, Object& result, Object[] paramList)
at Microsoft.Dynamics.AX.ManagedInterop.Object.CallWithReturnType(String methodName, Type returnType, Object[] paramList)
at Microsoft.Dynamics.AX.ManagedInterop.Object.Call(String methodName)
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName).

Can you suggest me if you know the solution for above issue.

Thanks & Regards

Venky George,

Venkygeorge1@gmail.com.

How to set Line number order in Dynamics ax 2009

$
0
0

Hi All,

I have one Form like this 

line no   name

1             a

2             b 

3             c

4             d--->now I want to change 4 places set 1.I to want this record on top how to do that.

5             e

a present  I am getting 

1   a

2  d ----> I want the modified record on top

3  c

4  b

i put one button in form i write clicked method

I am using this code

void clicked()
{
table1 save;
table1 _table1;
lineNum xlineNum;
int ln;
;
super();

_table1.setTmpData(tmpTable);

select firstonly _table1
order by lineNum desc
where _table1.lineNum == tmpTable.lineNum;

if (_table1.RecId)
{

ln=0;
while select forupdate tmpTable order by LineNum
{

ln++;
tmpTable.LineNum = ln;
tmpTable.update();
}


save= tmpTable.data();

tmpTable.dataSource().research();
tmpTable.dataSource().findRecord(save);
}

}


report pdf format

$
0
0

when i save this report as a pdf.

it converts like this

can any one help me  how to save as a pdf as same as a report

Inventory transaction does not have Receipt status when did PO Product Receipt

$
0
0

Hi Friends,

                When I did PO Product Receipt, almost lines were OK but there was 1 line had not Receipt Status in Inventory Transaction.

                It has not been financial yet.

                Anyone faced same issue please help me ?

                Thank you.

Workflow infrastructure configuration wizard in D365

$
0
0

Hi, 

Does anyone know if workflow infrastructure configuration wizard exist in D365? If not how the workflow batch need to setup.

 

Thank you in advance

Br

Kacper

Vendor rebate - Quarter

$
0
0

HI all,

I have a program from my vendor: Get 3% base on invoiced PO amount if buy with amount = 1,000,000 in Quarter I.

I setup in AX as below:

and I create 2 PO with amount = 500,000 and 600,000 in Feb,2019.

I think thank system will be calculate total rebate that I will receive due to total PO invoiced amount in Quarter I = 1,100,000 (>1,000,000) but rebate amount = 0.

Please help me apply this case into system.

Thanks,

Phung Luong

Active/ Inactive Customers and Vendors

$
0
0

Hi All, I have a quick functional question.

I was asking if there is any field in CustTable and VendTable, to know if the current Customer or Vendor is Active or Inactive ?

Thanks.

Viewing all 73760 articles
Browse latest View live


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