Additional SubJobs can be created from the SubJob Tab of the Job by using the Add SubJob button.
With Job versions 9.03.280 / 10.0.110, a new option, Import SubJobs, has been added to the ‘You Can Also’ button. Selecting Import SubJobs will open the SubJob Import Wizard.
1. Import Settings.
Line Exchange Rate
- Import Exchange Rate from File – indicates that the exchange rates will be provided in the import file
- Use Current Exchange Rate from Define Exchange Rate Table – this option will use the exchange rate that is currently set in SAP
Cost Center Handling
- Copy Missing Cost Centers from Job – if Cost Centers are not supplied (or found for Material type lines), this option will copy any cost centers defined on the Job to the Sub Jobs being imported
Once settings are chosen, click on the Next button and you will be presented with the Choose Import File page.
2. Choose Import File
Once you choose an import file, the file will be parsed. Each line will be displayed in the grid with any Errors that were encountered while parsing and/or filling in missing data.
Refer to the Import File Format section below for the specifications for the import file.
If the previous step resulted in no Errors, the Next button will be enabled. Clicking Next will present you with the Select SubJobs to Import page.
3. Select SubJobs to Import
On this page there are 2 grids; SubJobs and Quote Lines. The SubJobs grid allows you to pick and choose which SubJobs to import. The Quote Lines grid shows all Quote Lines from all selected SubJobs. To review an individual SubJob, click on the SubJob line to select it. Then the Quote Lines grid will only show Quote Lines for the selected SubJob. There is a Select All checkbox to select all SubJobs after reviewing.
Once you click Next on this page, the new SubJobs will be created and a results page will be displayed.
Import File Format
The import file is a comma separated file. The first 2 rows of the file are mandatory and define the columns to be imported.
- The first row is the SubJob Header row.
- This row must have IMPORTTYPE included.
- This row can contain column names for internal use, but these cannot be named the same as columns from the ENPRISE_JOBCOST_SUBJOB table
- This row can contain column names from the ENPRISE_JOBCOST_SUBJOB table. It must include JOBTITLE
- The second row is the Quote Line Header row
- This row must have IMPORTTYPE included
- This row can contain column names for internal use, but these cannot be named the same as columns from the ENPRISE_JOBCOST_JOBLINES table
- This row can contain column names from the ENPRISE_JOBCOST_ JOBLINES table. It must include QUOTELINETYPE and STOCKCODE
- Next comes the data rows. They are grouped with a SubJob row starting each group. Each group can have any number of Text Lines and Quote Lines in any order. The Text and Quote Lines are optional if you are simply importing SubJobs, however you still must have the Quote Line Header row included.
- SubJob rows must have
- IMPORTTYPE set to S
- JOBTITLE
- Quote Line rows must have
- IMPORTTYPE set to Q
- QUOTELINETYPE set to (M, S or R)
- Valid STOCKCODE
- Text Line rows must have
- IMPORTTYPE set to T
- The last column (if there are more than 2 columns) set to the text value
- Dates must be in yyyy-mm-dd format
- NULL is not an allowed value. It will be interpreted literally. Just omit the value ie. value1,,value3
Import File Examples
Example 1 (Minimum information)
IMPORTTYPE,JOBTITLE
IMPORTTYPE,QUOTELINETYPE,STOCKCODE
S,SubJob title a
Q,M,A00001
S,SubJob title b
S,SubJob title c
Q,M,A00002
Example 2 (Includes some pricing and UDFs)
IMPORTTYPE,JOBTITLE,STATUS,JOBTYPE,CATEGORY,DESCRIPTION,QUOTEDATE,STARTDATE,ENDDATE,DUEDATE,U_CustInfo
IMPORTTYPE,QUOTELINETYPE,TRANSDATE,STOCKCODE,DESCRIPTION,QTY,AVECOST,ORIGSELLPR,LINEDISCOUNT,SELLPR,NONCHARGEABLE,VENDORCODE,U_CUST_TEXT
S,SubJob title a, 2, 2, 2,,2020-04-27,,,,"Customer information,and some else"
T,This is a text line at the start
Q,M,2020-04-27,A00001,IBM Infoprint 1312 test,1,132.00,700.00,10.00,630.00,N,V10000,Custom text
Q,M,2020-04-27,A00001,IBM Infoprint 1312 test,1,132.00,700.00,10.00,630.00,N,V10000,Custom text
T,random data,This is a text line at the end
S,SubJob title b, 2, 2, 2,,2020-04-27,,,,Customer information
S,SubJob title c, 2, 2, 2,,2020-04-27,,,,Customer information
Q,M,2020-04-27,A00001,IBM Infoprint 1312 test,1,132.00,700.00,10.00,630.00,N,V10000,Custom text
S,SubJob title d, 2, 2, 2,,2020-04-27,,,,Customer information
ENPRISE_JOBCOST_SUBJOB columns (Mandatory columns in bold) (Filled from Job if not supplied)
COLUMN NAME |
DESCRIPTION |
JOBTITLE |
Name of the SubJob (150 characters) |
DESCRIPTION |
|
INTERNALINSTRUCTIONS |
|
CONTACTCODE |
CntctCode from OCPR (Contacts) for specified CardCode |
ORDERNO |
Order Number (100 characters) |
STATUS |
SEQNO from ENPRISE_JOBCOST_STATUS |
JOBTYPE |
SEQNO from ENPRISE_JOBCOST_JOBTYPE |
CATEGORY |
SEQNO from ENPRISE_JOBCOST_CATEGORY |
ACTIVE |
Y or N |
BRANCH |
Name from OUBR |
ENTERBY |
empID from OHEM |
ENTEREDDATE |
|
QUOTEDATE |
|
STARTDATE |
|
DUEDATE |
|
COMPLETEDDATE |
|
DELIVERYADDRNAME |
Address from CRD1 (Business Partner Addresses) for specified CardCode |
DELIVERYADDR1 |
Overridden Address Line 1 |
DELIVERYADDR2 |
Overridden Address Line 2 |
DELIVERYADDR3 |
Overridden Address Line 3 |
DELIVERYADDR4 |
Overridden Address Line 4 |
DELIVERYADDR5 |
Overridden Address Line 5 |
DELIVERYADDR6 |
Overridden Address Line 6 |
TAXCODE |
Sales Tax Code (Code from OSTC for US or OVTG for non-US) |
ALTCODE |
Alternate Code for SubJob |
SORTORDER |
Sort order for display in Job |
COSTINGCODE |
PrcCode from OPRC for Dimension 1 |
COSTINGCODE2 |
PrcCode from OPRC for Dimension 2 |
COSTINGCODE3 |
PrcCode from OPRC for Dimension 3 |
COSTINGCODE4 |
PrcCode from OPRC for Dimension 4 |
COSTINGCODE5 |
PrcCode from OPRC for Dimension 5 |
ENPRISE_JOBCOST_JOBLINES columns (Mandatory columns in bold)
COLUMN NAME |
DESCRIPTION |
QUOTELINETYPE |
(M)aterial, (S)taff or (R)esource |
STOCKCODE |
ItemCode from OITM |
DESCRIPTION |
Description of Item |
TRANSDATE |
Transaction date |
QTY |
Quantity |
EMPID |
empID from OHEM (Required for Staff lines) |
RESOURCENO |
RESOURCENO from ENPRISE_JOBCOST_RESOURCE (Required for Resource lines) |
TIMETYPE |
SEQNO from ENPRISE_JOBCOST_TIMETYPE (Staff and Resource lines) |
COSTFXRATE |
Foreign Exchange Rate for Item Cost Currency |
COSTCURRCODE |
CurrCode from OCRN for Item Cost Currency |
COSTDISCOUNT |
Discount applied to Item Cost |
FXCOST |
Item Cost in foreign currency |
FXCOSTAFTERDISCOUNT |
Item Cost after Cost Discount applied in foreign currency |
AVECOST |
Item Cost |
STDCOST |
Item Cost |
FXRATE |
Foreign Exchange Rate for Item Price Currency |
CURRCODE |
CurrCode from OCRN for Item Price Currency |
LINEDISCOUNT |
Discount applied to Item Price |
FXORIGSELLPR |
Item Price in foreign currency |
FXSELLPR |
Item Price after Price Discount applied in foreign currency |
ORIGSELLPR |
Item Price in local currency |
SELLPR |
Item Price after Price Discount applied in local currency |
NONCHARGEABLE |
Y or N |
SALESGLCODE |
AcctCode from OACT for Revenue G/L Account |
COSGLCODE |
AcctCode from OACT for Cost of Goods G/L Account |
RECOVERYGLCODE |
AcctCode from OACT for Recovery G/L Account |
CLEARACT |
AcctCode from OACT for Clearing G/L Account |
ANALYSIS1 |
SEQNO from ENPRISE_JOBCOST_ANALYSIS |
ANALYSIS2 |
SEQNO from ENPRISE_JOBCOST_ANALYSIS2 |
TOWHS |
WhsCode from OWHS |
FROMWHS |
WhsCode from OWHS |
TAXCODE |
Sales Tax Code (Code from OSTC for US or OVTG for non-US) |
COSTINGCODE |
PrcCode from OPRC for Cost of Goods Dimension 1 |
COSTINGCODE2 |
PrcCode from OPRC for Cost of Goods Dimension 2 |
COSTINGCODE3 |
PrcCode from OPRC for Cost of Goods Dimension 3 |
COSTINGCODE4 |
PrcCode from OPRC for Cost of Goods Dimension 4 |
COSTINGCODE5 |
PrcCode from OPRC for Cost of Goods Dimension 5 |
REVCOSTINGCODE1 |
PrcCode from OPRC for Revenue Dimension 1 |
REVCOSTINGCODE2 |
PrcCode from OPRC for Revenue Dimension 2 |
REVCOSTINGCODE3 |
PrcCode from OPRC for Revenue Dimension 3 |
REVCOSTINGCODE4 |
PrcCode from OPRC for Revenue Dimension 4 |
REVCOSTINGCODE5 |
PrcCode from OPRC for Revenue Dimension 5 |
VENDORCODE |
CardCode from OCRD (for Material Lines) |
VENDORCURRCODE |
CurrCode from OCRN for Vendor Currency |
VENDORFXRATE |
Foreign Exchange Rate for Vendor Currency |
ENTERBY |
empID from OHEM |
CREATEDATE |
|
DUEDATE |
|
SORTNO |
Sort order for Quote lines displayed in SubJob |
Comments
0 comments
Article is closed for comments.