Severe inconsistency between Asset and Transfer Order LineIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> The 3 steps below offer an insight into what is a "Transfer order" and a "Transfer order line", and when would the sub-state of asset change to 'pending transfer' A transfer order is created for an asset when there a plan to move the asset from one physical location to the other.Transfer order being the parent, transfer order lines are created as its children, one order per CI, that has the details about the source and destination location for the CI.Once a transfer order line gets created, 'Active Transfer order' gets checked and the state changes to 'pending_transfer'. Symptoms The scenario which is explained by this knowledge article is where a transfer order line doesn't get created for an asset.When an attempt is made to create a transfer order line, below is the error observed CauseThe above error is seen because - The asset for which the transfer order line is being created, the 'active transfer order' field is already checked and is read-only. That is because of the sub-state being 'pending-transfer'.If the sub-state of an asset is in a 'pending transfer', the business rule 'Push Status to Asset/Consumable' will set the field 'active transfer order' to true(checked).Code snippet from the business rule 'Push Status to Asset/Consumable' that sets the 'Active Transfer order' to 'true', considering different conditions. asset.substatus = 'pending_transfer'; asset.active_to = true;ResolutionIt is mandatory to make sure that the assets are not stuck in 'pending-transfer' OR a manual update to the sub-state field happens and 'pending-transfer' is selected for the assets that are being planned to be transferred. In such a case, if a transfer order is created, the attempt automatically checks the 'active transfer order' and then both the 'sub-state' and the 'active transfer order' fields become read-only. Please make sure to check the sub-state of the asset before creating a transfer order against it and update the sub-state to anything other than pending transfer. Note: Please note that the 'sub-state' field remains editable even if it's in 'pending-transfer' when there is no attempt made to create a transfer order line against the asset. The problem is seen only when a transfer order is being created against the assets which are in pending-transfer sub-state already.