Get all advice transactions

get

/fscmRestApi/resources/11.13.18.05/inventoryConsumptionAdvices/{inventoryConsumptionAdvicesUniqID}/child/consumptionAdviceLines/{ConsumptionLineId}/child/consumptionAdviceTransactions

Request

Path Parameters
  • Value that uniquely identifies the consumption line.
  • This is the hash key of the attributes which make up the composite key for the Inventory Consumption Advices resource and used to uniquely identify an instance of Inventory Consumption Advices. The client should not generate the hash key value. Instead, the client should query on the Inventory Consumption Advices collection resource in order to navigate to a specific instance of Inventory Consumption Advices to get the hash key.
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • 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).
  • 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
  • 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 consumption advice line transactions.
      Finder Variables:
      • TransactionId; integer; Value that uniquely identifies the transactions under consumption advice line.
  • 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.
  • 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
  • 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.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • 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
  • 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:
    • Account; string; Account number for the inventory transaction.
    • AlmInterfaceStatus; string; Status of the asset lifecycle management interface.
    • AssemblySerialNumber; string; Serial number that identifies the assembly.
    • AssessableValue; number; Price that the tax authority uses to calculate tax for the item.
    • AssetTrackingStatus; string; Tracking status of the asset.
    • AssociatedOwnershipChangeTransaction; integer; Value that indicates the change in ownership in a transfer transaction for a transfer consignment.
    • Carrier; string; Name of the party that transports the shipment.
    • Category; string; Abbreviation that identifies the category.
    • CategoryId; integer; Value that uniquely identifies the fiscal classification for the item. It determines the tax for the item.
    • ConsErrorActionCode; string; Abbreviation that identifies the action when an error occurs on the consumption advice.
    • ConsErrorTypeCode; string; Abbreviation that identifies the type of error for the consumption advice.
    • ConsumptionAdvice; string; Value that identifies the header of the consumption advice.
    • ConsumptionAdviceErrorAction; string; Name of the action that must be performed to resolve the consumption advice error.
    • ConsumptionAdviceLine; string; Value that identifies the line for the consumption advice.
    • ConsumptionLineId; integer; Value that uniquely identifies the line for the consumption advice.
    • Costed; string; Contains True or False. True: the application costs the transactions. False: the application does not cost the transactions.
    • CountryOfOrigin; string; Name of the country of origin. This attribute is associated with a feature that requires opt in.
    • CountryOfOriginCode; string; Abbreviation that identifies the country of origin. This attribute is associated with a feature that requires opt in.
    • CreatedBy; string; User who created the transaction.
    • CreationDate; string; Date when the user created the transaction.
    • Currency; string; Abbreviation that identifies the currency.
    • DefaultTaxationCountry; string; Abbreviation that identifies the default country for taxation. It determines the tax for the item.
    • DepartmentCode; string; Abbreviation that identifies the department.
    • DepartmentId; integer; Value that uniquely identifies the department.
    • DistributionAccountId; integer; Value that uniquely identifies the distribution account.
    • DocumentFiscalClassification; string; Classification of the fiscal document. It determines the tax for the item.
    • DocumentSubType; string; Abbreviation that identifies the classification of the fiscal document. It determines the tax for the item.
    • ElectronicSignature; integer; Value that identifies the electronic signature.
    • ErrorExplanation; string; Message text of the error that occurred during an inventory transaction.
    • ExemptReasonCode; string; Name of the tax exemption reason.
    • ExternalSystemPackingUnit; string; Packing unit in an external application that resides outside of Oracle Fusion application.
    • ExternalSystemTransactionReference; string; Value that refers to the corresponding transaction in external applications.
    • FinalDischargeLocationId; integer; Value that uniquely identifies the location of the final discharge. It determines the tax for the item.
    • FirstPartyTaxRegistrationNumber; string; Number that identifies the tax registration for first party of the transaction. It determines the tax for the item.
    • FirstPtyRegId; integer; Value that uniquely identifies the tax registration for first party of the transaction. It determines the tax for the item.
    • FreightCode; string; Abbreviation that identifies the freight for a shipment that is in transit.
    • IntendedUse; string; Value that identifies the classification for the intended use. It determines the tax for the item.
    • IntendedUseClassifId; integer; Value that uniquely identifies the classification for the intended use. It determines the tax for the item.
    • InventoryItemId; integer; Value that uniquely identifies the inventory item.
    • Item; string; Number that identifies the inventory item.
    • ItemDescription; string; Description of the item.
    • LoadRequestId; integer; Value that uniquely identifies the Load Interface File for Import scheduled process that uploaded the transaction.
    • Location; string; Physical location of the warehouse.
    • LocationOfFinalDischarge; string; Location of the final discharge. It determines the tax for the item.
    • LocationType; string; Type of ship-to location.
    • Locator; string; Description of the stock locators.
    • LocatorId; integer; Value that uniquely identifies the stock locator.
    • Lot; string; Value that uniquely identifies the lot. The lot includes items that you produce together as a group and that share similar production costs and specifications.
    • LotTransactionGroupName; string; Name of the group of lot split, merge, and translate transactions data. This value is defined by the user.
    • ManualReceiptExpense; string; Expense for the manual receipt.
    • MovementRequestLineId; integer; Value that uniquely identifies the movement request line.
    • NumberOfContainers; integer; Number of packing units.
    • OperationSequenceNumber; integer; Sequence number of the operation in the routing request.
    • OperationSequenceNumberId; integer; Value that uniquely identifies the operation sequence number.
    • OperationTransaction; integer; Value that identifies the operation transaction.
    • Organization; string; Abbreviation that identifies the organization.
    • OrganizationId; integer; Value that uniquely identifies the organization.
    • OrganizationName; string; Name of the organization.
    • OwningOrganizationId; integer; Value that uniquely identifies the organization of the party who owns the transaction.
    • OwningParty; string; Name of the party who owns the transaction.
    • OwningPartyLocation; string; Name of the location of the party who owns the transaction.
    • OwningPartyLocationId; integer; Value that uniquely identifies the location of the party who owns the transaction.
    • OwningPartyOrgName; string; Name of the organization party who owns the transaction.
    • OwningPartySite; string; Name of the site of the party who owns the transaction.
    • OwningPartyType; string; Type of party who owns the transaction.
    • OwningTpType; integer; Type of trading partner for the party who owns the transaction.
    • PackingUnit; string; Details of the packing unit.
    • ParentTransaction; integer; Value that identifies the parent transaction.
    • PickSlip; integer; Pick slip number for the transaction line.
    • PrimaryUOMCode; string; Abbreviation that identifies the primary unit of measure for the item.
    • ProductCategory; string; Name of the product category of the transaction line. It determines the tax for the item.
    • ProductCategoryCode; string; Abbreviation that identifies the item category on the transaction line. It determines the tax for the item.
    • ProductFiscalClassification; string; Abbreviation that identifies the fiscal classification for the inventory item. It determines the tax for the item.
    • ProductType; string; Type of inventory item. Values include GOODS or SERVICES. It determines the tax for the item.
    • ProductTypeCode; string; Abbreviation that identifies the item type of the inventory item. Value includes GOODS or SERVICES. It determines the tax for the item.
    • ProjectId; number; Value that uniquely identifies the project.
    • ProjectNumber; string; Number that identifies the project.
    • PurchaseOrder; string; Purchase order number that the transaction references.
    • PurchaseOrderHeaderId; string; Value that uniquely identifies the purchase order header.
    • PurchaseOrderLine; string; Number that identifies the purchase order line.
    • PurchaseOrderLineId; string; Value that uniquely identifies the purchase order line.
    • Quantity; number; Transaction quantity in the primary unit of measure.
    • RcvShipmentHeaderId; integer; Value that uniquely identifies the receiving shipment header.
    • RcvShipmentLineId; string; Value that uniquely identifies the receiving shipment line.
    • Reason; string; Describes the rationale for the transaction.
    • ReasonId; integer; Value that identifies the reason for the transaction.
    • Receipt; string; Number that identifies the receipt.
    • ReceiptLine; string; Number that identifies the receipt line.
    • ReceiptRequiredAtExpenseDestination; string; Contains True or False. True: the expense destination requires a receipt. False: receipt is not required.
    • ReceivingTransaction; integer; Cross-reference for the receiving transaction.
    • Reference; string; Reference to the transaction.
    • RequesterId; integer; Value that uniquely identifies the person who requested the material issued or received.
    • RequesterName; string; Name of the person who requested the material issued or received.
    • Revision; string; Revision of the inventory item.
    • SecondaryQuantity; number; Transaction quantity in the secondary unit of measure.
    • SecondaryUOM; string; Name of the secondary unit of measure for the transaction.
    • SecondaryUOMCode; string; Abbreviation that identifies the secondary unit of measure for the item.
    • SerialNumber; string; Serial number that tracks items that are in inventory.
    • ShipFromLocationId; integer; Value that uniquely identifies the ship-from location. It determines the tax for the item.
    • ShipFromSite; string; Name of the ship-from location. It determines the tax for the item.
    • ShipToLocationId; integer; Value that uniquely identifies the ship-to location.
    • Shipment; string; Value that identifies the shipment that is in transit.
    • Source; string; Line for the transaction in the source application.
    • SourceLine; integer; Value that uniquely identifies the line for the transaction in the source application.
    • SourceLotFlag; boolean; Contains one of the following values: true or false. If true, then the data belongs to the source lot of lot split, merge, and translate transaction types. If false, then the data belongs to the resultant lot of split, merge, and translate transaction types. This attribute does not have a default value.
    • SourceReference; string; Reference to the transaction in the source application.
    • StructureInstanceNumber; integer; Name of the secondary inventory.
    • SubinventoryCode; string; Abbreviation that identifies the subinventory.
    • SubinventoryId; integer; Value that uniquely identifies the subinventory.
    • SupplierLot; string; Number that identifies the supplier lot.
    • TaskId; number; Value that uniquely identifies the task.
    • TaskNumber; string; Number that identifies the task.
    • TaxClassification; string; Classification of the tax. It determines the tax for the item.
    • TaxClassificationCode; string; Abbreviation that identifies the tax classification. It determines the tax for the item.
    • TaxExemptReasonCode; string; Abbreviation that identifies the reason for the tax exemption.
    • TaxExemptionCertificateNumber; string; Number that identifies the tax exemption certificate.
    • TaxInvoiceDate; string; Date and time of generation of the fiscal document. It determines the tax for the item.
    • TaxInvoiceNumber; string; Number of the fiscal document. It determines the tax for the item.
    • TaxationCountry; string; Country for the default taxation. It determines the tax for the item.
    • ThirdPartyTaxRegistrationNumber; string; Number that identifies the tax registration for third party of the transaction. It determines the tax for the item.
    • ThirdPtyRegId; integer; Value that uniquely identifies the tax registration for third party of the transaction. It determines the tax for the item.
    • TransactionAction; string; Name of the transaction action.
    • TransactionActionId; integer; Value that uniquely identifies the transaction action.
    • TransactionBusinessCategory; string; Name of the transaction business category. It determines the tax for the item.
    • TransactionDate; string; Date when the transaction occurred.
    • TransactionId; integer; Value that uniquely identifies the transaction.
    • TransactionQuantity; number; Transacted quantity of the item.
    • TransactionSet; integer; Value that identifies the transaction group.
    • TransactionSourceId; integer; Value that uniquely identifies the source of the transaction.
    • TransactionSourceType; string; Type of the transaction source.
    • TransactionSourceTypeId; integer; Value that uniquely identifies the type of transaction source.
    • TransactionType; string; Type of the transaction.
    • TransactionTypeId; integer; Value that uniquely identifies the type of transaction.
    • TransactionUOM; string; Unit of measure for the transaction.
    • TransactionUOMCode; string; Abbreviation that identifies the unit of measure for the transaction.
    • TransferBusinessUnit; string; Name of the transfer business unit.
    • TransferLocator; string; Name of the destination locator for a transfer transaction.
    • TransferLocatorId; integer; Value that uniquely identifies the destination locator for a transfer transaction.
    • TransferOrgLocation; string; Physical location of the transfer organization.
    • TransferOrgLocationId; number; Value that uniquely identifies the location of the transfer organization.
    • TransferOrganization; string; Name of the transfer organization.
    • TransferOrganizationCode; string; Abbreviation that uniquely identifies the destination organization for transfer.
    • TransferOrganizationId; integer; Value that uniquely identifies the destination organization for transfer transactions.
    • TransferOwningParty; string; Name of the party who owns the transfer.
    • TransferOwningPartySite; string; Name of the site of the party who owns the transfer.
    • TransferOwningPartyType; string; Type of the party who owns the transfer.
    • TransferOwningTpType; integer; Type of trading partner for the transfer.
    • TransferProjectId; integer; Value that uniquely identifies the transfer project. This attribute is associated with a feature that requires opt in.
    • TransferProjectNumber; string; Number that identifies the transfer project. This attribute is associated with a feature that requires opt in.
    • TransferSubinventory; string; Name of the destination subinventory for a transfer transaction.
    • TransferSubinventoryCode; string; Abbreviation that uniquely identifies the destination subinventory for a transfer transaction.
    • TransferTaskId; integer; Value that uniquely identifies the transfer task. This attribute is associated with a feature that requires opt in.
    • TransferTaskNumber; string; Number that identifies the transfer task. This attribute is associated with a feature that requires opt in.
    • TransferTransaction; integer; Value that identifies the transaction of the opposing transfer transaction.
    • TrxBusinessCategory; string; Abbreviation that identifies the transaction business category. It determines the tax for the item.
    • UOMName; string; Name of the unit of measure for the transaction.
    • UserDefinedFiscClass; string; Abbreviation that identifies the fiscal classification that the user defines. It determines the tax for the item.
    • UserDefinedFiscalClassification; string; Name of the fiscal classification. It determines the tax for the item.
    • WIPSupplyType; string; Type of supply for work that the application is processing.
    • WIPSupplyTypeCode; number; Abbreviation that identifies the type of supply for work that the application is processing.
    • Waybill; string; Nonnegotiable document that describes the contract for transporting cargo.
    • WorkCenter; string; Name of the work center.
    • XfrOwningOrganizationId; integer; Value that uniquely identifies the organization who owns the transfer.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • 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".
  • 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 Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : inventoryConsumptionAdvices-consumptionAdviceLines-consumptionAdviceTransactions
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : inventoryConsumptionAdvices-consumptionAdviceLines-consumptionAdviceTransactions-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to get all advice transactions.

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/inventoryConsumptionAdvices/inventoryConsumptionAdvicesUniqID/child/consumptionAdviceLines/ConsumptionLineId/child/consumptionAdviceTransactions"

Example Response Body

The following shows an example of the response body in JSON format.

{
    "items": [
        {
            "TransactionId": 22399407,
            "Item": "INV-102",
            "ItemDescription": "Serial @ Receipt Item",
            "InventoryItemId": 663915,
            "Revision": null,
            "SubinventoryCode": "SI25095214",
            "SubinventoryId": 300100148902615,
            "LocatorId": null,
            "Locator": null,
            "TransactionQuantity": -15,
            "TransactionUOMCode": "Ea",
            "TransactionUOM": "Each",
            "TransactionDate": "2018-05-25T17:29:56+00:00",
            "TransactionTypeId": 74,
            "TransactionType": "Direct Organization Transfer",
            "TransactionSourceTypeId": 1,
            "TransactionSourceType": "Inventory",
            "SourceReference": null,
            "Account": null,
            "Reason": null,
            "Reference": null,
            "ErrorExplanation": null,
            "TransferOrganization": "Vision Corporation",
            "TransferOrganizationCode": "V1",
            "TransferOrganizationId": 204,
            "TransferOrgLocation": null,
            "TransferOrgLocationId": 204,
            "TransferSubinventory": "SI25095214",
            "TransferSubinventoryCode": "SI25095214",
            "TransferLocator": null,
            "TransferLocatorId": null,
            "TransferBusinessUnit": "Vision Corporation",
            "Quantity": -15,
            "UOMName": "Each",
            "PrimaryUOMCode": "Ea",
            "SecondaryQuantity": null,
            "SecondaryUOM": null,
            "SecondaryUOMCode": null,
            "Source": null,
            "SourceLine": null,
            "TransactionAction": "Ownership transfer",
            "TransactionActionId": 6,
            "TransactionSet": 300100148916939,
            "TransferTransaction": 22399406,
            "ReceivingTransaction": null,
            "Costed": "Interfaced to costing",
            "AssetTrackingStatus": null,
            "AlmInterfaceStatus": "ORA_I",
            "PickSlip": null,
            "PackingUnit": null,
            "ReceiptRequiredAtExpenseDestination": null,
            "ManualReceiptExpense": null,
            "Location": null,
            "ShipToLocationId": null,
            "LocationType": null,
            "Shipment": null,
            "Waybill": null,
            "Carrier": null,
            "FreightCode": null,
            "NumberOfContainers": null,
            "OwningPartyType": "Supplier site",
            "OwningTpType": 1,
            "TransferOwningTpType": 2,
            "OwningParty": "CV_SuppA01",
            "OwningPartySite": "CVSuppA01Site01",
            "TransferOwningPartyType": "Inventory organization",
            "TransferOwningParty": "V1",
            "TransferOwningPartySite": null,
            "ConsumptionAdvice": "300100154820807",
            "ConsumptionAdviceLine": "1",
            "ConsumptionLineId": 300100154820808,
            "PurchaseOrder": null,
            "PurchaseOrderHeaderId": null,
            "PurchaseOrderLineId": null,
            "PurchaseOrderLine": null,
            "ParentTransaction": 22399404,
            "Receipt": null,
            "RcvShipmentHeaderId": null,
            "ReceiptLine": null,
            "RcvShipmentLineId": null,
            "ConsumptionAdviceError": null,
            "ConsumptionAdviceErrorAction": null,
            "AssociatedOwnershipChangeTransaction": null,
            "TaxationCountry": null,
            "DefaultTaxationCountry": null,
            "TransactionBusinessCategory": null,
            "TrxBusinessCategory": null,
            "DocumentFiscalClassification": null,
            "DocumentSubType": null,
            "UserDefinedFiscalClassification": null,
            "UserDefinedFiscClass": null,
            "ProductFiscalClassification": null,
            "CategoryId": null,
            "IntendedUse": null,
            "IntendedUseClassifId": null,
            "LocationOfFinalDischarge": null,
            "ProductCategory": null,
            "ProductCategoryCode": null,
            "TaxClassificationCode": "VAT-5%",
            "TaxClassification": "VAT-5%",
            "ProductType": null,
            "ProductTypeCode": null,
            "FirstPartyTaxRegistrationNumber": null,
            "FirstPtyRegId": null,
            "ThirdPartyTaxRegistrationNumber": null,
            "ThirdPtyRegId": null,
            "ShipFromSite": null,
            "ShipFromLocationId": 24031,
            "TaxInvoiceNumber": null,
            "TaxInvoiceDate": null,
            "AssessableValue": null,
            "Currency": "USD",
            "TaxExemptionCertificateNumber": null,
            "TaxExemptReasonCode": null,
            "ExemptReasonCode": null,
            "OperationNumber": null,
            "OperationSequenceNumber": null,
            "OperationSequenceNumberId": null,
            "OperationTransaction": null,
            "WIPSupplyType": null,
            "WIPSupplyTypeCode": null,
            "WorkCenter": null,
            "DepartmentCode": null,
            "DepartmentId": null,
            "AssemblySerialNumber": null,
            "ElectronicSignature": null,
            "Organization": "V1",
            "OrganizationName": "Vision Corporation",
            "OrganizationId": 204,
            "OwningPartyOrgName": "Vision Corporation",
            "OwningPartyLocation": null,
            "OwningPartyLocationId": 204,
            "TransactionSourceName": null,
            "TransactionSourceId": 2963473,
            "ReasonId": null,
            "ConsErrorTypeCode": null,
            "ConsErrorActionCode": null,
            "OwningOrganizationId": 2444,
            "XfrOwningOrganizationId": 204,
            "StructureInstanceNumber": 1180,
            "Category": null,
            "Lot": null,
            "SerialNumber": null,
            "SupplierLot": null,
            "ExternalSystemPackingUnit": null,
            "DistributionAccountId": null,
            "FinalDischargeLocationId": null
   }, {[]}
   
    ]
}
Back to Top