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

ax 2012 R3:客户财务维度复制到总账交易记录财务维度 / Customer Financial Dimensions copy to Ledger Trans Financial dimension. Dynamics ax 2012 R3

网络文摘 alirazazaidi 1663浏览 0评论
Does experience count, As ERP consultant, There are always new challenge. With 7 years core Dynamics Customization Experience, Still found new things to learn. Experience told you how to hide your fear of unknown and possibility. Today very small tip. Which i resolve with experience. We usually create Ledger General With X++ code. The code is available in many webs sites. But today I need to copy financial dimension of Customer/ Vendor/Bank/ Assets to Ledger Journal trans. I found  function in AxdDimensionUtil Class provide the functionality. The code snippet is as follow. The ledger Journal trans have to two default dimension, one for account and second for offset account. Suppose we are copy financial dimension form customer account to customer.
trans.parmAccountType(LedgerJournalACType::Cust); custTable =CustTable::find(_account); conDim= AxdDimensionUtil::getDimensionAttributeValueSetValue(custTable.DefaultDimension); trans.parmDefaultDimension(AxdDimensionUtil::getDimensionAttributeValueSetId(conDim));
 
发表我的评论
取消评论

表情

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

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

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny