clsImportServicePosition Class |
The class clsImportService offers by default properties for the first company linked. With this class additional company linkes can be defined
The details to a service position are stored in MPVKVertraegePositionen. For each company linked to the service master one header line in MPVKVertraege with MPVKVertraege.Vertragsart = 6 clsImportProjectContracteContractTypes=ServicesDefinition
The property ServiceCode joins this position class with its parent
Namespace: MARIInterface
The clsImportServicePosition type exposes the following members.
| Name | Description | |
|---|---|---|
| clsImportServicePosition | Initializes a new instance of the clsImportServicePosition class |
| Name | Description | |
|---|---|---|
| CompanyID | Logical Link to the company (managed via the header table). This field is redundant in the table. The company in the contract master is relevant. | |
| ContractPositionID | Contract Identifier [Mandantory] link to the MPVKVertraege.VertragsID | |
| ContractPrice | Single sales price of this position (in contract currency). Use -1 for the reading the default price from item or service based on the sales price list in the contract, of if empty from the customer of the contract. | |
| ContractQuantity | Standard quantity of the contract position. In sub contracts this is the resulting quantity. (3 Times the BOM of 10 times this line = ContractQuantity=30) | |
| Description1 | Description1 for the customer | |
| Description2 | Description2 for the customer | |
| Description3 | Description3 for the customer for placeholders by each time booking line. Placeholders can be imported using the current user language place holder codes. For example [Posting information equipment]. | |
| Description4 | TEXT: Description4 for the customer for placeholders for the position. Placeholders can be imported using the current user language place holder codes. For example [Posting information equipment]. | |
| ItemCode | [Mandantory for item/fixed price lines] Item number (OITM.ItemCode). | |
| Matchcode | Internal name of the position visible to the users (time keeping, contract master etc.) | |
| PositionTyp | INT [Mandantory] Position Type of the contract Position. Many properties of the position import depend on the corresponding PositionTyp. See clsImportProjectContractPosition.eContractPositionType for details.
Default is clsImportProjectContractPosition.eContractPositionType.ServiceAtCost. | |
| PurchasePriceManual | Manual purchase price, only used when PurchasePriceType = clsImportProjectContractPositionePurchasePriceType.ManualEntry = 1 | |
| QuantityType | QuantityType for the position. if 0 standard will be used. See clsImportProjectContractPositioneQuantityType for details. | |
| ServiceCode | [Mandantory for service lines] Service number MPLeistung.Leistungsnummer. | |
| UnitOfMeasurement | Unit Of Measurement (Textfield. Mapped to the OITM Sales unit |