HubSpot Ideas

zufe4631

Deal line items not setting position value on deal creation

Line items have a hs_position_on_quote property that stores their position on a quote. Seems to be the only publicly visible property in the API that stores line item positioning. When creating new deals and adding line items in the create editor, the line items hs_position_on_quote property does not get set. If you retrieve the line items through the API, the property will be set to null on all the line items.

 

If you add line items after deal create using the line item editor, the hs_position_on_quote property does get set on all line items to the order the line item appears in the editor. The property name can be misleading because for deal line items, they don't have to be on a quote for the property to have a value. You can have line items on a deal with no quotes and as long as you create or edit the line items in the line item editor, they will get a hs_position_on_quote value.

 

Would be very helpful if the deal create editor set the property on line items added instead of leaving them null. Makes integrating with other systems a challenge when users use the deal create editor to add line items instead of the line item editor. With null position values, it is hard to know for certain what order the user had the line items in on the deal create editor making it hard in integrations to push them into other systems in the same order.

0 Upvotes
1 Reply
zufe4631
Member

Happy to report this appears to be fixed now. Line items are now getting a value set for the hs_position_on_quote property when created from the deal create form.