📚 SAP Business One SDK Help

CopyToProductionOrder Property
See Also  Example

Description

Copy attachments automatically from BOM to production order.

Field name: CopyToProd.

Property type

Read-write property

Syntax

Visual Basic
Public Property CopyToProductionOrder() As BoYesNoEnum

Example

C#Copy Code
SAPbobsCOM.Attachments2 att = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oAttachments2); success = att.GetByKey(productionOrder.AttachmentEntry);  
att.Lines.SetCurrentLine(0); 
att.Lines.CopyToProductionOrder = BoYesNoEnum.tYES;

See Also