Pages

Banner 468 x 60px

 

Wednesday, February 21, 2018

RELATION BETWEEN LEDGERDIMENSION AND DIMENSIONATTRIBUTEVALUECOMBINATION AX 2012 USING SQL :

0 comments
RELATION BETWEEN LEDGERDIMENSION AND DIMENSIONATTRIBUTEVALUECOMBINATION AX 2012 USING SQL : SELECT  A.JOURNALID,C.[DESCRIPTION],               A.VOUCHER,               A.ITEMID,               A.TRANSDATE,               A.INVENTONHAND ,A.QTY,              ...
Read more...

FormCtrl using x++ :

0 comments
FormCtrl using x++ : void clicked() {     ABUTallyHeader  _abutallyheader;     ABUTallyLine    _abutallyline;     super();     while select _abutallyheader where     _abutallyheader.RefRecId == WMSOrderTrans.RecId     {         select count(RecId), sum(Qty) from _abutallyline where _abutallyline.RefRecIdRouteLine == _abutallyheader.recid;         WMSOrderTrans.qty      ...
Read more...

Creating Financial Dimension in General Journals in AX 2012 in X++

0 comments
Creating Financial Dimension in General Journals in AX 2012 in X++ : AxLedgerJournalTable header = new AxLedgerJournalTable(); AxLedgerJournalTrans trans = new AxLedgerJournalTrans(); container ledgerDimensions, offsetDimensions; header.parmJournalName("GenJrn"); header.save(); trans.parmAccountType(LedgerJournalACType::Ledger); trans.parmJournalNum(header.ledgerJournalTable().JournalNum); ledgerDimensions = ["131100-USA","131100", 1, "COUNTRY","USA"]; trans.parmLedgerDimension(AxdDimensionUtil::getLedgerAccountId(ledgerDimensions)); trans.parmAmountCurDebit(230); offsetDimensions...
Read more...

Thursday, February 8, 2018

Update Default Financial Dimension in AX 2012 using X++

0 comments
Update Default Financial Dimension in AX 2012 using X++  static void ABUDefaultFinancialDim_AP(Args _args) {     DimensionAttributeValue             dimAttrBUValue,dimAtrrCCValue,dimAtrrDepValue,dimAttrIGValue,dimAtrrProjValue;     DimensionAttribute                  dimAttrBU,dimAtrrCC,dimAtrrDep,dimAttrIG,dimAtrrProj;     DimensionAttributeValueSetStorage   davss;     RecId                               defaultDimension;     AssetBook                           Assetbook;    ...
Read more...

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

  SOLUTION delete in table DimensionAttributeLevelValue base on Bank Account  :  and Delete the Bank Account FINISH