Search This Blog

Monday, March 24, 2014

AX2012 Financial Dimension Service classes.

Explaining some financial dimension Classes that used to validate,Build dimensions.

Validate LedgerAccount against account structure.
FinancialDimensionService class:- ValidateLedgerAccount(LedgerAccountValidationContract)

DimensionServiceProvider: This class provides multiple methods to build DimensionStorage object based on our dimension values list with different combinations ex: buildDimensionStorageAttributesAndValues(List _values, Map _dimensionSpecifiers),buildDimensionStorageForLedgerAccount( LedgerAccountContract   _ledgerAccount,    boolean                 _createForDefaultAccount = false)

DimensionValidation: this class manages the validation for dimension combinations.ex: validateByTreeForCombination(Validates the specified combination against the constraint trees and also validates the ledger    account rules).validateByTree(dimcombinationRecid).

1 comment:

  1. Hi Sir ,
    I have doubt Please guide me ...
    i am creating new form (Firm order). this form is duplicate of SalesOrder form.

    In Sale order form i have created a check box

    but firm order form is only of view type .the salesorder form record appear in firm order form.

    the record will appear in two condition.

    1)first - SalesOrder Reference number is empty at a time in salesLine i select a check box is checked .

    Now in firm order the records without reference number and checkbox that is selected those records will appear.


    2)Second -- SalesTable form SO is created but Reference number is empty and salesLine item is not created .but this Record is should not appear in firm order form. But it appears for me . how to filter it .

    am using Query in executed query method query is below

    This Query write in SalesTableDataSource in firm order form

    ( queryBuildRange = this.query().dataSourceNo(1).addRange(fieldnum(salesTable,PurchOrderFormNum));

    queryBuildRange.value(sysQuery::valueEmptyString()); )

    This Query is written in SalesLineDataSource in firm order form

    queryBuildRange = this.query().dataSourceNo(1).addRange(fieldnum(SalesLine, check));


    This query is satisfy first condition.

    how to write second condition code


Thanks for visiting my blog,
I will reply for your comment within 48 hours.