Add | Adds a record to the object table in SAP Business One company database. |
 Close | Closes a record of the object in SAP Business One database. |
 GetAsXML | Returns the object from XML data, which is stored as string in a buffer. |
 GetByKey | Retrieves and sets the values of the object's properties by the object's absolute key from the Company database. |
 Remove | Deletes a record from the object table. |
 SaveToFile | Save the object to a file as XML data. |
 SaveXML | Saves the object data to XML formatted data. |
 Update | Updates the object data in the company database. |
 AttachmentEntry | Sets or returns the identification key of the attachment file, as assigned by SAP Business One when adding an Attachment Entry to alert message. Field name: AtcEntry. |
 BPChanelCode | Sets or returns the distribution channel code for the sales opportunity. Field name: ChnCrdCode. Length: 15 characters. This is a foreign key to the BusinessPartners Object. |
 BPChanelName | Sets or returns the distribution channel card name for the sales opportunity. Field name: ChnCrdName. Length: 100 characters. |
 BPChannelContact | Sets or returns the contact person of the distribution channel for the sales opportunity. Field name: ChnCrdCon. This is a foreign key to the ContactEmployees Object. |
 Browser | Returns the DataBrowser object. |
 CardCode | Sets or returns the business partner code. Mandatory property. Length: 15 characters.Field name: CardCode. |
 ClosingDate | The closing date of the sales opportunity.
Field name: CloseDate. |
 ClosingGrossProfitLocal | Returns the closing gross profit in local currency. Field name: RealProfL. |
 ClosingGrossProfitSystem | Returns the closing gross profit in system currency. Field name: RealProfS. |
 ClosingPercentage | Sets or returns the propability percentage for closing the sales opportunity. Field name: CloPrcnt. |
 ClosingType | Sets or returns a valid value of BoSoClosedInTypes type that specifies the date types (days, weeks, or months) for the ClosingDate. Field name: DifType. |
 Competition | Returns the SalesOpportunitiesCompetition child object. |
 ContactPerson | Sets or returns the customer contact person code. Field name: CprCode. This is a foreign key to the ContactEmployees object. |
 CurrentStageNo | Returns the current stage number. Field name: StepLast. This is a foreign key to the SalesStages object. |
 CurrentStageNumber | property CurrentStageNumber |
 CustomerName | Sets or returns the business partner name who is related to the sales opportunity. Field name: Name. Length: 100 characters. |
 DataOwnershipfield | Sets or returns the employee ID who is responsible for the sales opportunity. Field name: Owner. This is a foreign key to the Employees table (OHEM), not exposed through the DI API. |
 DocumentCheckbox | Sets or returns a valid value of BoYesNoEnum type that specifies whether or not restrict the search range for the business partner's documents. Field name: DocChkbox. |
 GrossProfit | Sets or returns the gross profit percentage. Field name: PrcnProf. |
 GrossProfitTotalLocal | Sets or returns the total gross profit in local currency. Field name: SumProfL. |
 GrossProfitTotalSystem | Sets or returns the total gross profit in system currency. Field name: SumProfS. |
 Industry | Sets or returns the industry ID number. Field name: Industry. This is a foreign key to the Industries object. |
 InterestField1 | Sets or returns the main interest range for the sales opportunity. Field name: IntCat1. This is a foreign key to the Interest table (ooin), not exposed through the DI API. |
 InterestField2 | Sets or returns the secondary interest range for the sales opportunity. Field name: IntCat2. This is a foreign key to the Interest table (ooin), not exposed through the DI API. |
 InterestField3 | Sets or returns the additional interest range for the sales opportunity. Field name: IntCat3. This is a foreign key to the Interest table (ooin), not exposed through the DI API. |
 InterestLevel | Sets or returns the interest level (for example: warm, cold, general interest, and so on) for the sales opportunity.
Field name: IntRate. This is a foreign key to the Interest table (OOIR), not exposed through the DI API. |
 Interests | Returns the SalesOpportunitiesInterests child object. |
 Lines | Returns the SalesOpportunitiesLines child object. |
 LinkedDocumentNumber | Sets or returns the document number that is linked to the sales opportunity. Field name: DocNum. Length: 20 characters. |
 LinkedDocumentType | Sets or returns the type of the document that is linked to the sales opportunity. For example: sales quotation, sales order, delivery, or A/R invoice. Field name: DocType. Length: 2 characters. |
 MaxLocalTotal | Sets or returns the total predicted sales in local currency. Field name: MaxSumLoc. |
 MaxSystemTotal | Sets or returns the total predicted sales in system currency. Field name: MaxSumSys. |
 OpportunityName | Sets or returns the opportunity name. Field name: Name. Length: 100 characters. |
 OpportunityType | property OpportunityType |
 Partners | Returns the SalesOpportunitiesPartners child object. |
 PredictedClosingDate | Sets or returns the predicted closing date. Field name: PredDate. |
 ProjectCode | Sets or returns the project code as defined in the Projects object.
This is a foreign key to the Projects table (OPRJ). Length: 8 characters. Field name: PrjCode. |
 ReasonForClosing | Sets or returns the reason for closing (exists only if the status is "Missed"). Field name: Reason. This is a foreign key to the Defect Cause table (OOFR), not exposed through the DI API). |
 Reasons | Returns the SalesOpportunitiesReasons child object. |
 Remarks | Sets or returns a memo type string that specifies remarks of the sales opportunity. Field name: Memo. Length:64,000 characters. |
 SalesPerson | Sets or returns the sales person code. Field name: SlpCode. This is a foreign key to the SalesPersons object. |
 SequentialNo | Returns the key identifier of the sales opportunity record. SAP Business One assigns this key number automatically when adding a sales opportunity. Field name: OpprId. |
 Source | Sets or returns the source of the sales opportunity, for example, Internet, exposition, consultant, and so on.
Field name: Source This is a foreign key to the Information Source table (OOSR), which is exposed via the SalesOpportunitySourcesSetupService object. |
 StartDate | Sets or returns the start date of the sales opportunity. Mandatory property. Field name: OpenDate. |
 Status | Sets or returns a valid value of BoSoOsStatus type that specifies the summary status of the sales opportunity (Open, Lost, or Won). Field name: Status. |
 StatusRemarks | Sets or returns the status remarks. Length: 30 characters. Field name: StatusRem. |
 Territory | Sets or returns the sales opportunity territory (segment of the market). Field name: Territory. This is a foreign key to the Territories object. Sets or returns the business partner territory as defined in SAP Business One. Relevant to business partners of customer type only. Field name: Territory. This is a foreign key to the Territories object. |
 TotalAmounSystem | Sets or returns the closing total amount of sales in system currency. Field name: RealSumSys. |
 TotalAmountLocal | Sets or returns the closing total amount of sales in local currency. Field name: SumProfL. |
 UpdateDate | property UpdateDate |
 UpdateTime | property UpdateTime |
 UserFields | Returns the UserFields object. |
 UserSignature | Returns the ID of the user who enters the sales opportunity details. Field name: UserSign. This is a foreign key to the Users object. |
 WeightedSumLC | Sets or returns the weighted predicted sales in local currency. Field name: WtSumLoc. |
 WeightedSumSC | Sets or returns the weighted predicted sales in system currency.
Field name: WtSumSys. |
Â
Â