Pages

Banner 468 x 60px

 

Wednesday, January 28, 2015

Fetching Financial Dimension Value X++

2 comments
static void Fetching_Financial_Dimension_Value(Args _args)
{
    PurchTable                          _purchTable;  
    DimensionAttributeValueSetStorage   class_dimStorage;
    str                                 dimvalue;
   
    _purchTable = PurchTable::find('PO-000007');
    class_dimStorage = DimensionAttributeValueSetStorage::find(_purchTable.DefaultDimension);
   
    info(strFmt('Purchase Order PO-000007, Department : %1',  
  class_dimStorage.getDisplayValueByDimensionAttribute(DimensionAttribute::findByName('Department').RecId)));
 }


 

2 comments:

Anonymous said...

Mantap Jon

Anonymous said...

Mantap Jon!

A financial dimension value is based on the LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record AX 2012

 A financial dimension value is based on the LAND-00013 record and has been used on a  transaction. You cannot delete the LAND-00013 record ...