Query: Reservation to Sales Order
Hello,
I am trying to generate a query to list all sales order items without a reservation in R12.2. According to the etrm documentation I should be able to use mtl_reservation.demand_source_header_id. From the documentation:
MTL_RESERVATIONS.DEMAND_SOURCE_HEADER_ID
Description: Header identifier for source of demand. For Sales Order: OE_ORDER_HEADERS.HEADER_ID. For Account: GL_CODE_COMBINATIONS.CODE_COMBINATION_ID. For Account Alias: MTL_GENERIC_DISPOSITIONS.DISPOSITION_ID
When I join the reservations on this field it does not match up. I created a unique item (to ensure I was working with the same associated records) and entered a sales order for the item and then a reservation through "Sales Orders" -> "Line Items" (tab) -> "Tools" (menu) -> "Scheduling" -> "Reservation Details" -> "Supply"