View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.procurement/M RequisitionLine

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.procurement


Contents

M_RequisitionLine

This table contains the following columns:

Name Nullable Data Type Description


M_Requisitionline_ID No VARCHAR (32) Identifies each product demand of a requisition.
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
AD_Org_ID No VARCHAR (32) An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.
IsActive No CHAR (1) There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
Createdby No VARCHAR (32) The Created By field indicates the user who created this record.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
Updatedby No VARCHAR (32) The Updated By field indicates the user who updated this record.
M_Requisition_ID No VARCHAR (32) The ID identifies a unique requisition
M_Product_ID No VARCHAR (32) Identifies an item which is either purchased or sold in this organization.
Qty No DECIMAL The Quantity indicates the number of a specific product or item for this document.
PriceList Yes DECIMAL The Net List Price is the official price stated by the selected pricelist and the currency of the document.
LineNetAmt Yes DECIMAL Indicates the line net amount based on the quantity and the actual price. Any additional charges or freight are not included.
C_BPartner_ID Yes VARCHAR (32) A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
C_UOM_ID Yes VARCHAR (32) The UOM defines a unique non monetary unit of measure
M_Product_Uom_Id Yes VARCHAR (32) Alternative order UOM for the product.
QuantityOrder Yes DECIMAL

Product quantity in the order uom.

M_AttributeSetInstance_ID Yes VARCHAR (32) The values of the actual Product Attributes
Reqstatus No VARCHAR (60) Each product demand has its own status different than the status of the requisition. The statuses of the demands are:

Open: The demand hasn't been yet fulfilled. Closed: Has been ordered enough products. Cancelled: The demand has been closed without ordering any product. Planned: The demand has been included in a Purchase Plan of the MRP module.

Orderedqty No DECIMAL Indicates the already ordered quantity to fulfill the demand.
Description Yes NVARCHAR (255) A description is limited to 255 characters.
Changestatus Yes CHAR (1) Button to change the status of the record.
Internalnotes Yes NVARCHAR (255) Notes that can be set with the aim to be seen only by users with access to the record.
Suppliernotes Yes NVARCHAR (255) Notes set to include in the Purchase Orders with indications to the vendor.
Needbydate No TIMESTAMP (7) The date by when the demand needs to be fulfilled.
PriceActual Yes DECIMAL The actual price indicates the price for a product in source currency.
Discount Yes DECIMAL The Discount indicates the discount applied or taken as a percentage.
C_Currency_ID Yes VARCHAR (32) Indicates the currency to be used when processing this document.
Lockedby Yes VARCHAR (32) Indicates the user that is locking the record.
Lockqty Yes DECIMAL

Quantity set to be used when the record is processed.

Lockprice Yes DECIMAL

Price set to be used when the record is processed.

M_PriceList_ID Yes VARCHAR (32)

Price Lists are used to determine the pricing, margin and cost of items purchased or sold.

Lockdate Yes TIMESTAMP (7) Indicates the date when the record was locked. Id the lock it is more than 3 days old it is considered as unlocked.
Lockcause Yes VARCHAR (60) Indicate the reason to be locked the requisition line. The demands are locked when are being used in processes that will generate Purchase Orders to fulfill the demand. The lock is removed when those processes finish or if the lock is 3 days old.

The causes are The Requisition to Order window or the inclusion of the demand in a MRP process.

Line No DECIMAL (10,0) Indicates the unique line for a document. It will also control the display order of the lines within a document.
Dateplanned Yes TIMESTAMP (7) Expected date of the transaction.
Gross_Unit_Price Yes DECIMAL This is the price that is provided when the price is inclusive of taxes.
Gross_Amt Yes DECIMAL

Columns

Requisition Line



top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID)

top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID)

top


Active



top


Creation Date



top


Created By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Updated



top


Updated By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Requisition

Foreign key column to M_Requisition table, (column: M_Requisition_ID)

top


Product

Foreign key column to M_Product table, (column: M_Product_ID)

Callout: SL_RequisitionLine_Product

This column has a callout associated.

It is implemented by [1] Java Class.

top


Quantity


Callout: SL_RequisitionLine_Amt

This column has a callout associated.

It is implemented by [2] Java Class.

top


List Price



Callout: SL_RequisitionLine_Amt

This column has a callout associated.

It is implemented by [3] Java Class.

top


Line Net Amount



top


Business Partner


Foreign key column to C_BPartner table, (column: C_BPartner_ID)

Callout: SL_Requisition_BPartner_PriceList

This column has a callout associated.

It is implemented by [4] Java Class.

top


UOM


Foreign key column to C_UOM table, (column: C_UOM_ID)

top


Order UOM


Foreign key column to M_Product_UOM table, (column: M_Product_Uom_Id) It has a validation "M_Product_UOM_ID", with the following code

M_Product_UOM.M_Product_ID = @M_Product_ID@

Callout: SL_RequisitionLine_Conversion

This column has a callout associated.

It is implemented by [5] Java Class.

top


Order Quantity



Callout: SL_RequisitionLine_Conversion

This column has a callout associated.

It is implemented by [6] Java Class.

top


Attribute Set Value


Foreign key column to M_AttributeSetInstance table, (column: M_AttributeSetInstance_ID)

top


Requisition line status


List values: Requisition status

The allowed values for this list are:

top


Matched PO Qty



top


Description



top


Change Status



top


Internal notes



top


Notes for supplier



top


Need by date


top


Unit Price



Callout: SL_RequisitionLine_Amt

This column has a callout associated.

It is implemented by [7] Java Class.

top


Discount %



Callout: SL_RequisitionLine_Amt

This column has a callout associated.

It is implemented by [8] Java Class.

top


Currency


Foreign key column to C_Currency table, (column: C_Currency_ID) It has a validation "C_Currency of PriceList", with the following code

C_Currency.C_Currency_ID IN (SELECT C_Currency_ID FROM M_Pricelist WHERE ISACTIVE='Y')

top


Locked by


Foreign key column to AD_User table, (column: AD_User_ID)

top


Lock qty



top


Lock price



top


Price List


Foreign key column to M_PriceList table, (column: M_PriceList_ID) It has a validation "Purchase Pricelist", with the following code

M_Pricelist.IsSOPricelist='N'

Callout: SL_RequisitionLine_Product

This column has a callout associated.

It is implemented by [9] Java Class.

top


Lock date



top


Lock cause



List values: Requisition lock cause

The allowed values for this list are:

top


Line No.



top


Planned Date



top


Gross Unit Price


Callout: SL_RequisitionLine_Amt

This column has a callout associated.

It is implemented by [10] Java Class.

top


Gross Amount



top


Other Info

Indices

These are the indices for this table (for each index there is a list of all the columns included within it):

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.procurement

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.procurement/M_RequisitionLine"

This page has been accessed 1,273 times. This page was last modified on 29 February 2016, at 20:09. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.