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

Table Static Method events

$
0
0

Hi,

The ProjEmplTrans table has a particular static method called initTransFromJournal that I would like to extend.

Here is a cut down version of it:

public static ProjEmplTrans initTransFromJournal(ProjJournalTrans _projJournalTrans)
{ProjEmplTrans  projEmplTrans;
...
projEmplTrans.TransId = _projJournalTrans.TransId; ...
return projEmplTrans; }

So this method has a single argument of ProjJournalTrans and it returns an instance of ProjEmplTrans.

As you may imagine, the ProjEmplTrans buffer is initialized from the ProjJournalTrans buffer.

I have added an additional field called InventAssetId to ProjJournalTrans and ProjEmplTrans.

When ProjEmplTrans.initTransFromJournal is executed I would like the InventAssetId to be copied from the journal transaction to the empl transaction like:

public static ProjEmplTrans initTransFromJournal(ProjJournalTrans _projJournalTrans)
{ProjEmplTrans  projEmplTrans;
...
projEmplTrans.TransId = _projJournalTrans.TransId;
    projEmplTrans.InventAssetId         = _projJournalTrans.InventAssetId;
    ...

return projEmplTrans;

}

Since overlayering is not an option, I created a POST event handler.  But for some reason, the XppPrePostArgs object does not contain the ProjEmplTrans return value - by this I mean that args.getReturnValue(); does not yield and instance of projEmplTrans. 

Given that this approach does not seem to work, how can I achieve this?

    [PostHandlerFor(tableStr(ProjEmplTrans), tableStaticMethodStr(ProjEmplTrans, initTransFromJournal))]
    public static void ProjEmplTrans_Post_initTransFromJournal(XppPrePostArgs args)
    {

        ProjEmplTrans projEmplTrans = args.getReturnValue();
        ProjJournalTrans projJournalTrans = args.getArg("_projJournalTrans");
        ;

        if(projJournalTrans.TransId)
        {
            info(strfmt("ProjJournalTrans exists and has TransId %1", projJournalTrans.TransId));
        }
        else
        {
            info("There is no ProjJournalTrans");
        }

        if(projEmplTrans.TransId)
        {
            info(strfmt("ProjEmplTransTable exists and has TransId %1", projEmplTrans.TransId));
        }
        else
        {
            info("There is no ProjEmplTransTable");
        }projEmplTrans.InventAssetId = projJournalTrans.InventAssetId;

    }


Thanks

Luke


Hyperlink recor

$
0
0

Hi Team,

I have Table1 Form1 Table2 Form2.

Form1 have field1 . All records in field1 will have hyperlink to respective record in from2.

Question: How that hyperlink option we get in 1st column. there will be some relations btwn tables but how that column reflects in blue and underlined.       . Is there any property to set this.

Note: Form1 is normal form not a list page. 

Version: 365 operations.

AX/CRM Dynamics Connector DateTime is less than minumum value supported by CrmDateTime

$
0
0

Hi,

Using the AX Dynamics connector came across the following issue:

DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1900 00:00:00.

I'm mapping DateTime field . In AX i have value for that field(EDT : JournalPostedDateTime) : 24-11-2017 14:49:58

But in connector its going as Null value . I tried MAP the same field to String field of CRM, it flowing as 01/01/0001 00:00:00 in CRM.

shipment and containerization process

$
0
0

Hi expert,

Can you refer me any blogs that contain the shipment process of sales in ax 2012 and the containerization process as well.

Thanks

Import data by Data entities

$
0
0

Hi, is it possible to import data by data entities from Azure hosted SQL?

Insufficient rights to execute FTM 2 TaxReporting

$
0
0

Hello; What rights are required to give a solution for the error: Insufficient rights to execute FTM 2 TaxReporting.  I obtain this trying to get to Sales tax payments (general Ledger/ Periodic) , after choosing the settlement period I get this error. Is it a security issue? How to solve it? Thank you in advance !

How to check BP deviation all objects at a time

$
0
0

Dear All,

Suppose I have a project "TestBP". It's contained Table, EDT, Form,Report, Class and Menu item.

Is't possible if I want to check BP deviation at a time to all objects?

Please give me more shed on this.

Thanks!

Regards,

Arpan

How valid is that table contains an element.args()

$
0
0

Hello, 

I pass record table (gcalctable in form A and salestable in form B) to form C. How valid is that table contains an element.args() in form C?

Form C

------------------------

gcalctable = element.args().record();
salestable = element.args().record();

if(gcalctable)

{

GCalcTable_Ds.query().......

}

else if(salestable)

{

SalesTable_Ds.query()........

}

Thank you in advance.


Reverse button is not available on vendor transactions form

$
0
0

Hello Everybody,

Dou you have any idea why the reverse button wouldn´t be available for all transacctions on vendror account? I have already checked the basic things:

- it is not an invoice from a P.O

- The invoice has been posted from a invoice journal

- It doesn´t have partial settlements

- it haven´t been reversed before.

it is very strange for me that some invoices are available to reverse and some other not.

  

Reverse GL bank entry not reflecting on bank balance

$
0
0

Hi

I did a GL entry to post $100 in to bank account (US OPER) offset by error account (9998) but i actually wanted to offset by Owners equity. So I went ahead and did a GL reversal as Jason suggested. it worked great. However, the bank account (under cash and bank) still show the balance as $100.  When I looked at the trial balance, the ledger account for US OPER shows correctly.   Is there something I am missing?

Import bank statements

$
0
0

Hi,

I am looking for a setup option where AX after importing the bank Statements to delete them from the folder ( where the bank statement resides). So it doesn't pickup the same file again  in the next run and cause errors while the processes is batched. 

Is there an option to let AX remove the imported statement file from its folder location? 

Thanks

Sales Order Installment with prepayment

$
0
0

Hello,

I have a Customer Order (Sales Order) that was created from MPOS with a prepayment(use "Deposit override") .Then in Sales Order header i have setup payment schedule with specified allocation,and enter the remaining payment in "payment lines".When i want to Invoice the mentioned Sales Order, following error occurred : 

"Specified payment schedules can be used only if the sum (220.00) matches the invoice amount (320.00)"

And also if i change payment schedule in Invoice tab in Sales Order,in first click it throws error but in second click i can change the payment lines as expected and also Sales Order invoiced but, installment payment lines are not posted,and also there are not in "Open transaction" in Invoice tab.

Thanks in advanced.

WMS Location directives question.. put location

$
0
0

Hi,

based on what conditions does the system pick a location to put away the items?

I have two locations that are identical in configuration however during putting away step using the mobile the system automatically picks up a location. so I am not sure why the system picked that location. I know I need to provide screenshots but needs to know which screenshots should I share? 

AX 2012 DOC

$
0
0

hi, higher,

there are any Doc about AX 2012 of  production and master plan, pls tell me some

thanks all

AIF is no more exist in D3FO. What is the new features is introduced in place of AIF?

$
0
0

Dear All,

As I know from friends AIF is no more exist in D3FO.

Can you please let me know what is the new features added in place of AIF.

Please give me more shed on this.

Thanks!

Arpan


In Ax 2012,how can we check the inventory transactions of supplementary items in purchase order?

$
0
0

Hi All,

In Ax 2012,how can we  check the inventory transactions of  supplementary items in purchase order?

Thanks & Regards 

Dhanya 

what is the use of Legacy id in table

$
0
0

Dear All,

what is the use of Legacy id in table ? It's generating from Karnel?

Please give me more shed on this.

Thanks!

Arpan

Disable Warehouse

$
0
0

Hi,

Is there any way to close or disable warehouse

Regards,

Arshad

Posting error in GL transaction -AX 2012

$
0
0

Hi All,

When I am trying to posting a general journal entry it shows following error,please help

Thanks & Regards

Dhanya 

Fix wrong Qtys Intercompany PO and SO

$
0
0

Hi all.. Today I have this case.. I will try to resume the details.

I have and Intercompany Purchase and sales order. Two lines for same item 16  PCS each.

In my sales order I do Delivery note for 8 PCS against first line. Delivery Note Num "BL001480"

In my Purchase order I didn't do Receive Now, insead I received all Qty of both Lines, 16 and 16... The recference was also "BL001480"

I Forgot about cancel or correct options so I tought that if I cancelled the Delivery note in SO , The receive would be cancelled too, so I cancelled the BL001480,but PO receipt was not cancelled :(

Then I tried to cancel PO Receipt and I got an error about not able to cancel more that 8.

After this I generated anew Delivery Note "BL001481" and Corrected Qty in PO Receipt leaving only the 8 want.

However PO Receipt remain linked to BL001480 but the current and posted Delivery note in SO is BL001481.

How can I correct this to get the PO Receipt Linked to BL001481? PO receipt throws next Error...

"Configuration=HR25,Quality=NONE,Site=1,Warehouse=CTMGE,Batch number=171124-LOT0002855"

   "Cannot revert more than quantity -0.00"

If I try to change the lot num it says:

"Use the Inventory button to remove the marking on the order line before you update any financial dimension."

If I go to Sales line > Inventory >Marking I get next error.. 

"Manual marking is not allowed on intercompany transactions and is therefore disabled."

 

If PO Receipt and SO Delivery Note remains with different nums?

If yes, then How can I fix this to make nums  match?

 

Viewing all 73760 articles
Browse latest View live


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