📚 SAP Business One SDK Help

EDocSign Property
See Also  Example

Description

A flag that indicate the line relates to document signing.

Property type

Read-write property

Syntax

Visual Basic
Public Property EDocSign() As BoYesNoEnum

Example

C#Copy Code
SAPbobsCOM.Attachments2 att = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAttachments2); 
    att.Lines.Add(); 
    att.Lines.SetCurrentLine(0); 
    att.Lines.SourcePath = ""c:\\tmp"";    // set the folder where you downloaded the PDFs (other than Attachments folder) 
    att.Lines.FileName = ""TestingPDF_with_EDocSign_flag""; 
    att.Lines.FileExtension = ""pdf""; 
    att.Lines.EDocSign = BoYesNoEnum.tYES; 
    retVal = att.Add(); 
    int attAbsEntry = Convert.ToInt32(oCompany.GetNewObjectKey());

See Also