Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Patch 1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Patch(

tbl_ticket,
Defaults(tbl_ticket),
{
ticket_id: textinput_Id.Text,
Incident_Title: 'textinput Incident Title'.Text,
Description: 'Textinput Description'.Text
},
{
ref_repoter_Id: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_employee,
User().Email = Email_Address
).ID,
Value: LookUp(
tbl_employee,
User().Email = Email_Address,
User_Name
)
}
},
{
Ref_Department_Id: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_ITSM_department_table,
Department_Name = 'Dropdown_
Department'.SelectedText.Value
).ID,
Value: LookUp(
tbl_ITSM_department_table,
Department_Name = 'Dropdown_
Department'.SelectedText.Value,
Department_Name
)
}
},
{
Ref_Category_Id: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_Incident_Category,
Category = Dropdown_Category.SelectedText.Category
).ID,
Value: LookUp(
tbl_Incident_Category,
Category = Dropdown_Category.SelectedText.Category,
Category
)
}
},
{
Ref_Subcategory_Id: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_Incident_Subcategory,
Incident_Subcategory =
Dropdown_Subcategory.SelectedText.Incident_Subcategory
).ID,
Value: LookUp(
tbl_Incident_Subcategory,
Incident_Subcategory =
Dropdown_Subcategory.SelectedText.Incident_Subcategory,
Incident_Subcategory
)
}
},
{
ref_support_person: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_support_person,
Ref_Department_Id.Value = LookUp(
tbl_ITSM_department_table,
Department_Name = 'Dropdown_
Department'.SelectedText.Value,
'Department_ID '
) And ref_Supportperson_type.Value = LookUp(
tbl_supportperson_type,
SPT_Name = "Senior",
SPT_Id
)
).ID,
Value: LookUp(
tbl_support_person,
Ref_Department_Id.Value = LookUp(
tbl_ITSM_department_table,
Department_Name = 'Dropdown_
Department'.SelectedText.Value,
'Department_ID '
) And ref_Supportperson_type.Value = LookUp(
tbl_supportperson_type,
SPT_Name = "Senior",
SPT_Id
),
Support_Employee
)
}
},
{
Ref_Urgency_Id: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_urgency,
Urgency_Type = DropdownUrgency.SelectedText.Value
).ID,
Value: LookUp(
tbl_urgency,
Urgency_Type = DropdownUrgency.SelectedText.Value,
Urgency_Type
)
}
},
{
Ref_Priority_Level_Id: {
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id: LookUp(
tbl_priority_level,
Priority_Level_of_Incident = Priority.Text
).ID,
Value: LookUp(
tbl_priority_level,
Priority_Level_of_Incident = Priority.Text,
Priority_Level_of_Incident
)
}
},
{
Ref_Incident_Status_Id:{
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Id:LookUp(tbl_Incident_status,Status_Name="In
Progress").ID,Value:LookUp(tbl_Incident_status,Status_Name="In
Progress",Status_Name)
}
},
{
Ref_Impact_Id:{
'@odata.type':
"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",Id:LookU
p(tbl_Impact,Impact=DropdownImpact.SelectedText.Impact).ID,Value:LookUp(t
bl_Impact,Impact=DropdownImpact.SelectedText.Impact).Impact
}
}

);

You might also like