Click or drag to resize

clsImportSalesContractDocumentPositions Class

Data Holder for document positions of the sale contract documents. The class reads from the MS Access table: MARIProjektImportSalesContractDocumentPositions.

See clsImportPurchaseProcessDocumentPositions for purchase document positions.

Sales Documents positions: View: MARIContractDocumentPositions: :Table: MPVKVertraegeBelegePositionen

Inheritance Hierarchy
SystemObject
  MARIInterfaceclsImportBase
    MARIInterfaceclsImportSalesContractDocumentPositions
      MARIInterfaceclsImportPurchaseProcessDocumentPositions

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public class clsImportSalesContractDocumentPositions : clsImportBase

The clsImportSalesContractDocumentPositions type exposes the following members.

Constructors
  NameDescription
Public methodclsImportSalesContractDocumentPositions
Initializes a new instance of the clsImportSalesContractDocumentPositions class
Top
Properties
  NameDescription
Public propertyAccountingConditions
Accounting Condition. Reference to the accounting position issuing this position
Public propertyAccountingInfo
AccountingInfo. Third text field in the document position. INV1.U_MARIMem2 (Use only this property for text positions)
Public propertyBaseEntry
Document Link to the ERP Document INV1.DocEntry
Public propertyBaseLine
Document Link to the ERP document INV1.LineNum
Public propertyBaseType
Public propertyBinLocations
Split of the quantity by OBIN.AbsEntry. Only applies for warehouses with bin locations. Stored in MARI as a JSON
Public propertyCompany
Company (copy from head)
Public propertyDeliveryDate
Delivery date for this position. This field is also used as requested delivey dates (purchase order)
Public propertyDeliveryTime
Lead Time in days
Public propertyDeliveryWeek
Delivery Week calculated based on the delivery date.
Public propertyDescription1
First text field for this position. INV1.Dscription
Public propertyDescription2
Second text field for this position. INV1.U_MARIBez2
Public propertyDimensionText
Old Property for now PositionInfo
Public propertyDiscountPercentage
Position rebate: Discount Percent
Public propertyDiscountValue
Rebate amount in document currency
Public propertyDocEntry
DocEntry INV1.DocEntry
Public propertyDocLineNum
DocLineNum
Public propertyDocLineSeq
DocLineSeq
Public propertyHeight1
Height1
Public propertyHght1Unit
Hght1Unit
Public propertyItemCode
Mandatory item number field for each line type positions.
Public propertyLen1Unit
Len1Unit
Public propertyLength1
Length1
Public propertyLongText
Old Property for now AccountingInfo
Public propertyMARIDocID
Link to the document head
Public propertyMARIDocPosID
MARIProject internal position id. 0 for import
Public propertyMPPositionType
Position type for this position comming from the contract position. See clsImportProjectContractPositioneContractPositionType for the enum.
Public propertyPositionInfo
PositionInfo. Fourth text field in the document position. INV1.U_MARIMem1
Public propertyPositionReference
Reference to the contract or purchase process position
Public propertyPositionType
Simplified line type for the SBO line types. (ItemLine, TextLine) See clsImportSalesContractDocumentPositionsePosTypes for the enum.
Public propertyProRataEndDate
ProRataEndDate
Public propertyProRataNumberOfPeriods
Number of Periods (pro rata range)
Public propertyProRataStartDate
ProRataStartDate
Public propertyQuantity
Quantity. INV1.Quantity
Public propertyTaxCode
SAP Tax Code for US Tax mechanism. MARI Tax Code via mapping for European tax mechanism.

Leave this field empty to use the standard from the contract/purchase process position or if empty from the SBO default

INV1.TaxCode
Public propertyTaxOnlyLine
SAP Tax Only for special tax calculation. Not supported at the moment.
Public propertyUnitPrice
Unit price of this position in document currency. INV1.Price
Public propertyVolume
Volume
Public propertyVolUnit
VolUnit
Public propertyWareHouse
Warehouse Code. INV1.WhsCode
Public propertyWdth1Unit
Wdth1Unit
Public propertyWeight1
Weight1
Public propertyWght1Unit
Wght1Unit
Public propertyWidth1
Width1
Top
Methods
Fields
  NameDescription
Public fieldColBatchNumbers
For itemcodes requireing batch numbers, please fill this collection with batches.
Public fieldColSerialNumbers
For itemcodes requiering serial numbers, please fill this collections with serial numbers.
Top
Remarks
This class will be used automatically when importing the clsImportSalesContractDocument class. It is not possible to import only a document position. System.Runtime.Serialization.DataContract steht dran, damit Dictionay(of.. serialiisert werden können)
See Also