📚 SAP Business One SDK Help

PlasticPackageExemptionReason Property
See Also  Example

Description

Reason for exemption from tax; options are determined by the authorities.

Property type

Read-write property

Syntax

Visual Basic
Public Property PlasticPackageExemptionReason() As String

Remarks

Spain localization

Example

C#Copy Code
CompanyService ocompanyServ = oDIComp.GetCompanyService(); 
            IInventoryCountingsService invServ = (IInventoryCountingsService)ocompanyServ.GetBusinessService(ServiceTypes.InventoryCountingsService); 
            InventoryCounting invDoc = (InventoryCounting)invServ.GetDataInterface(InventoryCountingsServiceDataInterfaces.icsInventoryCounting); 
 
            invDoc.InventoryCountingLines.Add(); 
 
            invDoc.CountDate = DateTime.Today; 
            invDoc.CountingType = CountingTypeEnum.ctSingleCounter; 
 
            InventoryCountingLine invLine = invDoc.InventoryCountingLines.Item(0); 
            invLine.ItemCode = ""Item1""; 
            invLine.WarehouseCode = ""01""; 
            invLine.CountedQuantity = 11; 
     
            invLine.Counted = BoYesNoEnum.tYES; 
            invLine.WeightOfRecycledPlastic = -1; 
            invLine.PlasticPackageExemptionReason = ""a""; 
            invServ.Add(invDoc);

See Also