Hello,
I am trying to write data from a gallery to a Dataverse table. However, when I attempt to create a Patch formula to the table (titled "CHSMWL OPR Details' in this instance), it is giving me the error "Invalid argument type (GUID). Expecting a table value instead."
Below is the full argument I have set for my "Save as draft" button's OnSelect property. TIA.
Set(
VarOPR,
Patch(
'CHSMWL OPRS',
If(
VarEditOPRMode = "New",
Defaults('CHSMWL OPRS'),
VarOPR
),
{
'Request Title': dcv_requesttitle,
'OPR Requestor Name': dcv_RequestorName,
'OPR Requestor Email Address': dcv_requestoremailaddress,
'Requestor Command': dcv_requestorcommand,
'Requestor Department': dcv_requestordepartment,
'Merchant Name': dcv_merchantname,
'Merchant Point of Contact': dcv_merchantPOC,
'Merchant Phone Number': dcv_merchantphonenumber,
'Merchant Web Address': dcv_merchantwebaddress,
'Prohibited and Special Attention Item Screening': dcv_prohibitedscreening,
'Split Requirement Screening': dcv_splitscreening,
'Mandatory Sources of Supply Screening': dcv_sourceofsupplyscreening,
'HAZMAT Screening': dcv_hazmatscreening,
'IT Equipment Screening': dcv_itscreening,
'Facilities Purchase Screening': dcv_facilitiesscreening,
Justification: dcv_justfication,
Quote: dcv_quote
}
)
);
RemoveIf(
'CHSMWL OPR Details',
'CHSMWL OPR'.'CHSMWL OPR' = VarOPR.'CHSMWL OPR'
);
ForAll(
gal_createnew_itemizeddescription.AllItems,
Patch('CHSMWL OPR Details',

Report
All responses (
Answers (