I am doing a GraphQL call to get a quote’s line items, and the line items of all quotes associated to the original quote’s deal. I’m working on an inventory management solution. Each deal can have multiple quotes, which is one of my underlying process issues. This blocker I’m encountering is that when a deal is manually signed it loses all of it’s line items.
Can anyone explain why a manually signed quote loses all its associations to line items?
This is the data I’m getting back.
"data": {
"CRM": {
"quote": {
"associations": {
"deal_collection__primary": {
"items": [
{
"associations": {
"quote_collection__primary": {
"items": [
{
"hs_object_id": 768853130,
"hs_sign_status": {
"label": "Quote has been manually signed (via marked as sign feature)",
"value": "MANUALLY_SIGNED"
},
"hs_status": {
"label": "Approval not needed",
"value": "APPROVAL_NOT_NEEDED"
},
"associations": {
"line_item_collection__primary": {
"items": []
}
}
},
{
"hs_object_id": 770680221,
"hs_sign_status": {
"label": "Quote has completed esign process",
"value": "ESIGN_COMPLETED"
},
"hs_status": {
"label": "Approval not needed",
"value": "APPROVAL_NOT_NEEDED"
},
"associations": {
"line_item_collection__primary": {
"items": [
{
"name": "14963999249 - Test Product Type",
"quantity": 2
},
{
"name": "15129201267 - Test Product #1",
"quantity": 2
},
{
"name": "15129201267 - Test Product #3",
"quantity": 1
},
{
"name": "14963999249 - Test Product Type #2",
"quantity": 1
},
{
"name": "14899564042 - TEST5",
"quantity": 1
}
]
}
}
},
{
"hs_object_id": 781364256,
"hs_sign_status": {
"label": "Quote has been manually signed (via marked as sign feature)",
"value": "MANUALLY_SIGNED"
},
"hs_status": {
"label": "Approval not needed",
"value": "APPROVAL_NOT_NEEDED"
},
"associations": {
"line_item_collection__primary": {
"items": []
}
}
},
{
"hs_object_id": 788285090,
"hs_sign_status": null,
"hs_status": {
"label": "Draft",
"value": "DRAFT"
},
"associations": {
"line_item_collection__primary": {
"items": [
{
"name": "14899564042 - TEST5",
"quantity": 1
},
{
"name": "15129201267 - Test Product #3",
"quantity": 1
},
{
"name": "14963999249 - Test Product Type #2",
"quantity": 2
},
{
"name": "15129201267 - Test Product #3",
"quantity": 2
},
{
"name": "14963999249 - Test Product Type #2",
"quantity": 1
}
]
}
}
}
]
}
}
}
]
},
"line_item_collection__primary": {
"items": []
}
}
}
}
}
}