English 中文(简体)
What is the meaning/use of #geplant in an assignment?
原标题:

I m just starting with X++ (Java background) and I found a code like

#XYZBatchScheduling
;
...
order.Status = #geplant;

order is a record to a table with a Status column.

My question: what is the meaning of #USRBatchScheduling and #geplant ("geplant" is "planned" in german) and eventually where to find it s definition.
I suppose it is some kind of constant but was unable to find # in the X++ reference (keywords).

最佳回答

#XYZBatchScheduling is a Macro library. Look in the AOT under Macros for XYZBatchScheduling.

#geplant is a Macro, it is probably defined in the XYZBatchScheduling macro library, but it could be defined in several other places. It could be defined in the class declaration of the class the method is in, or if the class is a derived class, in the class declaration of any of the base classes. Look for a line that looks like:

#define.geplant(42)
问题回答

暂无回答




相关问题
Const correctness in C++ operator overloading returns

I m a little confused as to why I ve been told to return const foo from a binary operator in c++ instead of just foo. I ve been reading Bruce Eckel s "Thinking in C++", and in the chapter on operator ...

Member assignment in a const function

I have a class member myMember that is a myType pointer. I want to assign this member in a function that is declared as const. I m doing as follows: void func() const { ... const_cast<...

C++ passing const string references in methods?

I m trying to initialize a private variable of my Class passing a const string &aString to it as parameter. Here s my method: void Image::initWithTextureFile(const std::string &inTextureName)...

PHP Variable Scope

Is there a way to declare a variable so it is available in all functions. Basically I want to call: Global $varName; automatically for every function. And no, I can t use a constant. I don t think ...

Haskell minimum/maximum Double Constant

Is there any way in Haskell to get the constant that is the largest and smallest possible positive rational number greater than zero that can be represented by doubles?

Constants in MATLAB

I ve come into ownership of a bunch of MATLAB code and have noticed a bunch of "magic numbers" scattered about the code. Typically, I like to make those constants in languages like C, Ruby, PHP, etc. ...

Constants or a register class?

I ve come across a Registry Class and I m wondering whether to bother with this or just go constants, or are there separate uses for site-wide global variables such as database connection information, ...

Is there a runtime benefit to using const local variables?

Outside of the ensuring that they cannot be changed (to the tune of a compiler error), does the JIT make any optimisations for const locals? Eg. public static int Main(string[] args) { const int ...

热门标签