What out of the box data entities in D365 Finance and Operations can we use to get the…
- User
What out of the box data entities in D365 Finance and Operations can we use to get the quantity delivered or delivery remainder for sales order lines and the quantity received or received remainder for purchase order lines?
- Assistant
In D365 Finance and Operations, the out-of-the-box data entities that you can use to get the quantity delivered or delivery remainder for sales order lines and the quantity received or received remainder for purchase order lines are:
- Sales order related entities:
- Sales order line: This entity represents the individual lines of a sales order. It contains information such as the product, quantity, unit price, and delivery schedule. The fields "Qty shipped" and "Qty remaining" can be used to get the quantity delivered or delivery remainder for sales order lines.
- Purchase order related entities:
- Purchase order line: This entity represents the individual lines of a purchase order. It contains information such as the product, quantity, unit price, and delivery schedule. The fields "Qty received" and "Qty remaining" can be used to get the quantity received or received remainder for purchase order lines.
Note that these data entities may be extended or customized depending on your specific implementation of D365 Finance and Operations, so the field names or locations may vary.
- User
I do not see any column like Qty remaining on SalesOrderLineV2
- Assistant
You're correct, the "Qty remaining" field is not available in the out-of-the-box "SalesOrderLineV2" data entity in D365 Finance and Operations. However, you can calculate the "Qty remaining" field by subtracting the "Qty shipped" from the "Sales order line quantity" field. Here's an example of how you can create a new computed column to calculate the "Qty remaining" field in the SalesOrderLineV2 data entity:
- Go to "Data Management" and select "Data Entities".
- Search for "SalesOrderLineV2" and open it.
- In the "Fields" tab, click on "Add Computed Field" and enter the following details:
- Name: QtyRemaining
- Data Type: Decimal
- Computed Column Expression: SalesOrderLineQuantity - QtyShipped
- Save the changes and close the "SalesOrderLineV2" data entity.
- Refresh the "SalesOrderLineV2" entity list to load the new computed column.
Now you can use the "QtyRemaining" column to get the remaining quantity for each sales order line. Keep in mind that this approach assumes that the "QtyShipped" field represents the total quantity shipped for the sales order line, including any partial shipments.
- User
there is no field named SalesOrderLineQuantity
- Assistant
I apologize for the confusion. The "SalesOrderLineQuantity" field does not exist in the "SalesOrderLineV2" data entity. Instead, you can use the "SalesQty" field to represent the sales order line quantity.
To calculate the "Qty remaining" field, you can subtract the "Qty shipped" from the "SalesQty" field. Here's an example of how you can create a new computed column to calculate the "Qty remaining" field in the "SalesOrderLineV2" data entity:
- Go to "Data Management" and select "Data Entities".
- Search for "SalesOrderLineV2" and open it.
- In the "Fields" tab, click on "Add Computed Field" and enter the following details:
- Name: QtyRemaining
- Data Type: Decimal
- Computed Column Expression: SalesQty - QtyShipped
- Save the changes and close the "SalesOrderLineV2" data entity.
- Refresh the "SalesOrderLineV2" entity list to load the new computed column.
Now you can use the "QtyRemaining" column to get the remaining quantity for each sales order line. Please keep in mind that this approach assumes that the "QtyShipped" field represents the total quantity shipped for the sales order line, including any partial shipments.
- User
there is no field named QtyShipped either
- Assistant
I apologize for the confusion. The "QtyShipped" field is also not available in the out-of-the-box "SalesOrderLineV2" data entity in D365 Finance and Operations.
However, you can use the "SalesLineDelivery" data entity to get the quantity shipped and then join it with the "SalesOrderLineV2" data entity to calculate the remaining quantity.
Here are the steps to get the quantity remaining for each sales order line using these data entities:
- User
I don't see an entity named SalesLineDelivery. Are you sure you are using D365 F & O?
- Assistant
I apologize for the confusion. You are correct that there is no "SalesLineDelivery" entity in D365 Finance and Operations.
Instead, you can use the "SalesLineInvoiced" entity to get the quantity invoiced and then join it with the "SalesOrderLineV2" entity to calculate the remaining quantity.
Here are the steps to get the quantity remaining for each sales order line using these data entities:
- Go to "Data Management" and select "Data Entities".
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.