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

Issue with GER Export to GSTR CSV

$
0
0

Hi All,

Hope you all doing good!

I need some expert help here. I am trying to take report from "General Ledger -> Reports-> India-> GER export to GSTR CSV".

This is only for Indian Localization. I'm given all required parameters in that dialog box. Finally I didn't get any results.

Is there i am missing any configuration here?

Please help me to solve.

Advance in Thanks and regards,

Vignesh R


Limit maximum length of quantity

$
0
0

Hi experts,

some body tell me how to restrict Qty field till 9999 in the override method of field.The Qty field is coming in a forms grid.and its EDT is SalesOrderedQty. I dont want to handle it through EDT because it would disturb already entered values.Currently maximum range is in attached screen shot,it is accepting 15 digits before decimal point,i want just 4 digits before decimal point.

WHS-on hand entries cleans up inventsum records with inventory

$
0
0

Dear community,

We're running AX 2012 R3 CU10 and the "Inventory Management --> Periodic --> Clean up --> Warehouse management on hand entries clean up" cleans up inventsum records with posted values.

When the batch jobs cleans up inventsum records with inventory and inventory value we're receiving errors that the standard costs do not comply. This occurs because records in inventsum are deleted and the total inventory value doesn't match up with the quantity.

When we're running the consistency check it luckily restores the missing inventsum records.

 From what I can analyse the batch checks the Inventsum and WHS inventreserve

WHSInventReserve:

privateboolean validateWHSInventReserveRecsDeleted(InventTable _inventTable, InventDim _inventDim)

{

   WHSInventReserve                   whsInventReserve;

   InventDim                           inventDimCriteria;

   WHSReservationHierarchyElement     resHierarchyElement;

   InventDim                           inventDim;

   InventDimParm                       inventDimParm;

 

   inventDimCriteria.data(_inventDim);

   inventDimCriteria.clearFieldsFromHierarchyList(WHSReservationHierarchyProvider::construct().

                                                   getDimListBelowLocation(_inventTable, WHSReservationHierarchySortOrder::BottomUp));

 

   inventDimParm.initFromInventDim(inventDimCriteria);

 

   selectfirstOnly RecId from whsInventReserve

       where whsInventReserve.ItemId == _inventTable.ItemId

           && (whsInventReserve.AvailOrdered == 0

           && whsInventReserve.AvailPhysical == 0

           && whsInventReserve.ReservOrdered == 0

          && whsInventReserve.ReservPhysical == 0)

           #InventDimExistsJoin(whsInventReserve.InventDimId, InventDim, inventDimCriteria, inventDimParm)

       existsjoin resHierarchyElement

           where resHierarchyElement.ReservationHierarchyLevel == WHSInventReserve.HierarchyLevel

               && resHierarchyElement.ReservationHierarchy     == reservationHierarchy

               && resHierarchyElement.ReservationHierarchyLevel >= highestReservationLevel;

 

   return whsInventReserve.RecId == 0;

}

InventSum

protectedboolean validateInventSumDelete(InventSum _inventSum)

{

   boolean                     ret;

   WHSReservationHierarchyLevel level;

 

   ret = super(_inventSum);

 

   if (ret)

   {

       level = WHSReservationHierarchyInventDimUtil::getLevelOfFirstBlankDim(_inventSum.ItemId,

                                                                             _inventSum.inventDim(),

                                                                              WHSReservationHierarchySortOrder::TopDown);

       // Do not delete <c>InventSum</c> record if the dimension set is above the highest reservation level to delete.

       if (level < highestReservationLevel

           && level != 0) // if there are no blank dimension fields then level will be zero.

       {

           ret = false;

       }

   }

 

   return ret;

}

 

 Is this because the WHSInventReserve and InventSum tables are out of sync? Because the WHSInventReserve validation checks if all records are 0? What I also find strange is that this batch doesn't check if inventsum records are 0 as the regular On Hand entries clean up.

 

Looking at the code isn't it more efficient to clean-up all WHSInventReserve and InventSum records on SQL, where all records are 0?

Dialog drop drown using dynamic values

$
0
0

Hi,

I want a dialog drop down with dynamic values that come as an argument values from a form.

My idea is to push the values to a container and show the container values as a drop-down in dialog field.

Can somebody help me in adding a container to a dialog field and display the values in a container for selection? Please, let me know if there is a better alternate approach?

Thanks in advance!!

Regards,

Pradeep

WAX Replenishment

$
0
0

hi all

our scenario for replenishment that we are having issue with is:

We have fixed locations in Zone 1 (pick face) and Zone 2 (storage above pick face locations), Zone 3 is not fixed just bulk storage

Zone 3 is used to Replen zone 1 and Zone 2, Zone 2 is buffer for pick face hence used to replen zone 1 

problem we are having is when we run min max  replen, replen work is being created to fill empty locations in zone 2 from other zone 2 stock - which we would never do. 

is there any way to specify that replen should only be created for a specific end destination fixed location eg location profile Pick face? not just any fixed location 

any ideas welcome!

mal

DimensionStorage object not initialized with while select ?

$
0
0

hello..

i need to insert dimension segment (Description) in new field named dimension name

it's a new field in LedgerJournalTrans table

so in first

 

i put the code in modified method in LedgerJournalTrans.ledgerDimension in dataSource

the result is next 

and that what i need.

only problem the old transaction 

so i create new job to update all transaction

can anyone help ?

thank you in advance.

Retail RFP File is not syncing with HQ AX

$
0
0

Hi there,

We had one Channal DB. It synced to Sync Server and Created RPF File.

But even after running P-001 job in HQ, Retail Sales Transactions are not created in AX.

Not sure, how to debug this issue. Any help?

Regards,

Hari

No assembly matching referenced module 'Directory upgrade' is found.

$
0
0

hi,

I get the following error while building my custom model. I have already updated the model parameters for my custom model

Kindly suggest.


How to show selected records from one form to another.

$
0
0

Hello all,

How to show selected records from one form to another.

Thank You

Siddhant Singh

While posting the entry getting the below error

$
0
0

Dear Experts,

Getting the screenshot Error "The ledger posting group does not have an account for sale tax direction  sales tax payable specified"

Thanks and Regards,

Shabir Ahmad

AX4 in Azure

$
0
0

HI All, We are looking to move our AX4 instance into Azure. Can you share any experiences or knowledge you may have regarding this ? Thanks

How to get purchase order charges from MarkupTrans table in x++?

$
0
0

Hii,

I am trying to get Purchase Order Landed Cost or Mis Cost that we enter during PO invoicing. It is going into MarkupTrans table. In the AOT I saw the relation between PurchLine table and MarkupTrans table, even then its not showing the records. Here is my code.

static void LandedCost_Cost(Args _args)
{
    PurchTable  purchTable;
    PurchTable  purchLine;
    MarkupTrans markupTrans;
    
    select firstOnly purchLine where purchLine.PurchId == "PO000000003";
    if(purchLine.RecId)
    {
        select * from markupTrans where markupTrans.TransTableId == purchLine.TableId && markupTrans.TransRecId == purchLine.RecId;
        
        info(strFmt("%1, %2, %3",purchLine.PurchId, purchLine.RecId, markupTrans.Value));
    }
        
    /* 
    select firstOnly purchTable where purchTable.PurchId == "PO000000003";
    if(purchTable.RecId)
    {
        select * from markupTrans where markupTrans.TransTableId == purchTable.TableId && markupTrans.TransRecId == purchTable.RecId;
        
        info(strFmt("%1, %2, %3",purchTable.PurchId, purchTable.RecId, markupTrans.Value));
    }
    */
}

Not returning values in markupTrans.Value. Even in SQL queries. Am I missing something?

Thanks,


Item Model group and Item sales tax group

$
0
0

Hello,

I have a question:

When releasing an item from the Product Master, the Item model group and Item sales tax group (Purchse and Sales) appears per default on the item.

Did you know why? and how can we disable this? is it a setup ?

Thanks in advance.

Code reason is required

$
0
0

Hi,

I want to check if the invoice number already exists on the type of Vendaccount in module : purchases> invoice journal.

I add this code in validaWrite():

invoice = ledgerJournalTrans_ds.object(fieldnum(LedgerJournalTrans,invoice)).getValue();
ledgerJournalACType = ledgerJournalTrans_ds.object(fieldnum(LedgerJournalTrans, AccountType)).getValue();

if(ledgerJournalACType==ledgerJournalACType::Vend  )
{
select ledgerJournalTrans where ledgerJournalTrans.AccountType==ledgerJournalACType && ledgerJournalTrans.Invoice==invoice;
info(strfmt("invoice %1,type %2",invoice,ledgerJournalACType));
if(ledgerJournalTrans.RecId)
{
   isValid = checkFailed(strfmt("the invoice number "+ invoice +" already exists on the type of vend account! "));
}

}

I try to add new line in invoice journal but when I save this I get error: "Code reason is required"!!

I don't know the source of error!!

Error Ledger account doesnt exist in AX 2012

$
0
0

Can anybody know what class or table mention that error in payment journal AIF service.


Configuring Validation group forms by Project Id in addition to current setup

$
0
0

I'm working with the Project/category Worker/project and Worker/category validation groups forms. The goal is to add additional ways to configure at different levels. So within the Projects tab there will be a second set of boxes. For example in the Project/Category form(ProjValTableProjCateogry in AOT) I want to be able to configure at the Project Group level. So if I wanted I could add all of a specific project group at once instead of selecting each one as it currently stands.

My issue is that I'm not totally sure how get the like projects groups to combine together. If I try to use the projGroupId from the projTable it is just listing each projects group. I'm wondering if I need to try and bring the ProjectGroup table in to tie them together? Or if there is an easier way with using the projTable since it is already a datasource within this form.

Adding Total on form to calculated field

$
0
0

I need to add a total to a form under a grid where the total of four fields will be shown.  Three of the fields are database fields so I've added code to the executeQuery method on the form datasource to get these values (using aggregate function) and populate my new total controls with them. 

But the fourth field is based on a display method on the table.  What is the best way to get the total of this field? 

Inventory Item Card

$
0
0

Can anybody tell me how to change Header fields of inventory item card report from Russian language to English?

DataEntity Extension Metadata

$
0
0

Hey,

any input on "How to get Metadata for DataEntityViewExtensions" would be appreciated.

Facing the need of evaluating AxDataEntityViewExtensions to achive a Technical Reference Report lookalike.

I need to know a work order is generated by which Intercompany demand? When you select a WO and click on 'Net Requirements' from View, it takes you to another screen and in the bottom grid you click on Overview, Intercompany Demand is visible there

$
0
0

As a developer, I need to build a quey which will return intercompany ordre number when passing WO. As a whole, I need to know originating SOs in other company for the WO. I have to build a form which will display WOs in the company and related SOs in other company for which the WOs are created and vice versa.

Viewing all 72043 articles
Browse latest View live


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