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

RE: Email Template placeholders

$
0
0

Sukrut

Thanks for providing link. I was able to get it from code, but the issue here is for every type pf communication we have to code for the place holders.

I am trying to find if there is a better way to do it without coding because if the business comes up with another notification type in future then we will have to write code for each custom template. Is there a way to avoid that.

Thanks

Siva 


RE: Email Template placeholders

$
0
0

If you are using different templates then  you have to go through that route.

Email Template placeholders

$
0
0

Hi

To send notifications to a specific set of vendors I created a dialog which takes email template name and custom query with vendor, vendor certification and vendor primary address fields as input. 

When I select a email template and vendors (ex: Vendors from a specific state) and click ok, I am looping through the query values and getting their primary email address to send email.

In the template I would like to add field values from dialog query.

ex:

I am expecting something like this

Dear Vendor 

Your certification [Certification] will expire on [Expiry Date],  please renew your certification.

how do I achieve this?

and if the user (usually admin level) change the template placeholders with other fields from query like

Dear Vendor 

Your certification [Certification]  is renewed on [CertificationDate]

I tried to %message% %data% in place holders but they are simply displaying as it is.

Thanks

Siva 

RE: Query extended range failure: Right parenthesis expected near pos

$
0
0

Hi,

I feel it's a bug on form projPosting as I have the same issue in my system(Ax2012 R3) and we don't have any customizations in this form. Query gets constructed in the method categoryCodeRange on this form.
In method categoryCodeRange, at line#28(as shown below - highlighted in yellow), due to the presence of double quotes, it's causing the issue.  Not sure whether it's a known issue, if so please check for any hotfix (or) to fix the problem update the code  by removing queryvalue() on variable categoryGroupId(at line#31 - highlighted in orange) :

So change code from

case TableGroupAll::GroupId:
            range += strFmt('((%1 == %2) && (%3 == "%4")) || ',
                fieldStr(ProjPosting, CategoryCode),
                enum2int(TableGroupAll::GroupId),
                fieldStr(ProjPosting, ProjCategoryRelation),
                queryValue(categoryGroupId));

to

case TableGroupAll::GroupId:
            range += strFmt('((%1 == %2) && (%3 == "%4")) || ',
                fieldStr(ProjPosting, CategoryCode),
                enum2int(TableGroupAll::GroupId),
                fieldStr(ProjPosting, ProjCategoryRelation),
                categoryGroupId);

Query extended range failure: Right parenthesis expected near pos

$
0
0

Hi,

Is anyone got or is getting errors when opening ledger posting setup (from Project management and accounting -> setup -> Categories -> Project categories -> Setup -> Ledger posting setup)??

I am getting couple of lines  with the following error message:

Query extended range failure: Right parenthesis expected near pos 124

Can nay one suggest solution for this 

RE: Item lookup in New production Order

$
0
0

Hi,

Form InventItemIdLookupPurchase happens to be the ItemId lookup on form ProdTableCreate. So, in the run method of this form include the following code.I don't have the proper setup to test this, so let me know if anything is missing.

public void run()
{
    QueryBuildDataSource qbds;
    QueryBuildRange      qbr;

    FormStringControl   callerControl   = SysTableLookup::getCallerStringControl(element.args());
    boolean             filterLookup    = false;

    filterLookup = SysTableLookup::filterLookupPreRun(callerControl,
                                                     inventTable_ItemId,
                                                     inventTable_ds);

    qbds = inventTable_ds.query().dataSourceTable(tableNum(InventTable)).addDataSource(tableNum(bomVersion));

    qbds.addLink(fieldNum(InventTable, Itemid), fieldNum(BomVersion, ItemId));
    qbds.joinMode(JoinMode::InnerJoin);
    //qbds.relations(true);

    qbds.addRange(fieldNum(BomVersion, Active)).value(queryValue(NoYes::Yes));

    qbds.addRange(fieldnum(BomVersion, FromDate)).value(queryRange(dateNull(), today()));
    qbds.addRange(fieldnum(BomVersion, ToDate)).value(queryRange(today(), dateMax()));

    super();

    SysTableLookup::filterLookupPostRun(filterLookup,
                                        callerControl.text(),
                                        inventTable_ItemId,
                                        inventTable_ds);
}

Item lookup in New production Order

$
0
0

Good Morning,

I am trying to have a lookup on new production order.

In lookup i am getting all item numbers.

As the need is we need to get lookup of particular items which have bomids (bom created itemids).

So,i found out in BomVersion table itemid field is there.we can use that as lookup.

But i found duplicate values.

So,how can i achieve this.

Please suggest and show some light on this.

Regards.

Have a great day.

RE: Removing Duplicate Address

$
0
0

Hi,

I feel update of references will be taken care by system itself.The code I provided is taken from method main of Class DirPartyPostalAddressAction which is the one that is called when we try to delete the address from CustTable/VendTable form. I tried for regular & primary address and it worked as expected. Anyway please check on test system once before actual deletion.


Removing Duplicate Address

$
0
0

Hello Experts,

In Dynamic Ax 2012 I have lots of duplicate address in the table LogisticsPosatalAddress i want to remove that duplication and update all the references. I have made the View which show me the Duplicate address with count.  Can Anybody help how to delete the duplication and update the corresponding references 

RE: what is the difference between "Partition and Virtual company"

$
0
0

Thanks Andre,

Just for checking i put same Employee ID on both partitions. It should be diiferent.

Thank you

Arpan

RE: Using mobile bin/carts/trails

$
0
0

Configuring your carts as location is good choice.

Your work template would look something like 

1) Pick from Receive (No location directive required)

2) Put to Cart (Do not set up a location directive , this will create a work with no suggested Cart). 

3) Pick From Cart (Again no location directive required for this).(Check Stop work in your work template line)

4) Put away to Storage Location (Setup your location directive properly for this.)

To make your scenario work you need to enable Allow Splitting of Work and Override License Plate During Put in your Mobile device Menu Item.

The user will pick up all the items (Theoretically) and Try to put it in Cart Location. Now instead of putting all the picked Items he will use the split Put Button in the mobile device.

He will then be asked what items and quantity he would put into what location(cart).

This will create a new storage location put away work with a suggested location. 

Use as many split puts as required

I hope this solves your scenarios

Regards

Adarsh

Using mobile bin/carts/trails

$
0
0

Hello,

is it possible to set up following scenario?

I purchase many different items. Truck arrives, I do a purchase receive via mobile device and items are registered in receipt location. Then warehouse man will take one of the available (empty) carts, put the items into the cart a goes through the warehouse and system tells him where (location) to put the individual items.  

Can someone help me if it is possible and how to set up this in AX? The problem is in put/pick into and from the carts. 


Thank you very much.

RE: Slash '\' appears when using con2str()

RE: Removing Duplicate Address

$
0
0

Hi Chaitanya,

Thanks for the help sure i will test on my system and check. If the system handles the that references automatically its good as i want only primary address

Thanking You,

Krutish Ruparelia

RE: Sales Tax Non-Recoverable in Vendor Invoice Journal

$
0
0

Hi M. Hasan,

Further above you mentioned something about an exempt value that you used. Can this be related to your issue that some parameter settings have been modified and not reset?

Can you also please check that a sales tax %-value is set up - even if it is Zero - and that the form where you Setup the sales tax %-value includes a data value.

Best regards,

Ludwig


Sales Tax Non-Recoverable in Vendor Invoice Journal

$
0
0

Dear all,

I have a case to calculate & post the sales tax to related expense account in the vendor invoice journal.

Previously I have already succeeded in posting the sales tax to add the expense of the invoice for Vendor Invoice come from PO. In this case I use the exempt value in the tax code.

However when I use the same tax code in vendor invoice journal, the sales tax amount become zero and no additional expenses is posted.

Is there anyone know how to solve this case?

Thanks,

M.H.

Issue with grouping the queries in sys operation framework

$
0
0

Hi,

I am facing issue with grouping multiple queries in the UI interface using sys operation framework. I have tried to add the query in dialogformgroup to a particular group in UI builder class, but the queries are not moving to the appropriate group. Is there any suggestion to group the query.

Thanks!

RE: Creating collection letters in AX 2012 R3 RTM does not take credit notes into calculations

$
0
0

Hello DeltacoBabak,

What do you mean by violating laws?

The standard application does not exclude anything unless you modify it.

Can you elaborate on where you see a law infringement and possibly share some supporting documents, screenprints, etc. that illustrate the issue that you see?

Many thanks,

Ludwig

Creating collection letters in AX 2012 R3 RTM does not take credit notes into calculations

$
0
0

When creating collections letters to customers, via Accounts receivable/Periodic/Collections/New collection letters, the list that is generated is not taking the total customer balance into consideration. 

Is there any setup or parameter that we can use to only include collection letter suggestions for the invoices that is greater than the balance of the customer?

For example, lets say Customer A have 10 invoices in total. 5 of them are settled and payed by the customer. 5 are still open and needs to be payed by the customer. They are all due and we now want to generate collection letters to post to the customer for them to pay. As an example the invoices look like this:

Invoice 1 - 100 USD
Invoice 2 - 50 USD
Invoice 3 - -200 USD - Credit note
Invoice 4 - 50 USD
Invoice 5 - 100 USD

The total of the open balance would be 100 USD that we need to collect and send collection letters for.
The reason behind this is that if the customer has a credit invoice they can use to settle the other open invoices, we can use it, but need to get the confirmation from the customer. 

If we include Credit note in the form selection for generating the list of invoices for collection, it will not help, it will instead generate a collection letter for the due credit note as well, which is not allowed...

What i would like to see is that the generation would somehow understand that it should take the total open balance into consideration and only suggest invoices to send collection for that are more than the customer have for credits. So, in my example that would for example be Invoice 1 only, or invoice 5 only, or invoice 2 and 4 only.

Not sure i´m making any sense or not. Thanks in advance.

RE: Central Bank Purpose Codes

$
0
0

Hi Steve Oh,

The standard feature can't fully handle the German Außenwirtschaftsverordnung requirements and it does not include an out of the box reporting funtionality for that, which leaves you with the task to build it yourself or ask your implementation partner to do it for you.

Best regards,

Ludwig

Viewing all 175888 articles
Browse latest View live


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