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
Namespace: MARIInterface
The clsImportSalesContractDocumentPositions type exposes the following members.
| Name | Description | |
|---|---|---|
| clsImportSalesContractDocumentPositions | Initializes a new instance of the clsImportSalesContractDocumentPositions class |
| Name | Description | |
|---|---|---|
| AccountingConditions | Accounting Condition. Reference to the accounting position issuing this position | |
| AccountingInfo | AccountingInfo. Third text field in the document position. INV1.U_MARIMem2 (Use only this property for text positions) | |
| BaseEntry | Document Link to the ERP Document INV1.DocEntry | |
| BaseLine | Document Link to the ERP document INV1.LineNum | |
| BaseType | Document Link to the ERP document INV1.BaseType. See clsImportSalesContractDocumentPositionseBaseType for the enumeration. | |
| BinLocations | Split of the quantity by OBIN.AbsEntry. Only applies for warehouses with bin locations. Stored in MARI as a JSON | |
| Company | Company (copy from head) | |
| DeliveryDate | Delivery date for this position. This field is also used as requested delivey dates (purchase order) | |
| DeliveryTime | Lead Time in days | |
| DeliveryWeek | Delivery Week calculated based on the delivery date. | |
| Description1 | First text field for this position. INV1.Dscription | |
| Description2 | Second text field for this position. INV1.U_MARIBez2 | |
| DimensionText |
Old Property for now PositionInfo | |
| DiscountPercentage | Position rebate: Discount Percent | |
| DiscountValue | Rebate amount in document currency | |
| DocEntry | DocEntry INV1.DocEntry | |
| DocLineNum | DocLineNum | |
| DocLineSeq | DocLineSeq | |
| Height1 | Height1 | |
| Hght1Unit | Hght1Unit | |
| ItemCode | Mandatory item number field for each line type positions. | |
| Len1Unit | Len1Unit | |
| Length1 | Length1 | |
| LongText |
Old Property for now AccountingInfo | |
| MARIDocID | Link to the document head | |
| MARIDocPosID | MARIProject internal position id. 0 for import | |
| MPPositionType | Position type for this position comming from the contract position. See clsImportProjectContractPositioneContractPositionType for the enum. | |
| PositionInfo | PositionInfo. Fourth text field in the document position. INV1.U_MARIMem1 | |
| PositionReference | Reference to the contract or purchase process position | |
| PositionType | Simplified line type for the SBO line types. (ItemLine, TextLine) See clsImportSalesContractDocumentPositionsePosTypes for the enum. | |
| ProRataEndDate | ProRataEndDate | |
| ProRataNumberOfPeriods | Number of Periods (pro rata range) | |
| ProRataStartDate | ProRataStartDate | |
| Quantity | Quantity. INV1.Quantity | |
| TaxCode | 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 | |
| TaxOnlyLine | SAP Tax Only for special tax calculation. Not supported at the moment. | |
| UnitPrice | Unit price of this position in document currency. INV1.Price | |
| Volume | Volume | |
| VolUnit | VolUnit | |
| WareHouse | Warehouse Code. INV1.WhsCode | |
| Wdth1Unit | Wdth1Unit | |
| Weight1 | Weight1 | |
| Wght1Unit | Wght1Unit | |
| Width1 | Width1 |
| Name | Description | |
|---|---|---|
| bReadPosFromDB | ||
| bSaveRSToMDB | (Overrides clsImportBasebSaveRSToMDB(MPInterface, DataRow, DataTable).) | |
| GetListUserDefinedFields |
Returns the user defined field definition for the dimension "Sales Contract Document Positions". The fields have to be defined directly in MARIProject.
(Overrides clsImportBaseGetListUserDefinedFields(MPInterface).) |
| Name | Description | |
|---|---|---|
| ColBatchNumbers |
For itemcodes requireing batch numbers, please fill this collection with batches.
| |
| ColSerialNumbers |
For itemcodes requiering serial numbers, please fill this collections with serial numbers.
|