📚 SAP Business One SDK Help

WeightOfRecycledPlastic Property
See Also  Example

Description

Total weight of recycled plastic for row of marketing document.

Property type

Read-write property

Syntax

Visual Basic
Public Property WeightOfRecycledPlastic() As Double

Remarks

Spain localization.

Example

C#Copy Code
Documents oDoc = (Documents)oDIComp.GetBusinessObject(BoObjectTypes.oPurchaseOrders); 
oDoc.CardCode = ""V1""; 
oDoc.DocDate = DateTime.Today; 
oDoc.DocDueDate = DateTime.Today; 
oDoc.Lines.ItemCode = ""Item1""; 
oDoc.Lines.Quantity = 1; 
oDoc.Lines.Price = 10; 
oDoc.Lines.WeightOfRecycledPlastic = 10; 
oDoc.Lines.PlasticPackageExemptionReason = ""a""; 
oDoc.Add();

See Also