Click or drag to resize

clsImportProjectContractPosition Properties

The clsImportProjectContractPosition type exposes the following members.

Properties
  NameDescription
Public propertyAccrualRuleID
Link to an accrual rule for accrual bookings
Public propertyBaseQuantity
Base Quantity for Bill of Material lines (10 per BOM, when 3 times the BOM ContractQuantity has 30. BaseQuantity=10). Also used, when UseQuantityFromFixPrice is enabled.
Public propertyCode exampleCollectionAccountingPos
(Optionally) Add a list of clsImportProjectContractPositionAccountingPos accounting positions definine the installmentplan of one position. (Mainly for fixed price positions)
Public propertyCode exampleCollectionBOM
Using this List will allows to create a Bill Of Material Hierarchy. The base line (this object) must be of the type SubContractPosition underneath a FixedPrice or BOMHeader (ParentContractPosition>0).

The quantity of this SubContractPosition will be calculated down into all sub positions. The quantity of the sub positions will be used as base quantity and the Quantity is the multiplication with the Quantity of the base position

The hiearchy can have multi levels.
PositionTypeContractQuantityBaseQuantityRemark
FixedPrice   1not usedInitial position in the main contract.
  SubContractPosition   5not usedThis object, where the CollectionBOM is used.
    BOMHeader   5not usedThis Position Type is automatically created reading the childs in the CollectionBOM. The quantity is also aligned with the parent.
      ItemAtFixedPrice  15  3ContractQuantity=3 is the input. 3 is stored in BaseQuantity and 15 in ContractQuantity
      ItemAtFixedPrice  20  4ContractQuantity=4 is the input. 4 is stored in BaseQuantity and 20 in ContractQuantity
      ServiceAtFixedPrice  20  4ContractQuantity=4 is the input. 4 is stored in BaseQuantity and 20 in ContractQuantity
See example for more details.
Public propertyCompanyID
Inherited property of the company on the contract header. Field not required, becuase the company at the contract will be used.
Public propertyContractID
Contract Identifier [Mandantory] link to the MPVKVertraege.VertragsID
Public propertyContractPositionID
Internal Line number of the contract position (starting with 100000). Key value. This number is created during the import.
Public propertyContractPrice
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.
Public propertyContractQuantity
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)
Public propertyDeliveryDate
Item delivery date. Normally inherited from PlanningDueDate of the contract.
Public propertyDescription1
Description1 for the customer
Public propertyDescription2
Description2 for the customer
Public propertyDescription3
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].
Public propertyDescription4
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].
Public propertyEquipmentCategory
Key field for Equipment Category Positions. Additionally the field EquipmentCostTypes have to have the cost type. You may use alternativly the property ItemServiceTravelEquipmentCode.
Public propertyEquipmentCostTypes
To avoid to import all equipment cost type it is possible to define here the cost types. Example value: CostTypeID;CostTypeID;CostTypeID (separator ';') Special handling to enter quantities and prices: CostTypeID|Quantity|Price;CostTypeID|Quantity|Price (separator '|' and ';') If empty all cost type will be imported
Public propertyEquipmentEndDate
Defines the requested rental day range (end date). Only relevant for EquipmentCategory types
Public propertyEquipmentMasterList
Optional filter an equpment rental contract position to one or many specific equipment master (of the same equipment category) add to this List<string> the EquipmentCodes.
Public propertyEquipmentQuantity
For Equipment Rental Positions, the ContractQuantity is the number of days(hours,monthes) the equipment is rented times EquipmentQuantity=number of equipment of this category to be rented. Default=1
Public propertyEquipmentQuantityEditable
Default: no. Enables the probability to change the number of days for one equpiment Booking line
Public propertyEquipmentStartDate
Defines the requested rental day range (start date). Only relevant for EquipmentCategory types
Public propertyERPResourceCode
Resource Code. ORSC.ResCode Only for Service Positions
Public propertyExternalNumber
TEXT: External nummer maby used as a unique key for BOM Import
Public propertyGLAccount
GLAccount overwriting the standard GL Account determination. Default=empty
Public propertyHelpPhaseName
Link one phase to the contract position (DTW supports only one phase (1:1)) Phase found by project specific phase name
Public propertyImportModeSBOBOMSource
When ItemCode is a Production bill of material OITM.TreeType='P' in SBO. This setting can define the behaviour, when importing this line with the childre. Should SBO ProductTree be updated?. See clsImportProjectContractPositioneImportModeSBOBOMSource
Public propertyInvoiceBookingsWithoutValue
For all chargeable positions. Determines whether postings are to be invoiced with the value 0.
Public propertyInvoicingType
The fines the document creation handling, when an invoice will be created. See ePositionInvoicingType
Public propertyIssueMethod
Issue Method for production lines (Manaul or backflush). Only used for positions in a contract BOM
Public propertyItemCode
[Mandantory for item/fixed price lines] Item number (OITM.ItemCode). You may use alternativly the property ItemServiceTravelEquipmentCode.
Public propertyItemMaster
Posibility to link directly the required properties for the item master. Based one the ItemMasterHandling setting, the import will also verify, update and/or create item master data.
Public propertyItemMasterHandling
Setting for the import to decide, if the properties of the ItemMaster object will be handled in the import of this line. See clsImportProjectContractPositioneItemMasterHandling
Public propertyItemServiceTravelEquipmentCode
Alternative key field for all position types. Instead of ItemCode, ServiceCode, TravelExpenseCode or EquipmentCategory.
Public propertyMaintenanceContractEndDate
End of the Maintenance Contract
Public propertyMaintenanceDueDateOffset
Sets the offset for the ServiceDueDateType = FirmDayWithinPeriodOfTime=3. MaintenanceDueDateType
Public propertyMaintenanceDueDateType
Public propertyMaintenanceEnd
Maintenance end date
Public propertyMaintenancePeriodic
Public propertyMaintenancePrice
Base price of the maintenance positions to calculate the position price (5% of 1.000)
Public propertyMaintenanceProRata
Reference to the contract pro rata rule.
Public propertyMaintenanceRate
Rate of the maintenance positions. Use 0.05 for 5%
Public propertyMaintenanceReference
Maintenance reference contract positions (5% of a license position)
Public propertyMaintenanceStart
Maintenance start date
Public propertyMatchcode
Internal name of the position visible to the users (time keeping, contract master etc.)
Public propertyMaximumQuantity
Maximum Quantity as a limit in the contract position. Only for positions with transactions (time, material, equipment)
Public propertyNoSubPriceCalculation
Do not calculate price from subpositions
Public propertyOcrCode1
OcrCode1/Profit Center. Can be set on contract position level, when company setting modified to use profit center from contract position
Public propertyOcrCode2
OcrCode2. Can be set on contract position level, when company setting modified to use profit center from contract position
Public propertyOcrCode3
OcrCode3. Can be set on contract position level, when company setting modified to use profit center from contract position
Public propertyOcrCode4
OcrCode4. Can be set on contract position level, when company setting modified to use profit center from contract position
Public propertyOcrCode5
OcrCode5. Can be set on contract position level, when company setting modified to use profit center from contract position
Public propertyParentContractPosition
ContractPositionID of the parent. Only to be used for clsImportProjectContractPositioneContractPositionType.ItemAtFixedPrice, ServiceAtFixedPrice, EquipmentTimeAtFixedPrice, TravelExpenseAtFixedPrice, ExternalServiceAtFixedPrice or BOMHeader

This contract position ID is used to find the parend position. If it is not set, the first fixed price position is used in the contract, if it is set, it must be a valid contract position Id.

Public propertyPhaseID
Link one phase to the contract position (DTW supports only one phase (1:1)). Stored 1:n in sub table
Public propertyPositionAfterContractPos
Functionality to propose a position for the new or updated contract position. Please set the ContractPositionId of the line above new new line.

Use -1 to insert as a first position (infront of all other position)

Public propertyPositionID
Order Position of all contract positions. Read Only. New Positions will automatically be added at the end or at the end of the parent position child list.
Public propertyPositionText
Position text for the position. Read Only for import
Public propertyPositionTyp
INT [Mandantory] Position Type of the contract Position. Many properties of the position import depend on the corresponding PositionTyp. See eContractPositionType for details.
Public propertyPurchaseMode
Public propertyPurchasePriceChangable
Public propertyPurchasePriceManual
Public propertyPurchasePriceType
Public propertyQuantityType
QuantityType for the position (Only for Serices). if 0 standard will be used. See clsImportProjectContractPositioneQuantityType for details.
Public propertyRebateFlagg
RebateFlagg: (Yes/No): 0=false, 1=true, -1=true, all other = use default. See clsImportProjectContractPositioneYesNoDefault
Public propertyRetainageInterval
Only important for the retainage. Enum (Uses the same field as MaintenancePeriodic)
Public propertyRetainagePercentage
only important for the retainage and maintenance
Public propertyRetainageRefPosition
The retention request position must have a reference to the retention invoice position. (and vice versa)
Public propertySalesPositionRebatePercentage
Position rebate in percent: 100 = 100%
Public propertySalesPriceChangable
Price Changable by user (Yes/No): 0=false, 1=true, -1=true, all other = use default. Can only by true, when RebateFlagg is false. See clsImportProjectContractPositioneYesNoDefault
Public propertySalesPriceType
Public propertyServiceCode
[Mandantory for service lines] Service number MPLeistung.Leistungsnummer. You may use alternativly the property ItemServiceTravelEquipmentCode.
Public propertySourceWarehouse
Linked Warehouse SBO Code for Stock Transfer Processes
Public propertyStandardAccountingType
For Positions with more than one element in CollectionAccountingPos, this setting defines the splitting method
Public propertySubContractID
Public propertySubContractPositionID
Public propertyTravelExpenseCode
Link to the Travel Expense Category MPReise2KostenArten.Reisekostenart. You may use alternativly the property ItemServiceTravelEquipmentCode.
Public propertyUnitOfMeasurement
Unit Of Measurement (Textfield. Mapped to the OITM Sales unit
Public propertyUseQuantityFromFixPrice
For all positions at fixed price. It is possible to caclulate the quantity based on the fixed price Quantity * BaseQuantity. QuantityOption Flag 32.
Public propertyWarehouse
Linked Warehouse SBO Code
Top
See Also