Create definitions
/fscmRestApi/resources/11.13.18.05/cycleCountDefinitions
Request
-
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.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
- application/json
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(required): 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(required): 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
Title:
Enable cycle count by item category
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(required): 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. -
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(required): 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(required): 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(required): 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(required): 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(required): 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(required): string
(date)
Title:
Start Date
Date when this cycle count becomes active. -
StartingCountSequence(required): 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(required): string
Maximum Length:
240
Workday schedule that the count references. -
WorkdayScheduleCode(required): 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
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. -
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.
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
Default Value:
false
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.
-
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. -
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.
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. -
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.
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. -
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.
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.
-
Subinventory: string
Maximum Length:
10
Name of the subinventory that the warehouse includes in this count definition.
object
-
__FLEX_Context: string
Title:
Context Value
Maximum Length:30
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.
Response
- application/json
Default Response
-
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.
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
Title:
Enable cycle count by item category
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. -
IncludedSubinventoriesCount: integer
Read Only:
true
Number of subinventories included in the cycle count. -
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
Default Value:
false
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. -
CountUOM: string
Read Only:
true
Maximum Length:25
Unit of measure for the current count. -
CountUOMCode: string
Read Only:
true
Maximum Length:3
Value that identifies the unit of measure for the current count. -
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. -
LotControlCode: integer
Read Only:
true
Identifies all the lot control items for a cycle count definition. -
PrimaryImageURL: string
Read Only:
true
Maximum Length:4000
Value that provides a reference to the image of the item for which the count sequence is generated. -
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. -
SerialNumberControlCode: integer
Read Only:
true
Identifies all the serial control items for a cycle count definition.
array
Links
object
-
Description: string
Read Only:
true
Maximum Length:255
Value that provides the description of the subinventory. -
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
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
- DFF
-
Parameters:
- CycleCountHeaderId:
$request.path.CycleCountHeaderId
The Flexfields for Cycle Count Definitions resource manages the details about cycle counts. - CycleCountHeaderId:
- countCategories
-
Operation: /fscmRestApi/resources/11.13.18.05/cycleCountDefinitions/{CycleCountHeaderId}/child/countCategoriesParameters:
- CycleCountHeaderId:
$request.path.CycleCountHeaderId
The Categories resource manages the item categories that the warehouse can use in the cycle count. - CycleCountHeaderId:
- countCategoryItems
-
Parameters:
- CycleCountHeaderId:
$request.path.CycleCountHeaderId
The Category Items resource manages the category items that the warehouse can use in the cycle count. - CycleCountHeaderId:
- countClasses
-
Operation: /fscmRestApi/resources/11.13.18.05/cycleCountDefinitions/{CycleCountHeaderId}/child/countClassesParameters:
- CycleCountHeaderId:
$request.path.CycleCountHeaderId
The Classes resource manages the count classes that the warehouse can use in the cycle count. - CycleCountHeaderId:
- countItems
-
Operation: /fscmRestApi/resources/11.13.18.05/cycleCountDefinitions/{CycleCountHeaderId}/child/countItemsParameters:
- CycleCountHeaderId:
$request.path.CycleCountHeaderId
The Items resource manages the items that the warehouse can use in the cycle count. - CycleCountHeaderId:
- countSubinventories
-
Parameters:
- CycleCountHeaderId:
$request.path.CycleCountHeaderId
The Subinventories resource manages the subinventories that the warehouse can use with the cycle count. - CycleCountHeaderId:
Examples
This example describes how to create definitions.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/cycleCountDefinitions"
Example 1 Request Body
The following example includes the contents of the request body in JSON format to create a cycle count along with subinventories,classes and Items. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "CycleCountName": "BREST1", "Description": "TestPOST", "OrganizationCode": "M1", "AutomaticallySchedule": "No", "WorkdaySchedule": "APS Calendar", "ManualCountsAllowed": "Yes", "ApprovalRequired": "Yes", "ApprovalType": "Always", "MaximumDaysBeforeLate": 30, "StartDate": "2018-09-14", "ManualCountSequencePrefix": "MC", "CountZeroQuantity": "No", "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowed": "Yes", "SerialCountOption": "One", "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerials": "No", "SerialDiscrepancyAllowed": "No", "StartingCountSequence": 1, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCount": "Yes" }, { "Subinventory": "CYCSUB01", "IncludeInCount": "Yes" } ], "countClasses": [ { "AbcClass": "Class A", "CountsPerYear": 12 } ], "countItems": [ { "ItemNumber": "INV-100", "AbcClass": "Class A", "IncludeInSchedule": "Yes" } ] }
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{ "CycleCountHeaderId": 300100158681260, "CycleCountName": "BREST1", "Description": "TestPOST", "OrganizationId": 207, "OrganizationCode": null, "OrganizationName": null, "AbcAssignmentGroupId": null, "AbcAssigmentGroup": null, "SynchronizationModeCode": null, "SynchronizationMode": null, "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": null, "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 100000016383001, "WorkdaySchedule": null, "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 1, "ApprovalRequired": null, "ApprovalTypeCode": "1", "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 1, "MaximumDaysBeforeLate": 30, "MaximumRecounts": null, "StartDate": "2018-09-14", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": null, "ManualCountSequencePrefix": "MC", "CountZeroQuantityCode": 2, "CountZeroQuantity": null, "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": null, "SerializedItemsAllowedCode": 1, "SerializedItemsAllowed": null, "SerialCountOptionCode": "2", "SerialCountOption": null, "SerialNumberAdjustmentCode": "1", "SerialNumberAdjustment": null, "RecordCountSerialsCode": 2, "RecordCountSerials": null, "SerialDiscrepancyCode": 2, "SerialDiscrepancyAllowed": null, "PositiveHitMissPercentage": null, "NegativeHitMissPercentage": null, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCountCode": 1, "IncludeInCount": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countSubinventories/00020000000841424353554230310000000EACED00057708000110F0835AF0AC", "name": "countSubinventories", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countSubinventories/00020000000841424353554230310000000EACED00057708000110F0835AF0AC", "name": "countSubinventories", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260", "name": "cycleCountDefinitions", "kind": "item" } ] }, { "Subinventory": "CYCSUB01", "IncludeInCountCode": 1, "IncludeInCount": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countSubinventories/00020000000843594353554230310000000EACED00057708000110F0835AF0AC", "name": "countSubinventories", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countSubinventories/00020000000843594353554230310000000EACED00057708000110F0835AF0AC", "name": "countSubinventories", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260", "name": "cycleCountDefinitions", "kind": "item" } ] } ], "countItems": [ { "CycleCountItemId": 300100158681262, "InventoryItemId": 663913, "ItemNumber": null, "ItemDescription": null, "AbcClassId": 42, "AbcClass": null, "IncludeInScheduleCode": 1, "IncludeInSchedule": null, "AdjustmentValuePositiveTolerance": null, "AdjustmentValueNegativeTolerance": null, "QuantityVariancePositivePercentage": null, "QuantityVarianceNegativePercentage": null, "LastScheduledDate": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countItems/300100158681262", "name": "countItems", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countItems/300100158681262", "name": "countItems", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260", "name": "cycleCountDefinitions", "kind": "item" } ] } ], "countClasses": [ { "CycleCountClassId": 300100158681261, "AbcClassId": 42, "AbcClass": null, "CountsPerYear": 12, "QuantityVariancePositivePercentage": null, "QuantityVarianceNegativePercentage": null, "AdjustmentValuePositiveTolerance": null, "AdjustmentValueNegativeTolerance": null, "HitAndMissPostivePercentage": null, "HitAndMissNegativePercentage": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countClasses/300100158681261", "name": "countClasses", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countClasses/300100158681261", "name": "countClasses", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260", "name": "cycleCountDefinitions", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260", "name": "cycleCountDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260", "name": "cycleCountDefinitions", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countSubinventories", "name": "countSubinventories", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countItems", "name": "countItems", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/DFF", "name": "DFF", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681260/child/countClasses", "name": "countClasses", "kind": "collection" } ] }
Example 2 Request Body
The following example includes the contents of the request body in JSON format to create a cycle count with ABC Assignment Group. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "CycleCountName": "BREST2", "Description": "TestPOST", "OrganizationCode": "M1", "AutomaticallySchedule": "No", "WorkdaySchedule": "APS Calendar", "AbcAssigmentGroup": "OnHandABC", "SynchronizationMode":"Complete", "ManualCountsAllowed": "Yes", "ApprovalRequired": "Yes", "ApprovalType": "Always", "MaximumDaysBeforeLate": 30, "StartDate": "2018-09-14", "ManualCountSequencePrefix": "MC", "CountZeroQuantity": "No", "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowed": "Yes", "SerialCountOption": "One", "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerials": "No", "SerialDiscrepancyAllowed": "No", "StartingCountSequence": 1, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCount": "Yes" }, { "Subinventory": "CYCSUB01", "IncludeInCount": "Yes" } ] }
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{ "CycleCountHeaderId": 300100158681390, "CycleCountName": "BREST2", "Description": "TestPOST", "OrganizationId": 207, "OrganizationCode": null, "OrganizationName": null, "AbcAssignmentGroupId": 22, "AbcAssigmentGroup": null, "SynchronizationModeCode": "2", "SynchronizationMode": "Complete", "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": null, "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 100000016383001, "WorkdaySchedule": null, "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 1, "ApprovalRequired": null, "ApprovalTypeCode": "1", "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 1, "MaximumDaysBeforeLate": 30, "MaximumRecounts": null, "StartDate": "2018-09-14", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": null, "ManualCountSequencePrefix": "MC", "CountZeroQuantityCode": 2, "CountZeroQuantity": null, "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": null, "SerializedItemsAllowedCode": 1, "SerializedItemsAllowed": null, "SerialCountOptionCode": "2", "SerialCountOption": null, "SerialNumberAdjustmentCode": "1", "SerialNumberAdjustment": null, "RecordCountSerialsCode": 2, "RecordCountSerials": null, "SerialDiscrepancyCode": 2, "SerialDiscrepancyAllowed": null, "PositiveHitMissPercentage": null, "NegativeHitMissPercentage": null, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCountCode": 1, "IncludeInCount": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countSubinventories/00020000000841424353554230310000000EACED00057708000110F0835AF12E", "name": "countSubinventories", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countSubinventories/00020000000841424353554230310000000EACED00057708000110F0835AF12E", "name": "countSubinventories", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390", "name": "cycleCountDefinitions", "kind": "item" } ] }, { "Subinventory": "CYCSUB01", "IncludeInCountCode": 1, "IncludeInCount": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countSubinventories/00020000000843594353554230310000000EACED00057708000110F0835AF12E", "name": "countSubinventories", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countSubinventories/00020000000843594353554230310000000EACED00057708000110F0835AF12E", "name": "countSubinventories", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390", "name": "cycleCountDefinitions", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390", "name": "cycleCountDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390", "name": "cycleCountDefinitions", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countSubinventories", "name": "countSubinventories", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countItems", "name": "countItems", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/DFF", "name": "DFF", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158681390/child/countClasses", "name": "countClasses", "kind": "collection" } ] }
Example 3 Request Body
The following example includes the contents of the request body in JSON format to create a cycle count along with flexfields. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it creates.
{ "CycleCountName": "BREST3", "Description": "TestPOST", "OrganizationCode": "M1", "AutomaticallySchedule": "No", "WorkdaySchedule": "APS Calendar", "AbcAssigmentGroup": "OnHandABC", "SynchronizationMode":"Complete", "ManualCountsAllowed": "Yes", "ApprovalRequired": "Yes", "ApprovalType": "Always", "MaximumDaysBeforeLate": 30, "StartDate": "2018-09-14", "ManualCountSequencePrefix": "MC", "CountZeroQuantity": "No", "DisplaySuggestedQuantity": "Yes", "SerializedItemsAllowed": "Yes", "SerialCountOption": "One", "SerialNumberAdjustment": "Adjust if possible", "RecordCountSerials": "No", "SerialDiscrepancyAllowed": "No", "StartingCountSequence": 1, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCount": "Yes" }, { "Subinventory": "CYCSUB01", "IncludeInCount": "Yes" } ], "DFF":[ { "cchGs1": "GBLSg1", "cchGs2": "GBLSg2", "__FLEX_Context" : "CCH_GS_CONTEXT1", "dff1":"cseg1" } ] }
Example 3 Response Body
The following example includes the contents of the response body in JSON format:
{ "CycleCountHeaderId": 300100158685385, "CycleCountName": "BREST3", "Description": "TestPOST", "OrganizationId": 207, "OrganizationCode": null, "OrganizationName": null, "AbcAssignmentGroupId": 22, "AbcAssigmentGroup": null, "SynchronizationModeCode": "2", "SynchronizationMode": "Complete", "SynchronizeAbcAssociationFlag": null, "DeleteAdditionalItemsFlag": null, "AutomaticallyScheduleCode": 2, "AutomaticallySchedule": null, "FrequencyCode": null, "Frequency": null, "WorkdayScheduleCode": 100000016383001, "WorkdaySchedule": null, "LastScheduledDate": null, "NextScheduledDate": null, "ApprovalRequiredCode": 1, "ApprovalRequired": null, "ApprovalTypeCode": "1", "ApprovalType": null, "PositiveTolerancePercentage": null, "NegativeTolerancePercentage": null, "PositiveAdjustmentTolerance": null, "NegativeAdjustmentTolerance": null, "StartingCountSequence": 1, "MaximumDaysBeforeLate": 30, "MaximumRecounts": null, "StartDate": "2018-09-14", "EndDate": null, "ManualCountsAllowedCode": 1, "ManualCountsAllowed": null, "ManualCountSequencePrefix": "MC", "CountZeroQuantityCode": 2, "CountZeroQuantity": null, "DisplaySuggestedQuantityCode": 1, "DisplaySuggestedQuantity": null, "SerializedItemsAllowedCode": 1, "SerializedItemsAllowed": null, "SerialCountOptionCode": "2", "SerialCountOption": null, "SerialNumberAdjustmentCode": "1", "SerialNumberAdjustment": null, "RecordCountSerialsCode": 2, "RecordCountSerials": null, "SerialDiscrepancyCode": 2, "SerialDiscrepancyAllowed": null, "PositiveHitMissPercentage": null, "NegativeHitMissPercentage": null, "countSubinventories": [ { "Subinventory": "ABCSUB01", "IncludeInCountCode": 1, "IncludeInCount": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countSubinventories/00020000000841424353554230310000000EACED00057708000110F0835B00C9", "name": "countSubinventories", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countSubinventories/00020000000841424353554230310000000EACED00057708000110F0835B00C9", "name": "countSubinventories", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385", "name": "cycleCountDefinitions", "kind": "item" } ] }, { "Subinventory": "CYCSUB01", "IncludeInCountCode": 1, "IncludeInCount": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countSubinventories/00020000000843594353554230310000000EACED00057708000110F0835B00C9", "name": "countSubinventories", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countSubinventories/00020000000843594353554230310000000EACED00057708000110F0835B00C9", "name": "countSubinventories", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385", "name": "cycleCountDefinitions", "kind": "item" } ] } ], "DFF": [ { "CycleCountHeaderId": 300100158685385, "cchGs1": "GBLSg1", "cchGs2": "GBLSg2", "__FLEX_Context": "CCH_GS_CONTEXT1", "__FLEX_Context_DisplayValue": "CCH_GS_CONTEXT1", "dff1": "cseg1", "cs2": null, "cs1": null, "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/DFF/300100158685385", "name": "DFF", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/DFF/300100158685385", "name": "DFF", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385", "name": "cycleCountDefinitions", "kind": "item" }, { "rel": "lov", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/DFF/300100158685385/lov/LVVO___FLEX_Context", "name": "LVVO___FLEX_Context", "kind": "collection" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385", "name": "cycleCountDefinitions", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385", "name": "cycleCountDefinitions", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countSubinventories", "name": "countSubinventories", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countItems", "name": "countItems", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/DFF", "name": "DFF", "kind": "collection" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/cycleCountDefinitions/300100158685385/child/countClasses", "name": "countClasses", "kind": "collection" } ] }