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

Is there anyway to make reason code from credit note appear anywhere in sales orders as reference

$
0
0

Hi there,

Is there any way to make reason code from credit notes appear anywhere in sales orders as a reference

Thanks.


Management Reporter and the Project Module

$
0
0

We have a user trying to bring in the units from the project module into management reporter. Our current system is AX 2012 R3 and as I am not very familiar with MR I was wondering if anyone had any suggestions on if that is possible without doing a code customization? Any suggestions would be greatly appreciated.

Thanks,

LBurrows

Create privilege and assign menu item to it

$
0
0
Hello everyone,
The creator should only be able to create a vendor/customer and should not delete any vendor which is on hold or approved nor should be able to delete any of the vendor details of approved or on hold vendors.
The approver should only be able to approve or reject the request and should not delete any fields or Vendor/Customer.
How can we achieved this based on user role/privilege.
I have to create new privilege and assign the menu item to it. I need which menu item 

Modifying enum field based on another field value

$
0
0

I am working on a project about making reservations. I have a reservation table that holds the enum field Status. And reservation lines table that holds the NoYes - Paid field.
The task is I have to iterate through all lines in res lines table and see if the NoYes Paid field is yes. If this field is yes on all lines in a given reservation, the field Status in res table has to change its status to Paid.
Any suggestions how should I implement this?

This is the code I tried, but nothing changes

public void modifiedField(FieldId _fieldId)
{
         axmResLines_SJ reslines;
         super(_fieldId);

switch (_fieldId)
{
    case fieldNum(axmReservation_SJ, ReservationStatus):
        while select* from reslines
           where reslines.ReservationId == this.ResId
      {
           if (reslines.Paid == NoYes::Yes)
          {
                this.ReservationStatus = AXMReservationStatus_SJ::Paid;
          }
      }
     break;

}

}

Microsoft Axapta 2003 -> Google Spreadsheet -> WooCommerce

$
0
0

Hi, I work as a WordPress web developer and have 0 experience with AX. My client says he uses Microsoft Axapta 2003 and wants AX to output products sku and stock qty into google spreadsheets. Is this possible? Is there any documentation about integrating with Google sheets?

The idea is that AX send data to spreadsheets where WooCommerce will go fetch it and update the store accordingly.

Thanks for your help.

Remove article consumption message in a project.

$
0
0

  this is at the time of making a receipt on a purchase order. Is there a way to eliminate this message and automatically have the system press the "no" button?

Question about CustPostInvoiceJob form Ax 2009

$
0
0

Hello:

We need to customize the form CustPostInvoiceJob.

We created new fields and all is ok.

The changes are for electronic invoice reasons.

But, in this form, we don't have the table CustInvoiceTable.

I know that this form is called from the class of the same name.

In the method main from this class:

    if (custPostInvoiceJob.prompt())

When the above line is executed, it calls the CustPostInvoiceJob form.

How I do to get CustInvoiceTable?.

I tried with the init method in the form but element,args().records do not return anything.

Cancel Pending Delivery

$
0
0

   I am trying to remove a pending delivery and it gives me an error, this article was never received


Check batch job performance by trace parser

$
0
0

Hi guys,

We would like to use trace parser to check Batch job performance. Please advise which is the best way to collect trace on D365 FinOps? because the batch job runs ages and wait too long to stop tracing and get the etl file for analyzing.

  ==> The batch job has run for 4 hours. 

Please advise me on that.

Many thanks

Ett

selected value of multi select lookup not displaying in form

$
0
0

I have created multi select lookup. It is working fine but when I select value it does not display value on form. below is my screen shot 

here is my lookup code

public void lookup()
{
   Query query = new Query();
    QueryBuildDataSource queryBuildDataSource;
    QueryBuildRange queryBuildRange;
    SysTableLookup sysTableLookup;

    str   ItemCategoryCodeforlockup = RNI_Product.valueStr();
    if(ItemCategoryCodeforlockup)
    {
        queryBuildDataSource = query.addDataSource(tableNum(SL_ItemCatSubType));
        queryBuildDataSource.addRange(fieldNum(SL_ItemCatSubType,RNI_LINEOFPRODDESCRIPTION)).value(ItemCategoryCodeforlockup);
        msCtrl = SysLookupMultiSelectCtrl::constructWithQuery(this.formRun(),this,query);
    }
}

public boolean modified()
{
       boolean ret;
container c,v;
int i;
ret = super();

if (ret)
{
c = msCtrl.get();  // get RecIds of the selected rows
v = msCtrl.getSelectedFieldValues(); // get actual value of the selected rows

for (i = 1; i <= conLen(c);i++)
    {
    //info(conPeek(c,i));
    //info(conPeek(v,i));

    }
}

return ret;
}

how to select second value of multi select lookup in x++

$
0
0

I have created multi select lookup but when I am using MultiSelectControl.valueStr() in my code it is returning first column value whereas i Want last two column value of multi select lookup

HERE IS THE LOOKUP SNAPSHOT

I Want to add last value of multi select lookup here below:

public void lookup()
{
    Query query = new Query();
    QueryBuildDataSource queryBuildDataSource;
    QueryBuildRange queryBuildRange;
    SysTableLookup sysTableLookup;

    str   Itemsubtypeforlockup = RNI_Type.valueStr();
    //if(Itemsubtypeforlockup)
    //{
        queryBuildDataSource = query.addDataSource(tableNum(SL_ITEMCATMODELNUMBER));
        queryBuildDataSource.addRange(fieldNum(SL_ITEMCATMODELNUMBER,DESCRIPTION)).value(HERE I WANT TO INSERT 2ND LAST COLOUMN VALUE OF MULTI SELECT LOOKUP DEFINE ABOVE);
        msCtrl = SysLookupMultiSelectCtrl::constructWithQuery(this.formRun(),this,query);
    //}
}

Integrating MS Dynamics AX 2012 R3 with Okta

$
0
0

For a Client Perspective, I need to Implement SSO for MS dynamics using Okta.

Application Name: MS Dynamics AX 2012 R3

IDP: Okta

As of now I am not able to find any supporting documents to implement SSO for Dynamics using Okta as it does not support

1. SAML

2. OIDC

3. WS-Fed.

Can anybody provide me some insights if this integration is possible or not. Any kind of lead will be appreciated

start production order

$
0
0

I am trying to start a production order

Dynamics AX 2012 Retail POS error when closing the shift "The value entered is not invalid"

$
0
0

I get error message "The value entered is not valid" when we doing end of day process and while trying to do tender declaration in Dynamics AX 2012 Retail POS.

Error while generating Recurring invoice Batch

$
0
0

I was generating recurring invoice but i am getting this error? Please help me in this


Budget Reservation isn't working as expected

$
0
0

Greetings all, this is my first post here and I'm a new user of AX system in general.

We've recently activated the budget control in our company and now we started linking it with purchase requisitions but it behaves in a strange way.

So when a user creates a PR for Feb and the PR is released to a PO and I closed by the accounting team in the same month it behaves as expected (the amounts are deducted from Feb budget and are converted to actual expenditures)

what I can't comprehend is when a user creates a PR at the end of the month for example on the 28th of Feb and the accounting team released the PR to a PO in march. the system automatically reserves the budget from Feb and transfers it into march. I expected it to reserve from Feb budget but why is it automatically transferring the amounts to March budget as illustrated in the photo below? the accounting team now can't post it in Feb expenses unless I do a manual transfer from march to Feb as it exceeds the budget amount.

Thanks in advance

What is the purpose of adding Account structures in Ledger form?

$
0
0

Can someone please tell me what is the purpose of adding account structures in ledger form?

Actually i was looking microsoft docs but i am unable to understand from that.

Can you please tell me let's suppose i am a client so what is the purpose of adding account structures in ledger form?

Unable to understand the purpose of Financial reporting setup page

$
0
0

Basically i was exploring General ledger setups.so in setup there is one form - Financial reporting setup 

Can someone please help me to understand the purpose of this form and what is the use of this form?

It will be a great help from you sir/mam

Generate "Non-SEPA" vendor payment file (XML format)

$
0
0

Hi,

We have a customer request to be able to generate "non-SEPA" vendor payment files in the XML format...Previously they were using the SWIFT format which generates a flat file, but apparently their bank / ISABEL (not sure which) notified them that they will no longer accept this format.

So they now want to switch to the ISO20022  format.
More specifically they want to be able to define on the payment journal line who will bear the costs of the non-SEPA payment (value "CRED/DEBT/SHAR" in tag "<ChrgBr> in the XML file.

I have set up a new payment method using the "VendOutPaym_ISO20022_Generic"  class and the "VendOutPaymRecord_ISO20022_Generic" class :

and I have set up related "payment specifications" and "payment fee specification"

I understand that a vendor payment is considered "non-SEPA" if :

  • another currency is used then EUR
  • the IBAN account is for a country that is not part of the SEPA zone

So i have made a vendor payment journal with :

  • currency USD, which should be recognized as a "non-SEPA payment" because the the currency is not in EUR
  • Set the payment specification to "SHAR"  (=bank costs of non-SEPA payment will be shared between vendor and our company) but tried other values as well.



I've been going through the code...
It is my understanding that the classes "VendOutPaym_ISO20022_Generic" and "VendOutPaymRecord_ISO20022_Generic" should be able to cope with such a scenario.

But it seems as if the code only seems to work for actual SEPA payments, and not for international/non-SEPA payments.

I have found only one reference to a method that actually does something for non-Sepa payments and that is only for "transactions with the ability to group payment lines into separate payment information nodes". But this code is never called anywhere so it seems...


Does anyone have expercience setting up non-SEPA payments ?
Am I missing setup ?
Is customization of code necessary ?


Seems to me this is something that should be possible "out-of-the-box", even if maybe not all required XML tags or country-specific regulations aren't met...

Thanks in advance for any feedback...

(C)\Classes\FormGroupControl\isExpanded

$
0
0

I have face this error and also enable to find this class in AOT.

Viewing all 175888 articles
Browse latest View live


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