最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

D365 财务和运营 X++ 中的客户 / 供应商 财务维度 Customer / Vendor ledger Dimension D365 for finance and operations X++

网络文摘 alirazazaidi 232浏览 0评论
In D365 for finance things are little bit change and much more organized. In Dynamics Ax 2012, which consider as classic AX. We get ledger dimension  with DimensionStorage class
ledgerDim = DimensionStorage::getDynamicAccount( ‘US-001’, LedgerJournalACType::Cust);//Account offsetLedgerDim = DimensionStorage::getDynamicAccount( ‘USMF OPER’, LedgerJournalACType::Bank);//OffsetAccount
  In D365 this Microsoft provide LedgerDynamicAccountHelper. Code snippet is here
  ledgerDim = LedgerDynamicAccountHelper: :getDynamicAccountFromAccountNumber(‘US-1001’, LedgerJournalACType::Cust);   offsetLedgerDim = LedgerDynamicAccountHelper: :getDynamicAccountFromAccountNumber( ‘USMF OPER’, LedgerJournalACType::Bank);
    Reference http://daxingwitheshant.blogspot.com/2015/04/creating-payment-journal-using-x-in-ax.html
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址