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

time is not updating properly in AX from excel in AX 2012 R3

$
0
0

hi,

This is excel template. Working for Singapore entity

Code - 

Shipment arrival date and time

shippmentArrival    = DateTimeUtil::newDateTime(cells.item(row,4).value().date(),cells.item(row,4).value().time());

In debugging it's showing proper date and time but after update in table it showing different time

Debugging

But in AX after updating it's showing different time. This is the only issue...

Pls let me know why it's updating time 12:30:15 PM instead of 5:30:15 PM.

How can i update 5:30:15 PM ?

Please give me more shed on this.

thanks!


retrieve data fields data exists in WhsWorkLineCustom table to inventSum table in InventOnHandItem form

$
0
0

I have added data of field "Data" exists in "WhsWorkLineCustom" table to "InventSum" table to the form "InventOnHandItem" and make them available for filtering and sorting using the standard filter function in the form grid .

I have tried several approaches without luck.

I have tried this code and when I do a debug the recId of "inventSum" Table is always null.

[ExtensionOf(tableStr(WHSWorkLine))]
final class WHSWorkLine_DEM_T_Extension
{
public void update()
{
next update();

InventDim InventDim;

WHSWorkLine wHSWorkLine;
WHSWorkTable wHSWorkTable;
InventSuminventSum;
WHSWorkLineCustom wHSWorkLineCustom;
wHSWorkLineCustom = wHSWorkLineCustom::find(this.WorkId,this.LineNum);
if (this.WorkType == WHSWorkType::Custom)
{
wHSWorkTable= WHSWorkTable::find(this.WorkId);

{

select forupdate inventSum where InventSum.InventDimId== InventDimId.InventDimId;
if (inventSum )
{
inventSum.Data = wHSWorkLineCustom.Data;
inventSum.update();
}


}

}
}

}

add data of field "Data" exists in "WhsWorkLineCustom" table to "InventSum" table in the form "InventOnHandItem" and make its available for filtering and sorting using the standard filter function in the form grid

$
0
0

Hello,

I want to add data of field "Data" exists in "WhsWorkLineCustom" table to "InventSum" table in the form "InventOnHandItem" and make its available for filtering and sorting using the standard filter function in the form grid.

I have tried this code and when I do a debug the recId of "inventSum" Table is always null.

the relation between WhsWorkTable and InventDim is container.

I have tried several approaches without no luck.

the update of the table"inventSum" not carried out

[ExtensionOf(tableStr(WHSWorkLine))]

final class WHSWorkLine_DEM_T_Extension

{

    public void update()

    {

        next update();

 

        InventDim InventDim;

 

        WHSWorkLine wHSWorkLine;

        WHSWorkTable wHSWorkTable;

        InventSum inventSum;

        WHSWorkLineCustom wHSWorkLineCustom;

        wHSWorkLineCustom = wHSWorkLineCustom::find(this.WorkId,this.LineNum);

        if (this.WorkType == WHSWorkType::Custom)

        {

            wHSWorkTable= WHSWorkTable::find(this.WorkId);

 

            {

                ttsbegin;

                select * from InventDim  where InventDim.LicensePlateId == WHSWorkTable.TargetLicensePlateId;

                if (InventDim)

                {

              

                    while select forupdate  inventSum where inventSum.InventDimId == InventDim.inventDimId

                        if (inventSum)

                    {

                        inventSum.Data = wHSWorkLineCustom.Data;

                        inventSum.update();

                    }

                }

                ttscommit;    

            } 

        }

    }

any help plz

barcode scanner not reading barcode ssrs report (Price Tag) in ax 2012

Assigning Roles to users

$
0
0

How to  create a read-only role internal team to access GL and underlying transactions in read-only mode.

 

Key user functionality expected are below

  1. View Trial balance, voucher transactions and such inquiries in GL
  2. Ability to drill down from Trial balance to underlying transactions in read-only mode
  3. View journals
  4. View masters and setups

What roles should be the best to assign to fulfill above requirement. 

Weird Issue-Ax 2012-PO and GRN

$
0
0

HI All,

Greetings.

I am working for AX 2012 R2 version.

Recently I faced a weird issue in AX 2012 and it is second time.

One of the PO was GRN(good received note)  not invoiced. I ran the voucher transactions report and saw the PO which was GRN did not hit the inventory account.

However, I cancelled the GRN and edit the PO and tried to enter the same lines again and again posted the PO and did GRN.

This time the PO hit the inventory account.

I am not sure "what the user at client side is doing".

If you see the PO when the user entered , the inventory didnt get hit(weird issue) but when i entered(exact same replica -same items -same vendor  the inventory account(good received note ledger account got hit)

Do anyone know what could be possible reason behind this behaviour?

Unit Price in Purchase Orders

$
0
0

Hi Experts,

I have an issue with the purchase prices, Below is my purchase setup for an item. Consider I have received this item from Vendor VA01 through a purchase order with price 14.00, When I create an another purchase order for the same vendor with the same item the unit price added automatically in the line which is 14.00 - the last purchase price for this vendor. When I create purchase orders for another vendors with the same item it adds the set unit price which is 12.18690 as shown in the below screenshot  

I need to add the set purchase price on the item for all the orders without looking the old or last purchase price. How can I do that ? Is this AX standard way ?

Unable to attached file in quotation

$
0
0

Hi Experts,

I am try to attched file in Sales quotation. But getting error.It is not saving file in destination location.

 

Thanks,

Faiz


add field "Data" exists in "whsworklinecustom" table automatically in "inventSum" table in "inventOnHandItem" form

$
0
0

Hello,

I can't find a solution please give me all the details to add the data of this field exists in "whsworklinecustom" table automatically in "inventsum" table when the record is automatically added in "inventsum" table. The relation between "whsworktable" table and "inventsum" table is TargetLicenseId in "whsworkTable" and LicenceplateId in "InventDim" table  

I find the InventUpdateOnhand class but I don't retrieve what  I do to retrieve the field "data" an to be  inserted automatically in "inventSum" table with other fields

I tried the above  code and I specify in line 15 licenceplateId  but the field "data" is not inserted in table "inventsum" table

I need a help plz  

How do you create more than just 5 bin spaces per level?

$
0
0

I am setting up an inventory for my work and im running into problems. My ideal numbering scheme would be (0A) for the aisle, (###) for the rack, (####) for the bins on each rack. Some racks having upwards of 75-100 bins. But AX only allows 5 picking spots. Is there a way to change this? Or a way around it? Thank you 

Show the selected values on lookup in D365Fo

$
0
0

Hi All,

Using below code am lookup is working fine, its possible to show info which values is selected .

Customize table : LedgerEntriesTable

Noted : I use string field on design to show the  lookup, there is not DB for this lookup

[FormControlEventHandler(formControlStr(LedgerTrialBalanceListPage, LE), FormControlEventType::Lookup)]

publicstaticvoid LE_OnLookup(FormControl sender, FormControlEventArgs e)

{

Query query = newQuery();

QueryBuildDataSource queryBuildDataSource;

SysTableLookup sysTableLookup;

sysTableLookup = SysTableLookup::newParameters(tableNum(LedgerEntriesTable), sender);

queryBuildDataSource = query.addDataSource(tableNum(LedgerEntriesTable));

sysTableLookup.addLookupField(fieldNum(LedgerEntriesTable, legalEntity));

sysTableLookup.parmQuery(query);

sysTableLookup.performFormLookup();

}

Reschedule a Batch Order without the Job IDs changing?

$
0
0

How do I reschedule a Batch Order in Dynamics 365 Finance and Operations without the Job IDs changing?  When I go to prioritize a Batch Order (by doing a forward rescheduling), I want the jobs associated with that Batch Order to keep their same ID but they get all new IDs.  How can I fix this?

Thanks.

Tax 1099 Changes for 2021 in R3

$
0
0

Hello,

Will Microsoft be releasing an updated 1099s for 2021? The forms are different and have a new box 2 on NEC for sales or $5K+ of consumer products. 

If so, anyone have an ETA on a release date? 

Ledger records exist for the consolidation company. You cannot change the consolidation company option.

$
0
0

Hi Genius,

I have planning to perform consolidation from existing entity to brand new entity, however it shows the error below after I create the new entity and select the option of "use for financial consolidation process". I am sure that there is no transaction going in the new created entity. May I know what should i do??

Ledger records exist for the consolidation company. You cannot change the consolidation company option.

Purchase Requisition not showing as release approve purchase requisition

$
0
0

Hi Experts,

I am facing issue that approved PR not showing as release approve purchase requisition.


apply us taxation rule impact

Blank loads - to not generate when wave is processed

$
0
0

In a case where you release work and the wave fails to create the work, the load is still created. 

To fix it, the load needs to be deleted and re-released.

Is there a way to have the load not generate if there is no work able to release? 

It is just easier to maintain the release of work.

Block warehouse for some articles

$
0
0

Hello,

my installation has two finish goods warehouses (WHSA and WHSB). The scenario I want to achieve is:

article 1 can only be stored in warehouse A

article 2 can only be stored in warehouse B

meaning that sales orders for article 1 can only and only point to warehouse A

and

sales orders for article 2 can only and only point to warehouse B

How can I setup AX so that it is going to block me if I select a warehouse in the sales order header and create an order line for a wrong article?

I was thinking to use the release product "PLAN" tab, "Site specific order settings" but I'm not sure it is the right place to do it

Thanks
Regards

Intercompany sales order- purchase order

$
0
0

Hi

I do have a Sales order from a customer in one Company. There is an intercompany Direct delivery process implemented. The Customer sales order has 5 lines in it that should  all be delivered from the second company. The system now generates 5 Purchase orders to the second company and so 5 Sales orders. 

Why is there not only 1 Purchase order and 1 sales order generated ??

Any ideas?

Need to customer payment 30% as prepayment and 70% at the time of shipment how to set this

$
0
0

Hi Experts,

We have a scenario where requirement is customer payment 30% as prepayment and 70% at the time of shipment. Could you please help how we can set up provide me in details.

Appreciated for your replies.

Regards,

Vinod

Viewing all 175888 articles
Browse latest View live


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