Hi
Attachment does not contain a constructor that takes 1 arguments. I am writing thos code using sap b1 Sdk
SAPbobsCOM.Attachment attachment = new SAPbobsCOM.Attachment(@"10.0.1.10\SAP_Attachments\Outgoing Payments_204673_20250314_205951");
message.Attachments.Add(attachment);
Thanks