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

RE: custom workflow problem

$
0
0

Hi ievgen;

In the above example, this guy is overriding   "CanSubmitToWorkFlow" on table level not

on form level, so my question is , is it necessary to override this method on both forms and table level or anywhere either in table or form level. One more thing in the example above i am using form inventjournaltrans but the requirement is like in Ap module, when i click on new journal workflow starts immediately , can you tell me for that i will have to use the same form or there is another form called Inventjournaltable i will use that...

Thanks and best regards...


RE: custom workflow problem

$
0
0

Can you confirm the following (in Addition to Ievgen's question):

* Activated the workflow configuration

* Specified workflow enabled/ workflow datasource in form design

custom workflow problem

$
0
0

Dear Gents;

I have created custom movement journal workflow please see the attached pics.. i have added all the necessary methods, i am not quite sure because i am new, i am using inventjournalmovement form and

i also enable workflow and other parameters on form level , i am able to create the workflow using diagram but the workflow is not appearing in the form.Can somebody please help me what can be the problem why workflow not working on

form level...

RE: Display the Sales Order Number in The Transfer Report

$
0
0

Looks like, you have some customization in your System.

Based on your SQL query results, you have to select with the relation on ProdId. (not the Standard AX relation)

Display the Sales Order Number in The Transfer Report

$
0
0

Hi, Friends

I would Like to display the Order salesId  in the  transfer Report InventTransferOrderOverview

and I have added  tow tables ProdTable and SalesTable to the query InventTransferOrderOverview

as the following :

And I have modified the class InventTransferOrderOverviewDP 

the two lines writen by red clour 

/// Inserts data into the temporary table.
/// </summary>
/// <param name="_inventTrans">
/// The table buffer of the <c>InventTrans</c> table.
/// </param>
/// <param name="_inventDim">
/// The table buffer of the <c>inventDim</c> table.
/// </param>
/// <param name="_inventTransferLine">
/// The table buffer of the <c>inventTransferLine</c> table.
/// </param>
/// <param name="_inventTransferTable">
/// The table buffer of the <c>inventTransferTable</c> table.
/// </param>
private void insertTmpTable(
InventTrans _inventTrans,
InventDim _inventDim,
InventTransferLine _inventTransferLine,
InventTransferTable _inventTransferTable,
ProdTable                _prodTable
)
{
inventTransferOrderOverviewTmp.SalesId = _prodTable.modSalesIdRef;
inventTransferOrderOverviewTmp.StatusIssue = _inventTrans.StatusIssue;
inventTransferOrderOverviewTmp.TransferId = _inventTransferLine.TransferId;
inventTransferOrderOverviewTmp.ItemId = _inventTransferLine.ItemId;
inventTransferOrderOverviewTmp.InventLocationIdFrom = _inventTransferTable.InventLocationIdFrom;
inventTransferOrderOverviewTmp.Quantity = _inventTrans.Qty;
inventTransferOrderOverviewTmp.QtyTransfer = _inventTransferLine.QtyTransfer;
inventTransferOrderOverviewTmp.QtyShipped = _inventTransferLine.QtyShipped;
inventTransferOrderOverviewTmp.QtyShipNow = _inventTransferLine.QtyShipNow;
inventTransferOrderOverviewTmp.ShipDate = _inventTransferLine.ShipDate;
inventTransferOrderOverviewTmp.InventLocationIdTo = _inventTransferTable.InventLocationIdTo;
inventTransferOrderOverviewTmp.ShipDate = _inventTransferTable.ShipDate;
inventTransferOrderOverviewTmp.ReceiveDate = _inventTransferTable.ReceiveDate;
inventTransferOrderOverviewTmp.TransferStatus = _inventTransferTable.TransferStatus;
inventTransferOrderOverviewTmp.LocationNameFrom = _inventTransferTable.locationNameFrom();
inventTransferOrderOverviewTmp.LocationNameTo = _inventTransferTable.locationNameTo();
inventTransferOrderOverviewTmp.ItemName = _inventTransferLine.itemName();
inventTransferOrderOverviewTmp.InventDimFieldsMap::initAllDimensionsFrom(_inventDim);
//added by azeem pit
inventTransferOrderOverviewTmp.InventColorName = _inventTransferLine.ItemColorName;
inventTransferOrderOverviewTmp.InventShapeNumber = _inventTransferLine.ItemShapeNumber;
inventTransferOrderOverviewTmp.modVolumeM3Total = (modGlobal::modVolumeM3(_inventTransferLine.ItemId,_inventTransferLine.inventDim())) * _inventTransferLine.QtyTransfer;
//
inventTransferOrderOverviewTmp.insert();
}

 the second class that I have modified the following class:

 

/// <summary>
/// Processes the report business logic.
/// </summary>
/// <remarks>
/// Provides the ability to write the report business logic. This method will be called by at runtime.
/// The method should compute data and populate the data tables that will be returned to .
/// </remarks>
[SysEntryPointAttribute]
public void processReport()
{
InventTransOriginId inventTransOriginId;
QueryRun queryRun;
boolean isRecordAdded;
InventTransferTable inventTransferTable;
InventDim inventDim;
InventTransferLine inventTransferLine;
InventTrans inventTrans;
ProdTable prodTable;
SalesTable salesTable;

InventTransferOrderOverviewContract contract = this.parmDataContract() as InventTransferOrderOverviewContract;
queryRun = new QueryRun(this.parmQuery());

while(queryRun.next())
{
inventTransferLine = queryRun.get(tableNum(InventTransferLine));

if (inventTransferLine.TableId == tableNum(InventTransferLine))
{
inventTransferTable = queryRun.get(tableNum(InventTransferTable));
inventTransOriginId = InventTransOrigin::findByInventTransId(inventTransferLine.InventTransId).RecId;
isRecordAdded = false;

if (contract.parmShowReservation())
{
while select inventTrans
where inventTrans.InventTransOrigin == inventTransOriginId &&
inventTrans.StatusIssue >= StatusIssue::Sold &&
inventTrans.StatusIssue <= StatusIssue::ReservOrdered &&
inventTrans.StatusReceipt == StatusReceipt::None
{
inventDim = InventDim::find(inventTrans.InventDimId);
this.insertTmpTable(inventTrans, inventDim, inventTransferLine, inventTransferTable,prodTable);
isRecordAdded = true;
}
}

if (!isRecordAdded)
{
inventDim = inventTransferLine.inventDim();
this.insertTmpTable(null, inventDim, inventTransferLine, inventTransferTable,null);
}
}
}
}

But I am getting  no data found message and part of the transfer does not have saleorde becuse it enternal transfer it not asles order transer and some of the transfer is related to the sales order that is production order

waiting for your valuable answer whe I have gone wrong can any one help me

 

Best regards Jamil Alshaibani

RE: Online Users in System Admin

$
0
0

Can you check if all the sessions for this user are of type 'Worker' or 'User'?

Online Users in System Admin

$
0
0

Could someone please inform me of how the Online users work on AX. We are looking at the number of sesssions running concurrently in Enterprise Portal and i cant figure out how the online sessions are generated. For example a user can have 3 active web sessions at the exact same hour,minute, second. For some users there are 5 or 6 sessions open and sometimes Web User and sometimes Worker/User sessions. 

Are there specific actions which create a new web/worker session or is it as simple as every time a user opens a new instance of AX/EP a new Online User session is created? 

This then doesnt explain the 3 or 4 sessions being opened at the exact same time.

Any input on this would be great. 

Thanks, 

Bruce

RE: How to Apply Dynamic Date Range in SSRS Report in D365 for Operation

$
0
0

Zahid,

If you try simple (today() -1) in parenthesis, wouldn't it work?


RE: What is the replacement for LedgerBalancesTrans Table (AX2009) in AX2012

$
0
0

Crispin, thanks a lot for your answer!

What is the replacement for LedgerBalancesTrans Table (AX2009) in AX2012

$
0
0

Hi,  We have an Interface which is using LedgerBalanceTrans in AX2009 and we notice that this table is missing in AX2012.  Can any one share what is the replacement for LedgerBalanceTrans in AX2012?

Thanks

Matt

RE: Unable to find AOD files for upgrade

$
0
0

That's all right - the "40" folder was used by AX 4.0, but you said you're upgrading from AX 2009. The default location for AX 2009 is C:\Program Files\Microsoft Dynamics AX\50\Application\Appl\[instance name].

Note that "Program Files (x86)" contains the client, not the application server.

Unable to find AOD files for upgrade

$
0
0

Dear All,

I am performing an upgrade from AX 2009 to AX 2012, and following the upgrade steps I am finding an issue:

The process require a copy of AOD Files For Baseline Model, and in this step " Open C:\Program Files (x86)\Microsoft Dynamics AX\40\Application\Appl\Standard, and copy all files having the extension AOD." is required, but the issue is I dnt have the 40 folder, I have checked the .aod files in all the pc there are no .aod files in Program Files (x86), but there are some in Program Files, either way I can't find them all.

Can someone help me with that issue? 

Regards,

Hassan Khalik

RE: AX 7 - Add parameters to a method signature

RE: Price lists in Dynamics AX

$
0
0

Dear Mahmoud,

now that it appears clear that to achieve this we need a customization, I'm trying to figure out if there's already an AX add-on that does this.

Do you know any?

Thank you,

Ivan

Price lists in Dynamics AX

$
0
0

Hello,

we're using MS AX 2012 R2 as the company ERP.

We already manage price lists for the spare parts. 

As we have many different price lists, we're looking for an easy solution to keep an eye on all of them, as for example an Excel spreadsheet with all the spare parts and all the different prices.

It seems that the standard version of AX does not provide anything like this.

We could build such an Excel by ourselves, but my question is... isn't there a solution (even third-party) to manage this problem (comparisions of different prices lists?)

Thank you,

Ivan


RE: How delete a specific model/package?

$
0
0

Assuming that the package should be deleted from UAT/LIVE

1. Delete all the components from package and create deployable package out of it from DEV using VS.

2. Create a text file call “ModuleToRemove.txt” and put it into the AOSService\Scripts folder

3. In the text file, put in the name of the module you want to remove, for example – “MyModule”

4. Zip up the package and upload into the asset library

5. Apply the package in UAT/LIVE.

How delete a specific model/package?

$
0
0

Hello,

In visual Studio, you can Add/Update model/package.

But no option to delete.

I don't see an official method to do the job.

I guess delete specific directory package file or delete the directory specific model file (with deleting the xml file descriptor in package Descriptor directory ) could be the solution.

Any idea?

RE: Get thrown .NET object on error

$
0
0

I don't believe that. I don't see any reason why WebException would behave differently.

Make sure that you're testing it in the right context. I guess that you code runs inside a transaction, therefore you catch statement is completely ignored.

Get thrown .NET object on error

RE: Where has Address.ShipCarrierAccount gone?

$
0
0

Fredrik,

This field has a configuration key named "Shipping Carrier". I am sure this configuration key is either not available or disabled in your environment.

Just check if you have the highlighted Configuration key available. Else contact Microsoft.

Viewing all 175888 articles
Browse latest View live


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