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.materialmgmt.transaction/M InOut

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.materialmgmt.transaction


Contents

M_InOut

This table contains the following columns:

Name Nullable Data Type Description


SalesRep_ID Yes VARCHAR (32) Indicates the sales representative responsible for the transaction that the document specifies . A valid sales representative is a business partner marked as an employee and a sales representative.
Posted No VARCHAR (60) An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.
User2_ID Yes VARCHAR (32) The user defined element displays the optional elements that have been defined for this account combination.
AD_OrgTrx_ID Yes VARCHAR (32) The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.
C_Project_ID Yes VARCHAR (32) Identifier of a project defined within the Project & Service Management module.
C_Campaign_ID Yes VARCHAR (32) The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.
C_Activity_ID Yes VARCHAR (32) Activities indicate tasks that are performed and used to utilize Activity based Costing
NoPackages Yes DECIMAL (10,0) The number of packages being shipped.
TrackingNo Yes NVARCHAR (60) Number to track the shipment
PickDate Yes TIMESTAMP (7) Date/Time when picked for Shipment
ShipDate Yes TIMESTAMP (7) Actual Date/Time of Shipment (pick up)
User1_ID Yes VARCHAR (32) The user defined element displays the optional elements that have been defined for this account combination.
DocumentNo No NVARCHAR (30) The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
UpdateLines Yes CHAR (1) Update attribute lines from shipment
MovementDate No TIMESTAMP (7) The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.
Islogistic Yes CHAR (1) If is logistic it won't be invoiced. It uses for companies that rent locators or incoming materials that we don't want to invoice
C_BPartner_ID No VARCHAR (32) A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.
GenerateLines Yes CHAR (1) A button that creates in out lines
Delivery_Location_ID Yes VARCHAR (32) Location where the product will be delivered to
M_FreightCategory_ID Yes VARCHAR (32) Freight Categories are used to calculate the Freight for the Shipper selected
Calculate_Freight Yes CHAR (1) Calculate freight cost
Freight_Currency_ID Yes VARCHAR (32) Indicates the currency of the freight amount when it is calculated.
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.
POReference Yes NVARCHAR (20) This can be used to input a reference for this specific transaction. For example, a Purchase Order number can be input on a Sales Order for easier reference.
M_Warehouse_ID No VARCHAR (32) The Warehouse identifies a unique Warehouse where products are stored or Services are provided.
DocStatus No VARCHAR (60) The Document Status indicates the status of a document at this time. To change the status of a document, use one of the buttons usually located at the bottom of the document window.
RM_Receipt_PickEdit Yes CHAR (1)
RM_Shipment_Pickedit Yes CHAR (1)
M_Condition_Goods_ID Yes VARCHAR (32)
A_Asset_ID Yes VARCHAR (32) Any item of economic value owned by the corporation, especially that which could be converted to cash.
C_Costcenter_ID Yes VARCHAR (32) Division that adds to the cost of an organization. Internal structure for cost allocation.
Process_Goods_Java Yes VARCHAR (60)

You find the current status in the Document Status field. The options are listed in a popup

Isnettingshipment Yes CHAR (1) Field that says if the shipment is a netting shipment
DateOrdered Yes TIMESTAMP (7) Indicates the Date an item was ordered.
C_Invoice_ID Yes VARCHAR (32) The Invoice ID uniquely identifies an Invoice Document.
GenerateTo Yes CHAR (1) A button that creates documents
CreateFrom Yes CHAR (1) A process that allows the user to copy lines (products) from an existing document different from the one being copied into. For example, in case of entering a new Goods Shipment, the user can copy lines (products) from an existing Sales Order or Sales Invoice.
DocAction No VARCHAR (60)

You find the current status in the Document Status field. The options are listed in a popup

C_Order_ID Yes VARCHAR (32) Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.
DatePrinted Yes TIMESTAMP (7) Indicates the Date that a document was printed.
PriorityRule No VARCHAR (60) The Priority indicates the importance (high, medium, low) of this document
ChargeAmt Yes DECIMAL The Charge Amount indicates the amount for an additional charge.
M_Shipper_ID Yes VARCHAR (32) The Shipper is any entity which will provide shipping to or shipping from an Organization.
DeliveryViaRule No VARCHAR (60) The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.
FreightAmt Yes DECIMAL The Freight Amount indicates the amount charged for Freight in the document currency.
FreightCostRule No VARCHAR (60) The Freight Cost Rule indicates the method used when charging for freight.
DeliveryRule No VARCHAR (60) The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.
AD_User_ID Yes VARCHAR (32) The User identifies a unique user in the system. This could be an internal user or a business partner contact
C_BPartner_Location_ID No VARCHAR (32) The Partner address indicates the location of a Business Partner
DateAcct No TIMESTAMP (7) The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of.
C_DocType_ID No VARCHAR (32) The Document Type determines document sequence and processing rules
IsSOTrx No CHAR (1) The Sales Transaction checkbox indicates if this item is a Sales Transaction.
IsPrinted No CHAR (1) The Printed checkbox indicates if this document or line will included when printing.
C_Charge_ID Yes VARCHAR (32) The Charge indicates a type of Charge (Handling, Shipping, Restocking)
UpdatedBy No VARCHAR (32) The Updated By field indicates the user who updated this record.
Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
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.

AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
M_InOut_ID No VARCHAR (32) The Shipment ID indicates the unique document for this shipment.
Updated No TIMESTAMP (7) The Updated field indicates the date that this record was updated.
Processing Yes CHAR (1) When this field is set as 'Y' a process is being performed on this record.
Processed No CHAR (1) The Processed checkbox indicates that a document has been processed.
MovementType No VARCHAR (60) The Movement Type indicates the type of movement (in, out, to production, etc)
Description Yes NVARCHAR (255) A description is limited to 255 characters.
CreatedBy No VARCHAR (32) The Created By field indicates the user who created this record.

Columns

Sales Representative


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

top


Posted


List values: All_Posted Status

The allowed values for this list are:

top


2nd Dimension


Foreign key column to User2 table, (column: User2_ID)

top


Trx Organization


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

top


Project


Foreign key column to C_Project table, (column: C_Project_ID) It has a validation "C_Project based on status and bpartner", with the following code

C_Project.projectstatus in ('OP', 'OR') and (C_Project.c_bpartner_id=@C_BPartner_ID@ or '@IsSOTrx@'='N') or C_Project.c_project_id = @c_project_id@

top


Sales Campaign


Foreign key column to C_Campaign table, (column: C_Campaign_ID)

top


Activity


Foreign key column to C_Activity table, (column: C_Activity_ID)

top


Number of Packages



top


Tracking No



top


Pick Date



top


Ship Date



top


1st Dimension


Foreign key column to User1 table, (column: User1_ID)

top


Document No.


top


Update lines



top


Movement Date


Callout: SL_InOut_AccountingDate

This column has a callout associated. Populates goods receipt movement date into accounting date for goods receipt It is implemented by [1] Java Class.

top


Logistic



top


Business Partner

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

Callout: SL_InOut_BPartner

This column has a callout associated.

It is implemented by [2] Java Class.

top


Generate lines



top


Delivery Location


Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID) It has a validation "C_BPartner Location - Ship To", with the following code

C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@ AND C_BPartner_Location.IsShipTo='Y' AND C_BPartner_Location.IsActive='Y'

top


Freight Category


Foreign key column to M_FreightCategory table, (column: M_FreightCategory_ID)

top


Calculate Freight



top


Freight Currency


Foreign key column to C_Currency table, (column: C_Currency_ID)

top


Organization


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

Callout: SE_InOut_Organization

This column has a callout associated. Callout for organization in m_inout It is implemented by [3] Java Class.

top


Order Reference



top


Warehouse


Foreign key column to M_Warehouse table, (column: M_Warehouse_ID)

Callout: SE_InOut_Warehouse

This column has a callout associated. Callout to populate the m_returnlocator_id on return receipts. It is implemented by [4] Java Class.

top


Document Status



List values: All_Document Status

The allowed values for this list are:

top


Receive Materials



top


Send Materials



top


M_Condition_Goods_ID


Foreign key column to M_Condition_Goods table, (column: M_Condition_Goods_ID)

top


Asset


Foreign key column to A_Asset table, (column: A_Asset_ID)

top


Costcenter


Foreign key column to C_Costcenter table, (column: C_Costcenter_ID)

top


Process Goods Java



List values: All_Document Action

The allowed values for this list are:

top


Isnettingshipment



top


Order Date



top


Invoice


Foreign key column to C_Invoice table, (column: C_Invoice_ID)

top


Generate To



top


Create Lines From



top


Document Action



List values: All_Document Action

The allowed values for this list are:

top


Sales Order


Foreign key column to C_Order table, (column: C_Order_ID)

top


Date printed



top


Priority



List values: All_PriorityRule

The allowed values for this list are:

top


Charge Amount



top


Shipping Company


Foreign key column to M_Shipper table, (column: M_Shipper_ID)

top


Delivery Method



List values: C_Order DeliveryViaRule

The allowed values for this list are:

top


Freight Amount



top


Freight Cost Rule



List values: C_Order FreightCostRule

The allowed values for this list are:

top


Delivery Terms



List values: C_Order DeliveryRule

The allowed values for this list are:

top


User/Contact


Foreign key column to AD_User table, (column: AD_User_ID) It has a validation "AD_User C_BPartner User/Contacts", with the following code

AD_User.C_BPartner_ID=@C_BPartner_ID@

top


Partner Address


Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID) It has a validation "C_BPartner Location - Ship To", with the following code

C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@ AND C_BPartner_Location.IsShipTo='Y' AND C_BPartner_Location.IsActive='Y'

top


Accounting Date



top


Document Type


Foreign key column to C_DocType table, (column: C_DocType_ID) It has a validation "C_DocType Material Shipments/Receipts", with the following code

C_DocType.DocBaseType IN ('MMR', 'MMS') AND C_DocType.IsSOTrx='@IsSOTrx@' AND AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> '-1'

AND (COALESCE(@isReturnMaterial@, 'N') = C_DocType.IsReturn OR COALESCE(@isDocumentTypeWindow@, 'N') = 'Y')

Callout: SE_InOut_DocType

This column has a callout associated.

It is implemented by [5] Java Class.

top


Sales Transaction



top


Print



top


Charge


Foreign key column to C_Charge table, (column: C_Charge_ID)

top


Updated By


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

top


Creation Date



top


Active



top


Client


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

top


Shipment/Receipt



top


Updated



top


Process Now



top


Processed



top


Movement Type



List values: M_Transaction Movement Type

The allowed values for this list are:

top


Description



top


Created By


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

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.materialmgmt.transaction

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.materialmgmt.transaction/M_InOut"

This page has been accessed 2,443 times. This page was last modified on 1 December 2016, at 02:17. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.