Get all definitions
/fscmRestApi/resources/11.13.18.05/cycleCountDefinitions
Request
-
expand: string
When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
-
fields: string
This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.
Format: ?fields=Attribute1,Attribute2
Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2 -
finder: string
Used as a predefined finder to search the collection.
Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>
The following are the available finder names and corresponding finder variables:- PrimaryKey: Finds count definitions according to the cycle count identifier.
Finder Variables:- CycleCountHeaderId; integer; Value that uniquely identifies the cycle count.
- filterByOpenCounts: Finds the cycle count definitions that have open count sequences.
Finder Variables: - findByItem: Finds cycle count definitions according to the item number or item description.
Finder Variables:- ItemDescription; string; Description of the item.
- ItemNumber; string; Number that identifies the item.
- findByOrganizationAndCountName: Finds cycle count definitions according to the organization code or cycle count name.
Finder Variables:- bindCycleCountName; string; Name of the cycle count.
- bindOrganizationCode; string; Value that identifies the organization.
- findBySubinventory: Finds cycle count definitions according to the subinventory identifier.
Finder Variables:- Subinventory; string; Value that uniquely identifies the subinventory.
- PrimaryKey: Finds count definitions according to the cycle count identifier.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
links: string
This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>
Example:
self,canonical -
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderBy: string
This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
-
q: string
This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY
Format: ?q=expression1;expression2
You can use these queryable attributes to filter this collection resource using the q query parameter:- AbcAssigmentGroup; string; Name of the ABC group that the warehouse uses to initialize the item classification in the cycle count.
- AbcAssignmentGroupId; integer; Value that uniquely identifies the ABC group that the warehouse uses to initialize the item classification.
- ApprovalRequired; string; Value that determines whether or not the warehouse requires approval. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- ApprovalRequiredCode; integer; Value that indicates whether or not the warehouse requires approval.
- ApprovalType; string; Type of approval that the warehouse requires for an adjustment transaction. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ.
- ApprovalTypeCode; string; Value that determines the type of approval that the warehouse requires for adjustment transactions. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ.
- AutomaticallySchedule; string; Value that determines whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- AutomaticallyScheduleCode; integer; Value that indicates whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- CategorySynchronizationMode; string; Mode of item category synchronization. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
- CountByCategoryFlag; boolean; Contains one of the following values: true or false. If true, then enable the cycle count by item category. If false, then do not enable the cycle count by item category. The default value is false.
- CountZeroQuantity; string; Value that determines whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- CountZeroQuantityCode; integer; Value that indicates whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- CycleCountHeaderId; integer; Value that uniquely identifies the cycle count definition.
- CycleCountName; string; Name of the cycle count.
- Description; string; Description of the cycle count.
- DisplaySuggestedQuantity; string; Value that determines whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- DisplaySuggestedQuantityCode; integer; Value that indicates whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- EndDate; string; Date when this cycle count becomes inactive.
- Frequency; string; Value that determines the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME.
- FrequencyCode; string; Value that indicates the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME.
- LastScheduledDate; string; Date when the last cycle count was scheduled to run by the warehouse.
- ManualCountSequencePrefix; string; Prefix for a manual count sequence.
- ManualCountsAllowed; string; Value that determines whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- ManualCountsAllowedCode; integer; Value that indicates whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- MaximumDaysBeforeLate; integer; Number of days after creation before the warehouse considers a scheduled count as late.
- MaximumRecounts; integer; Maximum number of recounts that the warehouse uses on a cycle count.
- NegativeAdjustmentTolerance; number; Negative currency tolerance. If the currency falls below this tolerance, then the warehouse requires approval for the adjustment transaction.
- NegativeHitMissPercentage; number; Negative percent tolerance that the warehouse uses for hit or miss analysis.
- NegativeTolerancePercentage; number; Negative percent tolerance. If the adjustment falls below this tolerance, then the warehouse requires approval for the adjustment transaction.
- NextScheduledDate; string; Date when the next cycle count is scheduled to run by the warehouse.
- OrganizationCode; string; Value that identifies the inventory organization.
- OrganizationId; integer; Value that uniquely identifies the inventory organization.
- OrganizationName; string; Name of the inventory organization.
- PositiveAdjustmentTolerance; number; Positive currency tolerance. If the currency exceeds this tolerance, then the warehouse requires approval for the adjustment transaction.
- PositiveHitMissPercentage; number; Positive percent tolerance that the warehouse uses for hit or miss analysis.
- PositiveTolerancePercentage; number; Positive percent tolerance. If the adjustment exceeds this tolerance, then the warehouse requires approval for the adjustment transaction.
- RecordCountSerials; string; Value that determines the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- RecordCountSerialsCode; integer; Value that indicates the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- SerialCountOption; string; Value that determines whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS.
- SerialCountOptionCode; string; Value that indicates whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS.
- SerialDiscrepancyAllowed; string; Value that determines whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- SerialDiscrepancyCode; integer; Value that indicates whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- SerialNumberAdjustment; string; Value that determines whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS.
- SerialNumberAdjustmentCode; string; Value that indicates whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS.
- SerializedItemsAllowed; string; Value that determines whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- SerializedItemsAllowedCode; integer; Value that indicates whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
- StartDate; string; Date when this cycle count becomes active.
- StartingCountSequence; integer; Starting number that the warehouse uses for the count sequence for the next scheduling run of the cycle count.
- SynchronizationMode; string; Value that determines the ABC synchronization mode. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
- WorkdaySchedule; string; Workday schedule that the count references.
- WorkdayScheduleCode; integer; Value that identifies the workday schedule that the cycle count references.
-
totalResults: boolean
The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
- application/json
Default Response
-
Metadata-Context(required):
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version(required):
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
object
-
count(required): integer
The number of resource instances returned in the current range.
-
hasMore(required): boolean
Indicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
-
items: array
Items
Title:
Items
The items in the collection. -
limit(required): integer
The actual paging size used by the server.
-
links(required): array
Links
Title:
Links
The link relations associated with the resource instance. -
offset(required): integer
The offset value used in the current page.
-
totalResults: integer
The estimated row count when "?totalResults=true", otherwise the count is not included.
array
Links
object
-
AbcAssigmentGroup: string
Maximum Length:
40
Name of the ABC group that the warehouse uses to initialize the item classification in the cycle count. -
AbcAssignmentGroupId: integer
(int64)
Title:
ABC Assignment Group
Value that uniquely identifies the ABC group that the warehouse uses to initialize the item classification. -
ApprovalRequired: string
Maximum Length:
80
Value that determines whether or not the warehouse requires approval. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
ApprovalRequiredCode: integer
(int64)
Title:
Approval required
Value that indicates whether or not the warehouse requires approval. -
ApprovalType: string
Maximum Length:
80
Type of approval that the warehouse requires for an adjustment transaction. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ. -
ApprovalTypeCode: string
Title:
Approval Type
Maximum Length:30
Value that determines the type of approval that the warehouse requires for adjustment transactions. A list of accepted values is defined in the lookup type INV_APPROVAL_REQ. -
AutomaticallySchedule: string
Maximum Length:
80
Value that determines whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
AutomaticallyScheduleCode: integer
(int64)
Title:
Automatically schedule
Value that indicates whether or not the warehouse schedules the counts. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
CategorySynchronizationMode: string
Mode of item category synchronization. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
-
CategorySynchronizationModeCode: string
Abbreviation that identifies the item category synchronization mode. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
-
CountByCategoryFlag: boolean
Contains one of the following values: true or false. If true, then enable the cycle count by item category. If false, then do not enable the cycle count by item category. The default value is false.
-
countCategories: array
Categories
Title:
Categories
The Categories resource manages the item categories that the warehouse can use in the cycle count. -
countCategoryItems: array
Category Items
Title:
Category Items
The Category Items resource manages the category items that the warehouse can use in the cycle count. -
countClasses: array
Classes
Title:
Classes
The Classes resource manages the count classes that the warehouse can use in the cycle count. -
countItems: array
Items
Title:
Items
The Items resource manages the items that the warehouse can use in the cycle count. -
countSubinventories: array
Subinventories
Title:
Subinventories
The Subinventories resource manages the subinventories that the warehouse can use with the cycle count. -
CountZeroQuantity: string
Maximum Length:
80
Value that determines whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
CountZeroQuantityCode: integer
(int64)
Title:
Count Zero Quantity
Value that indicates whether the warehouse schedules a cycle count for an item when the on-hand quantity is zero. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
CycleCountHeaderId: integer
(int64)
Value that uniquely identifies the cycle count definition.
-
CycleCountName: string
Title:
Count Name
Maximum Length:30
Name of the cycle count. -
DeleteAdditionalCategoryItemsFlag: boolean
Contains one of the following values: true or false. If true, then delete the additional items during item category synchronization. If false, then do not delete the additional items during item category synchronization. This attribute does not have a default value.
-
DeleteAdditionalItemsFlag: boolean
Contains one of the following values: true or false. If true, then delete the additional items during ABC synchronization. If false, then do not delete the additional items during ABC synchronization. This attribute does not have a default value.
-
Description: string
Title:
Description
Maximum Length:240
Description of the cycle count. -
DFF: array
Flexfields for Cycle Count Definitions
Title:
Flexfields for Cycle Count Definitions
The Flexfields for Cycle Count Definitions resource manages the details about cycle counts. -
DisplaySuggestedQuantity: string
Maximum Length:
80
Value that determines whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
DisplaySuggestedQuantityCode: integer
(int64)
Title:
Display suggested quantity
Value that indicates whether or not to display the on-hand quantity for the cycle count sequence. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
EndDate: string
(date)
Title:
End Date
Date when this cycle count becomes inactive. -
Frequency: string
Maximum Length:
80
Value that determines the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME. -
FrequencyCode: string
Title:
Frequency
Maximum Length:30
Value that indicates the time interval to use between two consecutive scheduling runs for a cycle count. A list of accepted values is defined in the lookup type INV_CC_SCHED_TIME. -
LastScheduledDate: string
(date)
Title:
Last Scheduled Date
Date when the last cycle count was scheduled to run by the warehouse. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ManualCountsAllowed: string
Maximum Length:
80
Value that determines whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
ManualCountsAllowedCode: integer
(int64)
Value that indicates whether or not the warehouse can use this cycle count to enter an unscheduled count. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
-
ManualCountSequencePrefix: string
Title:
Manual Count Sequence Prefix
Maximum Length:3
Prefix for a manual count sequence. -
MaximumDaysBeforeLate: integer
(int64)
Title:
Maximum Days Before Late
Number of days after creation before the warehouse considers a scheduled count as late. -
MaximumRecounts: integer
(int64)
Title:
Maximum Recounts
Maximum number of recounts that the warehouse uses on a cycle count. -
NegativeAdjustmentTolerance: number
Title:
Negative Adjustment Value Tolerance
Negative currency tolerance. If the currency falls below this tolerance, then the warehouse requires approval for the adjustment transaction. -
NegativeHitMissPercentage: number
Title:
Negative Hit and Miss Percentage
Negative percent tolerance that the warehouse uses for hit or miss analysis. -
NegativeTolerancePercentage: number
Title:
Negative Quantity Tolerance Percentage
Negative percent tolerance. If the adjustment falls below this tolerance, then the warehouse requires approval for the adjustment transaction. -
NextScheduledDate: string
(date)
Title:
Next Scheduled Date
Date when the next cycle count is scheduled to run by the warehouse. -
OrganizationCode: string
Maximum Length:
18
Value that identifies the inventory organization. -
OrganizationId: integer
(int64)
Value that uniquely identifies the inventory organization.
-
OrganizationName: string
Maximum Length:
240
Name of the inventory organization. -
PositiveAdjustmentTolerance: number
Title:
Positive Adjustment Value Tolerance
Positive currency tolerance. If the currency exceeds this tolerance, then the warehouse requires approval for the adjustment transaction. -
PositiveHitMissPercentage: number
Positive percent tolerance that the warehouse uses for hit or miss analysis.
-
PositiveTolerancePercentage: number
Title:
Positive Quantity Tolerance Percentage
Positive percent tolerance. If the adjustment exceeds this tolerance, then the warehouse requires approval for the adjustment transaction. -
RecordCountSerials: string
Maximum Length:
80
Value that determines the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
RecordCountSerialsCode: integer
(int64)
Title:
Record count serials
Value that indicates the detail level to use when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
SerialCountOption: string
Maximum Length:
80
Value that determines whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS. -
SerialCountOptionCode: string
Title:
Serial Numbers per Count
Maximum Length:30
Default Value:2
Value that indicates whether or not to include serial items when creating the count. A list of accepted values is defined in the lookup type INV_CC_SERIAL_COUNT_OPTIONS. -
SerialDiscrepancyAllowed: string
Maximum Length:
80
Value that determines whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
SerialDiscrepancyCode: integer
(int64)
Title:
Serial discrepancy allowed
Value that indicates whether or not to allow discrepancy when counting serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
SerializedItemsAllowed: string
Maximum Length:
80
Value that determines whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
SerializedItemsAllowedCode: integer
(int64)
Value that indicates whether or not to use the cycle count to count serial items. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
-
SerialNumberAdjustment: string
Maximum Length:
80
Value that determines whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS. -
SerialNumberAdjustmentCode: string
Title:
Serial Number Adjustment
Maximum Length:30
Value that indicates whether or not to adjust for serial items. A list of accepted values is defined in the lookup type INV_CC_SERIAL_ADJ_OPTIONS. -
StartDate: string
(date)
Title:
Start Date
Date when this cycle count becomes active. -
StartingCountSequence: integer
(int64)
Title:
Starting Count Sequence
Starting number that the warehouse uses for the count sequence for the next scheduling run of the cycle count. -
SynchronizationMode: string
Value that determines the ABC synchronization mode. A list of accepted values is defined in the lookup type INV_CC_SYNC_MODE.
-
SynchronizationModeCode: string
Name of the ABC group that the warehouse uses to initialize the item classification in the cycle count.
-
SynchronizeAbcAssociationFlag: boolean
Contains one of the following values: true or false. If true, then synchronize the ABC classes and items during ABC synchronization. If false, then do not synchronize the ABC classes and items during ABC synchronization. This attribute does not have a default value.
-
SynchronizeItemCategoryAssociationFlag: boolean
Contains one of the following values: true or false. If true, then synchronize the count category items during item category synchronization. If false, then do not synchronize the count category items during item category synchronization. This attribute does not have a default value.
-
WorkdaySchedule: string
Maximum Length:
240
Workday schedule that the count references. -
WorkdayScheduleCode: integer
(int64)
Title:
Workday Schedule
Value that identifies the workday schedule that the cycle count references.
array
Categories
array
Category Items
array
Classes
array
Items
array
Subinventories
array
Flexfields for Cycle Count Definitions
array
Links
object
-
AdjustmentValueNegativeTolerance: number
Title:
Negative
Negative percent that the warehouse allows the value to vary for each item that resides in this category. -
AdjustmentValuePositiveTolerance: number
Title:
Positive
Positive percent that the warehouse allows the value to vary for each item that resides in this category. -
CategoryDescription: string
Maximum Length:
255
Description of the category that the cycle count includes. -
CategoryId: integer
(int64)
Title:
ABC Class
Value that uniquely identifies the category name that the cycle count includes. -
CategoryName: string
Maximum Length:
255
Name of the category that the cycle count includes. -
CountCategoryId: integer
(int64)
Value that uniquely identifies the category of the cycle count.
-
CountsPerYear: integer
(int64)
Title:
Counts per Year
Number of counts for each year that this category includes. -
HitAndMissNegativePercentage: number
Title:
Negative
Negative percent tolerance that the warehouse uses for hit or miss analysis for this count category. -
HitAndMissPostivePercentage: number
Title:
Positive
Positive percent tolerance that the warehouse uses for hit or miss analysis for this count category. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
QuantityVarianceNegativePercentage: number
Title:
Negative
Negative percent that the warehouse allows the quantity to vary from the requested quantity for this category. -
QuantityVariancePositivePercentage: number
Title:
Positive
Positive percent that the warehouse allows the quantity to vary from the requested quantity for this category.
array
Links
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
AdjustmentValueNegativeTolerance: number
Title:
Negative
Negative adjustment that the warehouse allows the value to vary for the category item. -
AdjustmentValuePositiveTolerance: number
Title:
Positive
Positive adjustment that the warehouse allows the value to vary for the category item. -
CategoryDescription: string
Maximum Length:
255
Description of the count category that the category item references. -
CategoryId: integer
(int64)
Value that uniquely identifies the count category that the category item references.
-
CategoryName: string
Maximum Length:
255
Name of the count category that the category item references. -
CountCategoryItemId: integer
(int64)
Value that uniquely identifies the category item that the cycle count definition references.
-
IncludeInScheduleFlag: boolean
Contains one of the following values: true or false. If true, then schedule this category item. If false, then don't schedule this category item. The default value is false.
-
InventoryItemId: integer
(int64)
Value that uniquely identifies the category item.
-
ItemDescription: string
Read Only:
true
Maximum Length:255
Description of the category item. -
ItemNumber: string
Maximum Length:
255
Number that identifies the category item. -
LastScheduledDate: string
(date-time)
Title:
Last Scheduled Date
Date when the warehouse scheduled this category item for counting. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
QuantityVarianceNegativePercentage: number
Title:
Negative
Negative percent that the warehouse allows the quantity to vary from the requested quantity for the category item. -
QuantityVariancePositivePercentage: number
Title:
Positive
Positive percent that the warehouse allows the quantity to vary from the requested quantity for the category item.
array
Links
object
-
AbcClass: string
Maximum Length:
255
Name of the ABC class that the cycle count includes. -
AbcClassId: integer
(int64)
Title:
ABC Class
Value that uniquely identifies the ABC class that the cycle count includes. -
AdjustmentValueNegativeTolerance: number
Title:
Negative
Negative percent that the warehouse allows the value to vary for each item that resides in this class. -
AdjustmentValuePositiveTolerance: number
Title:
Positive
Positive percent that the warehouse allows the value to vary for each item that resides in this class. -
CountsPerYear: integer
(int64)
Title:
Counts per Year
Number of counts for each year that this class includes. -
CycleCountClassId: integer
(int64)
Value that uniquely identifies the class of the cycle count.
-
HitAndMissNegativePercentage: number
Title:
Negative
Negative percent tolerance that the warehouse uses for hit or miss analysis for this count class. -
HitAndMissPostivePercentage: number
Title:
Positive
Positive percent tolerance that the warehouse uses for hit or miss analysis for this count class. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
QuantityVarianceNegativePercentage: number
Title:
Negative
Negative percent that the warehouse allows the quantity to vary from the requested quantity for this class. -
QuantityVariancePositivePercentage: number
Title:
Positive
Positive percent that the warehouse allows the quantity to vary from the requested quantity for this class.
array
Links
object
-
AbcClass: string
Maximum Length:
40
Name of the ABC class that the item references. -
AbcClassId: integer
(int64)
Value that uniquely identifies the ABC class that the item references.
-
AdjustmentValueNegativeTolerance: number
Title:
Negative
Negative adjustment that the warehouse allows the value to vary for the item. -
AdjustmentValuePositiveTolerance: number
Title:
Positive
Positive adjustment that the warehouse allows the value to vary for the item. -
CycleCountItemId: integer
(int64)
Value that uniquely identifies the item that the cycle count definition references.
-
IncludeInSchedule: string
Maximum Length:
80
Value that determines whether or not to schedule this item. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
IncludeInScheduleCode: integer
Default Value:
2
Value that indicates whether or not to schedule this item. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
InventoryItemId: integer
(int64)
Value that uniquely identifies the item.
-
ItemDescription: string
Maximum Length:
240
Description of the item. -
ItemNumber: string
Maximum Length:
300
Number that identifies the item. -
LastScheduledDate: string
(date-time)
Title:
Last Scheduled Date
Value that indicates the most recent date that the warehouse scheduled this item for counting. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
QuantityVarianceNegativePercentage: number
Title:
Negative
Negative percent that the warehouse allows the quantity to vary from the requested quantity for the item. -
QuantityVariancePositivePercentage: number
Title:
Positive
Positive percent that the warehouse allows the quantity to vary from the requested quantity for the item.
array
Links
object
-
IncludeInCount: string
Maximum Length:
255
Value that determines whether or not to include the subinventory when counting. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC. -
IncludeInCountCode: integer
(int64)
Value that indicates whether or not to include the subinventory when counting. A list of accepted values is defined in the lookup type INV_YES_NO_NUMERIC.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Subinventory: string
Maximum Length:
10
Name of the subinventory that the warehouse includes in this count definition.
array
Links
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
Default Value:Context Data Elements
Descriptive flexfield context name for cycle counts. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
-
CycleCountHeaderId: integer
(int64)
Value that uniquely identifies the cycle count definition.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance.
array
Links
Examples
This example describes how to get all definitions.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -u username:password "https://servername/fscmRestApi/resources/version/cycleCountDefinitions"
Example 1 Request
Use the following command to get all cycle counts including subinventories.
curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?onlyData=true&expand=countSubinventories"
Example 1 Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "CycleCountHeaderId": 300100154508149, "CycleCountName": "NDSCCLE01.1", "Description": "NDSCCLE01.1", "OrganizationId": 209, "OrganizationCode": "M2", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": "No", "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 100000016383001, "WorkdaySchedule": "APS Calendar", "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 2, "ApprovalRequired": "No", "ApprovalTypeCode": null, "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 1, "MaximumDaysBeforeLate": 5, "MaximumRecounts": null, "StartDate": "2018-09-06", "EndDate": null, "ManualCountsAllowedCode": 2, "ManualCountsAllowed": "No", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 2, "CountZeroQuantity": "No", "DisplaySuggestedQuantityCode": 2, "DisplaySuggestedQuantity": "No", "SerializedItemsAllowedCode": 1, "SerializedItemsAllowed": "Yes", "SerialCountOptionCode": "2", "SerialCountOption": "One", "SerialNumberAdjustmentCode": "1", "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": null, "RecordCountSerials": "No", "SerialDiscrepancyCode": 2, "SerialDiscrepancyAllowed": "No", "PositiveHitMissPercentage": null, "NegativeHitMissPercentage": null, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCountCode": 1, "IncludeInCount": "Yes" } ] }, { "CycleCountHeaderId": 100000012481018, "CycleCountName": "Initial", "Description": "Initial", "OrganizationId": 209, "OrganizationCode": "M2", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": "No", "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 999990013075494, "WorkdaySchedule": "1 year Schedule 4-4-5 Time", "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 2, "ApprovalRequired": "No", "ApprovalTypeCode": null, "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 2, "MaximumDaysBeforeLate": 100, "MaximumRecounts": null, "StartDate": "2009-10-06", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": "Yes", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 2, "CountZeroQuantity": "No", "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowedCode": 2, "SerializedItemsAllowed": "No", "SerialCountOptionCode": null, "SerialCountOption": "One", "SerialNumberAdjustmentCode": null, "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": null, "RecordCountSerials": "No", "SerialDiscrepancyCode": null, "SerialDiscrepancyAllowed": "No", "PositiveHitMissPercentage": 10, "NegativeHitMissPercentage": 10, "countSubinventories": [ { "Subinventory": "Stores", "IncludeInCountCode": 1, "IncludeInCount": "Yes" } ] }, { "CycleCountHeaderId": 100000012481026, "CycleCountName": "zBIACC13a", "Description": "zBIA Cycle Count 13a", "OrganizationId": 209, "OrganizationCode": "M2", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": "No", "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 999990013075494, "WorkdaySchedule": "1 year Schedule 4-4-5 Time", "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 2, "ApprovalRequired": "No", "ApprovalTypeCode": null, "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 701, "MaximumDaysBeforeLate": 100, "MaximumRecounts": null, "StartDate": "2009-10-06", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": "Yes", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 2, "CountZeroQuantity": "No", "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowedCode": 2, "SerializedItemsAllowed": "No", "SerialCountOptionCode": null, "SerialCountOption": "One", "SerialNumberAdjustmentCode": null, "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": null, "RecordCountSerials": "No", "SerialDiscrepancyCode": null, "SerialDiscrepancyAllowed": "No", "PositiveHitMissPercentage": 200, "NegativeHitMissPercentage": 200, "countSubinventories": [ { "Subinventory": "Stores", "IncludeInCountCode": 1, "IncludeInCount": "Yes" } ] }, { "CycleCountHeaderId": 100000012481025, "CycleCountName": "zBIACC12a", "Description": "zBIA Cycle Count 12a", "OrganizationId": 209, "OrganizationCode": "M2", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": "No", "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 999990013075494, "WorkdaySchedule": "1 year Schedule 4-4-5 Time", "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 2, "ApprovalRequired": "No", "ApprovalTypeCode": null, "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 701, "MaximumDaysBeforeLate": 100, "MaximumRecounts": null, "StartDate": "2009-10-06", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": "Yes", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 2, "CountZeroQuantity": "No", "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowedCode": 2, "SerializedItemsAllowed": "No", "SerialCountOptionCode": null, "SerialCountOption": "One", "SerialNumberAdjustmentCode": null, "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": null, "RecordCountSerials": "No", "SerialDiscrepancyCode": null, "SerialDiscrepancyAllowed": "No", "PositiveHitMissPercentage": 10, "NegativeHitMissPercentage": 10, "countSubinventories": [ { "Subinventory": "Stores", "IncludeInCountCode": 1, "IncludeInCount": "Yes" } ] } ], "count": 4, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions", "name": "cycleCountDefinitions", "kind": "collection" } ] }
Example 2 Request
Use the following command to get cycle counts in which a particular subinventory is included in the count.
curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?onlyData=true&expand=countSubinventories&finder=findBySubinventory;Subinventory=ABCSUB01"
Example 2 Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "CycleCountHeaderId": 300100154508149, "CycleCountName": "NDSCCLE01.1", "Description": "NDSCCLE01.1", "OrganizationId": 209, "OrganizationCode": "M2", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": "No", "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 100000016383001, "WorkdaySchedule": "APS Calendar", "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 2, "ApprovalRequired": "No", "ApprovalTypeCode": null, "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 1, "MaximumDaysBeforeLate": 5, "MaximumRecounts": null, "StartDate": "2018-09-06", "EndDate": null, "ManualCountsAllowedCode": 2, "ManualCountsAllowed": "No", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 2, "CountZeroQuantity": "No", "DisplaySuggestedQuantityCode": 2, "DisplaySuggestedQuantity": "No", "SerializedItemsAllowedCode": 1, "SerializedItemsAllowed": "Yes", "SerialCountOptionCode": "2", "SerialCountOption": "One", "SerialNumberAdjustmentCode": "1", "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": null, "RecordCountSerials": "No", "SerialDiscrepancyCode": 2, "SerialDiscrepancyAllowed": "No", "PositiveHitMissPercentage": null, "NegativeHitMissPercentage": null, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCountCode": 1, "IncludeInCount": "Yes" } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions", "name": "cycleCountDefinitions", "kind": "collection" } ] }
Example 3 Request
Use the following command to get a cycle count, for example CC-RRF for the organization code M1.
curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?q=OrganizationCode=M1;CycleCountName=CC-RRF"
Example 3 Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "CycleCountHeaderId": 300100002756508, "CycleCountName": "CC-RRF", "Description": null, "OrganizationId": 207, "OrganizationCode": "M1", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 1, "AutomaticallySchedule": "Yes", "FrequencyCode": "1", "Frequency": null, "WorkdayScheduleCode": 100000016383004, "WorkdaySchedule": "BJ-CC1", "LastScheduledDate": "2011-11-29", "NextScheduledDate": "2011-11-30", "ApprovalRequiredCode": 1, "ApprovalRequired": "Yes", "ApprovalTypeCode": "2", "ApprovalType": "If out of tolerance", "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 4, "MaximumDaysBeforeLate": 1, "MaximumRecounts": null, "StartDate": "2011-11-29", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": "Yes", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 1, "CountZeroQuantity": "Yes", "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowedCode": 1, "SerializedItemsAllowed": "Yes", "SerialCountOptionCode": "1", "SerialCountOption": "Multiple", "SerialNumberAdjustmentCode": "1", "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": 1, "RecordCountSerials": "Yes", "SerialDiscrepancyCode": 1, "SerialDiscrepancyAllowed": "Yes", "PositiveHitMissPercentage": null, "NegativeHitMissPercentage": null } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions", "name": "cycleCountDefinitions", "kind": "collection" } ] }
Example 4 Request
Use the following command to get cycle counts in which a particular item is included in the count.
curl -u username:password -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" "https://servername/fscmRestApi/resources/version/cycleCountDefinitions?onlyData=true&expand=countItems&finder=findByItem;ItemNumber=AS54888"
Example 4 Response Body
The following shows an example of the response body in JSON format.
{ "items": [ { "CycleCountHeaderId": 100000012481018, "CycleCountName": "Initial", "Description": "Initial", "OrganizationId": 209, "OrganizationCode": "M2", "OrganizationName": "Tall Manufacturing", "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": "No", "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 999990013075494, "WorkdaySchedule": "1 year Schedule 4-4-5 Time", "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 2, "ApprovalRequired": "No", "ApprovalTypeCode": null, "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 2, "MaximumDaysBeforeLate": 100, "MaximumRecounts": null, "StartDate": "2009-10-06", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": "Yes", "ManualCountSequencePrefix": null, "CountZeroQuantityCode": 2, "CountZeroQuantity": "No", "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowedCode": 2, "SerializedItemsAllowed": "No", "SerialCountOptionCode": null, "SerialCountOption": "One", "SerialNumberAdjustmentCode": null, "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerialsCode": null, "RecordCountSerials": "No", "SerialDiscrepancyCode": null, "SerialDiscrepancyAllowed": "No", "PositiveHitMissPercentage": 10, "NegativeHitMissPercentage": 10, "countItems": [ { "CycleCountItemId": 1472, "InventoryItemId": 149, "ItemNumber": "AS54888", "ItemDescription": "Standard Desktop TPDS", "AbcClassId": 47, "AbcClass": "Class A", "IncludeInScheduleCode": 2, "IncludeInSchedule": "No", "AdjustmentValuePositiveTolerance": null, "AdjustmentValueNegativeTolerance": null, "QuantityVariancePositivePercentage": null, "QuantityVarianceNegativePercentage": null, "LastScheduledDate": null } ] } ], "count": 1, "hasMore": false, "limit": 25, "offset": 0, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions", "name": "cycleCountDefinitions", "kind": "collection" } ] }