📚 SAP Business One SDK Help

EnableApprovalProcedureInDI Property
See Also  Example

Description

Determines whether or not the approval procedure is enabled in DI.

Field name: EnbApprDI.

Property type

Read-write property

Syntax

Visual Basic
Public Property EnableApprovalProcedureInDI() As BoYesNoEnum

Remarks

After the global flag EnableApprovalProcedureInDI is turned on, we strongly recommend that you call the GetNewObjectType method each time you add any document or payment to make sure that your Documents(Payments) have been added as Document(Payment) or Draft(PaymentDraft).

Example

Enabling the Approval Procedure in DI (C#)Copy Code
'Enable Approval Procedure flags 
Dim oAdminInfo As SAPbobsCOM.AdminInfo = oCompany.GetCompanyService().GetAdminInfo() 
 
oAdminInfo.EnableApprovalProcedureInDI = SAPbobsCOM.BoYesNoEnum.tYES 
oAdminInfo.DocConfirmation = SAPbobsCOM.BoYesNoEnum.tYES 
oCompany.GetCompanyService().UpdateAdminInfo(oAdminInfo) 

See Also