Description
Total weight of recycled plastic
Property type
Read-write property
Syntax
| Visual Basic |
|---|
Public Property WeightOfRecycledPlastic() As Double |
Remarks
Example
| C# | Copy Code |
|---|
CompanyService ocompanyServ = oDIComp.GetCompanyService(); SAPbobsCOM.InventoryOpeningBalancesService oInventoryOpeningBalancesService = ocompanyServ.GetBusinessService(SAPbobsCOM.ServiceTypes.InventoryOpeningBalancesService); SAPbobsCOM.InventoryOpeningBalance oInventoryOpeningBalance = (SAPbobsCOM.InventoryOpeningBalance)oInventoryOpeningBalancesService.GetDataInterface(SAPbobsCOM.InventoryOpeningBalancesServiceDataInterfaces.iobsInventoryOpeningBalance); SAPbobsCOM.InventoryOpeningBalanceLine oInventoryOpeningBalanceLine; oInventoryOpeningBalance.DocumentDate = DateTime.Today; oInventoryOpeningBalance.PostingDate = DateTime.Today; oInventoryOpeningBalanceLine = oInventoryOpeningBalance.InventoryOpeningBalanceLines.Add(); oInventoryOpeningBalanceLine.ItemCode = ""Item1""; oInventoryOpeningBalanceLine.WarehouseCode = ""01""; oInventoryOpeningBalanceLine.OpeningBalance = 10; oInventoryOpeningBalanceLine.Price = 20; oInventoryOpeningBalanceLine.WeightOfRecycledPlastic = 10; oInventoryOpeningBalanceLine.Lines.PlasticPackageExemptionReason = ""a""; oInventoryOpeningBalancesService.Add(oInventoryOpeningBalance); |
|
See Also