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

RE: Single PO is not creating with multiple PR, even vendor code is same in AX 2012

$
0
0

From memory those dates have to be the same, easy for you to test in your setup, create two with the same date but everything else the same and see if it creates one PO.


RE: Joins in X++

$
0
0

look at the below query

While select itemid, purchId from purchLine

join purchtable

where purchtable.purchId = purchline.purchid

join inventDimId from inventdim

where inventDim.inventdimid == purchLine.inventDimId

outer join Recid from ecoResCategory

where ecoResCategory.RecId == purchLine.ProcurementCategory

Joins in X++

$
0
0

How do I convert following sql into x++?

/*INNER JOIN PURCHTABLE ON PURCHLINE.PURCHID = PURCHTABLE.PURCHID

and PURCHLINE.DATAAREAID = PURCHTABLE.DATAAREAID

and PURCHLINE.PARTITION = PURCHTABLE.PARTITION

LEFT JOIN INVENTDIM ON PURCHLINE.INVENTDIMID = INVENTDIM.INVENTDIMID

and PURCHLINE.PARTITION = INVENTDIM.PARTITION

LEFT JOIN ECORESCATEGORY on PURCHLINE.PROCUREMENTCATEGORY = ECORESCATEGORY.RECID

and PURCHLINE.PARTITION = ECORESCATEGORY.PARTITION

AND PURCHLINE.ITEMID = ''*/

 

whileselect itemid, purchId from purchLine

join inventDimId from inventdim

where inventDim.inventdimid == purchLine.inventDimId

join Recid from ecoResCategory

where ecoResCategory.RecId == purchLine.ProcurementCategory

join purchId from purchLine

where purchLine.purchId == PurchTable.purchId

//&& purchLine.itemid != ""

//&& inventDim.ItemId == itemId*/

 

 

RE: Void a transaction through user code in POS AX 2009

$
0
0

Greeting Tsanka,

I know this post is a bit old, but I need to make a customization on the POSProcesses.dll. (Change the maxlength of the line comment) but I can't seem to be able to find how to do it anywhere, could you provide me with a guidelines or manual?

Thanks beforehand...

Void a transaction through user code in POS AX 2009

$
0
0

Hi,

I need to create a blankoperation that voids the current transaction.

I tried a bunch of code (even looked into the POS code with ILSpy), but can't figure it out.

I can set the transaction on the POSApp to null and execute UpdateTransaction.

At that moment, the transaction is indeed null and the screen is emptied.

I even empty the POSISTRANSACTION table to be sure it can't be recalled.

But when it leaves the blankoperation, the transaction magically re-appears.

Does anybody have a code example how to void a transaction in POS AX 2009?

PS : I can't use the existing operation because the user doesn't want a confirmation.

Regards,

Sven Peeters

Where can I learn the current best practices for Power BI reporting against Dynamics AX 2012?

$
0
0

I am wanting to learn the different options and current best practices of how to write Power BI reports against Dynamics AX 2012.  I have done a fair amount of searching and it is difficult to find an up to date and authoritative source that covers this topic, that is relevant to Dynamics AX 2012 (rather than Dynamics 365).

From the reading I have done so far, there seems to be a fair amount of complexity to this topic, as well as quite a few changes in recommended approach over time.  A few different approaches I have read reference direct SQL table access, reporting against default Dynamics AX SSAS cubes, access via OData, and Entity Store (using Direct Query).  Also, there are considerations involving Life Cycle Services.

Is there an authoritative reference one can refer to for this question (and this *type* of question)?

RE: Purchase Order Approval Email Notification

$
0
0

Thanks for the response.  Sorry for the delay in responding.  Are you saying that I should be able to send the Notifications to approvers via Email if I tick the 'Send notifications in email checkbox'?  Or are you saying that it can't be done?   Thanks

Purchase Order Approval Email Notification

$
0
0

Hi All - I am trying to send an Email to an approver when I request a P.O approval.  It's a simple Purchase Order Approval Workflow which assigns the request to approve to the Workflow Orginator's immediate manager.  How can I configure Dynamics AX365 for Operations to send and Emil to the person am requesting approval from - as selected by the Hierarchy.   I can get emails to work from Workflow but they are all coming form the Originator back to the Originator based on Workflow User.   I can't see and option for the Email recipient to be the same as the Person selected in the Hierarchy?  Is there a way to do this?  Any help greatfully accepted.  Thanks


RE: How to get settled/closed invoices against a voucher on vendor payment journal posted transaction?

$
0
0

you have vendor account , so you can join vendtrans  to vendsettlement table to check how much amount is settled. VendTrans has method remainAmountCur , which will give you remaining amount. You can join it with vendinvoiceJour to get total invoice amount(InvoiceAmount Field), sum of SettledAmountMST from vendsettlement for that particular vendor account will give you paid amount.

query would look like below , this query is not tested but you have to build something like this.

while select VendTrans  

      where VendTrans.AccountNum == vendTable.AccountNum

join VendInvoiceJour

where VendInvoiceJour.AccountNum == vendTable.AccountNum

&& VendInvoiceJour.LedgerVoucher == VendTrans  .voucher

&& VendInvoiceJour.InvoiceDate == VendTrans.TransDate

join VendSettlement

where VendSettlement.AccountNum == VendTrans.AccountNum

&& VendSettlement.transRecId == VendTrans.RecId

How to get settled/closed invoices against a voucher on vendor payment journal posted transaction?

$
0
0

Hii,

I am developing Payment Voucher Report. RDP and SSRS.

Navigation (AP->Payments->Payment journal -> a posted journal -> Lines -> Print -> Payment Voucher Report).

The report has header and lines temp tables.

Header temp table will have Vendor id, name, bank, iban, total payment amount, amount in words, payee bank etc and I got all this data.

Line temp table will have all invoices settled in this voucher. 

Line temp table fields: InternalInvoiceId, Invoice, CurrencyCode, PurchID, Full Invoice Amount, Remaining Amount, Amount to Apply etc.

I found the relation b/w LedgerJournalTrans and VendTrans. But this is returning LedgerJournalTrans transactions not invoices.
select vendTrans where vendTrans.LastSettleVoucher == ledgerJournalTrans.Voucher && vendTrans.RecId == LedgerJournalTrans.VendTransId;

Question: But I need Invoices transactions in VendTrans table for the posted voucher. 

Please help to achieve it in x++ code.

Thanks,

RE: how to add Dynamics 365 users for on premises environment

$
0
0

How were you able to get the VHD? I am struggling with setup.

how to add Dynamics 365 users for on premises environment

$
0
0

Hi,

I have downloaded the dynamics 365 on premises VHD from LCS on clients premises, I already signed in with my account (partner account with Federation services with Microsoft) how ever clients users on their domain want to log in as well, I added them as a users on Dynamics with their emails, and invited them through LCS on the project as an operation users, they are still unable to log in , have I missed any step ?

Thank you in advance.

How hide UtcDataTimeEdit with DateTime Min 1900-01-01 12:00:00

$
0
0

Hello !

How can I hide the value in a grid if the date is minvalue type (1900-01-01)

Currently showing 12:00:00 and I need you to show nothing.

Thanks

RE: How to use strRFix in a Ax Join ??

$
0
0

I finally modify the tables, Thank very much !!!

How to use strRFix in a Ax Join ??

$
0
0

Hello!

I like Join several tables in a Join, but the relation field1 is (45) and the field2 (C0045), then en SQL It works for me:

select ct.PARTY from View_Ekomercio ve
inner join CUSTTABLE ct on ('C' + RIGHT('000'+CAST(ve.CODCLIENTE AS VARCHAR(4)),4)) = ct.ACCOUNTNUM
inner join ..... more tables

But in AX i try...

select * from vEkomercio
join cTable
where 'C' + strRFix(int2str(vEkomercio.codcliente),4,'0') == cTable.ACCOUNTNUM;

And show the following error: "Invalid use of the expression where"

Can you help me please !!!! Thanks


RE: AX 2012 AIF logging just for failed messages

$
0
0

Thank you for your reply. I am not sure why the picture is not showing. Regardless, what I am trying to do is actually to log just the 'failed' message instead of all messages. Do you have any idea?

RE: Could I use different item code when create release order from blanket sales order (Dynamics AX 2009) ?

$
0
0

Dear Crispin,

Thanks for your help. I can't use gross field in AX because I need to count the inventory stock of each detail item.

regards,

Rudy

RE: Could I use different item code when create release order from blanket sales order (Dynamics AX 2009) ?

$
0
0

Dear Steven,

Thanks for your help. I think I should modify to fullfill my company requirement

regards,

Rudy

Could I use different item code when create release order from blanket sales order (Dynamics AX 2009) ?

$
0
0

Is it possible to change the item code from blanket type sales order when create release order in Dynamics AX 2009?

For example, in blanket sales order, I use itemcode: GeneralItem - 10 unit, and then when I create release order, I need to change the release one to use itemcode: DetailItem1 - 6 unit, DetailItem2 - 4 unit

Is it possible ?

Thank you,

Rudy

RE: Development Report in AX ( Read data from excel file )

Viewing all 175888 articles
Browse latest View live


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