Copy attachments automatically from BOM to production order.
Field name: CopyToProd.
Public Property CopyToProductionOrder() As BoYesNoEnum
SAPbobsCOM.Attachments2 att = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAttachments2); success = att.GetByKey(productionOrder.AttachmentEntry); att.Lines.SetCurrentLine(0); att.Lines.CopyToProductionOrder = BoYesNoEnum.tYES;
Attachments2_Lines Object