Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EcoResCategory table stores all of the available categories.
Configuration Key: LogisticsBasic
Methods
Method | Description | |
---|---|---|
![]() |
addToHierarchy | Adds a category node to the hierarchy that is specified in the CategoryHierarchy field |
![]() |
addToProcurementCatalogs | Adds a corresponding display category node in all procurement catalogs as a new node is added to the procurement category hierarchy. |
![]() |
aosValidateDelete | Validates on the server that the specified record can be deleted from a table. (Inherited from xRecord.) |
![]() |
aosValidateInsert | Validates on the server that the specified record can be inserted. (Inherited from xRecord.) |
![]() |
aosValidateRead | Validates on the server that the specified record can be read. (Inherited from xRecord.) |
![]() |
aosValidateUpdate | Validates on the server that the specified record can be updated. (Inherited from xRecord.) |
![]() |
buf2con | Packs the table buffers of an xRecord instance into an X++ container. (Inherited from xRecord.) |
![]() |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
![]() |
canSubmitToWorkflow | Indicates whether submission to workflow is possible. (Inherited from xRecord.) |
![]() |
caption | Gets and sets the caption property of a table. (Inherited from xRecord.) |
![]() |
checkDefaultProjectGlobalCategory | Validates the value of the project category. |
![]() |
checkInvalidFieldAccess | Gets and sets invalid field access. (Inherited from xRecord.) |
![]() |
checkRecord | Gets and sets the property that indicates whether to check mandatory fields. (Inherited from xRecord.) |
![]() |
checkRestrictedDeleteActions | Gets and sets the property that indicates whether a record can be deleted. (Inherited from xRecord.) |
![]() |
clear | Removes all rows from the table buffer. (Inherited from xRecord.) |
![]() |
company | Gets and sets the property that indicates a legal entity for the record. (Inherited from xRecord.) |
![]() |
con2buf | Unpacks a container into the table buffers. (Inherited from xRecord.) |
![]() |
concurrencyModel | Gets and sets the default concurrency model to use to update records. (Inherited from xRecord.) |
![]() |
context | Gets and sets the context property. (Inherited from xRecord.) |
![]() |
data | Retrieves a row from the table. (Inherited from xRecord.) |
![]() |
dataSource | Retrieves the data source of the table. (Inherited from xRecord.) |
![]() |
defaultField | Populates default values in a field in the table. (Inherited from xRecord.) |
![]() |
defaultRow | Populates default values in fields in the table in the non-interactive case. (Inherited from xRecord.) |
![]() |
delete | Deletes the current record from the database. |
![]() |
deleteSubTree | Deletes the currently selected Category subtree. |
![]() |
description | |
![]() |
disableCache | Gets and sets the property that indicates whether caching is disabled. (Inherited from xRecord.) |
![]() |
dispose | Releases resources that are used by the xRecord object. (Inherited from xRecord.) |
![]() |
doClear | Removes all rows from the table buffer and bypasses any additional logic in the clear method of the table. (Inherited from xRecord.) |
![]() |
doDelete | Deletes the current record from the table and bypasses any additional logic in the delete method of the table. (Inherited from xRecord.) |
![]() |
doInsert | Inserts the record into the table and bypasses any additional logic in the insert method of the table. (Inherited from xRecord.) |
![]() |
doUpdate | Updates the current record and bypasses any additional logic in the update method of the table. (Inherited from xRecord.) |
![]() |
doValidateDelete | Performs the action to validate that a record can be deleted. (Inherited from xRecord.) |
![]() |
equal | Determines whether the specified object is equal to the current one. (Inherited from xRecord.) |
![]() |
existByNameInCategory | Indicates whether a record with the specified name is located in the EcoResCategory table. |
![]() |
fieldAccessRight | Returns the field access right. (Inherited from xRecord.) |
![]() |
fieldBufferAccessRight | Returns the field access right for the current record. (Inherited from xRecord.) |
![]() |
fieldState | Sets or returns the state of a field in the table buffer. (Inherited from xRecord.) |
![]() |
getAllowRedefault | Returns the list of fields that are allowed to re-default. (Inherited from xRecord.) |
![]() |
getAscendants | Retrieves all the ascendant categories of this given category. |
![]() |
getChildCount | Retrieves the children count for the specified record in the ecoResCategory table. |
![]() |
getChildren | Retrieves all the child categories of this given category. |
![]() |
getDefaultingDependencies | Returns the container that holds defaulting dependencies. (Inherited from xRecord.) |
![]() |
getDescendants | Retrieves all the descendant categories of this given category. |
![]() |
getExtension | Returns the table extension. (Inherited from xRecord.) |
![]() |
getFieldValue | Gets the value of the specified field from a table buffer. (Inherited from xRecord.) |
![]() |
getInstanceRelationType | Returns the table name that corresponds to the InstanceRelationType ID. (Inherited from xRecord.) |
![]() |
getLeafNodes | Retrieves all the leaf categories under this given category. |
![]() |
getLevel | Retrieves the level of this category in the category hierarchy. |
![]() |
getLowestLevel | Retrieves the lowest level node of this category subtree. |
![]() |
getParent | Retrieves the parent category for this category. |
![]() |
getPhysicalTableName | Return the physical table name, which, in the case of the SQL Temp DB table, is the table instance name. (Inherited from xRecord.) |
![]() |
getPresenceFieldData | Retrieves the PresenceInfo value from the specified field. (Inherited from xRecord.) |
![]() |
getSQLStatement | Gets the SQL statement that is used to return records from the database. (Inherited from xRecord.) |
![]() |
getTableInInstanceHierarchy | (Inherited from xRecord.) |
![]() |
getTableType | Indicates the type of the table. (Inherited from xRecord.) |
![]() |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
![]() |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
![]() |
hasRelatedTable | Indicates whether a foreign key constraint buffer is linked with the table. (Inherited from xRecord.) |
![]() |
helpField | Retrieves a string that contains the Help text for the specified field. (Inherited from xRecord.) |
![]() |
initFromParent | Initializes a child category record of the EcoResCategory table, based on the specified parent category. |
![]() |
initValue | Initializes a record of the EcoResCategory table. |
![]() |
inputStatus | Sets or returns the current input status of the table buffer. (Inherited from xRecord.) |
![]() |
insert | Inserts the record into the table. (Inherited from xRecord.) |
![]() |
interactiveContext | Sets or returns the current interactive context of the table buffer. (Inherited from xRecord.) |
![]() |
isFieldDataRetrieved | Checks whether the data of the given field has been retrieved. (Inherited from xRecord.) |
![]() |
isFieldSet | Checks whether a field has a Set or Defaulted state. (Inherited from xRecord.) |
![]() |
isFormDataSource | Indicates whether the data source is a form. (Inherited from xRecord.) |
![]() |
isLeaf | Determines whether the specified category is a leaf node of the hierarchy. |
![]() |
isNewRecord | Returns true if the record is a new record that hasn't been persisted yet. (Inherited from xRecord.) |
![]() |
isPartOfUOWSaveChanges | (Inherited from xRecord.) |
![]() |
isRoot | Determines whether the specified category is the root or very first category of the hierarchy. |
![]() |
isTempDb | Indicates whether the type of the table is SQL TempDB. (Inherited from xRecord.) |
![]() |
isTmp | Indicates whether this is a temporary table. (Inherited from xRecord.) |
![]() |
joinChild | Finds the join child of the current record. (Inherited from xRecord.) |
![]() |
joinParent | Finds the join parent of the current record. (Inherited from xRecord.) |
![]() |
linkPhysicalTableInstance | Checks whether there is a link for the physical table instance for the record. (Inherited from xRecord.) |
![]() |
merge | Merges the current table with the specified table. (Inherited from xRecord.) |
![]() |
modifiedField | Modifies the specified field to the original. (Inherited from xRecord.) |
![]() |
modifiedFieldValue | Modifies the specified field to the original value. (Inherited from xRecord.) |
![]() |
new | Initializes a new instance of the Object class. (Inherited from Object.) |
![]() |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
![]() |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
![]() |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
![]() |
orig | Retrieves the original values of the current record. (Inherited from xRecord.) |
![]() |
overwriteSystemfields | Gets and sets the property that indicates whether system fields can be overwritten. (Inherited from xRecord.) |
![]() |
owner | Returns the instance that owns the object. (Inherited from Object.) |
![]() |
postCacheLoad | Is executed after data is hit from the cache for the select operation on the table. (Inherited from xRecord.) |
![]() |
postLoad | Is executed after a record is read. (Inherited from xRecord.) |
![]() |
preRemoting | Is executed before a cross-tier call is about to be executed for the table that would pack its state to the other tier. (Inherited from xRecord.) |
![]() |
queryTimedOut | Indicates whether the query exceeded the time limit for execution. (Inherited from xRecord.) |
![]() |
queryTimeout | Gets and sets the property that indicates the time limit for the execution of a query. (Inherited from xRecord.) |
![]() |
readCommittedLock | (Inherited from xRecord.) |
![]() |
readPast | Gets and sets the property that indicates whether to skip rows that are locked by other processes when a record is read. (Inherited from xRecord.) |
![]() |
recordLevelSecurity | Gets and sets the property that indicates whether to apply security on a record level. (Inherited from xRecord.) |
![]() |
relatedTable | Sets or returns the related buffer of a link of a table buffer. (Inherited from xRecord.) |
![]() |
renamePrimaryKey | Renames the foreign keys in other tables according to the change of the corresponding primary key value in this table. (Inherited from xRecord.) |
![]() |
reread | Rereads the record from the table. (Inherited from xRecord.) |
![]() |
RowCount | Retrieves the number of rows in the table. (Inherited from xRecord.) |
![]() |
selectForUpdate | Gets and sets the property that indicates whether to select records for update when they are read. (Inherited from xRecord.) |
![]() |
selectLocked | Indicates whether to select locked records. (Inherited from xRecord.) |
![]() |
selectRefRecord | Selects the record by referenced field ID. (Inherited from xRecord.) |
![]() |
selectWithRepeatableRead | Gets and sets the property that indicates whether repeatable read is enabled. (Inherited from xRecord.) |
![]() |
setCategoryStatus | Sets the CategoryStatus value. |
![]() |
setConnection | Sets the user connection for this table. (Inherited from xRecord.) |
![]() |
setCrossPartition | Sets or resets cross-partitioning for the table. (Inherited from xRecord.) |
![]() |
setFieldValue | Sets the field value in the record buffer. (Inherited from xRecord.) |
![]() |
setRoot | Adds a new category root node to a hierarchy. |
![]() |
setSQLTracing | Enables or disables SQL tracing mode. (Inherited from xRecord.) |
![]() |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
![]() |
setTmp | Sets the table so that it is not persisted to the database. (Inherited from xRecord.) |
![]() |
setTmpData | Sets the contents of the temporary table to the specified data. (Inherited from xRecord.) |
![]() |
setXDSContext | Sets new XDS context. (Inherited from xRecord.) |
![]() |
skipAosValidation | Gets and sets the property that indicates whether to skip validation of Microsoft Dynamics AX Application Object Server (AOS). (Inherited from xRecord.) |
![]() |
skipDatabaseLog | Gets and sets the property that indicates whether to skip database log requests. (Inherited from xRecord.) |
![]() |
skipDataMethods | Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.) |
![]() |
skipDeleteActions | Gets and sets the property that indicates whether to skip delete actions on the table. (Inherited from xRecord.) |
![]() |
skipDeleteMethod | Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.) |
![]() |
skipEvents | Provides an option to turn off calling the Application.event* methods for the lifetime of an xRecord object. (Inherited from xRecord.) |
![]() |
skipPostLoad | Gets and sets the property that indicates whether to skip executing the xRecord.postLoad method on the table. (Inherited from xRecord.) |
![]() |
skipTTSCheck | Gets and sets the property that indicates whether to skip the check to determine whether the record is selected for update. (Inherited from xRecord.) |
![]() |
suppressWarnings | Gets and sets the property that indicates whether to suppress warnings for this pointer. (Inherited from xRecord.) |
![]() |
tableAccessRight | Returns the table access right. (Inherited from xRecord.) |
![]() |
tableBufferAccessRight | Returns the table access right for the current record. (Inherited from xRecord.) |
![]() |
takeOwnershipOfTempDBTable | (Inherited from xRecord.) |
![]() |
toolTipField | Retrieves the HelpText value for the specified field. (Inherited from xRecord.) |
![]() |
toolTipRecord | Retrieves the ToolTip value for the current record. (Inherited from xRecord.) |
![]() |
toString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
ttsabort | Aborts a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.) |
![]() |
ttsbegin | Starts a transaction that can be either committed by the ttscommit method or aborted by the ttsabort method. (Inherited from xRecord.) |
![]() |
ttscommit | Commits a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.) |
![]() |
update | Overrides the update method to check whether the ParentCategory or IsVendorsInherited fields have changed and performs the necessary insert or delete actions. |
![]() |
updateProcurementCatalogs | Updates the name of the corresponding display category node in all of the procurement catalogs if the name matches the old name of the procurement category hierarchy node. |
![]() |
usageCount | Retrieves the current number of references (the value of the reference counter) that the object has. (Inherited from xRecord.) |
![]() |
useExistingTempDBTable | (Inherited from xRecord.) |
![]() |
validateDelete | Determines whether the current record is valid and ready to be deleted from the database. |
![]() |
validateDeleteSubTree | |
![]() |
validateField | Validates a value for a field. |
![]() |
validateFieldValue | (Inherited from xRecord.) |
![]() |
validateWrite | Determines whether the current record is valid and ready to be written to the database. |
![]() |
validTimeStateUpdateMode | Sets a valid time state update mode on the cursor. (Inherited from xRecord.) |
![]() |
wait | Pauses a process. (Inherited from Object.) |
![]() |
wasCached | Specifies the location from which the data was retrieved. (Inherited from xRecord.) |
![]() |
write | Updates a record if it exists; otherwise, inserts a record. (Inherited from xRecord.) |
![]() |
xml | Retrieves an XML string that represents the current object. (Inherited from xRecord.) |
![]() ![]() |
::checkCategoryRole | Determines whether the specified category is part of a hierarchy with the specified role. |
![]() ![]() |
::checkExist | Determines whether the specified category is located in the EcoResCategory table. |
![]() ![]() |
::createHierarchyRoot | Creates or updates the root category node for a given category hierarchy. |
![]() ![]() |
::exist | Determines whether the specified category is located in the EcoResCategory table. |
![]() ![]() |
::existByName | Determines whether the specified category name is located in the specified hierarchy in the EcoResCategory table. |
![]() ![]() |
::find | Finds the specified category in the EcoResCategory table. |
![]() ![]() |
::findByName | Finds the specified category hierarchy name in the EcoResCategory table. |
![]() ![]() |
::findNonExistByString | Finds the first String value so that in the table that is specified by the value of the _tableId table, there is no existing record with the _matchingFieldId field's value matching the specified value of the _matchingFieldValue parameter, and the _strFieldId field's value that matches the String value found. |
![]() ![]() |
::findNonExistNameInHierarchy | Finds a name that does not match any existing record in the EcoResCategory table of the given hierarchy. |
![]() ![]() |
::getAllNodes | Retrieves all the categories of the specified category hierarchy. |
![]() ![]() |
::getNearestAncestorWithNoInheritance | Queries the database to find the nearest ancestor, by tree level, that does not have the IsCategoryAttributesInherited field value set to yes. |
![]() ![]() |
::getProcCategoryAttributes | Gets all the category and product attributes of the specified category. |
![]() ![]() |
::getProcCategoryAvailability | Retrieves the availability of the specified category in the specified buying legal entity and receiving operating unit. |
![]() ![]() |
::getProcCategoryAvailableChildren | Retrieves all the child categories of the specified category that are available for purchase in a specified buying legal entity and receiving operating unit. |
![]() ![]() |
::getProcCategoryCommodityCodes | Retrieves the commodity codes that are associated with the specified category. |
![]() ![]() |
::getProcCategoryDeductionRequirement | Retrieves the deduction requirement that is associated with the specified category for the specified legal entity and operating unit combination. |
![]() ![]() |
::getProcCategoryPage | Retrieves the ProcCategoryPageTranslation record that is associated with the specified category for the specified legal entity and operating unit combination. |
![]() ![]() |
::getProcCategoryPolicyParameter | Retrieves the specified ProcCategoryPolicyParameter record. |
![]() ![]() |
::getProcCategoryQuestionnaires | Gets all the questionnaires that belong to a specific category. |
![]() ![]() |
::getProcCategoryReceivingRequirement | Retrieves the receiving requirement associated with the specified category for the specified legal entity and operating unit combination. |
![]() ![]() |
::getProcCategoryRecExpOnGoodsReceipt | Retrieves the deduction requirement associated with the specified category for the specified legal entity and operating unit combination. |
![]() ![]() |
::getProcCategoryRules | Retrieves all the rule IDs in a table. |
![]() ![]() |
::getProcurementCategoryItemTaxGroup | Retrieves the item tax group that is associated with the specified category and for the specified organization. |
![]() ![]() |
::getProcurementCategoryMatchingPolicy | Retrieves the deduction requirement associated with the specified category for the specified legal entity and operating unit combination. |
![]() ![]() |
::getRoot | Retrieves the root or very first category of the hierarchy. |
![]() ![]() |
::isDescendant | Determines whether the specified category is a descendant node of the given category. |
![]() ![]() |
::isTangible | Determines whether the specified category is tangible or not. |
![]() ![]() |
::lookupCategoryForProcurement | Creates and displays a lookup from which the user can select a Category ID from a specified Purchase agreement. |
![]() ![]() |
::lookupCategoryHierarchy | Creates and displays a lookup from which the user can select a category ID from a specified category hierarchy. |
![]() ![]() |
::lookupCategoryHierarchyRole | Creates and displays a lookup from which the user can select a category ID from a specified category hierarchy role. |
![]() ![]() |
::lookupDefaultProjectGlobalCategory | Provides a lookup functionality for a project category. |
![]() ![]() |
::process | |
![]() ![]() |
::rebuildNestedSetTree | Calculates the value of the NestedSetRight and NestedSetLeft fields by using information from the ParentCategory field. |
![]() ![]() |
::resolveCategoryHierarchy | Creates and displays a lookup from which the user can select a category ID from a specified category hierarchy. |
![]() ![]() |
::resolveCategoryHierarchyRole | Resolves a reference to a category name and finds a unique match or displays a lookup from which the user can select a category ID from a specified category hierarchy role. |
![]() ![]() |
::resolveDefaultProjectGlobalCategory | Returns a record in the SharedCategory table that is referenced in the project category's form reference control. |
![]() ![]() |
::setCategoryRangeBasedOnInheritance | Adds ranges based on the complete inheritance of the specified category. |
![]() ![]() |
::txtNotExist | Gets the message to use when a specific record in the EcoResCategory table does not exist. |
Top
Fields
Field | Type | Configuration key | Description |
---|---|---|---|
CategoryHierarchy | Extended Data Type: EcoResCategoryHierarchyId Type: Int64 |
LogisticsBasic | Category hierarchy name |
ChangeStatus | Enumeration: EcoResCategoryChangeStatus |
LogisticsBasic | Indicates whether the category has been imported |
Code | Extended Data Type: EcoResCategoryCommodityCode Type: String |
LogisticsBasic | Category commodity code |
createdBy | Extended Data Type: CreatedBy Type: String |
None | |
createdDateTime | Extended Data Type: CreatedDateTime Type: UtcDateTime |
None | |
DefaultProjectGlobalCategory | Extended Data Type: RefRecId Type: Int64 |
ProjBasic | Reference field in a different table |
DefaultThreshold_PSN | Extended Data Type: CategoryThreshold_PSN Type: Real |
PurchFrenchRegulatory_PSN | Enter the amount to use for new threshold keys for the selected category and its subcategories (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS), Microsoft Dynamics AX 2012 Feature Pack (SYS), Microsoft Dynamics AX 2012 (FPK)) |
InstanceRelationType | Extended Data Type: RelationType Type: Int64 |
None | Immediate derived table in table inheritance. |
IsActive | Extended Data Type: NoYesId Type: Enum |
None | Specify whether the category hierarchy is active |
IsCategoryAttributesInherited | Extended Data Type: NoYesId Type: Enum |
None | Inherit category attributes from parent category |
IsTangible | Extended Data Type: NoYesId Type: Enum |
None | Specify if the category contains only physical goods |
Level | Extended Data Type: EcoResCategoryLevel Type: Int64 |
LogisticsBasic | Level of the category node in the category hierarchy tree. |
modifiedBy | Extended Data Type: ModifiedBy Type: String |
None | |
modifiedDateTime | Extended Data Type: ModifiedDateTime Type: UtcDateTime |
None | |
Name | Extended Data Type: EcoResCategoryName Type: String |
LogisticsBasic | Category name |
NestedSetLeft | Extended Data Type: EcoResCategoryNestedSetLeft Type: Int64 |
LogisticsBasic | Nested set left value of the category node. |
NestedSetRight | Extended Data Type: EcoResCategoryNestedSetRight Type: Int64 |
LogisticsBasic | Nested set right value of the category node. |
ParentCategory | Extended Data Type: EcoResCategoryId Type: Int64 |
LogisticsBasic | Category identifier |
Partition | Extended Data Type: Partition Type: Int64 |
None | (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
PKWiUCode | Extended Data Type: PlPKWiUCode Type: String |
None | PKWiU code. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
RecId | Extended Data Type: RecId Type: Int64 |
None | |
recVersion | Extended Data Type: RecVersion Type: Integer |
None | |
relationType | Extended Data Type: RelationType Type: Int64 |
None |
Top
Field Groups
Field Group | Fields |
---|---|
AutoIdentification | |
AutoLookup | |
FilterGroup | |
AutoReport | |
CategoryTree | |
DefaultThreshold_PSN | |
NameDescription | |
PKWiUCode | |
Project |
Top
Relations
Relation | Table | Lines |
---|---|---|
DefaultProjectGlobalCategory | SharedCategory | |
EcoResCategoryHierarchy | EcoResCategoryHierarchy | |
ParentEcoResCategory | EcoResCategory | |
Partition | Partitions |
Top
Indexes
Index | AllowDuplicates | Enabled | Fields |
---|---|---|---|
CommodityCode | Yes | Yes | |
LevelIdx | Yes | Yes | |
ModifiedDateTimeIdx | Yes | Yes | |
NameIdx | No | Yes | |
NestedSetLeftIdx | Yes | Yes | |
NestedSetRightIdx | Yes | Yes | |
ParentEcoResCategoryIdx | Yes | Yes | |
RecId | No | Yes |
Top
Inheritance Hierarchy
xRecord Class
Common Table
EcoResCategory Table
PCClass Table