CX_ITEM 
Class hierarchy
Description: (Business Pattern - CX_ITEM, Business Pattern - ACCOUNTS)
This class represents a thing, a part, thus - in contrast to the conceptual objects of the type CX_CLEARING_OBJECT - something "tangible". CX_ITEM objects describe parts or articles as they are real. They can basically be described by text and define only the basic unit of measure and other sizes that may be required. These specifications are then valid for the entire company, possibly even for all outsiders (therefore also derived from CX_REAL_OBJECT).
In CX_ITEM (as in CX_ITEM_CAST) the "extension" by a characteristic object of the type CX_ATTRIBUTE_SET is permanently implemented. Such an extension is also possible for CX_STRUCTURE objects, so that you can organise characteristic strings.
The different views - e.g. of the sales or purchasing departments, but also of various affiliated companies - are specified and overwritten by means of CX_ITEM_CAST role objects (possibly in connection with an OVERWRITING_REF).
Code example:
| Function | MA* | Parameters | Return | Brief description |
|---|---|---|---|---|
| AccountOwner | STRING | INTEGER | Is the variant part an account owner for the specified class? | |
| AccountOwnerMA | * | STRING | Read/write access to the account owner property | |
| AccountOwnerPhantom 237305 | STRING | INTEGER | Is the variant part an account owner for its phantom subparts for the specified class? | |
| AccountOwnerPhantomMA 237305 | * | STRING | Read/write access to the account owner property for phantom sub-parts | |
| attributes | INTEGER | OBJECT | Attribute with value n from the attributeSet | |
| AttributesByIndex | INTEGER | OBJECT | n. Attribute | |
| AttributeID | STRING | Names of all attributes of the design | ||
| AttributesUnplugged | COLLECTION | Find unplugged attributes | ||
| BillOfMaterial | CX_BILL_OF_MATERIAL | Returns allocation "bill of material" from the assigned product | ||
| ClearingObject | STRING, INTEGER | CX_BUSINESS_OBJECT | First assignment to settlement objects | |
| ForceMonitor | STRING | CX_ACCOUNT | Read account of the specified class from the account owner, or create it there. | |
| JobSchedule | CX_JOB_SCHEDULE | Returns allocation "Job schedule" from the assigned product | ||
| Monitor | STRING | CX_ACCOUNT | Read account of the specified class from the account owner | |
| PluggedID | STRING | "uniqueID" and names of all attributes | ||
| Product Allocation | STRING, INTEGER | CX_ALLOCATION | Returns allocation of the desired type from the assigned product | |
| SanityCheck | INTEGER | Check for consistency of the object | ||
| TestDataAccess | STRING, STRING | |||
| TopItem | CX_ITEM | Top item(pattern) in the parts hierarchy | ||
| UniqueID | STRING | Unique identifier for the part | ||
| AllocatedObject | STRING, INTEGER | OBJECT | Returns allocated object of the desired type | |
| AllocatedObjectMA | * | STRING, INTEGER | Access to allocated objects of a desired type | |
| Allocation | STRING, INTEGER | OBJECT | Returns allocation of the desired type | |
| AllocationMA | * | STRING, INTEGER | Access to allocation of the desired type | |
| Allocations | COLLECTION | Allocations not related to this object | ||
| Allocators | COLLECTION | Allocations relating to this object | ||
| Asset | OBJECT | Delivers billing object "fixed asset" (CX_ASSET) | ||
| CastedStructureByCondition | STRING | OBJECT | ||
| ClassFilter | STRING, INTEGER | OBJECT | This object, if it corresponds to a certain class | |
| ClearingObjectMA | * | STRING, INTEGER | Assignments to settlement objects | |
| ConditionedFilter | STRING | OBJECT | ||
| ConditionedFilter2 | OBJECT | OBJECT | ||
| ConnectStateStructure | OBJECT, STRING | Connect to the status structure | ||
| Deleted | INTEGER | Object marked as deleted? | ||
| Description | STRING | Name of this object | ||
| EvaluateTotalMonitors | STRING, INTEGER, STRING | OBJECT | ? | |
| GetDomain | INTEGER | Domain of this object | ||
| GetSiblings | COLLECTION | All siblings of this object | ||
| GetSiblings2 | COLLECTION | All siblings of this object | ||
| GetSlotEntries | VECTOR | Return of internal information about slots | ||
| GetStructure | OBJECT | OBJECT | Search for a subordinate structure that belongs to the same hierarchy | |
| InsertMonitor | OBJECT | ? | ||
| Item | OBJECT | this | ||
| ItemWeak | OBJECT | |||
| LastUpdate | OBJECT | Date of the last write access | ||
| LastUser | INTEGER | User who last had write access to the object | ||
| link | OBJECT | Add this object to the list of objects with validity | ||
| NextValidObject | OBJECT | Subsequent validity object in time | ||
| PreviousValidObject | OBJECT | Previous validity object in time | ||
| Product | OBJECT | Delivers billing object "production article" (CX_PRODUCT) | ||
| PurchaseItem | OBJECT | Delivers billing object "Order item" (CX_PURCHASE_ITEM) | ||
| ReferenceCount | INTEGER | Number of references | ||
| RemoveMonitor | OBJECT | ? | ||
| RemoveStateStructure | STRING | Find status structure by uniqueID and disconnect | ||
| RestrictedValidity | * | Area of validity restricted? | ||
| SalesItem | OBJECT | Delivers billing object "sales item" (CX_SALES_ITEM) | ||
| SetDomain | INTEGER, INTEGER | Set domain | ||
| SetStructure | OBJECT | Ensures that a structure becomes a subordinate structure | ||
| ShortName | STRING | Short name of this object | ||
| Siblings | * | Objects with validity | ||
| SpanDateValidity | * | Period of validity | ||
| StateStructure | STRING | OBJECT | Find status structure after uniqueID (STRING) (not wrapped) | |
| StateStructureWrapper | STRING | OBJECT | Find status structure by uniqueID | |
| string | INTEGER | CX_STRING | Returns the string representation of the object | |
| StructureByCondition | STRING | OBJECT | Subordinate structure with a specific condition | |
| StructureByID | STRING | OBJECT | Subordinate structure with a certain unique key | |
| StructureByIDMA | * | STRING | Subordinate structures with a certain unique key | |
| StructureByType | STRING, INTEGER | OBJECT | Subordinate structure of a certain type | |
| TotalMonitors | STRING, INTEGER, STRING | OBJECT | ? | |
| TriggeredStateStructure | STRING | OBJECT | Attempts to advance the status structure and returns the new status structure(not wrapped) | |
| TriggeredStateStructureWrapper | STRING | OBJECT | Attempts to advance the status structure and returns the new status structure(wrapped) | |
| TriggerStateStructures | Switches all status structures forward | |||
| Unlink | Remove this object from the list of objects with validity | |||
| Unlink2 | Remove this object from the list of objects with validity | |||
| UpdateReplica | ? | |||
| Valid | OBJECT | INTEGER | Check validity | |
| ValidSince | OBJECT | Start of validity period | ||
| ValidToday | INTEGER | Valid today? | ||
| ValidUntil | OBJECT | End of validity period | ||
| VerifySiblings | INTEGER | Check ring of exchange objects |
* MA = Member Access function,
grey background = inherited function
| Data field | Type | Reference class | I* | Brief description |
|---|---|---|---|---|
| attributeSet | POINTER | CX_ATTRIBUTE_SET | Attribute table (characteristics), which explains slots in more detail | |
| pattern | REL_1M | CX_ITEM_PATTERN | (Higher-level) pattern | |
| allocations | REL_MN | CX_EXPANDABLE | ? | |
| clearingObjects | REL_MN | CX_CLEARING_OBJECT | Payroll accounting areas | |
| generalTerms | REL_1M | CX_GENERAL_TERMS | ? | |
| monitors | REL_MN | CX_MONITOR | ? | |
| structures | REL_MN | CX_EXPANDABLE | Organisational Structures | |
| uniqueID | STRING | * | Unique key | |
| validity | POINTER | CX_VALIDITY | Validity period of the object |
* I = Indexable data field,
grey background = inherited data field
| Order | Description |
|---|---|
| 1 | Like CX_EXPANDABLE. |
| 2 | The own AttributeSet (data field "attributeSet") is plugged and searched. |
* I = Indexable data field,
grey background = inherited data field
| Module | Brief description |
|---|---|
| item.mod | Part master basic module |
| itemedt.mod | Part master editing module |
| itemsel.mod | Part master selection module |
| autopure.mod | Demand / stock list |
| itemsea.mod | Parts search module |
| pusaitem.mod | Article Basic module |
| pusaiedt.mod | Article editing module |
| pusaisel.mod | Article selection module |
| queryatt.mod | Enquiry about characteristics |