gpt4 book ai didi

axapta - 找不到定义的变量

转载 作者:行者123 更新时间:2023-12-04 06:48:49 24 4
gpt4 key购买 nike

我真的是 Dynamix AX 2009 的新手。

我正在浏览 Microsoft 的演示图像,以更好地了解该应用程序的工作原理。我检查了一个名为 updateRFIDTagging() 的随机方法以 SalesQuotationTable 的形式

现在这最后一段代码真的让我感到困惑:

salesQuotationLine_ds.object(fieldnum(SalesQuotationLine, ItemTagging)).skip          (!itemTagging);
salesQuotationLine_ds.object(fieldnum(SalesQuotationLine, CaseTagging)).allowEdit ( caseTagging);
salesQuotationLine_ds.object(fieldnum(SalesQuotationLine, CaseTagging)).skip (!caseTagging);
salesQuotationLine_ds.object(fieldnum(SalesQuotationLine, PalletTagging)).allowEdit ( palletTagging);
salesQuotationLine_ds.object(fieldnum(SalesQuotationLine, PalletTagging)).skip

我找不到声明“salesQuotationLine_ds”的位置(并且代码编译得很好!)。所以我的问题是:
  • 它在哪里声明?
  • 是否有快捷方式/菜单项可用于转到声明?
  • 最佳答案

    变量 x_ds为每个 x 自动定义数据源。还有一个自动声明的变量 x_q这是数据源查询。

    引用:http://msdn.microsoft.com/en-us/library/aa629025.aspx (在备注部分)。

    一个简单的(但不是防弹的)方法去声明一个变量:

    http://www.axaptapedia.com/AxGoToDeclaration

    关于axapta - 找不到定义的变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3417348/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com