662
Data Import Macros and Data Dictionary Fourth Shift Release 7.50

Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Data Import Macros and Data Dictionary

Fourth Shift Release 7.50

Page 2: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift HelpRelease 7.50E

Important Notices

Copyright © 2014 Infor. All rights reserved.

The material contained in this publication (including any supplementary information) constitutes and contains confidential and proprietary information of Infor.

By gaining access to the attached, you acknowledge and agree that the material (including any modification, translation or adaptation of the material) and all copyright, trade secrets and all other right, title and interest therein, are the sole property of Infor and that you shall not gain right, title or interest in the material (including any modification, translation or adaptation of the material) by virtue of your review thereof other than the non-exclusive right to use the material solely in connection with and the furtherance of your license and use of software made available to your company from Infor pursuant to a separate agreement, the terms of which separate agreement shall govern your use of this material and all supplemental related materials ("Purpose").

In addition, by accessing the enclosed material, you acknowledge and agree that you are required to maintain such material in strict confidence and that your use of such material is limited to the Purpose described above. Although Infor has taken due care to ensure that the material included in this publication is accurate and complete, Infor cannot warrant that the information contained in this publication is complete, does not contain typographical or other errors, or will meet your specific requirements. As such, Infor does not assume and hereby disclaims all liability, consequential or otherwise, for any loss or damage to any person or entity which is caused by or relates to errors or omissions in this publication (including any supplementary information), whether such errors or omissions result from negligence, accident or any other cause.

Without limitation, U.S. export control laws and other applicable export and import laws govern your use of this material and you will neither export or re-export, directly or indirectly, this material nor any related materials or supplemental information in violation of such laws, or use such materials for any purpose prohibited by such laws.

Trademark Acknowledgements

The word and design marks set forth herein are trademarks and/or registered trademarks of Infor and/or related affiliates and subsidiaries. All rights reserved. All other company, product, trade or service names referenced may be registered trademarks or trademarks of their respective owners.

Page 3: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50

ContentsData Import Macros and Data Import Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Data Import Macro Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Macro Examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Macro Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Macro Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Custom Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Macros from Scratch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Customizing a Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

Testing and Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Testing a Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Macro Techniques. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Making Macros Readable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Naming Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Entering Data Into Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Identifying a Screen Cut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Sample Macros. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Macro Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Keyboard Equivalents Quick Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50Macro Commands Quick Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

Data Import Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55A Dictionary Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Guide to the Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

Interdependent Transactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

Macro File Names by Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

A – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78APCA – A/P Payment Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78APCF – A/P Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79APCV – A/P Payment Void. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80APCW – A/P Payment Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82APDS – A/P Disbursements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83APEX – A/P Receipt Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89APID – A/P Invoice Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90APIE – A/P Invoice Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103APIT – A/P Invoice Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113APPA – A/P Manual Payment Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118APPD – A/P Prior Period Disbursements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122APRC – A/P Payment Reconciliation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129APRE – A/P Recurring Invoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130APRQ – A/P Cash Requirements/Payment Approval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137APTP – 1099 Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141APTX – A/P 1099 Distribution by Vendor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141ARAD – Accounts Receivable Aging Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143ARCD – A/R Cash Deposits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143ARCF – A/R Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150ARCR – A/R Cash/Credit Memo Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152

Data Import Macros and Data Dictionary 3

Page 4: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50

AREX – A/R Invoice Exceptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156ARPD – A/R Prior Period Cash Deposits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157ARSR – A/R Service Charge Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163

B – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165BAMT – Batch Assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165BEXE – Batch Process Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167BILL – Single Level Bill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167BKFL – Backflushing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171BKFT – Bank Funds Transfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177BKMT – Bank Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178BKRC – Bank Reconciliation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182BSET – Batch Process Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184

C – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188CACF - CIM Customizer Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188CBIL – Copy Bill of Material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196CCAN – Cost Control Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196CCAT – Customer Catalog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197CCEX – Currency Exchange Rate Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198CCFG – Costing Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200CCMT – Currency Code Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201CCON – Currency Conversion Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202CCOT - Customer Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204CIMT – Customer Item Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208CMCF - CIM Customizer Mapping Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210CMTA – Commission Code Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211CNFA – Configuration of Interface Account Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212CNFC – Cost Type Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215CNFG – System Installation Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216COAN – Customer Order Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218COCF – Order Entry Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219COMT – Customer Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220CORV – CO Receipt/Reverse Ln# Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236CPBK – Copy Price Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247CPMT – Custom Product Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247CROP - Customer Report Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256CROV – Cost Roll-Over . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256CUID – Customer Master by Customer Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257CUPB – Customers Using Price Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269CUST – Customer Master by Customer Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271

D – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272DIST – Distributor by Vendor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272DVUD – Data View Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273

E – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293EDCF – EDI Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293ENGM – ENGM Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295ETPT - Email Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295

F – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300FCMT – Function Code Maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300FCST – Forecast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301

G – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304GLAG – G/L Account Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304

Data Import Macros and Data Dictionary 4

Page 5: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50

GLAV – G/L Account/Organization Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306GLBD – G/L Budget/Planning Type Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307GLBU – G/L Budget/Planning Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308GLCA – G/L Chart of Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310GLCF – G/L Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312GLCO – G/L Consolidation Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315GLEX – G/L Journal Entry Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315GLGQ – G/L Current Period Group Inquiry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316GLHP – G/L History Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317GLJD – G/L Journal Entry Delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317GLJE – G/L Journal Entry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318GLJP – G/L Journal Entry -- Prior Period Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324GLJR – G/L Journal Entry -- Recurring / Templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327GLMA – G/L Master Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334GLOS – G/L Organization Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335GLRC – G/L Report Copy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339GLRD – G/L Report Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339GLSC – G/L Source Code Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342GLSS – G/L Batch Submission Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347

I – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348ICOT - Internal Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348IMTR – Inventory Move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352INVA – Inventory Adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358IPPD – Item Planning Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361ISCC – Intrastat Commodity Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362ISCF – Intrastat Reporting Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364ISDT – Intrastat Delivery Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366ISMS – Intrastat Member State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367ISMT – Intrastat Mode of Transportation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369ISTH – Intrastat Transaction History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370ITCB – Item Cost Book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375ITMB – Item Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376ITMC – Item/Work Center Cost Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385ITPB – Item Price Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388IVIE – Invoice Entry and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388IVRE – A/R Recurring Invoice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407IVRV – Invoice Review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416

J – Data Import Macros. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417JEST – Job Estimates and Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417

L – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418LEXP – Lot Expiration/Retest Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418LMMT – Location Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418LMST – Lot Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419LRRP – Labor/Resource Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425LSDA – Lot Size Day Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426LTCF – Lot Trace/Serialization Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429

M – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432MCCF – Multi-Currency Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432MCST – Manufacturing Order Cost Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433MOAN – Planner Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434MOCF – Manufacturing Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435MOMT – Manufacturing Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436

Data Import Macros and Data Dictionary 5

Page 6: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50

MORV – MO Receipt/Reverse Ln# Selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442MPED – Order Maintain EDI Partner Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445MSCF – Message Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449MSMT – Master Schedule Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451

N – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454NMTA – National Motor Freight Code Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454

O – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456OACF – Order Number Assignment Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456OPCF – Operations Performance Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458OPMA – Operations Performance Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462OPSL – Option Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463OVAR – Close Order Analysis/Order Variance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463

P – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464PASS – Password Maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464PBCF – Advanced Price Book Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464PBMT – Price Book Master . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465PCST – Purchase Order Cost Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470PFMC – Performance Data Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470PICK – Picklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474POAN – Buyer Action by Item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506POAS – Buyer Action by Vendor Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509POCF – Purchasing Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509POCT – Purchase Order Contract/Price Quote . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511POMI – Purchase Order Inquiry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525POMT – Purchase Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525PORV – Purchase Order Receipt/Reverse/Return. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564POSV – PO Split by Vendors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576

R – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578RTCF – G/L Restructuring Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 578RTCT – G/L Restructuring Consolidation Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580RTMT – G/L Restructuring Master Acct Translation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580

S – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584SBOL – Bill of Lading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584SHCF – Shipping Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590SHIP – Ship . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592SOPM – Sales Order Processing Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602STAD – Stockroom Action by Date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 602STID – Stockroom Action by Customer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 604SUND – Sundry Disbursements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605SUNR – Sundry Receipts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611SUPD – Sundry Prior Period Disbursements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616SUPR – Sundry Prior Period Receipts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621SYST – System Transactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628

T – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629TEXT – Text Review. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629TRUD – Transaction Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630TXCF – Tax Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630TXTA – Tax Code Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632TXWU – Text Where Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636

V – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638

Data Import Macros and Data Dictionary 6

Page 7: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50

VATT – Value Added Tax Code Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638VCOT - Vendor Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640VDIT – Vendors That Supply an Item. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643VEID – Vendor Master by Vendor Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648VEIT – Items Supplied by a Vendor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657VEND – Vendor Master by Vendor Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657VROP - Vendor Report Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657VSDT – Vendor by Distributor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658

X – Data Import Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660XTXT – Global Extended Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660

Data Import Macros and Data Dictionary 7

Page 8: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50

Data Import Macros and Data Dictionary 8

Data Import Macros and Data Import DictionaryThe Data Import Macros manual contains two sections:

• Data Import Macro Basics is a reference to the commands and techniques you can use to create custom macros for specialized transactions.

• Data Import Dictionary is a guide to the information necessary to use the predefined transactions, or macros. For each transaction, the Data Import Dictionary lists the archive file layout and required transaction fields.

Page 9: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

Data Import Macro BasicsData Import Macro Basics is a reference to the commands and techniques you can use to create custom macros for specialized transactions. Macros are used to initially enter information into your database from another computer system or to perform routine, repetitive tasks. A macro is a set of simple commands which rapidly replays keystrokes. Using a macro to enter your data and entering the data manually achieve the same result. The advantage of using a macro is that the task can be accomplished rapidly and without data entry errors.

The Data Import Module comes with macros corresponding to the full set of update screens. Using these macros as reference, you can create your own combination of macros to match your operation.

Data Import Macro Basics assumes you are familiar with programming concepts and know how to use text editing programs. It is recommended that you read through Data Import Macro Basics in its entirety before designing your own macros. In this way, you can see how all the macro elements work together.

Macro ExamplesA macro is designed to:

• match the movements on a screen—step by step—to perform a transaction

• read transaction information from an incoming data file

The following examples are designed for the ITMB (Item Master) screen. The ITMB screen contains the following fields:

• Item

• Description

• UM

• Rev

• MB

• IT

• ST

• LT

• SR

• Ord Pol

• Insp Reqd

The incoming data file is the ARCHIVE.FIL file. The fields that begin the ITMB archive records can be represented as follows:

Refer to the Data Import Dictionary for the complete archive record layout.

The transactions on the ITMB screen are:

7 10 11 12 13 149

1 2 3"Transaction Id", "User Id", "Date",

"Item", "UM", "Rev", "MB", "IT", "St", "LT", ...

6"Action Code",

5"Internal Flag",

4"Time",

8"Description",

Data Import Macros and Data Dictionary 9

Page 10: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

• adding an item (Macro Id ITMB00; uses fields 7 through 17)

• changing an item (Macro Id ITMB01; uses fields 7 through 17)

• deleting an item (Macro Id ITMB04; uses field 7)

The Macro Id establishes the relationship between the macro and the incoming data record.

Adding an ItemMacro {itmb00}, shown below, adds an item to the Item Master.

**** Macro ITMB00: ADD new item on main ITMB screen ****{BEGDEF}{ITMB00}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 01,11, 01,22,{ENDDEF}{if}{cut}{eq}{itmadd}{jump}{additm}{itmbsc}{cr}{F6}{additm}{ENDDEF}

* itmbsc * - transport to ITMB screen{BEGDEF}{itmbsc}{home}itmb{esc}{esc}{ENDDEF}

* additm *{BEGDEF}{additm}{home}{tab}{fld7}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}{fld14}{fld15}{fld16}{fld17}{ENDREC}{ENDDEF}

Macro {itmb00} performs the following actions:

{BEGDEF}{itmb00}

Begin the macro {itmb00}.

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK,01, 11, 01, 22,

{ENDDEF}

Determine if the ITMB screen is now displayed and in the ADD mode using a screen cut.

Locate 12 characters on the first row of the screen, starting at column 11. These 12 characters include the screen Function Code and the ACTION mode. Remove any extra spaces (more than one) between characters and any spaces at the end of the last character. Store the screen characters in a comparison value called {cut}.

{if}{cut}{eq}{itmadd}{jump}{additm}

{itmbsc}

{cr}{f6}{additm}{ENDDEF}

Compare the screen characters to the character string ITMB ADD, defined as the value {itmadd}.

• If the screen characters match ITMB ADD, the ITMB screen is in the ADD mode. Transfer control to macro {additm}.

• If the screen characters do not match ITMB ADD, place the ITMB screen in the ADD mode. Transfer control to macro {itmbsc}. The cursor is in the Starting Item field. Press ENTER to display the Item Master. Press F6 to open a line to add an item. Transfer control to macro {additm}.

{BEGDEF}{additm}{home}{tab}

Data Import Macros and Data Dictionary 10

Page 11: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

{fld7}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}{fld14}{fld15}{fld16}{fld17}

{ENDREC}{ENDDEF}

Add an item to the Item Master using the content of fields 7 through 17 from the current data record. First be certain the cursor is in the first open field. Press HOME to go to the Function field. Press TAB to move to the first open field on the screen. Enter the content of fields 7 through 17 on the open line. Press ENTER to finish the transaction and complete processing the current data record.

Changing an ItemMacro {itmb01}, shown below, changes an item on the Item Master.

**** Macro ITMB01: CHanGe item on main ITMB screen ****{BEGDEF}{ITMB01}{itmxf1}{ENDDEF}

* itmxf1 * - transport to ITMB screen, enter ITEM, check for correct line{BEGDEF}{itmxf1}{itmbsc}{fld7}{cr}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 10,03, 10,17,{ENDDEF}{if}{cut}{eq}{fld7}{jump}{mbchk2}{REJECT}{ENDDEF}

* itmbsc * - transport to ITMB screen{BEGDEF}{itmbsc}{home}itmb{esc}{esc}{ENDDEF}

* mbchk2 * - jump to the correct transaction{if}{fld1}{eq}{MB01}{jump}{MB01-A}{ENDDEF}

* MB01-A *{BEGDEF}{MB01-A}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}{fld14}{fld15}{fld16}{fld17}{ENDREC}{ENDDEF}

Macro {itmb01} reads like this:

{BEGDEF}{ITMB01}{itmxf1}{ENDDEF}

{BEGDEF}{itmxf1}{itmbsc}{fld7}{cr}

{BEGDEF}{itmbsc}{home}itmb{esc}{esc}{ENDDEF}

The macro {itmb01} calls the macro {itmxf1}. The macro {itmxf1} calls the macro {itmbsc} to transport to the ITMB screen. The cursor is in the Starting Item field. Enter the content of field 7 from the current data record in the Starting Item field and press ENTER to display the Item Master.

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM,10,03, 10,17,{ENDDEF}

Determine if the first line in the Scrolling Line section of the screen is now displaying the same item as the content of field 7 from the current data record. Locate 15 characters on the tenth row of the screen, starting at column three. These 15 characters are the Item field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{cut}{eq}{fld7}{jump}{mbchk2}

{REJECT}{ENDDEF}

Data Import Macros and Data Dictionary 11

Page 12: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

Compare the content of field 7 of the current data record to the screen characters.

• If the content of field 7 matches the screen characters, the item exists on the Item Master. Transfer control to macro {mbchk2} to determine the correct transaction.

• If the content of field 7 does not match the screen characters, do not process the current data record. Go on to the next record in the incoming data file.

{BEGDEF}{mbchk2}

{if}{fld1}{eq}{MB01}{jump}{MB01-A}

{ENDDEF}

The macro {mbchk2} determines the ITMB transaction being used and calls macro {MB01-A} to change the item.

{BEGDEF}{MB01-A}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}

{fld14}{fld15}{fld16}{fld17}{ENDREC}{ENDDEF}

Change item information. Enter the content of fields 8 through 17 starting in the Description field. Press ENTER to finish the transaction and complete processing the current data record.

Deleting an ItemMacro {itmb04}, shown below, deletes an item from the Item Master.

**** Macro ITMB04: DELete item on main ITMB screen ****{BEGDEF}{ITMB04}{ITMB01}{ENDDEF}

{BEGDEF}{ITMB01}{itmxf1}{ENDDEF}

* itmxf1 * - transport to ITMB screen, enter ITEM, check for correct line{BEGDEF}{itmxf1}{itmbsc}{fld7}{cr}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 10,03, 10,17,{ENDDEF}{if}{cut}{eq}{fld7}{jump}{mbchk2}{REJECT}{ENDDEF}

* itmbsc * - transport to ITMB screen{BEGDEF}{itmbsc}{home}itmb{esc}{esc}{ENDDEF}

* mbchk2 * - jump to the correct transaction{if}{fld1}{eq}{MB04}{jump}{MB04-A}{ENDDEF}

* MB04-A *{BEGDEF}{MB04-A}{delete}{ENDDEF}

{BEGDEF}{delete}{∧f6}{SPCREC}{ENDDEF}

Macro {itmb04} reads like this:

{BEGDEF}{ITMB04}{ITMB01}{ENDDEF}

The macro {itmb04} calls the macro {itmb01}.

{BEGDEF}{ITMB01}{itmxf1}{ENDDEF}

{BEGDEF}{itmxf1}{itmbsc}{fld7}{cr}

{BEGDEF}{itmbsc}{home}itmb{esc}{esc}{ENDDEF}

Data Import Macros and Data Dictionary 12

Page 13: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

The macro {itmb01} calls the macro {itmxf1}. The macro {itmxf1} calls the macro {itmbsc} to transport to the ITMB screen. The cursor is in the Starting Item field. Enter the content of field 7 from the current data record in the Starting Item field and press ENTER to display the Item Master.

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM,10,03, 10,17,

{ENDDEF}.

Determine if the first line in the Scrolling Line section of the screen is now displaying the same item as the content of field 7 from the current data record. Locate 15 characters on the tenth row of the screen, starting at column three. These 15 characters are the Item field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{cut}{eq}{fld7}{jump}{mbchk2}

{REJECT}{ENDDEF}

Compare the content of field 7 of the current data record to the screen characters.

• If the content of field 7 matches the screen characters, the item exists on the Item Master. Transfer control to macro {mbchk2} to determine the correct transaction.

• If the content of field 7 does not match the screen characters, do not process the current data record. Go on to the next record in the incoming data file.

{BEGDEF}{mbchk2}

{if}{fld1}{eq}{MB04}{jump}{MB04-A}

{ENDDEF}

The macro {mbchk2} determines the ITMB transaction being used and calls macro {MB04-A} to delete the item.

{BEGDEF}{MB04-A}{delete}{ENDDEF}

{BEGDEF}{delete}{^F6}{SPCREC}{ENDDEF}

The macro {delete} deletes the item by pressing CTRL+F6 to finish the transaction and complete the processing of the current data record.

Macro ElementsMacros have three elements:

• screen entries

• keyboard equivalents

• commands

These elements allow you to move to the desired screen, make sure you are where you want to be on the screen and then perform the transaction.

Screen EntriesData can be entered on a screen using a macro in either of two ways:

• insert literal text

Data Import Macros and Data Dictionary 13

Page 14: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

• refer to fields from the incoming data file

TextText is a string of characters entered literally in a field.

For example, if a macro contains the text FLD10, the characters FLD10 are entered at the cursor's current position on the screen.

FieldsA field reference refers to specific information in the incoming data file. Data Import looks at the current data record, locates the referenced field, enters the information contained in the field at the cursor's current position on the screen and tabs to the next open field.

For example, if a macro contains {FLD10}, Data Import counts over to the tenth field of the current data record, enters the contents of the tenth field on the screen and tabs to the next open field.

Keyboard EquivalentsKeyboard equivalents are used to move around a screen and move through the system. When a keyboard equivalent is executed, it is as if you pressed the specified key once. When you want to press the key twice, the macro must contain the keyboard equivalent twice.

For a list of specific keyboard equivalents, see "Keyboard Equivalents Quick Reference" in the Appendix.

Macro CommandsMacro commands are the tools you use to:

• begin and end a macro

• perform screen cuts

• determine screen cut format

• define comparison values

• perform comparisons

• perform comparisons with relational operators

• transfer control to other macros

• complete transactions

Begin and End a MacroA pair of commands is used to begin and end macros. The macro name is part of the macro beginning.

{BEGDEF}: All macros begin with the {BEGDEF} command, followed by a macro name.

In the following example, {delete} is the macro name.

{BEGDEF}{delete}{^f6}{SPCREC}{ENDDEF}

Within a macro, you may call other macros into play or transfer control to other macros while still working on the same data record. Each macro file can contain up to 150 macro names. See "Naming Macros" for suggestions on naming macros.

{ENDDEF}: The {ENDDEF} command must be used to end a macro. {ENDDEF}: does not tell the macro to stop processing the current record, only that the current macro has reached its end. The current data record is processed until an {ENDREC}, {SPCREC} or {REJECT} command is reached.

Data Import Macros and Data Dictionary 14

Page 15: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

For example, macro {itmb} looks similar to this:

{BEGDEF}{itmb}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}{fld14}{fld15}{fld16}{fld17}{ENDREC}{ENDDEF}

The {GETOUT} command can be used to terminate the processing of a macro. This command is most useful within a comparison or conditional routine, in which you want to execute a series of instructions in one particular case and do nothing in the opposite case. The {GETOUT} command cannot be used in place of the {ENDDEF} command.

Perform Screen CutsSpecific characters from a screen can be read (cut) and stored. Using screen cuts, screen information can be compared to fields in the current data record or specific comparison values. Screen cuts are most commonly used to determine:

• the ACTION mode of the screen

• your position in the Scrolling Line section of a screen

• whether a field on a screen contains information

• whether a field on a screen opens for entry, based on other screen information

A screen cut is a character string taken from a specific location on a screen. The screen location is identified by beginning and ending screen coordinates. Screen cuts are expressed as macros and are placed within your current macro directly before the related if-then-else comparison.

In the following example, a screen cut is performed to determine if the ITMB screen is in the ADD mode.

{BEGDEF}{itmb00}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 01, 11, 01, 22,

{ENDDEF}

{if}{cut}{eq}{itmadd}{jump}{additm}

{home}itmb{esc}{esc}{cr}{f6}{additm}

{ENDDEF}

The screen cut macro locates 12 characters on the first row of the screen, starting at column 11. These 12 characters include the screen Function Code and the ACTION mode. Extra spaces (more than one) between characters and any spaces after the last significant character are removed for comparison purposes. The screen characters are stored in a comparison value called {cut}.

Screen Cut FormatScreen cut format depends on whether you are:

• verifying a specific location on a screen

• moving down the Scrolling Line section of a screen

Format variations are as follows:

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 99,99, 99,99,{ENDDEF}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 99,99, 99,99,{ENDDEF}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE, 99,99, 99,99,{ENDDEF}

{BEGDEF}{DISONL}{cut}NO RETURNS,SEARCH FOR & PACK, 99,99,

Data Import Macros and Data Dictionary 15

Page 16: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

99,99,{ENDDEF}

{BEGDEF}{DISONL}{cut}NO RETURNS,SEARCH FOR * TRIM, 99,99, 99,99,{ENDDEF}

{BEGDEF}{DISONL}{cut}NO RETURNS,SEARCH FOR , 99,99, 99,99,{ENDDEF}

{BEGDEF}{DISONL}{macro name}. Screen cut macros all begin with {BEGDEF}{DISONL}{macro name}. {DISONL} means display only.

NO RETURNS does not add a carriage return at the end of the cut and is included in all screen cut macros.

ABSOLUTE or SEARCH FOR.• ABSOLUTE is used to verify a specific screen location. ABSOLUTE performs the screen cut

at the exact location defined by the screen coordinates.

• SEARCH FOR is used to move down the Scrolling Line section of a screen from the starting row by locating the line marker. SEARCH FOR performs the screen cut relative to the location defined by the screen coordinates—the current row based on the columns defined. The line marker must be in the area of the screen between the row defined and the last row of the display.

The PACK option removes extra spaces (more than one) between characters, removes spaces before the first significant character and removes spaces after the last significant character of a screen cut. Spaces are removed so exact comparisons can be made. This option is used most often to verify the current Function code for the screen.

The TRIM option removes spaces before the first significant character and removes spaces after the last significant character of a screen cut. Embedded spaces between significant characters are not removed. It is recommended that you use the TRIM option if your comparison values contain embedded spaces. This option is used most often in the standard macros when comparing values.

The differences between the PACK and TRIM options can be summarized as:

Both the PACK and TRIM options evaluate a screen cut consisting of only spaces to be a null value.

In the following example, the Order No field on the screen consists of a maximum of 15 characters. The actual order number uses 7 of the 15 characters and contains 2 embedded spaces. The values used for comparison come from two sources:

• cut from the screen

• incoming data file

The screen coordinates specified by the screen cut include the maximum number of characters allowed for the field. The incoming data file value can contain any number of characters up to the maximum but does not include trailing spaces.

Option Leading Spaces Trailing Spaces

More than One Embedded

Space

PACK removed removed removed

TRIM removed removed included

Data Import Macros and Data Dictionary 16

Page 17: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

The screen cut value must be interpreted using either the PACK or TRIM option to remove spaces and allow an exact comparison to be made. The PACK and TRIM options interpret the order numbers differently based on whether all embedded spaces are included.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 C O 1 0 0

Characters: 5Trailing spaces: 8Embedded spaces: 2

Total: 15

screen(cut)

1 2 3 4 5 6 7 C O 1 0 0

Characters: 5Trailing spaces: 0Embedded spaces: 2

Total: 7

IncomingData FileValue

Comparison Character Strings:

Data Import Macros and Data Dictionary 17

Page 18: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

99,99,^99,99,. Screen coordinates are identified in pairs. The first and second numbers identify the row and column of the beginning of the screen cut. The third and fourth numbers identify the end of the screen cut.

Screen coordinates should always be two digits. For example, row 3 should be identified as 03. The valid range for rows is 01 through 25, starting at the top of the screen. The valid range for columns is 01 through 80, starting at the leftmost column.

{ENDDEF}. All screen cut macros end with the {ENDDEF} command.

Define Comparison Values

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 C O 1 0 0screen

(cut)

1 2 3 4 5 6 7 C O 1 0 0Incoming

Data FileValue

Interpreted Character Strings:

comparison fieldsnot an exact match

1 2 3 4 5 6 C O 1 0 0screen

(cut)

1 2 3 4 5 6 7 C O 1 0 0screen

(cut)

Without PACK or TRIM option: Record Rejected

With PACK option: Record Rejected

With TRIM option: Record Processed

CharactersTrailing spaces

58

Embedded spaces

Total

2

15

CharactersTrailing spaces

50

Embedded spaces

Total

2

7

CharactersTrailing spaces

50

Embedded spaces

Total

1

6

1 2 3 4 5 6 7 C O 1 0 0Incoming

Data FileValue Characters

Trailing spaces50

Embedded spaces

Total

2

7

CharactersTrailing spaces

50

Embedded spaces

Total

2

7

1 2 3 4 5 6 7 C O 1 0 0Incoming

Data FileValue Characters

Trailing spaces50

Embedded spaces

Total

2

7

Data Import Macros and Data Dictionary 18

Page 19: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

Comparisons performed using the {if} command can use specific comparison values to determine the result of a true/false question. The comparison value is stored, or defined, as a macro. The comparison value itself is considered text and is not surrounded by braces.

In the following example, the value ITMB ADD is defined as the macro {itmadd} and is used to determine if the ITMB screen is in the ADD mode.

{BEGDEF}{itmadd}ITMB ADD{ENDDEF}

The {NULL} macro name is reserved for an empty value. A field containing spaces is not considered {NULL}. The {NULL} value is useful in screen cut and field comparisons. See "Using Incoming Data Files" in the System Control online manual for more information on null fields.

In the following example, {NULL} determines if new or existing text is being attached to an item.

{if}{fld79}{ne}{NULL}{jump}{adtx1}

{if}{fld80}{ne}{NULL}{jump}{adtx1}

{if}{fld81}{ne}{NULL}{jump}{adtx1}

{if}{fld82}{ne}{NULL}{jump}{adtx1}

{fld78}

If any of the four text line fields (field 79, 80, 81 or 82) contain characters, then it can be assumed that new text is being added. Control is transferred to macro {adtx1}.

If none of the four text line fields contain characters (the fields are empty), then it can be assumed that existing text is being added. The content of field 78 is entered in the Text No field.

Perform ComparisonsComparisons are used in if-then-else logic to compare two values for similarities. In general, comparisons verify:

• your position on the screen

• the condition of the screen

• the contents of the current data record

and are made between screen characters, a field value or a specific comparison value. Comparisons are used when the steps you want executed next depend on the result of a true/false question answered by the comparison.

• If the result is true, control is transferred to another macro using the {JUMP} or {CALL} command.

• If the result is false, the next step in the current macro is executed.

In the following example, a comparison is performed between a character cut from the ITMB screen and the specific value—ITMB ADD—to test if the ITMB screen is in the ADD mode:

{BEGDEF}{itmb00}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 01, 11, 01, 22,

{ENDDEF}

{if}{cut}{eq}{itmadd}{jump}{additm}{home}itmb{esc}{esc}{cr}{f6}{additm}

{ENDDEF}

{BEGDEF}{itmadd}ITMB ADD{ENDDEF}

Data Import Macros and Data Dictionary 19

Page 20: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

• If the screen cut equals the value ITMB ADD, defined as {itmadd}, then control transfers to macro {additm} to start adding items.

• If the screen cut does not equal the value ITMB ADD, defined as {itmadd}, then HOME s pressed, the cursor moves to the Function field and the ITMB screen is placed in the ADD mode.

The following commands are used to perform comparisons.

{if}: The {if} command is used to begin an if-then-else comparison.

{JUMP}: The {JUMP} command, followed by a macro name, causes a transfer to the identified macro. The commands in the identified macro are executed. Control does not return to the calling macro. The ITMB ADD example above illustrates the use of the {JUMP} command.

{CALL}: The {CALL} command, followed by a macro name, causes a transfer to the identified macro. The commands in the identified macro are executed, then control returns to the calling macro.

See "Logic Errors" for more information on how comparisons are evaluated.

In the following example, a comparison is performed between field 18 in the current data record and the specific value—5—to test if the line should be updated.

{BEGDEF}{ls4all}

{if}{fld18}{eq}{sta5}{call}{notabb}{potabb}{ENDDEF}

{BEGDEF}{sta5}5{ENDDEF}

• If the content of field 18 equals 5, defined as {sta5}, then control is transferred to macro {notabb}. Control returns to macro {ls4all} and then control is transferred to macro {potabb}, which is the next step in macro {ls4all}.

• If the content of field 18 does not equal 5, defined as {sta5}, then control is transferred to macro {potabb}, which is the next step in macro {ls4all}.

Relational Operators

Macro Action

{DEQ} Equal to compares two DOUBLE type values to see if they are exactly the same.

{DNE} Not Equal to compares two DOUBLE type values to see if they are unequal in any way.

{EQ} Equal to compares two values to see if they are exactly the same.

{GE} Greater than or Equal to compares two values to see if the first one is larger than or exactly the same as the second.

{GT} Greater than compares two values to see if the first one is larger than the second.

{LE} Less than or Equal to compares two values to see if the first one is smaller than or exactly the same as the second.

{LT} Less than compares two values to see if the first one is smaller than the second.

{NE} Not Equal to compares two values to see if they are unequal in any way.

Data Import Macros and Data Dictionary 20

Page 21: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

Transfer Control to Other MacrosOne macro can call another macro while still working on the same data record. Macro control is commonly transferred when:

• using the {if} command. Your first choice of action is to transfer to another macro if the condition you are testing is true.

• repeating a step several times. You can save time and macro names by transferring control to a standard macro.

Placing a macro name within another macro causes a transfer to the target macro. For example,

{BEGDEF}{ITMB01}{itmxf1}{ENDDEF}

transfers control from the {ITMB01} macro to the {itmxf1} macro. The commands in the target macro are then executed. You can also transfer control to another macro in the following ways:

• {JUMP}

• {CALL}

• {BACKUP}

The {JUMP} and {CALL} commands are used in conjunction with the {if} command. See "Perform Comparisons" for an example and additional information on these two commands.

The {BACKUP} command is used to return control to the calling macro when macros are nested several levels. For example,

{if}{cut}{eq}{value1}{call}{backup}

returns control to the previous macro if the cut value equals {value1}.

Complete TransactionsThere are three commands used to complete transactions:

The {ENDDEF} command is required after any of these commands to complete processing.

{ENDREC}: The {ENDREC} command signals the completion of a transaction. The {ENDREC} command presses ENTER, moves to the Function field and then stops processing the current data record.

In the following example, an item is added on the ITMB screen by entering the content of fields 7 through 17 from the current data record and using the {ENDREC} command.

{BEGDEF}{additm}{home}{tab}

{fld7}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}

{fld14}{fld15}{fld16}{fld17}{ENDREC}{ENDDEF}

Command Action

{ENDREC} Presses ENTER

{SPCREC} Does not press ENTER

{REJECT} Does not process the current data record

Data Import Macros and Data Dictionary 21

Page 22: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

{SPCREC}: The {SPCREC} command signals the completion of a transaction. The {SPCREC} command does not press ENTER before moving to the Function field.

In the following example, a deletion transaction is completed by using CTRL+F6. ENTER is not necessary, so the {SPCREC} command is used.

{BEGDEF}{delete}{^f6}{SPCREC}{ENDDEF}

{REJECT}: The {REJECT} command is used when the result of an if-then-else comparison is false and no other action should take place for the current data record. The macro stops processing the current data record, writes the record to the error log file and goes on to the next record in the incoming data file. The error message:

COMPARISON FIELDS DO NOT MATCH

is associated with the rejected data record.

If you specify error level parameter E3 for the import task, additional debugging information about the {REJECT} command is recorded in the error log file. For each {REJECT} command encountered, the line number of the previous {IF} statement is recorded. Use this technique to determine which branch of a conditional macro is executed.

In the following example, the content of field 7 of the current data record is compared to screen characters stored in {cut} to determine if the cursor is positioned on the right line before an item is changed.

{if}{fld7}{eq}{cut}{jump}{itmb}{REJECT}{ENDDEF}

• If the content of field 7 matches the screen characters, the item exists on the Item Master. Control is transferred to macro {itmb} to change the item.

• If the content of field 7 does not match the screen characters, the record is not processed.

Macro Syntax

BracesBraces are used to surround commands, comparisons, keyboard equivalents, incoming data fields and macro names. Text, such as a Function Code entered in the Function field, is not surrounded by braces.

In the following example, ITMB is typed in the Function field.

{BEGDEF}{itmb01}{home}itmb{esc}{esc}{fld7}{cr}

CapitalizationAll macro elements can be either upper or lower case. The following two lines are equivalent:

{BEGDEF}{itmb01}{home}itmb{esc}{esc}{fld7}{cr}

{begdef}{ITMB01}{HOME}ITMB{ESC}{ESC}{FLD7}{CR}

Incoming Data FieldsIncoming data fields are identified using the format:

{FLDxx}

where xx equals the field position in the incoming data record. Incoming data fields are enclosed in braces.

Data Import Macros and Data Dictionary 22

Page 23: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

Macro FilesA macro file includes all the macros used to complete one or many transactions. For example, the predefined INVM.MAC file includes the macros for using all the screens in the Inventory Control Module. The required macro file extension is MAC. Macro files should be located in the MFGSYS\I directory.

Macro NamesMacro names can be up to six alphanumeric characters and may contain any characters allowed in a file name. See "Reserved Words" for a list of character strings that cannot be used as macro names.

Macro names are enclosed in braces. See "Macro Techniques" for limits pertaining to macro names.

In the following example, delete is the macro name.

{BEGDEF}{delete}{^f6}{SPCREC}{ENDDEF}

Reserved WordsCertain character strings cannot be used as macro names. These character strings identify commands, key equivalents, comparisons and so on. Capitalization is not significant. The following list includes the words reserved for Data Import.

{altc} {altf4} {altf8}

{altf9} {altf10} {altm}

{altr} {altt} {backup}

{begdef} {bktab} {call}

{cmd} {cr} {delay}

{deq} {disonl} {dn}

{dne} {end} {enddef}

{disonl} {dn} {end}

{enddef} {endrec} {eq}

{esc} {f1} {f2}

{f3} {f4} {f5}

{f6} {f7} {f8}

{f9} {f10} {ffld}

{fld} {ge} {getout}

{gt} {home} {if}

{jump} {le} {lf}

{lt} {ne} {null}

{pgdn} {pgup} {reject}

{spcrec} {tab} {up}

{xdn} {xend} {xhome}

Data Import Macros and Data Dictionary 23

Page 24: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Macro Basics

SpacingSpaces between macro elements are treated as text entries. Spaces should not be placed within a macro such as:

{BEGDEF} {delete} {^f6} {SPCREC} {ENDDEF}

Spaces at the end of a line in a macro are not allowed. However, spaces are allowed within text such as:

{BEGDEF}{itmadd}ITMB ADD{ENDDEF}

In this example, ITMB ADD is literally what is cut from the screen.

{xpgdn} {xpgup} {xup}

{x^end} {x^home} {^cr}

{^end} {^f6} {^home}

Data Import Macros and Data Dictionary 24

Page 25: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Custom Macros

Custom MacrosMacros can be created from scratch or by customizing an existing macro.

Macros from ScratchCreating a macro from scratch requires in-depth knowledge of the system including screen movements, system identification requirements and entry rule dependencies. See "Macro Techniques" for some suggestions on meeting these requirements.

Customizing a MacroThe easiest way to create your own set of macros is to customize copies of macros included with the System Control Module. Customizing a predefined macro involves:

• defining your transaction

• copying a predefined macro (and all of its associated macros) to a custom macro file

• modifying the custom macro file to match movements around the screen and your incoming data file

Customizing a macro requires the following tools:

• text editor such as Notepad

• screen print of screen(s) used in the transaction

• Data Import Dictionary

• incoming data record layout

The text editor is used to create or modify a macro. A macro is an plain text file containing no special formatting characters.

A screen print of each of the screens used in the transaction acts as a reference for the fields on the screen and also cursor movement.

The Data Import Dictionary is used to determine the values that must be included in the incoming data record for proper system identification.

The incoming data record layout is a guide to what macro field references are required.

1. Create a Custom Macro File1. Define the transaction you want to perform and assign the transaction a macro name.

For example, you might want to update the information in the In Rev (in revision) field in your bills of material. The macro name is BILLRV. The screen movements are as follows:

- Go to the BILL screen.

- Enter a parent from the current data record in the Parent field, then enter the Starting Pt Use, Starting Seqn and Starting Component fields and press ENTER.

- Verify the first line displayed in the Scrolling Line section of the screen matches the current record before performing the rest of the transaction. Compare a screen cut of the Pt Use, Seqn and Component fields with the current data record.

Data Import Macros and Data Dictionary 25

Page 26: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Custom Macros

If there is no match, do not process the record. Go on to the next record in the incoming data file.

If there is a match, press F8 to go to the Bill of Material Detail screen. Enter information in the In Rev field from the current data record and press ENTER.

2. Sign onto the system and produce a screen print of each screen involved in the transaction. Mark the screen to indicate which fields are involved in the transaction and movement within and between each screen.

For example, the BILL (Single Level Bill) and Bill of Material Detail screens are involved in the revision level transaction. The In Rev field is on the Bill of Material Detail screen. Use the on-line help, as necessary, to determine which fields are required.

3. Use the Data Import Dictionary to locate the transaction most similar to your transaction. The Required Transaction Fields table for the transaction will help you identify fields referenced in the related macros.

Note: Another approach would be to do transactions similar to those you are designing and then look in the ARCHIVE.FIL file for the macro id in the first field of each of the related archive records. However, be certain to back up your system before experimenting.

The transaction most similar to our example is

BILL02: Change Bill of Material Detail.4. Use the "Transactions by Macro Id" index at the end of the Data Import Dictionary to identify

the predefined macro file in the MFGSYS\I directory.

For example, macro BILL02 is included in the BILM.MAC file. All macros beginning with BILL are in the BILM.MAC file.

5. Edit the identified macro file in the MFGSYS\I directory. In the macro file, locate the macro for the transaction most similar to your transaction. Copy this macro, and all its associated macros, to a new macro file in the MFGSYS\I directory. The new macro file must include an MAC file extension. This is the basis for your custom macro file.

For example, the macros associated with macro BILL02, now in a file named BILLREV.MAC, look similar to this:

**** Macro BILL02: CHanGe BOM detail, ADD new text - component on BOM ****{BEGDEF}{BILL02}{bilxf2}{ENDDEF}

* bilxf2 * - transport to BILL screen, enter information to find record{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

* ctptus * - check PT USE{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{IF}{fld8}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

Data Import Macros and Data Dictionary 26

Page 27: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Custom Macros

* ctseq * - check SEQ #{BEGDEF}{ctseq}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}{IF}{fld9}{eq}{cut}{jump}{ctcomp}{REJECT}{ENDDEF}

* ctcomp * - check COMP TYP{BEGDEF}{ctcomp}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}{IF}{fld10}{eq}{cut}{jump}{gobil}{REJECT}{ENDDEF}

* gobil * - jump to the correct transaction{BEGDEF}{gobil}{IF}{fld1}{eq}{bill2}{jump}{BI02-A}{REJECT}{ENDDEF}

* BI02-A *{BEGDEF}{BI02-A}{F8}{fld18}{fld19}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE, 11,14, 11,14,{ENDDEF}{IF}{cut}{eq}{testP}{jump}{cfg}{nocfg}{ENDDEF}

* cfg *{BEGDEF}{cfg}{fld20}{fld21}{fld22}{fld23}{fld24}{fld25}{fld26}{chktxt}{ENDDEF}

* nocfg *{BEGDEF}{nocfg}{fld23}{fld24}{fld25}{chktxt}{ENDDEF}

* chktxt *{BEGDEF}{chktxt}{IF}{fld28}{ne}{NULL}{call}{addtxt}{IF}{fld29}{ne}{NULL}{call}{addtxt}{IF}{fld30}{ne}{NULL}{call}{addtxt}{IF}{fld31}{ne}{NULL}{call}{addtxt}{fld27}{ENDREC}{ENDDEF}

* addtxt *{BEGDEF}{addtxt}{F6}{fld28}{fld29}{fld30}{fld31}{ENDREC}{ENDDEF}

{BEGDEF}{testP}P{ENDDEF}

6. Print your custom macro file. Highlight all the field references–{fldxx}–in one color. Highlight macro names in another color. Make certain all the macros called in the transaction are included in the custom macro file. If macros are missing, go back to the predefined macro file and copy the missing macros into your custom macro file.

For example, field references and macro names for a portion of macro BILL02 look similar to this:

Data Import Macros and Data Dictionary 27

Page 28: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Custom Macros

7. Using your screen prints as reference, walk through the macros and understand the actions taking place.

For example, macro BILL02 reads like this:

- Go to the BILL screen.

- Enter fields 7, 8, 9 and 10 (parent, pt use, seqn and component) of the ARCHIVE.FIL file in the Parent and Starting fields and press ENTER.

- Verify the first line displayed in the Scrolling Line section of the screen matches the record in the ARCHIVE.FIL file before performing the rest of the transaction. Compare a screen cut of the Pt Use, Seqn and Component fields with fields 8, 9 and 10 of the ARCHIVE.FIL file.

If there is no match, do not process the record. Go on to the next record in the ARCHIVE.FIL file.

If there is a match, continue the transaction by transferring control to macro {bil1f8}.- Press F8 to go to the Bill of Material Detail screen.

- Enter all the fields on the screen, starting with field 18 (in rev).

2. Design and Create a Test Data File1. Create a data file to use in modifying and testing your custom macro. The test data file should

be located in the MFGSYS directory and have a DAT file extension. See "Incoming Data File Preparation" in the System Control online manual for detailed information on incoming data files.

For example, a BILLREV.DAT file, created using the ITEM:Bills information path and the ASCII EXTRACT task, looks similar to this:

“PARENT”,”COMPONENT”,”PT_USE”,”SEQN”,”IN_REV”“18-LM”,”105376”,”ASSM9”,”010”,””“18-LM”,”21841”,”ASSM9”,”020”,””“18-LM”,”21842”,”ASSM9”,”030”,””“18-LM”,”51-50”,”ASSM9”,”040”,””“18-LM”,”51-55”,”ASSM9”,”050”,””“18-LM”,”51-56”,”ASSM9”,”060”,””“18-LM”,”51-57”,”ASSM9”,”070”,””“18-LM”,”3954682-18”,”ASSM9”,”080”,””“18-LM”,”695002-18”,”ASSM9”,”090”,””

**** Macro BILL02: CHanGe BOM detail, ADD new text - component on BOM ****{BEGDEF}{BILL02}{ENDDEF}

* bilxf2 * - transport to BILL screen, enter information to find record{BEGDEF}{bilxf2}{fld7}{fld8}{fld9}{fld10}{cr}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

* ctptus * - check PT USE{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{IF}{fld8}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

{bilxf2}

{ctptus} {ENDDEF}

{billsc}

Data Import Macros and Data Dictionary 28

Page 29: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Custom Macros

“18-LM”,”12523-18”,”ASSM9”,”100”,””“18-LM”,”18-CONT”,”ASSM9”,”110”,””“18-LM”,”3.5 HP”,”ASSM9”,”120”,””“18-LM”,”1000-25”,”ASSM9”,”130”,””

The modified BILLREV.DAT data file looks similar to this:

“MACRO NAME”,”PARENT”,”COMPONENT”,”PT_USE”,”SEQN”,”IN_REV“BILLRV”,“18-LM”,”105376”,”ASSM9”,”010”,”A”“BILLRV”,“18-LM”,”21841”,”ASSM9”,”020”,”A”“BILLRV”,“18-LM”,”21842”,”ASSM9”,”030”,”A”“BILLRV”,“18-LM”,”51-50”,”ASSM9”,”040”,”A”“BILLRV”,“18-LM”,”51-55”,”ASSM9”,”050”,”A”“BILLRV”,“18-LM”,”51-56”,”ASSM9”,”060”,”A”“BILLRV”,“18-LM”,”51-57”,”ASSM9”,”070”,”A”“BILLRV”,“18-LM”,”3954682-18”,”ASSM9”,”080”,”A”“BILLRV”,“18-LM”,”695002-18”,”ASSM9”,”090”,”A”“BILLRV”,“18-LM”,”12523-18”,”ASSM9”,”100”,”A”“BILLRV”,“18-LM”,”18-CONT”,”ASSM9”,”110”,”A”“BILLRV”,“18-LM”,”3.5 HP”,”ASSM9”,”120”,”A”“BILLRV”,“18-LM”,”1000-25”,”ASSM9”,”130”,”A”

The custom macro name BILLRV is now field 1. Values have been added for the In Rev field.

2. Print out the test data file. Using the Required Transaction Fields table for the transaction you are modifying, relate the fields in your test data file with the field numbers shown for the ARCHIVE.FIL file.

For example, the BILLREV.DAT/ARCHIVE.FIL file relationships look similar to this:

3. Modify the Custom Macro File1. Using the printout of your custom macro file and the relationships established between the

ARCHIVE.FIL file and test data fields, record the macro modifications necessary. You might need to:

- change macro names

- change field numbers to new field numbers

- change field numbers to tabs

- eliminate macro calls and macros

2. Using a text editor, modify your custom macro file to reflect the necessary changes.

For example, the modified BILLREV.MAC file looks similar to this:

**** Macro BILLRV: CHanGe BOM detail, ADD new text - component on BOM ****{BEGDEF}{BILLRV}{bilxf2}{ENDDEF}

* bilxf2 * - transport to BILL screen, enter information to find record

----------------------------------------------------------------------------------------------------

ARCHIVE.FIL 1 7 10 8 9 18BILLREV.DAT 1 2 3 4 5 6

"BILLREV" "18-LM" "105376" "ASSM9" "010" "A"

Field Numbers

Data Import Macros and Data Dictionary 29

Page 30: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Custom Macros

{BEGDEF}{bilxf2}{billsc}{fld2}{fld4}{fld5}{fld3}{cr}{ctptus}{ENDDEF}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

* ctptus * - check PT USE{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{IF}{fld4}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

* ctseq * - check SEQ #{BEGDEF}{ctseq}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}{IF}{fld5}{eq}{cut}{jump}{ctcomp}{REJECT}{ENDDEF}

* ctcomp * - check COMP TYP{BEGDEF}{ctcomp}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}{IF}{fld3}{eq}{cut}{jump}{gobil}{REJECT}{ENDDEF}

* gobil * - jump to the correct transaction{BEGDEF}{gobil}{IF}{fld1}{eq}{bill2}{jump}{BI02-A}{REJECT}{ENDDEF}

* BI02-A *{BEGDEF}{BI02-A}{F8}{fld6}{ENDREC}{ENDDEF}

Data Import Macros and Data Dictionary 30

Page 31: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Testing and Troubleshooting

Testing and Troubleshooting

Testing a MacroTesting a macro involves backing up the database, setting up the IMPT (Data Import) task, running the IMPT task and checking both the batch process log file and the IMPORT.ERR log file in the MFGSYS directory. You may want to conduct macro testing on a stand-alone workstation. Use the following steps to test your custom macro.

1. Back up your current Fourth Shift database and related data files.

2. Rename the ARCHIVE.FIL file so that test transactions are not appended to your production ARCHIVE.FIL file.

3. Rename or delete the IMPORT.ERR file, if an IMPORT.ERR file exists.

4. Use the BSET (Batch Process Setup) screen to set up a batch process (process Id TST) that includes the IMPT task. Use error level E3 to begin testing. Validate the Parameters field using the F4 key before leaving the screen.

For example, the batch process set up for the BILLRV transaction looks similar to this:

01 IMPT MBILLREV.MAC IBILLREV.DAT E3 F02

Notice that the import process will start on record two. In this way, the first line in the test data file, which identifies the fields, is skipped.

5. Use the BEXE (Batch Process Execution) screen to run the IMPT task.

6. Check the LOG.TST and IMPORT.ERR files for any errors.

7. Check the ARCHIVE.FIL file to verify the transactions were successful.

8. When you are certain the results are successful, restore your Fourth Shift database and related data files. Change the error level to E1 and perform the import process using actual data.

TroubleshootingMacros are extremely detailed and any kind of typing, logic or field error can make the difference between a successful and an unsuccessful result. Here are some things to consider if you run into a problem.

Log Files1. Print out and analyze the LOG.XXX file for the batch process you just ran.

2. Print out and analyze the IMPORT.ERR file produced by the IMPT task.

See "Data Import Error Messages" in the System Control online manual for an explanation of the error messages recorded in the log files.

Test Data FileCheck your test data file for errors. Errors can include:

• blank lines at the top or bottom of the file. These blank lines are considered bad records.

Data Import Macros and Data Dictionary 31

Page 32: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Testing and Troubleshooting

• extra spaces at the end of a CDF data record. These spaces are treated as data and result in a bad record.

• leading spaces in a numeric field

• Ln# (line number) and Seqn (sequence number) fields must be zero-filled in order for a comparison to be successful.

• fields containing a quote-comma sequence in a CDF file. For example, a description such as 12", round is interpreted as the end of an alphanumeric field and the beginning of a numeric field. The User Interface prevents the user from entering a quote-comma sequence into alphanumeric fields on the screen.

Macro File1. Verify all the macros called during the transaction are in the macro file.

2. Compare field numbers in the macro with the fields in the incoming data file.

Syntax ErrorsSyntax errors to look for include:

• incomplete pair of braces

• incomplete pair of {BEGDEF}/{ENDDEF} commands

• braces turned the wrong way

• tabs and/or spaces within macros

• macro names greater than six characters long

• duplicate macro names

• incorrect spacing and commas in a screen cut command

• undefined comparison values

• blank lines or comments between the {BEGDEF} and {ENDDEF} commands

• missing {ENDREC}, {SPCREC} or {REJECT} to complete a transaction

• the {ENDDEF} command spelled with one D

Logic ErrorsWhen checking for logic errors, consider the following:

• {jump} and {call} commands that are not part of if-then-else comparisons produce unpredictable results.

• Use {SPCREC} instead of {ENDREC} following a {^f6}. {ENDREC} performs a {cr} which causes the transaction to be erroneously logged to the error file.

• When you are making relational comparisons (greater than, greater than or equal to, less than, or less than or equal to) to perform , numeric fields must contain the same number of digits. For example, the value 8 is greater than 10 because 8 is greater than 1. For the comparison to be valid, you must compare 08 to 10.

Capturing Data ValuesThe {CMD} command allows you to capture values being used in a specific place in a macro and store those data values in a file. In this way you can verify the macro is performing steps as expected. This technique is especially useful when verifying screen cuts.

Two varieties of the {CMD} command are used to enable and disable the data value logging capability.

Data Import Macros and Data Dictionary 32

Page 33: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Testing and Troubleshooting

• {CMD}P1 enables the capability

• {CMD}P0 disables the capability

All macro instructions after the {CMD}P1 command and before the {CMD}P0 command are written to a file specified as a parameter to the IMPT or RCVR task. These instructions are ignored if no file is specified for the task. For more information on specifying a file, see "Import Setup."

ExampleThe following example shows a macro that captures data values from a screen and a screen cut.

{BEGDEF}{prtc}{CMD}P1{HOME}FIELD7 = "{fld7}"{CR}CUT = "{cut}"{CR}{CR}{CMD}P0{ENDDEF}

In the following example, the {prtc} macro shown above is called after checking the Item field on the ITMB screen before changing an item.

**** Macro ITMB01: CHanGe item on main ITMB screen ****{BEGDEF}{ITMB01}{itmxf1}{ENDDEF}

* itmxf1 * - transport to ITMB screen, enter ITEM, check for correct line{BEGDEF}{itmxf1}{itmbsc}{fld7}{cr}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 10,03, 10,17,{ENDDEF}{prtc}{IF}{cut}{eq}{fld7}{jump}{mbchk2}{REJECT}{ENDDEF}

* itmbsc * - transport to ITMB screen{BEGDEF}{itmbsc}{home}itmb{esc}{esc}{ENDDEF}

* mbchk2 * - jump to the correct transaction

Macro Line(s) Description

{BEGDEF}{prtc} This statement identifies the print macro using the macro name {prtc}.

{CMD}P1{HOME} These commands enable the data logging capability.

FIELD7 = "{fld7}"{CR}CUT = "{cut}"{CR}

These commands write exactly what is defined to the file. The first line records the content of field 7 in the current data record. The second line records the string of characters currently stored in {cut}. Quotation marks begin and end the char-acter strings so that spaces in a data value can be detected. Each {CR} inserts an end-of-line character in the file.

{CR}{CMD}P0{ENDDEF}

These commands add a blank line to the end of the file, disable the data value log-ging capability and end the macro.

Data Import Macros and Data Dictionary 33

Page 34: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Testing and Troubleshooting

{IF}{fld1}{eq}{MB01}{jump}{MB01-A}{ENDDEF}

* MB01-A *{BEGDEF}{MB01-A}{fld8}{fld9}{fld10}{fld11}{fld12}{fld13}{fld14}{fld15}{fld16}{fld17}{ENDREC}{ENDDEF}

{BEGDEF}{prtc}{CMD}P1{HOME}FIELD7 = "{fld7}"{CR}CUT = "{cut}"{CR}{CR}{CMD}P0{ENDDEF}

This macro records all field data values and screen cut values to a file, allowing you to review the file for discrepancies. The resulting file could look similar to this:

FIELD7 = "18-LM"CUT = "18-LM "

In this example, the screen cut format should be checked to make sure the PACK or TRIM option is being used to remove spaces after the last character in a character string.

Import Setup1. Check the batch process set up to run the IMPT task. Make sure you specify a template, if

using one.

2. Check the template and table(s) created using the TMPT (Template Maintenance) screen, if necessary.

Using Macro Debugging ParametersThere are a number of parameters available for the IMPT and RCVR tasks that aid in debugging and troubleshooting macros. When testing macros, use these parameters in addition to those regularly in use for a task.

• File for Logging Data Values. Use the C parameter to specify the file used to store data values captured by the {CMD} macro command. The file name should be a full path, such as C:\TEMP\CMDFILE.TXT. Data values are appended to this file each time the data value logging capability is enabled in a macro.

• Step Mode. Use the S parameter to start the data import process in single step mode. This allows you to review each transaction for troubleshooting purposes.

• Enhanced Error Logging. Use the E3 error level parameter to log additional information about transactions completed through the {REJECT} command and transactions suspended as a result of two users attempting to access data at the same time.

• Time Delay for Recovery. Use the T parameter to delay incoming data by up to 60 seconds per transaction, simulating real-time client workstation performance. The cursor remains on the last line processed during the Wait sleep. For example, T30 waits 30 seconds between transaction.

Use the W parameter to delay incoming data by up to 60 seconds per transaction, simulating real-time client workstation performance. An ESC key is entered into the screen prior to the Wait sleep and all passive currencies are removed. For example, W30 waits 30 seconds between transactions.

This parameter is available for the RCVR task only.

Data Import Macros and Data Dictionary 34

Page 35: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Testing and Troubleshooting

Import ExecutionRerun the IMPT task. See "Managing the Import Process" in the System Control online manual for information on options including:

• stopping the process

• controlling the process from the keyboard a single keystroke at a time

Data Import Macros and Data Dictionary 35

Page 36: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

Macro Techniques

Making Macros Readable

Comment LinesAny line outside of a {BEGDEF} command is ignored during the import process. Take advantage of this by beginning each macro with a description of the transaction, such as:

**** Macro BILL00: ADD component to BOM ****

You can also put one or two blank lines between individual macros to separate them.

CapitalizationYou can use capitalization to make different macro elements stand out. For example, you may want to make all commands upper case and all macro names lower case or vice versa for easy identification.

Line BreaksEnd your macro lines in places that make it easy for you to see, at a glance, what is happening. For example, put the {BEGDEF}{macro name} command together on a line and continue with the body of your macro on the next line so it is not necessary to hunt for the place where your macro actually begins executing commands.

Meaningful NamesMake your macro names descriptive of their function. As time passes, you will not remember all the discoveries you made to arrive at a workable macro.

Naming MacrosOne macro file can contain up to 150 {BEGDEF} commands. The number of {BEGDEF} commands can be reduced using the following techniques:

• The macro name {cut} can be reused to store a succession of screen cuts when screen cut macros are placed directly before the related if-then-else comparisons.

• A macro that executes a standard function, such as a delete, can be called by a number of different macros.

Entering Data Into FieldsMacros can perform a number of actions with field data including the following:

• Add or Change Data. Input from the incoming data field or a literal in the template overwrites any existing value in the destination field. The field is cleared first rather than overwriting character by character.

• Delete Data. When an @ appears as a single character input field, the associated field on the screen is cleared as if the F1 key was pressed on the keyboard.

To delete existing information in an alphanumeric (or date) field, use "@". For example:

Data Import Macros and Data Dictionary 36

Page 37: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

"BILLRV","DA1800","S200","FAB",010,"@","02"

To delete existing information in a numeric field, use @. For example:

"BILLRV","DA1800","S200","FAB",010,@,"02"

If you use the @ symbol as part of a multiple character string, the field information will not be deleted.

• Use Existing Data. Null or empty fields in the incoming data field signal the system to use whatever data is already entered for that field. The system tabs through the field leaving the data as it was.

Identifying a Screen CutScreen cuts are most commonly used to determine:

• the ACTION mode of the screen

• your position in the Scrolling Line section of a screen

• whether a field on a screen contains information

• whether a field on a screen opens for entry, based on other screen information

See "Perform Screen Cuts" for screen cut formats. To identify a screen cut:

1. Use the Data Import Dictionary, screen prints and predefined macros to determine which screen cuts you need.

2. Load a utility to redirect a screen print to a text file.

3. Go to the screen for which you need the cut or cuts and fill the fields you need completely. In this way, you can determine the length of the fields. Do not press ENTER.

4. Do a screen print to a text file and exit the system.

5. Edit the text file. Be certain the top row of the screen is the top line of the text file. Some screen-capture programs place a blank line above the top row of the screen. If a blank line exists, delete the blank line before determining cut coordinates.

Screen coordinates are as follows:

6. Position the cursor on the beginning point of your cut. Do not use any keys which cause you to change the file, such as the SPACE BAR, BACKSPACE or any character key.

7. Using the COLUMN and ROW capability, determine the cursor's position. Write down the ROW and COLUMN numbers as your beginning coordinate.

8. Position the cursor on the ending point of your cut. Using the COLUMN and ROW capability, determine the cursor's position. Write down the ROW and COLUMN numbers as your ending coordinates. You may also want to write down the field so you can include a comment line in the macro before the screen cut is performed.

First Column Last Column

First row 01, 01 01, 80

Last row 25, 01 25, 80

Data Import Macros and Data Dictionary 37

Page 38: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

Screen Cuts for Currency InformationCurrency information for foreign transactions or trading partners is displayed in a controlled area in the upper right section of the window when needed. This information can be used by custom macros to verify that the information on a screen is displayed in the correct currency.

If you need to use the currency information, the data is available for screen cuts in line 24.

Sample MacrosA walkthrough of a number of macros is presented here to give you an idea of the approaches used for various screen functions.

Add on Scrolling Line ScreenMacro {BILL00} adds a component to a bill of material using the BILL (Single Level Bill) screen.

The correct bill of material must be displayed on the BILL screen before a component is added, and the BILL screen must be in the ADD mode.

Macro {BILL00} looks similar to this:

**** Macro BILL00: ADD component to BOM ****{BEGDEF}{BILL00}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 01,11, 01,22,{ENDDEF}{if}{cut}{eq}{biladd}{jump}{chkbil}{bilxf1}{F6}{addbil}{ENDDEF}

* chkbil *{BEGDEF}{chkbil}{BEGDEF}{DISONL}{bilitm}NO RETURNS,ABSOLUTE * TRIM, 04,11, 04,25,{ENDDEF}{if}{bilitm}{eq}{fld7}{jump}{addbil}{bilxf1}{F6}{addbil}{ENDDEF}

* addbil *{BEGDEF}{addbil}{home}{tab}{fld8}{fld9}{fld10}{fld11}{fld14}{fld16}{fld12}{fld13}{fld15}{fld17}{ENDREC}{ENDDEF}

* bilxf1 * - transport to BILL screen, enter PARENT{BEGDEF}{bilxf1}{billsc}{fld7}{cr}{ENDDEF}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

Macro {BILL00} performs the following actions:

{BEGDEF}{BILL00}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 01,11, 01,22,{ENDDEF}

Determine if the BILL screen is now displayed and in the ADD mode. Locate 12 characters on the first row of the screen, starting at column 11. These 12 characters include the screen Function Code and the ACTION mode. Remove any extra spaces (more than one) between characters and any spaces at the end of the last character. Store the screen characters in a comparison value called {cut}.

Data Import Macros and Data Dictionary 38

Page 39: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{if}{cut}{eq}{biladd}{jump}{chkbil}

{bilxf1}{F6}{addbil}{ENDDEF}

{BEGDEF}{bilxf1}{billsc}{fld7}{cr}{ENDDEF}

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

Compare the screen characters to the character string BILL ADD, defined as the value {biladd}.

• If the screen characters match BILL ADD, the BILL screen is in the ADD mode. Transfer control to macro {chkbil}.

• If the screen characters do not match BILL ADD, transfer control to macro {bilxf1}, which calls macro {billsc} to transport to the BILL screen. The BILL screen is refreshed and the cursor is in the Parent field. The bill of material is displayed and a new line is opened to add a component. Transfer control to macro {addbil}.

{BEGDEF}{biladd}BILL ADD{ENDDEF}

The value BILL ADD is defined using macro {biladd}.

{BEGDEF}{chkbil}

{BEGDEF}{DISONL}{bilitm}NO RETURNS,ABSOLUTE * TRIM, 04,11, 04,25,{ENDDEF}

Determine if the bill of material now displayed is for the parent represented by field 7 in the current data record. Locate 15 characters on the fourth row of the screen, starting at column 11. These 15 characters are the Parent field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {bilitm}.

{if}{bilitm}{eq}{fld7}{jump}{addbil}

{bilxf1}{F6}{addbil}{ENDDEF}

{BEGDEF}{bilxf1}{billsc}{fld7}{cr}{ENDDEF}

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

Compare the screen characters to the content of field 7.

• If the screen characters match field 7, the correct bill of material is displayed. Transfer control to macro {addbil}.

• If the screen characters do not match field 7, transfer control to macro {bilxf1}, which calls macro {billsc} to transport to the BILL screen. The BILL screen is refreshed and the cursor is in the Parent field. The bill of material is displayed and a new line is opened to add a component. Transfer control to macro {addbil}.

{BEGDEF}{addbil}{home}{tab}

{fld8}{fld9}{fld10}{fld11}{fld14}{fld16}{fld12}{fld13}{fld15}{fld17}

{ENDREC}{ENDDEF}

Add an item to the bill of material using the content of fields 8 through 17 from the current data record. First be certain the cursor is in the first open field. Press HOME to go to the Function field. Press TAB to move to the first open field on the screen. Enter the content of fields 8 through 17 on the open line. Press ENTER to finish the transaction and complete processing the current data record.

Change on Scrolling Line Screen

Data Import Macros and Data Dictionary 39

Page 40: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

Macro {BILL01} changes a component on a bill of material. The correct component must be found on the BILL screen before a change is made. Once the Parent and other key fields are entered, the first component listed is verified using the unique identifier fields—Pt Use, Seqn and Component.

Macro {BILL01} looks similar to this:

**** Macro BILL01: CHanGe component on BOM ****{BEGDEF}{BILL01}{bilxf2}{ENDDEF}

* bilxf2 * - transport to BILL screen, enter information to find record{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

* ctptus * - check PT USE{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{if}{fld8}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

* ctseq * - check SEQ #{BEGDEF}{ctseq}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}{if}{fld9}{eq}{cut}{jump}{ctcomp}{REJECT}{ENDDEF}

* ctcomp * - check COMP TYP{BEGDEF}{ctcomp}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}{if}{fld10}{eq}{cut}{jump}{gobil}{REJECT}{ENDDEF}

* gobil * - jump to the correct transaction{BEGDEF}{gobil}{if}{fld1}{eq}{bill1}{jump}{BI01-A}{REJECT}{ENDDEF}

* BI01-A *{BEGDEF}{BI01-A}{fld11}{fld14}{fld16}{fld12}{fld13}{fld15}{fld17}{ENDREC}{ENDDEF}

Macro {BILL01} performs the following actions:

{BEGDEF}{BILL01}{bilxf2}{ENDDEF}

{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

The macro {bill01} calls the macro {bilxf2}. The macro {bilxf2} calls the macro {billsc} to transport to the BILL screen. The cursor is in the Parent field. Enter the content of fields 7, 8, 9 and 10 in the open fields on the screen—Parent, Starting Pt Use, Seqn and Component. Press ENTER to display the bill of material. Transfer control to macro {ctptus}.

{BEGDEF}{ctptus}

Data Import Macros and Data Dictionary 40

Page 41: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}

Determine if the point of use on the first line matches the current data record. Locate 5 characters on the fourteenth row of the screen, starting at column 02. These 5 characters are the Pt Use field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld8}{eq}{cut}{jump}{ctseq}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 8.

• If the screen characters match field 8, check the sequence number. Transfer control to macro {ctseq}.

• If the screen characters do not match field 8, stop processing the current data record.

{BEGDEF}{ctseq}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}

Determine if the sequence number on the first line matches the current data record. Locate 3 characters on the fourteenth row of the screen, starting at column 09. These 3 characters are the Seqn field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld9}{eq}{cut}{jump}{ctcomp}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 9.

• If the screen characters match field 9, check the component. Transfer control to macro {ctcomp}.

• If the screen characters do not match field 9, stop processing the current data record.

{BEGDEF}{ctcomp}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}

Determine if the component on the first line matches the current data record. Locate 15 characters on the fourteenth row of the screen, starting at column 14. These 15 characters are the Component field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld10}{eq}{cut}{jump}{gobil}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 10.

• If the screen characters match field 10, transfer control to macro {gobil}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{gobil}

{if}{fld1}{eq}{bill1}{jump}{BI01-A}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 1.

• If the screen characters match field 1, transfer control to macro {BI01-A}.

• If the screen characters do not match field 10, stop processing the current data record.

Data Import Macros and Data Dictionary 41

Page 42: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{BEGDEF}{BI01-A}{fld11}{fld14}{fld16}{fld12}{fld13}{fld15}{fld17}

{ENDREC}{ENDDEF}

Change the component. Enter the content of fields 11 through 17 on the line. Press ENTER to finish the transaction and complete processing the current data record.

Delete on Scrolling Line ScreenMacro {BILL03} is used to delete a component on a bill of material. The correct component must be found on the BILL screen before a change is made. Once the Parent and other key fields are entered, the first component listed is verified using the unique identifier fields—Pt Use, Seqn and Component.

Macro {BILL03} looks similar to this:

**** Macro BILL03: DELete component from BOM ****{BEGDEF}{BILL03}{bilxf2}{ENDDEF}

* bilxf2 * - transport to BILL screen, enter information to find record{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

* ctptus * - check PT USE{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{if}{fld8}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

* ctseq * - check SEQ #{BEGDEF}{ctseq}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}{if}{fld9}{eq}{cut}{jump}{ctcomp}{REJECT}{ENDDEF}

* ctcomp * - check COMP TYP{BEGDEF}{ctcomp}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}{if}{fld10}{eq}{cut}{jump}{gobil}{REJECT}{ENDDEF}

* gobil * - jump to the correct transaction{BEGDEF}{gobil}{if}{fld1}{eq}{bill3}{jump}{delete}{REJECT}{ENDDEF}

* delete *{BEGDEF}{delete} {^F6} {SPCREC}{ENDDEF}

Macro {BILL03} performs the following actions:

{BEGDEF}{BILL03}{bilxf2}{ENDDEF}

{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

Data Import Macros and Data Dictionary 42

Page 43: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

The macro {bill03} calls the macro {bilxf2}. The macro {bilxf2} calls the macro {billsc} to transport to the BILL screen. The cursor is in the Parent field. Enter the content of fields 7, 8, 9 and 10 in the open fields on the screen—Parent, Starting Pt Use, Seqn and Component. Press ENTER to display the bill of material. Transfer control to macro {ctptus}.

{BEGDEF}{ctptus}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}

Determine if the point of use on the first line matches the current data record. Locate 5 characters on the fourteenth row of the screen, starting at column 02. These 5 characters are the Pt Use field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld8}{eq}{cut}{jump}{ctseq}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 8.

• If the screen characters match field 8, check the sequence number. Transfer control to macro {ctseq}.

• If the screen characters do not match field 8, stop processing the current data record.

{BEGDEF}{ctseq}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}

Determine if the sequence number on the first line matches the current data record. Locate 3 characters on the fourteenth row of the screen, starting at column 09. These 3 characters are the Seqn field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld9}{eq}{cut}{jump}{ctcomp}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 9.

• If the screen characters match field 9, check the component. Transfer control to macro {ctcomp}.

• If the screen characters do not match field 9, stop processing the current data record.

{BEGDEF}{ctcomp}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}

Determine if the component on the first line matches the current data record. Locate 15 characters on the fourteenth row of the screen, starting at column 14. These 15 characters are the Component field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld10}{eq}{cut}{jump}{gobil}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 10.

• If the screen characters match field 10, transfer control to macro {gobil}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{gobil}

Data Import Macros and Data Dictionary 43

Page 44: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{if}{fld1}{eq}{bill3}{jump}{delete}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 1.

• If the screen characters match field 1, transfer control to macro {delete}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{delete}{^f6}{SPCREC}{ENDDEF}

Delete the component. Press CTRL+F6 to finish the transaction and complete processing the current data record.

Change on Detail ScreenMacro {BILL02} changes component detail using the Bill of Material Detail screen, accessed from the BILL screen.

The correct component must be found on the BILL screen before a change is made. Once the Parent and other key fields are entered, the first component listed is verified using the unique identifier fields—Pt Use, Seqn and Component.

Macro {BILL02} looks similar to this:

**** Macro BILL02: CHanGe BOM detail, ADD new text - component on BOM ****{BEGDEF}{BILL02}{bilxf2}{ENDDEF}

{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{if}{fld8}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

{BEGDEF}{ctseq}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}{if}{fld9}{eq}{cut}{jump}{ctcomp}{REJECT}{ENDDEF}

{BEGDEF}{ctcomp}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}{if}{fld10}{eq}{cut}{jump}{gobil}{REJECT}{ENDDEF}

{BEGDEF}{gobil}{if}{fld1}{eq}{bill2}{jump}{BI02-A}{REJECT}{ENDDEF}

{BEGDEF}{BI02-A}{F8}{fld18}{fld19}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE, 11,14, 11,14,{ENDDEF}{if}{cut}{eq}{testP}{jump}{cfg}{nocfg}{ENDDEF}

{BEGDEF}{cfg}{fld20}{fld21}{fld22}{fld23}{fld24}{fld25}{fld26}{chktxt}{E

Data Import Macros and Data Dictionary 44

Page 45: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

NDDEF}

{BEGDEF}{nocfg}{fld23}{fld24}{fld25}{chktxt}{ENDDEF}

{BEGDEF}{chktxt}{if}{fld28}{ne}{NULL}{call}{addtxt}{if}{fld29}{ne}{NULL}{call}{addtxt}{if}{fld30}{ne}{NULL}{call}{addtxt}{if}{fld31}{ne}{NULL}{call}{addtxt}{fld27}{ENDREC}{ENDDEF}

{BEGDEF}{addtxt}{F6}{fld28}{fld29}{fld30}{fld31}{ENDREC}{ENDDEF}

{BEGDEF}{testP}P{ENDDEF}

Macro {BILL02} performs the following actions:

{BEGDEF}{BILL02}{bilxf2}{ENDDEF}

{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

The macro {bill02} calls the macro {bilxf2}. The macro {bilxf2} calls the macro {billsc} to transport to the BILL screen. The cursor is in the Parent field. Enter the content of fields 7, 8, 9 and 10 in the open fields on the screen—Parent, Starting Pt Use, Seqn and Component. Press ENTER to display the bill of material. Transfer control to macro {ctptus}.

{BEGDEF}{ctptus}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}

Determine if the point of use on the first line matches the current data record. Locate 5 characters on the fourteenth row of the screen, starting at column 02. These 5 characters are the Pt Use field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld8}{eq}{cut}{jump}{ctseq}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 8.

• If the screen characters match field 8, check the sequence number. Transfer control to macro {ctseq}.

• If the screen characters do not match field 8, stop processing the current data record.

{BEGDEF}{ctseq}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}

Determine if the sequence number on the first line matches the current data record. Locate 3 characters on the fourteenth row of the screen, starting at column 09. These 3 characters are the Seqn field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld9}{eq}{cut}{jump}{ctcomp}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 9.

Data Import Macros and Data Dictionary 45

Page 46: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

• If the screen characters match field 9, check the component. Transfer control to macro {ctcomp}.

• If the screen characters do not match field 9, stop processing the current data record.

{BEGDEF}{ctcomp}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}

Determine if the component on the first line matches the current data record. Locate 15 characters on the fourteenth row of the screen, starting at column 14. These 15 characters are the Component field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld10}{eq}{cut}{jump}{gobil}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 10.

• If the screen characters match field 10, transfer control to macro {gobil}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{gobil}

{if}{fld1}{eq}{bill2}{jump}{BI02-A}

Compare the screen characters to the content of field 1.

• If the screen characters match field 1, transfer control to macro {BI02-A}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{BI02-A}{F8}{fld18}{fld19}

The Bill of Material Detail screen is displayed. Enter the content of fields 18 and 19 in the In Rev and Out Rev fields.

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE, 11,14, 11,14,{ENDDEF}

Determine which fields are open based on the parent's planning policy. Locate 1 character on the eleventh row of the screen, starting at column 14. This character is the Pln Pol field in the Parent section of the screen. Store the screen characters in a comparison value called {cut}.

{if}{cut}{eq}{testP}{jump}{cfg}

{nocfg}{ENDDEF}

Compare the screen characters to the character P, defined as the value {testP}.

• If the screen characters match {testP}, transfer control to macro {cfg}.

• If the screen characters do not match {testP}, transfer control to macro {nocfg}.

{BEGDEF}{cfg}{fld20}{fld21}{fld22}{fld23}{fld24}{fld25}{fld26}{chktxt}{ENDDEF}

Enter the content of fields 20 through 26 in the open fields on the screen. Transfer control to macro {chktxt}.

{BEGDEF}{nocfg}{fld23}{fld24}{fld25}{chktxt}{ENDDEF}

Enter the content of fields 23 through 25 in the open fields on the screen. Transfer control to macro {chktxt}.

{BEGDEF}{chktxt}

Data Import Macros and Data Dictionary 46

Page 47: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{if}{fld28}{ne}{NULL}{call}{addtxt}

{if}{fld29}{ne}{NULL}{call}{addtxt}

{if}{fld30}{ne}{NULL}{call}{addtxt}

{if}{fld31}{ne}{NULL}{call}{addtxt}

{fld27}{ENDREC}{ENDDEF}

Check if new text is being added or existing text is being attached to the component.

• If any of the four text line fields contain text, add new text by transferring control to macro {addtxt}.

• If none of the four text line fields contain text, assume existing text is being added. Fill in the Text No field using field 27, if necessary, and press ENTER.

{BEGDEF}{addtxt}{F6}{fld28}{fld29}{fld30}{fld31}{ENDREC}{ENDDEF}

Press F6 to open the text area. Enter the content of fields 28, 29, 30 and 31. Press ENTER. If field 28, 29, 30 or 31 is null (empty), the field is tabbed through.

{BEGDEF}{testP}P{ENDDEF}

The value P is defined using macro {testP}.

Deletion of TextMacro {BILL04} deletes component text using the Bill of Material Detail screen, accessed from the BILL screen. The correct component must be found on the BILL screen before a deletion is performed. Once the Parent and other key fields are entered, the first component listed is verified using the unique identifier fields—Pt Use, Seqn and Component.

Macro {BILL04} looks similar to this:

**** Macro BILL04: DELete text - component on BOM ****{BEGDEF}{BILL04}{bilxf2}{ENDDEF}

* bilxf2 * - transport to BILL screen, enter information to find record{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

* billsc * - transport to BILL screen{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

* ctptus * - check PT USE{BEGDEF}{ctptus}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}{if}{fld8}{eq}{cut}{jump}{ctseq}{REJECT}{ENDDEF}

* ctseq * - check SEQ #{BEGDEF}{ctseq}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}{if}{fld9}{eq}{cut}{jump}{ctcomp}{REJECT}{ENDDEF}

* ctcomp * - check COMP TYP{BEGDEF}{ctcomp}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}{if}{fld10}{eq}{cut}{jump}{gobil}

Data Import Macros and Data Dictionary 47

Page 48: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

{REJECT}{ENDDEF}

* gobil * - jump to the correct transaction{BEGDEF}{gobil}{if}{fld1}{eq}{bill4}{jump}{BI04-A}{REJECT}{ENDDEF}

* BI04-A *{BEGDEF}{BI04-A}{F8}{end}{delete}{ENDDEF}

* delete *{BEGDEF}{delete}{∧F6}{SPCREC}{ENDDEF}

Macro {BILL04} performs the following actions:

{BEGDEF}{BILL04}{bilxf2}{ENDDEF}

{BEGDEF}{bilxf2}{billsc}{fld7}{fld8}{fld9}{fld10}{cr}{ctptus}{ENDDEF}

{BEGDEF}{billsc}{home}bill{esc}{esc}{ENDDEF}

The macro {bill04} calls the macro {bilxf2}. The macro {bilxf2} calls the macro {billsc} to transport to the BILL screen. The cursor is in the Parent field. Enter the content of fields 7, 8, 9 and 10 in the open fields on the screen—Parent, Starting Pt Use, Seqn and Component. Press ENTER to display the bill of material. Transfer control to macro {ctptus}.

{BEGDEF}{ctptus}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,02, 14,06,{ENDDEF}

Determine if the point of use on the first line matches the current data record. Locate 5 characters on the fourteenth row of the screen, starting at column 02. These 5 characters are the Pt Use field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld8}{eq}{cut}{jump}{ctseq}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 8.

• If the screen characters match field 8, check the sequence number. Transfer control to macro {ctseq}.

• If the screen characters do not match field 8, stop processing the current data record.

{BEGDEF}{ctseq}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,09, 14,11,{ENDDEF}

Determine if the sequence number on the first line matches the current data record. Locate 3 characters on the fourteenth row of the screen, starting at column 09. These 3 characters are the Seqn field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld9}{eq}{cut}{jump}{ctcomp}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 9.

• If the screen characters match field 9, check the component. Transfer control to macro {ctcomp}.

Data Import Macros and Data Dictionary 48

Page 49: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Techniques

• If the screen characters do not match field 9, stop processing the current data record.

{BEGDEF}{ctcomp}

{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 14,14, 14,28,{ENDDEF}

Determine if the component on the first line matches the current data record. Locate 15 characters on the fourteenth row of the screen, starting at column 14. These 15 characters are the Component field. Remove spaces before the first significant character and remove spaces after the last significant character. Store the screen characters in a comparison value called {cut}.

{if}{fld10}{eq}{cut}{jump}{gobil}

{REJECT}{ENDDEF}

Compare the screen characters to the content of field 10.

• If the screen characters match field 10, transfer control to macro {gobil}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{gobil}

{if}{fld1}{eq}{bill4}{jump}{BI04-A}

Compare the screen characters to the content of field 1.

• If the screen characters match field 1, transfer control to macro {BI04-A}.

• If the screen characters do not match field 10, stop processing the current data record.

{BEGDEF}{BI04-A}{F8}{end}{delete}{ENDDEF}

Press F8 to go to the Bill of Material Detail screen. Press END to move the cursor to the Text No field. Transfer control to macro {delete}.

{BEGDEF}{delete}{^F6}{SPCREC}{ENDDEF}

Delete the text. Press CTRL+F6 to finish the transaction and complete processing the current data record.

Data Import Macros and Data Dictionary 49

Page 50: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Quick Reference

Macro Quick Reference

Keyboard Equivalents Quick Reference

Special Keys

Move and Scroll Keys

Function Keys

Key Equivalent

TAB {tab}

SHIFT+TAB {bktab}

ENTER {cr}

ESC {esc}

CTRL ^ (always used with another key, such as {^end})

CTRL+ENTER {^cr}

ALT+F4 {altf4}

Key Equivalent

Line Up {up}; {xup}

Line Down {dn}; {xdn}

Pg Up {pgup}; {xpgup}

Pg Dn {pgdn}; {xpgdn}

Home {home}; {xhome}

Ctrl+Home {^home}; {x^home}

End {end}; {xend}

Ctrl+End {^end}; {x^end}

Action Equivalent

Clear Field {f1}

Field Definition {f2}

Screen Help {f3}

Field Help {f4}

Open Window {altf4}

Exit via Menu {f5}

Data Import Macros and Data Dictionary 50

Page 51: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Quick Reference

Movement Within the Screen

Macro Commands Quick Reference

Begin and End Macros

Perform Screen CutsSpecific Location:{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE & PACK, 99,99, 99,99,{ENDDEF}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE * TRIM, 99,99, 99,99,{ENDDEF}{BEGDEF}{DISONL}{cut}NO RETURNS,ABSOLUTE, 99,99, 99,99,{ENDDEF}

Relative Location:{BEGDEF}{DISONL}{cut}NO RETURNS,SEARCH FOR & PACK, 99,99, 99,99,{ENDDEF}{BEGDEF}{DISONL}{cut}NO RETURNS,SEARCH FOR * TRIM, 99,99, 99,99,{ENDDEF}{BEGDEF}{DISONL}{cut}NO RETURNS,SEARCH FOR , 99,99, 99,99,{ENDDEF}

Add Line {f6}

Delete Line {^f6}

Print Report {f7}

Related Screens {f8}; {f9}; {f10}; {altf8}; {altf9}; {altf10}

Action Equivalent

To Move to the Next Field {tab}

To Scroll Up or Down a List of Information {up} {dn}

To Return to the Function Field {home}

To Move to the Last Highlighted Field on the Screen {end}

To Move to the Key Field on the Screen {esc}{esc}

To Move to the Last Line in a List of Information {^end}

To Move to the First Line in a List of Information {^home}

To Clear a Field {f1}

To Leave a Field Unchanged {tab}

Action Equivalent

Beginning {BEGDEF}{macro name}

End {ENDDEF}

Data Import Macros and Data Dictionary 51

Page 52: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Quick Reference

Screen Coordinates:

Minimum/Maximum Values

Define Comparison Values

Perform ComparisonsExample:{IF}{value1}{eq}{value2}{jump}{macro1}{next}

Comparison Macros

Format Description

99,99,^99,99 beginning row, beginning column, ending row, ending column

First Column Last Column

First row 01, 01 01, 80

Last row 25, 01 25, 80

Value Needed Macro Example

Exact value {BEGDEF}{macro name}comparison value{ENDDEF}

Empty value {null}

Condition Action

True condition Control is transferred to {macro1}

False condition {next} in macro is executed

Macro Command Action

{IF} Begins if-then-else comparison

{CALL}{macro name} Ends if-then-else comparison transfer-ring control to {macro name}; returns con-trol to calling macro

{IF} Begins if-then-else comparison

{JUMP}{macro name} Ends if-then-else comparison by transfer-ring control to {macro name}; does not return control to calling macro

Data Import Macros and Data Dictionary 52

Page 53: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Quick Reference

Relational Operators

Transfer Control to Other Macros

Complete Transactions

Incoming Data Fields{FLDxx}

Macro Files\MFGSYS\I\MOMM.MAC

Macro Names

Macro Command Equivalent

{DEQ} Equal to (Numerical Value)

{DNE} Not Equal to (Numerical Value)

{EQ} Equal to

{GE} Greater than or Equal to

{GT} Greater than

{LE} Less than or Equal to

{LT} Less than

{NE} Not Equal to

Macro Command Action

{CALL}{macro name} Transfers control to {macro name}; returns control to calling macro

{JUMP}{macro name} Transfers control to {macro name}; does not return control to calling macro

{macro name} Transfers control to {macro name}

{BACKUP} Return to previous macro

Macro Command Action

{ENDREC} Press ENTER

{SPCREC} Do not press ENTER

{REJECT} Do not process current data record

Format Description

{XXXXXX} 6 alphanumeric character maximum

Data Import Macros and Data Dictionary 53

Page 54: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro Quick Reference

Reserved Words

{altc} {altf4} {altf8}

{altf9} {altf10} {altm}

{altr} {altt} {backup}

{begdef} {bktab} {call}

{cmd} {cr} {delay}

{deq} {disonl} {dn}

{dne} {end} {enddef}

{disonl} {dn} {end}

{enddef} {endrec} {eq}

{esc} {f1} {f2}

{f3} {f4} {f5}

{f6} {f7} {f8}

{f9} {f10} {ffld}

{fld} {ge} {getout}

{gt} {home} {if}

{jump} {le} {lf}

{lt} {ne} {null}

{pgdn} {pgup} {reject}

{spcrec} {tab} {up}

{xdn} {xend} {xhome}

{xpgdn} {xpgup} {xup}

{x^end} {x^home} {^cr}

{^end} {^f6} {^home}

Data Import Macros and Data Dictionary 54

Page 55: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Dictionary

Data Import DictionaryThe Data Import Dictionary is a guide to the information necessary to use the predefined transactions, or macros, currently provided with Fourth Shift. A predefined transaction uses the format of the Fourth Shift archive file, ARCHIVE.FIL, and its corresponding screen(s) to import data into the system automatically.

The Data Import Dictionary is a companion to the TMPT (Template Maintenance) screen.

The TMPT screen is used to create a template, which identifies the record format of incoming data as it relates to the format of required macro fields. A template contains a field format definition for each field required by an identified macro. See the TMPT screen online help for detail information on the TMPT screen.

A Dictionary ExampleFor each transaction, the Data Import Dictionary lists the archive file layout and required transaction fields. For example, the dictionary entry for transaction LMMT01 (change location) looks like this:

LMMT01 Change LocationArchive Record Layout"LMMT01","","","","","",""."Stk","Bin","Inc Cd","Location Description"

Required Transaction Fields

The archive record layout identifies only those fields required by the transaction. All other fields in the archive record layout are represented as null (empty) fields. For example, transaction LMMT01 does not require Field# 2 through Field# 6.

Fields marked with asterisks (*) are required to ensure uniqueness when locating Fourth Shift information. These required fields could be on the current screen, on another screen in the system or could be internal system information.

Note: Do not confuse these required fields with required entries on a Fourth Shift screen. Use the online help for each screen to determine the entry action for fields on a screen.

One archive record layout can be used by several transactions. Each transaction, however, can require different fields in the archive record, depending on the function being performed.

Incoming records for changing location inventory codes (LMMT01) could look like this:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Stk Stk

8* 12 A Bin Bin

9 1 A Inv Cd Inv_Cd

10 65 A Location Description Loc_Desc

Data Import Macros and Data Dictionary 55

Page 56: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Dictionary

CDF Format

SDF Format

Using the dictionary entry for transaction LMMT01, the following relationships are clear:

• incoming record Fld# 1/Offset 00 relates to archive record Field# 7 (stk)

• incoming record Fld# 2/Offset 02 relates to archive record Field# 8 (bin)

• incoming record Fld# 3/Offset 08 relates to archive record Field# 9 (inv cd)

There is no existing relationship between an incoming Fld#/Offset and archive record Field #1 or Field# 10 (location description). Since these are required transaction fields, a relationship must be established to complete the template.

Field #1 is the macro id. The macro id is specified as a literal using the first field definition line on the TMPT screen. The macro id replaces XXXX00 in the Literal/Table Name field. In this way, no field is added to an incoming data record for the macro id.

A relationship for Field#10 is established using a null field. One null field added to the end of incoming records can relate to any number of required transaction fields. A null field in an incoming record signals the transaction to tab through the related field and leave the field unchanged.

The incoming records for changing location inventory codes must be modified to look like this:

CDF Format

SDF Format

In this example, Field# 10 (location description) will not be changed.

"02","01","H","""02","02","I","""02","03","O",""

Fld #3: Inv Cd; Field Type = AFld #2: Bin; Field Type = AFld #1: Stk; Field Type = A

Fld #4: Null (2 consecutive quotation marks); Field Type = A

Data Import Macros and Data Dictionary 56

Page 57: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Dictionary

The completed template for importing this data using transaction LMMT01 looks like this:

CDF Format

SDF Format

Guide to the DictionaryThe Data Import Dictionary is ordered alphabetically by Main screen Function Codes. The following lists are provided in the online manual to assist in locating transactions:

• Transactions by Screen

• Macro Filenames by Screen

• Transactions by Task Category (items, locations, and so on)

A list of interdependent transactions is provided after the transaction lists to assist in determining the sequence of transactions required to complete an interdependent transaction. Those transactions which are interdependent refer to this section of the index.

Each Main screen can have several transactions defined for it, including transactions for related screens. Each Main screen entry includes the following sections:

• transaction summary

• transaction detail

Transaction Summary

Incoming Record Format Required Macro Format

Field TypeLiteral/Table

NameField#/Offset Length

Required Field#

Required Length

n/a 01 06 L LMMT01

01 n/a 07 02 A

02 n/a 08 06 A

03 n/a 09 01 A

04 n/a 10 65 A

Incoming Record Format Required Macro Format

Field TypeLiteral/Table

NameField#/Offset Length

Required Field#

Required Length

01 06 L LMMT01

00 06 07 06 A

02 12 08 12 A

08 01 09 01 A

09 00 10 65 A

Data Import Macros and Data Dictionary 57

Page 58: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Dictionary

The Transaction Summary presents the Main screen and related screens, and identifies corresponding transactions.

Transaction Summary

Transactions are uniquely identified by a six-character macro id: the Main screen Function Code followed by two digits.

Transaction DetailThe Transaction Detail section presents the definition of the transaction, the archive record layout and a table of information for each transaction.

LMMT01 Change LocationArchive Record Layout"LMMT01","","","","","",""."Stk","Bin","Inc Cd","Location Description"

Required Transaction Fields

• Transaction Definition. Each transaction is defined according to its intended function. Transactions are designed to add, change, delete and so on.

• Archive Record Layout. The archive record layout identifies only those fields required by the transaction. All other fields in the archive record layout are represented as null fields. One archive record can be used by several transactions. Each transaction, however, can require different fields in the archive record, depending on the function being performed.

The Fourth Shift archive record (CDF format) starts with identification information in the first six fields. Field values are as follows:

Macro Id Description

LMMT00 Add Location

LMMT01 Change Location

LMMT02 Delete Location

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Stk Stk

8* 12 A Bin Bin

9 1 A Inv Cd Inv_Cd

10 65 A Location Description Loc_Desc

Field# Value

1 Macro Id

2 User Id

3 Date

Data Import Macros and Data Dictionary 58

Page 59: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Dictionary

Field# 1 is always required when you create a template using the TMPT screen. The first field format definition defaults to Field# 1.

The default value for the Literal/Table Name field is replaced by the macro id.

As a general rule, transactions do not require Field# 2 through Field# 6. Field# 7 is often a transaction type indicator, such as T (Top or header) or B (Bottom or line item). A transaction generally does not require Field# 7 when Field# 7 is a transaction type indicator.

• Required Transaction Fields. This table lists each required transaction field. Table headings are as follows:

Table conventions are as follows:

4 Time

5 Internal Flag

6 Action Code

Fld#/Offset Length

Required Field#

Required Length

Field Type

Literal/Table Name

01 06 L LMMT01

Heading Meaning Usage

Field# Position in archive file TMPT screen entry

Field Length Maximum length accepted TMPT screen entry

Field Type Data field typeA = alphanumericD = dateN = numeric

Reference only

Screen Name Field as it appears on the screen

Field identification

Data Export Name Field when extracted from the system

Reference only

Convention Example Meaning

* 8* field value is needed for proper identification. Can-not be null.

(XXXX) Component Sort Basis (CNFG)

Function Code of screen where field is found when not on current screen

(lowercase) (text line1) field is on screen, but field name is not on screen

Data Import Macros and Data Dictionary 59

Page 60: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Data Import Dictionary

(reassignment y/n) field is response to window or prompt

(new lot y/n) additional information is needed for transaction

(old) Ln# Typ (old) existing value used for proper identification

(new) Ln# Typ (new) value to which field is to be changed

N/A N/A not applicable

Data Import Macros and Data Dictionary 60

Page 61: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

Interdependent TransactionsSeveral transactions consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. For example, here is the set of sequenced transactions required to add an A/R cash receipt.

This section includes a table of each of the interdependent transactions in a set. The transactions are sequenced in required order from right to left. That is the transaction in the Completion Identifier field is the last archive record in the set. The table lists the following types of information about each set of interdependent transactions:

• Transaction specifies the Fourth Shift transaction you wish to complete. Description identifies the function performed by the Transaction.

• Prerequisite Transaction (prerequisite transactions) specifies the transactions which must have been completed prior to the Transaction you wish to complete.

• DistributionTransaction (distribution transactions) specifies which types of distribution are needed by the Transaction. Distribution transactions use either the G/L Distribution screen or the A/P Distribution window. Distribution transactions must consist of a minimum of two transactions (debit and credit).

• Complete Distribution (complete disbribution) indicates that all Distribution Transactions have been entered and the transaction can be completed using CTRL+ENTER.

• Completion Id (completion identifier) indicates that the set of transactions for this transaction have been completed.

Click the interdependent transaction you wish to review:

• APCV – A/P Payment Void

• APDS – A/P Disbursements

• APID – A/P Invoice Disbursements

• APIE – A/P Invoice Entry

• APPA – A/P Manual Payment Application

• APPD – A/P Prior Period Disbursements

• APRE – A/P Recurring Invoice

• APRQ – A/P Cash Requirements/Payment Approval

• APTX – A/P 1099 Distribution by Vendor

• ARCD – A/R Cash Deposits

• ARCR – A/R Cash/Credit Memo Application

Transaction Description

ARCD00 Add cash receipt information

ARCD10 Debit transaction

ARCD10 Credit transaction

ARCD12 Complete G/L distribution (CTRL+ENTER)

ARCD19 Exit the ARCR screen

Data Import Macros and Data Dictionary 61

Page 62: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

• ARPD – A/R Prior Period Cash Desposits

• SUND – Sundry Disbursements

• SUNR – Sundry Receipts

• SUPD – Sundry Prior Period Disbursements

• SUPR – Sundry Prior Period Receipts

APCV – A/P Payment Void

APDS – A/P Disbursements

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APCV00Void Payment Reference Num-ber

none APCV10 (debit)APCV10 (credit)

APCV12 APCV12

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APDS00Select Cash Set

none none none none

APDS01Add Cash Set Header

APDS00 APDS19

APDS02Change Cash Set Header

APDS00APDS01

APDS19

APDS03Delete Cash Set

APDS00APDS01

APDS19

APDS04Add Disburse-ment Detail

APDS00APDS01

APDS10 (debit)APDS10 (credit)

APDS12 APDS19

APDS05Change Disburse-ment Detail

APDS00APDS01APDS04

APDS10 (debit)APDS10 (credit)

APDS12 APDS19

APDS06Change Payee Detail

APDS00APDS01APDS04

APDS10 (debit)APDS10 (credit)

APDS12 APDS19

APDS07Delete Disburse-ment Detail

APDS00APDS01APDS04

APDS10 (debit)APDS10 (credit)

APDS12 APDS19

Data Import Macros and Data Dictionary 62

Page 63: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

APID – A/P Invoice Disbursements

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APID00Add A/P InvoiceAdd A/P Debit Memo

none APID10 (debit)APID10 (credit)

APID12 APID19

APID01Change A/P InvoiceChange A/P Debit Memo

-amount change APID00 APID10 (debit)APID10 (credit)

APID12 APID19

-non-amount change

APID00 none none APID19

APID02Delete A/P InvoiceDelete A/P Debit Memo

APID00 APID10 (debit)APID10 (credit)

APID12 APID19

APID03Apply A/P Invoice to PO/Seqn NoApply A/P Debit Memo to PO/Seqn No

APID00 APID10 (debit)APID10 (credit)

APID12 APID19

APID05Unapply A/P InvoiceUnapply A/P Debit Memo

APID00APID03

APID10 (debit)APID10 (credit)

APID12 APID19

APID09Add VAT Informa-tionChange VAT InformationDelete VAT Infor-mation

APID00 APID10 (debit)APID10 (credit)

APID12 APID19

APID20Add 1099 Informa-tionChange 1099 Information

-add transaction APID00 none APID32 APID19

-change transac-tion

APID00 none APID32 APID19

APID22Change 1099 Information

APID00APID20

none APID32 APID19

Data Import Macros and Data Dictionary 63

Page 64: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

APIE – A/P Invoice Entry

APPA – A/P Manual Payment Application

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APIE00Add A/P InvoiceAdd A/P Debit Memo

none APIE10 (debit)APIE10 (credit)

APIE12 APIE19

APIE01Change A/P InvoiceChange A/P Debit Memo

-amount change APIE00 APIE10 (debit)APIE10 (credit)

APIE12 APIE19

-non-amount change

APIE00 none none APIE19

APIE02Delete A/P InvoiceDelete A/P Debit Memo

APIE00 APIE10 (debit)APIE10 (credit)

APIE12 APIE19

APIE03Apply A/P InvoiceApply A/P Debit Memo

APIE00 APIE10 (debit)APIE10 (credit)

APIE32 APIE19

APIE09Add VAT Informa-tionChange VAT InformationDelete VAT Infor-mation

APIE00 APIE10 (debit)APIE10 (credit)

APIE12 APIE19

APIE20Add 1099 Informa-tionChange 1099 Information

-add transaction APIE00 none APIE32 APIE19

-change transac-tion

APIE00 none APIE32 APIE19

APIE22Delete 1099 Infor-mation

APIE00APIE20

none APIE32 APIE19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

Data Import Macros and Data Dictionary 64

Page 65: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

APPD – A/P Prior Period Disbursements

APPA01Apply PaymentApply Debit MemoUnapply PaymentUnapply Debit Memo

none APPA10 (debit)APPA10 (credit)

APPA12 APPA19

APPA20Add 1099 Informa-tionChange 1099 Information

none none APPA32 APPA19

APPA22Delete 1099 Infor-mation

APPA20 none APPA32 APPA19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APPD00Select Cash Set

none none none none

APPD01Add Cash Set Header

APPD00 APPD19

APPD02Change Cash Set Header

APPD00APPD01

APPD19

APPD03Delete Cash Set

APPD00APPD01

APPD19

APPD04Add Disburse-ment Detail

APPD00APPD01

APPD10 (debit)APPD10 (credit)

APPD12 APPD19

APPD05Change Disburse-ment Detail

APPD00APPD01APPD04

APPD10 (debit)APPD10 (credit)

APPD12 APPD19

APPD06Change Payee Detail

APPD00APPD01APPD04

APPD10 (debit)APPD10 (credit)

APPD12 APPD19

APPD07Delete Disburse-ment Detail

APPD00APPD01APPD04

APPD10 (debit)APPD10 (credit)

APPD12 APPD19

Data Import Macros and Data Dictionary 65

Page 66: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

APRE – A/P Recurring Invoice

Transaction Description

Prerequisite Transaction

Distribution Transaction

Complete Distribution Completion Id

APRE00Add A/P Recurring Invoice

APRE03 (debit)APRE03 (credit)

APRE19

APRE01a

Change A/P Recurring Invoice

APRE00 APRE19

APRE02Delete A/P Recur-ring Invoice

APRE00 APRE19

APRE03a

Add A/P Recurring Invoice G/L Account Line

APRE00 APRE19

APRE04a

Change A/P Recurring Invoice G/L Account Line

APRE00 APRE19

APRE05a

Delete A/P Recur-ring Invoice G/L Account Line

APRE00 APRE19

APRE09Add VAT Informa-tion

APRE00 APRE19

APRE30Add Extended Text - A/P Recur-ring Invoice

APRE00 APRE19

APRE31Change Extended Text - A/P Recur-ring Invoice

APRE00 APRE19

APRE32Delete Extended Text - A/P Recur-ring Invoice

APRE00 APRE19

APRE40Add 1099 Cate-gory

APRE00 APRE19

APRE42Delete 1099 Cate-gory

APRE00 APRE19

Data Import Macros and Data Dictionary 66

Page 67: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

APRQ – A/P Cash Requirements/Payment Approval

APTX – A/P 1099 Distribution by Vendor

ARCD – A/R Cash Deposits

APRE52Complete 1099 Distribution

APRE00 APRE19

a. The A/P Recurring Invoice Base Amount must equal the total G/L Debit and Creditamounts, or the G/L Debit and Credit percentages must each total 100 percent. Transac-tions to balance these amounts must occur before any other transactions can be importedor recovered. A combination of APRE01, APRE03, APRE04 and APRE05 transactionsmay be required.

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APRQ00Add A/P Payment

none none APRQ12 APRQ19

APRQ01Change A/P Pay-ment

APRQ00 none APRQ12 APRQ19

APRQ02Delete A/P Pay-ment

APRQ00 none APRQ12 APRQ19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

APTX20Add 1099 Informa-tion

none none APTX32 APTX19

APTX20Change 1099 Information

none none APTX32 APTX19

APTX22Delete 1099 Infor-mation

none none APTX32 APTX19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

ARCD00Select Cash Set

none none none none

Data Import Macros and Data Dictionary 67

Page 68: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

ARCR – A/R Cash/Credit Memo Application

ARPD – A/R Prior Period Cash Desposits

ARCD01Add Cash Set Header

ARCD00 ARCD19

ARCD02Change Cash Set Header

ARCD00 ARCD01

ARCD19

ARCD03Delete Cash Set

ARCD00ARCD01

ARCD19

ARCD04Add Receipt Detail

ARCD00ARCD01

ARCD10 (debit)ARCD10 (credit)

ARCD12 ARCD19

ARCD05Change Receipt Detail

ARCD00ARCD01ARCD04

ARCD10 (debit)ARCD10 (credit)

ARCD12 ARCD19

ARCD07Delete Receipt Detail

ARCD00ARCD01ARCD04

ARCD10 (debit)ARCD10 (credit)

ARCD12 ARCD19

ARCD08Change Receipt to NSF

ARCD00ARCD01ARCD04

ARCD10 (debit)ARCD10 (credit)

ARCD12 ARCD19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

ARCR01Apply A/R Cash ReceiptApply A/R Credit MemoUnapply A/R Cash ReceiptUnapply A/R Credit Memo

none ARCR10 (debit)ARCR10 (credit)

ARCR12 ARCR19

ARCR02Unapply All Receipt Applica-tions

ARCR01ARCD04

ARCD10 (debit)ARCD10 (credit)

ARCD12 ARCD19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

ARPD00Select Cash Set

none none none none

ARPD01Add Cash Set Header

ARPD00 ARPD19

Data Import Macros and Data Dictionary 68

Page 69: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

SUND – Sundry Disbursements

SUNR – Sundry Receipts

ARPD02Change Cash Set Header

ARPD00ARPD01

ARPD19

ARPD03Delete Cash Set

ARPD00ARPD01

ARPD19

ARPD04Add Receipt Detail

ARPD00ARPD01

ARPD10 (debit)ARPD10 (credit)

ARPD12 ARPD19

ARPD05Change Receipt Detail

ARPD00ARPD01ARPD04

ARPD10 (debit)ARPD10 (credit)

ARPD12 ARPD19

ARPD07Delete Receipt Detail

ARPD00ARPD01ARPD04

ARPD10 (debit)ARPD10 (credit)

ARPD12 ARPD19

ARPD08Change Receipt to NSF

ARPD00ARPD01ARPD04

ARPD10 (debit)ARPD10 (credit)

ARPD12 ARPD19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

SUND00Select Cash Set

none none none none

SUND01Add Cash Set Header

SUND00 SUND19

SUND02Change Cash Set Header

SUND00SUND01

SUND19

SUND03Delete Cash Set

SUND00SUND01

SUND19

SUND04Add Sundry Dis-bursement Detail

SUND00SUND01

SUND10 (debit)SUND10 (credit)

SUND12 SUND19

SUND05Change Sundry Disbursement Detail

SUND00SUND01SUND04

SUND10 (debit)SUND10 (credit)

SUND12 SUND19

SUND07Delete Disburse-ment Detail

SUND00SUND01SUND04

SUND10 (debit)SUND10 (credit)

SUND12 SUND19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

Data Import Macros and Data Dictionary 69

Page 70: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

SUPD – Sundry Prior Period Disbursements

SUNR00Select Cash Set

none none none none

SUNR01Add Cash Set Header

SUNR00 SUNR19

SUNR02Change Cash Set Header

SUNR00SUNR01

SUNR19

SUNR03Delete Cash Set

SUNR00SUNR01

SUNR19

SUNR04Add Sundry Receipt Detail

SUNR00SUNR01

SUNR10 (debit)SUNR10 (credit)

SUNR12 SUNR19

SUNR05Change Sundry Receipt Detail

SUNR00SUNR01SUNR04

SUNR10 (debit)SUNR10 (credit)

SUNR12 SUNR19

SUNR07Delete Receipt Detail

SUNR00SUNR01SUNR04

SUNR10 (debit)SUNR10 (credit)

SUNR12 SUNR19

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

SUPD00Select Cash Set

none none none none

SUPD01Add Cash Set Header

SUPD00 SUPD19

SUPD02Change Cash Set Header

SUPD00SUPD01

SUPD19

SUPD03Delete Cash Set

SUPD00SUPD01

SUPD19

SUPD04Add Sundry Dis-bursement Detail

SUPD00SUPD01

SUPD10 (debit)SUPD10 (credit)

SUPD12 SUPD19

SUPD05Change Sundry Disbursement Detail

SUPD00SUPD01SUPD04

SUPD10 (debit)SUPD10 (credit)

SUPD12 SUPD19

SUPD07Delete Disburse-ment Detail

SUPD00SUPD01SUPD04

SUPD10 (debit)SUPD10 (credit)

SUPD12 SUPD19

Data Import Macros and Data Dictionary 70

Page 71: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Interdependent Transactions

SUPR – Sundry Prior Period Receipts

Transaction Description

Prerequisite Transaction

DistributionTransaction

Complete Distribution Completion Id

SUPR00Select Cash Set

none none none none

SUPR01Add Cash Set Header

SUPR00 SUPR19

SUPR02Change Cash Set Header

SUPR00SUPR01

SUPR19

SUPR03Delete Cash Set

SUPR00SUPR01

SUPR19

SUPR04Add Sundry Receipt Detail

SUPR00SUPR01

SUPR10 (debit)SUPR10 (credit)

SUPR12 SUPR19

SUPR05Change Sundry Receipt Detail

SUPR00SUPR01SUPR04

SUPR10 (debit)SUPR10 (credit)

SUPR12 SUPR19

SUPR07Delete Receipt Detail

SUPR00SUPR01SUPR04

SUPR10 (debit)SUPR10 (credit)

SUPR12 SUPR19

Data Import Macros and Data Dictionary 71

Page 72: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro File Names by Screen

Macro File Names by ScreenThe following table lists the Fourth Shift screens and the corresponding macro file name (in your MFGSYS/I directory with the file extension .MAC). Click the screen name to go to the detail of the Data Import Macros for that screen.

Screen Macro File Name

APCA – A/P Payment Assignment APSM3

APCF – A/P Configuration APSM3

APCV – A/P Payment Void APSM3

APCW – A/P Payment Processing None Available

APDS – A/P Disbursements APSM3

APEX – A/P Receipt Exceptions APSM3

APID – A/P Invoice Distribution APSM1

APIE – A/P Invoice Entry APSM2

APPA – A/P Manual Payment Application APSM3

APIT – A/P Invoice Template APSM4

APPD – A/P Prior Period Disbursements APSM3

APRC – A/P Payment Reconciliation APSM1

APRE – A/P Recurring Invoice APSM4

APRQ – A/P Cash Requirements/Payment Approval APSM1

APTP – 1099 Processing None Available

APTX – A/P 1099 Distribution by Vendor APSM3

ARAD – Accounts Receivable Aging Definition ARSM

ARCD – A/R Cash Deposits ARSM

ARCF – A/R Configuration ARSM

ARCR – A/R Cash/Credit Memo Application ARSM

AREX – A/R Invoice Exceptions ARSM

ARPD – A/R Prior Period Cash Deposits ARSM

ARSR – A/R Service Charge Review ARSM

BAMT – Batch Assignment CSTM

BEXE – Batch Process Execution None Available

BILL – Single Level Bill BILM

BKFL – Backflushing RPTM

BKFT – Bank Funds Transfer CSHM

BKMT – Bank Master GLSM2

Data Import Macros and Data Dictionary 72

Page 73: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro File Names by Screen

BKRC – Bank Reconciliation CSHM

BSET – Batch Process Setup SYSM

CACF - CIM Customizer Configuration CSTM

CBIL – Copy Bill of Material None Available

CCAN – Cost Control Action PRCM

CCAT – Customer Catalog CUSM

CCEX – Currency Exchange Rate Maintenance MCMM

CCFG – Costing Configuration SYSM

CCMT – Currency Code Maintenance SYSM

CCON – Currency Conversion Utility SYSM

CCOT - Customer Contact CUSM

CIMT – Customer Item Maintenance CUSM

CMCF - CIM Customizer Mapping Configuration CSTM

CMTA – Commission Code Table GLOBAL

CNFA – Configuration of Interface Account Numbers SYSM

CNFC – Cost Type Setup SYSM

CNFG – System Installation Setup SYSM

COAN – Customer Order Action CUSM

COCF – Order Entry Configuration CUSM

COMT – Customer Order None Available

COMT – Customer Order CUSM

CORV – CO Receipt/Reverse Ln# Selection CPMM

CPBK – Copy Price Book APBM

CPMT – Custom Product Maintenance CPMM

CROP - Customer Report Options CUSM

CROV – Cost Roll-Over None Available

CUID – Customer Master by Customer Id GLOBAL

CUPB – Customers Using Price Book APBM

CUST – Customer Master by Customer Name GLOBAL

DIST – Distributor by Vendor PURM1

DVUD – Data View Definition EXPM

EDCF – EDI Configuration EDIM

ENGM – ENGM Module None Available

Screen Macro File Name

Data Import Macros and Data Dictionary 73

Page 74: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro File Names by Screen

ETPT - Email Template SYSM2

FCMT – Function Code Maintenance SYSM

FCST – Forecast MRPM

GLAG – G/L Account Group GLSM3

GLAV – G/L Account/Organization Validation GLSM2

GLBD – G/L Budget/Planning Type Definition GLSM3

GLBU – G/L Budget/Planning Update GLSM3

GLCA – G/L Chart of Accounts GLSM3

GLCF – G/L Configuration GLOBAL

GLCO – G/L Consolidation Process None Available

GLEX – G/L Journal Entry Exceptions GLSM3

GLGQ – G/L Current Period Group Inquiry GLSM3

GLHP – G/L History Process None Available

GLJD – G/L Journal Entry Delete GLSM1

GLJE – G/L Journal Entry GLSM1

GLJP – G/L Journal Entry -- Prior Period Adjustment GLSM1

GLJR – G/L Journal Entry -- Recurring / Templates GLSM1

GLMA – G/L Master Accounts GLSM3

GLOS – G/L Organization Structure GLSM3

GLRC – G/L Report Copy GLSM2

GLRD – G/L Report Definition GLSM2

GLSC – G/L Source Code Maintenance GLSM3

GLSS – G/L Batch Submission Status GLSM3

ICOT - Internal Contact SYSM2

IMTR – Inventory Move INVM

INVA – Inventory Adjustment INVM

IPPD – Item Planning Parameters OPFM

ISCC – Intrastat Commodity Code ISTM

ISCF – Intrastat Reporting Configuration ISTM

ISDT – Intrastat Delivery Terms ISTM

ISMS – Intrastat Member State ISTM

ISMT – Intrastat Mode of Transportation ISTM

ISTH – Intrastat Transaction History ISTM

Screen Macro File Name

Data Import Macros and Data Dictionary 74

Page 75: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro File Names by Screen

ITCB – Item Cost Book INVM

ITMB – Item Master INVM

ITMC – Item/Work Center Cost Data INVM

ITPB – Item Price Book CUSM

IVIE – Invoice Entry and Maintenance IVPM

IVRE – A/R Recurring Invoice IVPM

IVRV – Invoice Review IVPM

JEST – Job Estimates and Performance CPMM

LEXP – Lot Expiration/Retest Evaluation None Available

LMMT – Location Master INVM

LMST – Lot Master LOTM

LRRP – Labor/Resource Reporting MOMM

LSDA – Lot Size Day Analysis OPFM

LTCF – Lot Trace/Serialization Configuration LOTM

MCCF – Multi-Currency Configuration MCMM

MCST – Manufacturing Order Cost Analysis PRCM

MOAN – Planner Action MOMM

MOCF – Manufacturing Configuration MOMM

MOMI – Manufacturing Order Inquiry None Available

MOMT – Manufacturing Order MOMM

MORV – MO Receipt/Reverse Ln# Selection MOMM

MPED – Order Maintain EDI Partner Data EDIM

MSCF – Message Configuration SYSM

MSMT – Master Schedule Maintenance MRPM

MSSW – SOPM Module None Available

NMTA – National Motor Freight Code Table SHPM

OACF – Order Number Assignment Configuration SYSM

OPCF – Operations Performance Configuration OPFM

OPMA – Operations Performance Configuration OPFM

OPSL – Option Selection CPMM

OVAR – Close Order Analysis/Order Variance None Available

PASS – Password Maintenance None Available

PBCF – Advanced Price Book Configuration APBM

Screen Macro File Name

Data Import Macros and Data Dictionary 75

Page 76: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro File Names by Screen

PBMT – Price Book Master APBM

PCST – Purchase Order Cost Analysis PRCM

PFMC – Performance Data Update PURM1

PICK – Picklist None Available

PICK – Picklist PICK

POAN – Buyer Action by Item PURM1

POAS – Buyer Action by Vendor Id PURM1

POCF – Purchasing Configuration PURM1

POCT – Purchase Order Contract/Price Quote PURM2

POMI – Purchase Order Inquiry None Available

POMT – Purchase Order PURM3

PORV – Purchase Order Receipt/Reverse/Return PURM2

POSV – PO Split by Vendors POSV

RTCF – G/L Restructuring Configuration RTSM

RTCT – G/L Restructuring Consolidation Translation RTSM

RTMT – G/L Restructuring Master Acct Translation RTSM

SBOL – Bill of Lading SHPM

SHCF – Shipping Configuration SHPM

SHIP – Ship SHPM

SOPM – Sales Order Processing Module None Available

STAD – Stockroom Action by Date SHPM

STID – Stockroom Action by Customer SHPM

SUND – Sundry Disbursements CSHM

SUNR – Sundry Receipts CSHM

SUPD – Sundry Prior Period Disbursements CSHM

SUPR – Sundry Prior Period Receipts CSHM

SYST – System Transactions None Available

TEXT – Text Review SYSM

TRUD – Transaction Update None Available

TXCF – Tax Configuration SYSM

TXTA – Tax Code Table SYSM

TXWU – Text Where Used SYSM

VATT – Value Added Tax Code Table SYSM

Screen Macro File Name

Data Import Macros and Data Dictionary 76

Page 77: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 Macro File Names by Screen

VCOT - Vendor Contact PURM1

VDIT – Vendors That Supply an Item PURM1

VEID – Vendor Master by Vendor Id GLOBAL

VEIT – Items Supplied by a Vendor PURM1

VEND – Vendor Master by Vendor Name GLOBAL

VROP - Vendor Report Options PURM1

VSDT – Vendor by Distributor PURM1

XTXT – Global Extended Text SYSM

Screen Macro File Name

Data Import Macros and Data Dictionary 77

Page 78: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

A – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

APCA – A/P Payment Assignment

APCA Transactions

APCA01Change A/P Payment Number

Archive Record Layout"APCA01","","","","","","Bank No","Date","Payment Reference No (old number)","Payment Reference No (new number)","(reassignment y/n)","Payment Reference No (payment form)"

Required Transaction Fields

Field 11, (reassignment y/n), is the response to the prompt:

PAYMENT 999999999999999999999 IS VOIDED! PLEASE CONFIRM Y/N

when assigning a payment reference number from a previously voided payment.

Macro Id DescriptionMacro File

Name

APCA01 Change A/P Payment Number APSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank No Bank_No

8* 6 D Date AP_Chk_Dat

9* 20 A Payment Reference No (old number)

AP_Chk_No

10 20 A Payment Reference No (new number)

AP_Chk_No

11 1 A (reassignment y/n) N/A

12 1 A Payment Reference No (pay-ment form)

Pay_Form

Entry Description

Y Payment reference number should be reassigned.

N Payment reference number should not be reassigned.

Data Import Macros and Data Dictionary 78

Page 79: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APCF – A/P Configuration

APCF Transactions

APCF00Change A/P ConfigurationThe APCF00 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"APCF00","","","","","","Vouchered A/P","Unvouchered A/P","PO/Inv Variance","Service Charges","Discounts Taken","Freight Charges","Sales Tax/VAT","Invoice Entries (y/n)","","","","Future Due #1 Days","Future Due #2 Days","Future Due #3 Days","Past Due #1 Days","Past Due #2 Days","Past Due #3 Days","Inv PO/Recvd Amt (y/n)","Other Charges (y/n)","Freight Charges (y/n)","Sales Tax/VAT (y/n)",”Activate PO Receipt Selection”,”Default Invoice Matched Status”

Required Transaction Fields

Macro Id DescriptionMacro File

Name

APCF00 Change A/P Configuration APSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Vouchered A/P Mst_Act_No

8 20 A Unvouchered A/P Mst_Act_No

9 20 A PO/Inv Variance Mst_Act_No

10 20 A Service Charges Mst_Act_No

11 20 A Discounts Taken Mst_Act_No

12 20 A Freight Charges Mst_Act_No

13 20 A Sales Tax/VAT Mst_Act_No

14 1 A Invoice Entries (y/n) N/A

18 3 N Future Due #1 Days Fut_Due_1

19 3 N Future Due #2 Days Fut_Due_2

20 3 N Future Due #3 Days Fut_Due_3

21 3 N Past Due #1 Days Past_Due_1

22 3 N Past Due #2 Days Past_Due_2

23 3 N Past Due #3 Days Past_Due_3

24 1 A Inv PO/Recvd Amt (y/n) N/A

25 1 A Other Charges (y/n) N/A

Data Import Macros and Data Dictionary 79

Page 80: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APCV – A/P Payment VoidThe APCV transactions use the following screens:

• APCV (A/P Payment Void)

• G/L Distribution

Transactions created on the APCV screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

APCV Transactions

G/L Distribution TransactionsThe APCV transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

APCV00Void Payment Reference Number

Archive Record Layout"APCV00","","","","","(action code)","Bank No","","","Pay Ref No (payment form)","Pay Ref No (number)","","Void Date","","","","Void Cash Set (payment form)","Comment","","","Original Cash Set (payment form)","Original Cash Set (number)"

26 1 A Freight Charges (y/n) N/A

27 1 A Sales Tax/VAT (y/n) N/A

28 1 A Activate PO Receipt Selection

29 1 A Default Invoice Matched Status

Macro Id DescriptionMacro File

Name

APCV00 Void Payment Reference Number APSM3

Macro Id DescriptionMacro File

Name

APCV10 Void A/P Payment—with G/L Distribution APSM3

APCV12 Complete G/L Distribution APSM3

APCV19 Record Last Transaction Completed—Reorganization Identi-fier

APSM3

Data Import Macros and Data Dictionary 80

Page 81: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

** Required if action code = "C"

APCV10Void A/P Payment—with G/L Distribution

Archive Record Layout"APCV10","","","","","","Vendor Id","Payment No","Void Date","Bank No","","","Pay Ref No (payment form)","Pay Ref No (number)","Seqn","Master Account No","Debit Amount","Credit Amount","(exchange variance y/n)","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action code) N/A

7* 2 A Bank No Bank_No

10* 1 A Pay Ref No (payment form) Rec_Form

11* 20 A Pay Ref No (number) Csh_Set_No

13* 6 D Void Date Void_ClDt

17** 8 A Void Cash Set (number) N/A

18 50 A Comment Csh_Commnt

21 1 A Original Cash Set (payment form)

N/A

22 20 A Original Cash Set (number) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Payment No AP_Chk_No

9* 6 D Void Date Void_Cldt

10* 2 A Bank No Bank_No

12* 1 A Pay Ref No (payment form) Rec_Form

13* 20 A Pay Ref No (number) Csh_Set_No

14 8 A Seqn (optional) Pmt_Ref_S

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

Data Import Macros and Data Dictionary 81

Page 82: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Note: (exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

APCV12Complete G/L Distribution (CTRL+ENTER keys)

Archive Record Layout"APCV12","","","","","","Vendor Id","Payment No","","Bank No","",""

Required Transaction Fields

APCV19The APCV19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APCW – A/P Payment ProcessingTransactions created by the APCW screen are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Payment No AP_Chk_No

10* 2 A Bank No Bank_No

Data Import Macros and Data Dictionary 82

Page 83: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APDS – A/P DisbursementsThe APDS transactions use the following screens:

• APDS (A/P Disbursements)

• G/L Distribution

Transactions created on the APDS screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See Interdependent Transactions for more information on the set of transactions required.

APDS Transactions

G/L Distribution TransactionsThe APDS transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

These APDS G/L Distribution transactions consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See G/L Distribution Transactions in Interdependent Transactions for more information on the set of transactions required.

APDS00Select Cash Set

Archive Record Layout

Macro Id DescriptionMacro File

Name

APDS00 Select Cash Set APSM3

APDS01 Add Cash Set Header APSM3

APDS02 Change Cash Set Header APSM3

APDS03 Delete Cash Set APSM3

APDS04 Add Disbursement Reference Detail APSM3

APDS05 Change Disbursement Reference Detail APSM3

APDS06 Change Disbursement Payee Detail APSM3

APDS07 Delete Disbursement Reference Detail APSM3

Macro Id DescriptionMacro File

Name

APDS10 Distribute Disbursement to G/L APSM3

APDS12 Complete G/L Distribution APSM3

APDS19 Record Last Transaction Completed—Reorganization Identi-fier

APSM3

Data Import Macros and Data Dictionary 83

Page 84: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

"APDS00","","","","","","","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

APDS01Add Cash Set Header

Archive Record Layout"APDS01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)","","","","","",""

Required Transaction Fields

Note: Fields 15 and 16 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

APDS02Change Cash Set Header

Archive Record Layout"APDS02","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","",Bank Charge","Bank Comm","Comment","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Extract Name

6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Csh_Set_No

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

17 14 N Bank Charge Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Data Import Macros and Data Dictionary 84

Page 85: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APDS03Delete Cash Set

Archive Record Layout"APDS03","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","","","","","",""

Required Transaction Fields

Note: This transaction deactivates the cash set by changing the status.

APDS04Add Disbursement Reference Detail

Archive Record Layout"APDS04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","Type","","Date","Payment Amount","(bank currency code)","Payment Comment","Local Currency Exch Rate","","","Payee Currency Exch Rate","","(payee currency code)","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14 8 A Seqn AP_Chk_Seq

15 2 A Type Chk_Type

17 6 D Date AP_Chk_Dat

18* 14 N Payment Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Payment Comment Pmt_Comment

Data Import Macros and Data Dictionary 85

Page 86: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APDS05Change Disbursement Reference Detail

Archive Record Layout"APDS05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","Type","St","Date","Payment Amount","(bank currency code)","Payment Comment","Local Currency Exch Rate","Local Amount","","Payee Currency Exch Rate","Payee Amount","","",""

Required Transaction Fields

APDS06Change Disbursement Payee Detail

21 11 A Local Currency Exch Rate L_Ex_Rate

24 11 A Payee Currency Exch Rate F_Ex_Rate

26* 5 A (payee currency code) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 N Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14* 8 A Seqn AP_Seq_No

15 2 A Type Chk_Type

17 6 D Date AP_Chk_Date

18* 14 N Payment Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Payment Comment Pmt_Comment

21 11 A Local Currency Exch Rate L_Ex_Rate

22 14 N Local Amount L_Pay_Amt

24 11 A Payee Currency Exch Rate F_Ex_Rate

25 14 N Payee Amount F_Pay_Amt

26* 5 A (payee currency code) N/A

Data Import Macros and Data Dictionary 86

Page 87: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"APDS06","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","Type","St","Date","Payment Amount","(bank currency code)","Payment Comment","Local Currency Exch Rate","Local Amount","","Payee Currency Exch Rate","Payee Amount","","",""

Required Transaction Fields

APDS07Delete Disbursement Reference Detail

Archive Record Layout"APDS07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","","","","","","","",,"","",,"","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 N Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14* 8 A Seqn AP_Seq_No

15 2 A Type Chk_Type

17 6 D Date AP_Chk_Date

18* 14 N Payment Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Payment Comment Pmt_Comment

21 11 A Local Currency Exch Rate L_Ex_Rate

22 14 N Local Amount L_Pay_Amt

24 11 A Payee Currency Exch Rate F_Ex_Rate

25 14 N Payee Amount F_Pay_Amt

26* 5 A (payee currency code) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 87

Page 88: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APDS10Distribute Disbursement to G/LBefore processing this transaction, refer to the G/L Distribution Transactions in Interdependent Transactions for more information on the set of transactions required with APDS10.

Archive Record Layout"APDS10","","","","","","Vendor Id","Payment Reference No-Seqn","","","Vendor Id","Pymt Form","Pymt Ref No","Seqn","Master Account No","Debit Amount","Credit Amount","(exchange variance y/n)"

Required Transaction Fields

(exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

APDS12

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14* 8 A Seqn AP_Seq_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Payment Reference No-Seqn N/A

9 Disbursement Amount

10 Bank Number

11* 13 A Vendor Id Vendor_Id

12* 1 A Pymt Form (payment form) Pay_Form

13* 20 A Pymt Ref No (number) AP_Chk_No

14* 8 A Seqn AP_Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

Data Import Macros and Data Dictionary 88

Page 89: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Complete G/L Distribution

Archive Record Layout"APDS12","","","","","","Vendor Id","Payment Reference No-Seqn","",""

Required Transaction Fields

APDS19The APDS19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APEX – A/P Receipt Exceptions

APEX Transactions

APEX00Change the A/P Queue Processing Status

Archive Record Layout"APEX00","","","","","","A/P Queue Processing Status"

Required Transaction Fields

APEX02Re-validate Records

Archive Record Layout

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Payment Reference No-Seqn N/A

Macro Id DescriptionMacro File

Name

APEX00 Change the A/P Queue Processing Status

APEX02 Re-validate records APSM3

APEX03 Delete records APSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A A/P Queue Processing Sta-tus

N/A

Data Import Macros and Data Dictionary 89

Page 90: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

"APEX02","","","","","",""

Required Transaction Fields

APEX03Delete RecordsThe APEX03 transaction is used for audit trail purposes. The transaction must be reentered manually using the APEX screen.

APID – A/P Invoice DistributionThe APID transactions use the following screens and windows:

• APID (A/P Invoice Distribution)

• A/P Invoice Matching Detail

• VAT Summary window (VAT system only)

• G/L Distribution

• A/P 1099 Distribution window (sales tax system only)

Transactions created on the APID screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

APID Transactions

A/P Invoice Matching Detail Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Macro Id DescriptionMacro File

Name

APID00 Add A/P Invoice APSM1

Add A/P Debit Memo APSM1

APID01 Change A/P Invoice APSM1

Change A/P Debit Memo APSM1

APID02 Delete A/P Invoice APSM1

Delete A/P Debit Memo APSM1

Macro Id DescriptionMacro File

Name

APID03 Apply A/P Invoice to PO/Seqn No APSM1

Data Import Macros and Data Dictionary 90

Page 91: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

VAT Summary Transactions

G/L Distribution TransactionsThe APID transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

A/P 1099 Distribution TransactionsThe APID transactions defined to distribute 1099 vendor amounts use the A/P 1099 Distribution window.

APID00Add A/P Invoice

Add A/P Debit Memo

Apply A/P Debit Memo to PO/Seqn No

APID05 Unapply A/P Invoice APSM1

Unapply A/P Debit Memo

Macro Id DescriptionMacro File

Name

APID09 Add VAT Information APSM1

Change VAT Information APSM1

Delete VAT Information APSM1

Macro Id DescriptionMacro File

Name

APID10 Distribute A/P Invoice to G/L APSM1

Distribute A/P Debit Memo to G/L APSM1

APID12 Complete G/L Distribution (CTRL+ENTER keys) APSM1

APID19 Record Last Transaction Completed—Reorganization Identi-fier

APSM1

Macro Id DescriptionMacro File

Name

APID20 Add 1099 Information APSM1

Change 1099 Information APSM1

APID22 Delete 1099 Information APSM1

APID32 Complete 1099 Distribution (CTRL+ENTER keys) APSM1

Data Import Macros and Data Dictionary 91

Page 92: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"APID00","","","","","","Vendor Id","Invoice/Debit Memo No","Invoice/Debit Memo Date","Invoice/Debit Memo Type","Invoice/Debit Memo Ref","Acctg Prd (period)","Acctg Period (year)","Invoice/Debit Memo S","Ctrl Curr","Inv Ex Rate","Inv PO/Recvd Amt","Other Charges","Freight Charges","Sales Tax/VAT Amount,Service Charges","Disc (Inv PO/Recvd Amt)","Disc (Other Charges)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Invoice Terms","Cash #1 %","Cash #1 Days","Cash #2 %","Cash #2 Days","Net Days","Cash #1 Date","Cash #1 Discount","Cash #2 Date","Cash #2 Discount","Net Date","Day,Cutoff","Delay,"","Payment Date #1","Payment Amount #1","Payment Date #2","Payment Amount #2","Payment Date #3","Payment Amount #3","Net Payment Date","","Comments","(displayed currency)","","(exchange rate toggle flag)","Template No","VAT Authority","Code","","Base Amount","Vat Amount"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

9* 6 D Invoice/Debit Memo Date Ivc_Date; AP_Chk_Dat

10* 1 A Invoice/Debit Memo Type Ivc_Type

11* 30 A Invoice/Debit Memo Ref N/A

12 2 A Acctg Prd (period) Acctg_Prd

13 2 A Acctg Prd (year) Acctg_Prd

14 1 A Invoice/Debit Memo S Invoice_St; Chk_Stat

15 1 A Ctrl Curr Ctrl_Curr

16 11 A Inv Ex Rate In_Ex_Rate

17* 15 N Inv PO/Recvd Amt Ivc_M_Amt

18 15 N Other Charges Other_Chrg

19 15 N Freight Charges Frt_Charge

20 15 N Sales Tax/VAT Amount Sales_Tax; VAT_Amount

21 15 N Service Charges Svc_Chrg

22 1 A Disc (Inv PO/Recvd Amt) N/A

23 1 A Disc (Other Charges) N/A

24 1 A Disc (Freight Charges) N/A

25 1 A Disc (Sales Tax/VAT Amount)

N/A

26* 1 A Invoice Terms Pay_Term

27 5 N Cash #1 % Disc_Pcnt1

Data Import Macros and Data Dictionary 92

Page 93: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 50, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

28 3 N Cash #1 Days Disc_Days1

29 5 N Cash #2 % Disc_Pcnt2

30 3 N Cash #2 Days Disc_Days2

31 3 N Net Days Net_Days

32 6 D Cash #1 Date Disc_Date1

33 10 N Cash #1 Discount Disc_Amt

34 6 D Cash #2 Date Disc_Date2

35 10 N Cash #2 Discount Disc_Amt

36 6 D Net Date Net_Date

37 2 N Day Mon_Paywen

38 2 N Cutoff Mon_Cutoff

39 2 N Delay Mon_Delay

41 6 D Payment Date #1 Inv_PayDt1

42 15 N Payment Amount #1 Inv_PayAm1

43 6 D Payment Date #2 Inv_PayDt2

44 15 N Payment Amount #2 Inv_PayAm2

45 6 D Payment Date #3 Inv_PayDt3

46 15 N Payment Amount #3 Inv_PayAm3

47 6 D Net Payment Date Inv_PayDt4

49 64 A Comments Remark

50* 1 A (displayed currency) N/A

52 1 A (exchange rate toggle flag) N/A

53 10 A Template No Tmplt_No

54 1 A VAT Authority VAT_Auth

55 2 A Code Tax_Code

57 15 N Base Amount Tax_Bas_Am

58 15 N Vat Amount Tax_Vat_Am

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Data Import Macros and Data Dictionary 93

Page 94: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 52, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

APID01Change A/P Invoice

Change A/P Debit Memo

Archive Record Layout"APID01","","","","","","Vendor Id","Invoice/Debit Memo No","Invoice/Debit Memo Date","Invoice/Debit Memo Type","Invoice/Debit Memo Ref","Acctg Prd (period)","Acctg Period (year)","Invoice/Debit Memo S","Ctrl Curr","Inv Ex Rate","Inv PO/Recvd Amt","Other Charges","Freight Charges","Sales Tax/VAT Amount","Service Charges","Disc (Inv PO/Recvd Amt)","Disc (Other Charges)", "Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Invoice Terms", Cash #1 %","Cash #1 Days","Cash #2 %","Cash #2 Days","Net Days","Cash #1 Date", Cash #1 Discount","Cash #2 Date","Cash #2 Discount","Net Date", "Day","Cutoff","Delay","","Payment Date #1","Payment Amount #1","Payment Date #2","Payment Amount #2","Payment Date #3","Payment Amount #3","Net Payment Date","","Comments","(displayed currency)","Inv Ex Rate (for triangulation)","(exchange rate toggle flag)","",""

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for editing and the screen toggles to the non-controlling currency.

"" Indicates a local vendor. Both the controlling currency flag and the invoice exchange rate are protected from changes. The screen tog-gle is not required.

1 The controlling currency flag can be changed, but the invoice exchange rate is protected from changes.

2 Both the controlling currency flag and the invoice exchange rate can be changed.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

9* 6 D Invoice/Debit Memo Date Ivc_Date; AP_Chk_Dat

10* 1 A Invoice/Debit Memo Type Ivc_Type

11* 30 A Invoice/Debit Memo Ref N/A

12 2 A Acctg Prd (period) Acctg_Prd

13 2 A Acctg Prd (year) Acctg_Prd

Data Import Macros and Data Dictionary 94

Page 95: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

14 1 A Invoice/Debit Memo S Invoice_St; Chk_Stat

15 1 A Ctrl Curr Ctrl_Curr

16 11 A Inv Ex Rate In_Ex_Rate

17 15 N Inv PO/Recvd Amt Ivc_M_Amt

18 15 N Other Charges Other_Chrg

19 15 N Freight Charges Frt_Charge

20 15 N Sales Tax/VAT Amount Sales_Tax; VAT_Amount

21 15 N Service Charges Svc_Chrg

22 1 A Disc (Inv PO/Recvd Amt) N/A

23 1 A Disc (Other Charges) N/A

24 1 A Disc (Freight Charges) N/A

25 1 A Disc (Sales Tax/VAT Amount)

N/A

26* 1 A Invoice Terms Pay_Term

27 5 N Cash #1 % Disc_Pcnt1

28 3 N Cash #1 Days Disc_Days1

29 5 N Cash #2 % Disc_Pcnt2

30 3 N Cash #2 Days Disc_Days2

31 3 N Net Days Net_Days

32 6 D Cash #1 Date Disc_Date1

33 10 N Cash #1 Discount Disc_Amt

34 6 D Cash #2 Date Disc_Date2

35 10 N Cash #2 Discount Disc_Amt

36 6 D Net Date Net_Date

37 2 N Day Mon_Paywen

38 2 N Cutoff Mon_Cutoff

39 2 N Delay Mon_Delay

41 6 D Payment Date #1 Inv_PayDt1

42 15 N Payment Amount #1 Inv_PayAm1

43 6 D Payment Date #2 Inv_PayDt2

44 15 N Payment Amount #2 Inv_PayAm2

45 6 D Payment Date #3 Inv_PayDt3

46 15 N Payment Amount #3 Inv_PayAm3

47 6 D Net Payment Date Inv_PayDt4

49 64 A Comments Remark

Data Import Macros and Data Dictionary 95

Page 96: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 50, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

Field 52, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

APID02Delete A/P Invoice

Delete A/P Debit Memo

Archive Record Layout"APID02","","","","","","Vendor Id","Invoice/Debit Memo No","",""

Required Transaction Fields

APID03

50* 1 A (displayed currency) N/A

51 11 A Inv Ex Rate (for triangulation) N/A

52 1 A (exchange rate toggle flag) N/A

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

Data Import Macros and Data Dictionary 96

Page 97: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Apply A/P Invoice to PO/Seqn No

Apply A/P Debit Memo to PO/Seqn No

Archive Record Layout"APID03","","","","","","","Vendor Id","Invoice/Debit Memo No","PO Number","Seqn No","PO/Seqn No","Ln#","Item,Acct No,MO,CO","Quantity Recvd","Quantity Matched","Packing List No","Invoice UM","Invoice Quantity","Invoice Unit Price","Invoice Extd Price","(displayed currency)", "(Transaction Date)","(Transaction Time)"

Required Transaction Fields

Field 22, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 30 A PO Number PO_Number

11* 2 A Seqn No PO_Seqn_No

12* 33 A PO-Seqn No (hyphen between PO and Seqn No)

N/A

13* 3 A Ln# Ln_No

14* 30 A Item,Acct No,MO,CO Itm_GLMOCO

15* 10 N Quantity Recvd Qty_Recvd

16* 10 N Quantity Matched Qty_Mtchd

17 15 A Packing List No Pck_Lst_No

18* 4 A Invoice UM Ivc_UM

19* 10 N Invoice Quantity Ivc_Qty

20* 16 N Invoice Unit Price Unit_Price

21 14 N Invoice Extd Price N/A

22* 1 A (displayed currency) N/A

23 6 D (Transaction Date) N/A

24 12 A (Transaction Time) N/A

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

Data Import Macros and Data Dictionary 97

Page 98: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 24, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

APID05Unapply A/P Invoice

Unapply A/P Debit Memo

Archive Record Layout"APID05","","","","","","","Vendor Id","Invoice/Debit Memo No","PO Number","Seqn No","PO/Seqn No","Ln#","Item,Acct No","MO","CO","Quantity Recvd","Quantity Matched","Packing List No","","", "","","","(Transaction Date)","(Transaction Time)"

Required Transaction Fields

Field 24, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

APID09Add VAT Information

Change VAT Information

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 30 A PO Number PO_Number

11* 2 A Seqn No PO_Seqn_No

12* 18 A PO/Seqn No PO_Seqn_No

13* 3 A Ln# Ln_No

14* 30 A Item,Acct No,MO,CO Itm_GLMOCO

15* 10 N Quantity Recvd Qty_Recvd

16* 10 N Quantity Matched Qty_Mtchd

17* 15 A Packing List No Pck_Lst_No

23 6 D (Transaction Date) N/A

24 12 A (Transaction Time) N/A

Data Import Macros and Data Dictionary 98

Page 99: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Delete VAT InformationThe VAT Summary window varies based on the number of VAT authority levels selected. The VAT Authority field is used only when a two-level VAT system is selected.

Archive Record Layout"APID09","","","","","(action type A/C/D)","Vendor Id","Invoice/Debit Memo No","Invoice/Debit Memo Date","Invoice/Debit Memo Type","","VAT Authority","Code","","Base Amount","VAT Amount","(displayed currency)","",""

Required Transaction Fields

(action type A/C/D) identifies what type of update was performed. The options are: A = Add, C = Change and D = Delete.

Field 17, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

APID10Distribute A/P Invoice to G/L

Distribute A/P Debit Memo to G/L

Archive Record Layout

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type A/C/D) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No

9* 6 D Invoice/Debit Memo Date Ivc_Date; AP_Chk_Dat

10* 1 A Invoice/Debit Memo Type Ivc_Type

12 1 A VAT Authority VAT_Auth

13 2 A Code Tax_Auth_1-2

15 15 A Base Amount Tax_Bas_Am

16 15 A VAT Amount VAT_Amount

17* 1 A (displayed currency) N/A

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Data Import Macros and Data Dictionary 99

Page 100: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

"APID10","","","","","","Vendor Id","Invoice/Debit Memo No","","","Master Account No","Debit Amount","Credit Amount","(exchange variance y/n)","","","",""

Required Transaction Fields

(exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

APID12Complete G/L Distribution (CTRL+ENTER keys)

Archive Record Layout"APID12","","","","","","Vendor Id","Invoice No/Debit Memo No","",""

Required Transaction Fields

APID19The APID19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APID20Add 1099 Information

Change 1099 InformationThe 1099 capability is available in sales tax systems only.

The APID20 transaction, for adding and changing 1099 information, depends on payments applied against an invoice.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 20 A Master Account No Mst_Act_No

11* 14 N Debit Amount Trans_Amt

12* 14 N Credit Amount Trans_Amt

13 1 A (exchange variance y/n) N/A

14 6 N Batch Number N/A

15 8 N Sequence Number N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice No/Debit Memo No AP_Ivc_No

Data Import Macros and Data Dictionary 100

Page 101: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

• When payments have been applied against an invoice, the Payment Amt field must be greater than or equal to zero. In this case, the Payment Amt field on the A/P 1099 Distribution window is open for entry.

• When no payments have been applied against an invoice, the Payment Amt field must be null. In this case, the Payment Amt field on the A/P 1099 Distribution window is closed for entry.

Archive Record Layout"APID20","","","","","","Vendor Id","Invoice No","Tax Year","","CC","Invoice Distrib Amt","Payment Amt,"",""

Required Transaction Fields

APID22Delete 1099 InformationThe 1099 capability is available in sales tax systems only.

Archive Record Layout"APID22","","","","","","Vendor Id","Invoice No","Tax Year","","CC","",""

Required Transaction Fields

APID32Complete 1099 Distribution (CTRL+ENTER keys)The 1099 capability is available in sales tax systems only.

Archive Record Layout"APID32","","","","","","","","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

12 15 N Invoice Distrib Amt 1099_I_Amt

13* 15 N Payment Amt 1099_P_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

Data Import Macros and Data Dictionary 101

Page 102: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

APID40Archive Record Layout"APID40","","","","","","","Vendor Id","Invoice/Debit Memo No","PO Number","Seqn No","PO/Seqn No","Ln#","Item,Acct No,MO,CO","Quantity Recvd","Quantity Matched","Packing List No","EC Listing","Destination Country","Origin Country","Mode of Transportation","","","Delivery Terms","Item Number","(Item Description)","Commodity Code","(Commodity Code Description)","Quantity","Unit Price","Ex Rate (1)","Ex Rate (2)","Intrastat Item Unit Weight","Supplementary UM","Customs Extd Price","Vendor Reference #1","Vendor Reference #2","Vendor Reference #3","Vendor Reference #4","Vendor Reference #5","Item Reference #1","Item Reference #2","Item Reference #3","Item Reference #4","Item Reference #5","Transaction Date","(Transaction Time)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 30 A PO Number PO_Number

11* 2 A Seqn No Seqn_No

12* 33 A PO/Seqn No PO_Seqn_No

13* 3 A Ln# Ln_No

14* 30 A Item,Acct No,MO,CO Itm_GLMOCO

15* 10 N Quantity Recvd Qty_Recvd

16* 10 N Quantity Matched Qty_Mtchd

17* 15 A Packing List No Pck_Lst_No

18 1 A EC Listing N/A

19 2 A Destination Country N/A

20 2 A Origin Country N/A

21 2 A Mode of Transportation N/A

24 3 A Delivery Terms N/A

25 30 A Item Number N/A

26 70 A (Item Description) N/A

27 8 A Commodity Code N/A

Data Import Macros and Data Dictionary 102

Page 103: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 48, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

APIE – A/P Invoice EntryThe APIE transactions use the following screens and windows:

• APIE (A/P Invoice Entry)

• VAT Summary window (VAT system only)

• G/L Distribution

• A/P 1099 Distribution window (sales tax system only)

Transactions created on the APIE screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

28 40 A (Commodity Code Descrip-tion)

N/A

29 11 N Quantity N/A

30 16 N Unit Price N/A

31 11 A Ex Rate (1) N/A

32 11 A Ex Rate (2) N/A

33 10 N Intrastat Item Unit Weight N/A

35 4 A Supplementary UM N/A

36 14 N Customs Extd Price N/A

37 20 A Vendor Reference #1 N/A

38 20 A Vendor Reference #2 N/A

39 20 A Vendor Reference #3 N/A

40 20 A Vendor Reference #4 N/A

41 20 A Vendor Reference #5 N/A

42 20 A Item Reference #1 N/A

43 20 A Item Reference #2 N/A

44 20 A Item Reference #3 N/A

45 20 A Item Reference #4 N/A

46 20 A Item Reference #5 N/A

47 6 D Transaction Date N/A

48 12 A (Transaction Time) N/A

Data Import Macros and Data Dictionary 103

Page 104: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIE Transactions

VAT Summary Transactions

G/L Distribution TransactionsThe APIE transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

A/P 1099 Distribution TransactionsThe APIE transactions defined to distribute 1099 vendor amounts use the A/P 1099 Distribution window.

Macro Id Description

APIE00 Add A/P Invoice APSM2

Add A/P Debit Memo APSM2

APIE01 Change A/P Invoice APSM2

Change A/P Debit Memo APSM2

APIE02 Delete A/P Invoice APSM2

Delete A/P Debit Memo APSM2

APIE03 Apply A/P Invoice APSM2

Apply A/P Debit Memo APSM2

Macro Id DescriptionMacro File

Name

APIE09 Add VAT Information APSM2

Change VAT Information

Delete VAT Information

Macro Id DescriptionMacro File

Name

APIE10 Distribute A/P Invoice to G/L APSM2

Distribute A/P Debit Memo to G/L

APIE12 Complete G/L Distribution (CTRL+ENTER keys) APSM2

APIE19 Record Last Transaction Completed—Reorganization Identi-fier

APSM2

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 104

Page 105: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIE00Add A/P Invoice

Add A/P Debit Memo

Archive Record Layout"APIE00","","","","","","","Vendor Id","Invoice/Debit Memo No","Invoice/Debit Memo Date","Invoice/Debit Memo Type","Invoice/Debit Memo Ref","Acctg Prd (period)","Acctg Prd (year)","Invoice/Debit Memo S","Inv PO/Recvd Amt","Other Charges","Freight Charges","Sales Tax/VAT Amount,Service Charges","Disc (Inv PO/Recvd Amt)","Disc (Other Charges)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Cash #1 %","Cash #1 Days","Cash #2 %","Cash #2 Days","Net Days","Cash #1 Date","Cash #1 Discount","Cash #2 Date","Cash #2 Discount","Net Date","Comments","Day","Cutoff","Delay,"","Payment Date #1","Payment Amount #1","Payment Date #2","Payment Amount #2","Payment Date #3","Payment Amount #3","Net Payment Date","","',"Ctrl Curr","Invoice Terms","Inv Ex Rate","","(exchange rate toggle flag)","","VAT Authority","Code","","Base Amount","Vat Amount"

Required Transaction Fields

APIE20 Add 1099 Information APSM2

Change 1099 Information

APIE22 Delete 1099 Information APSM2

APIE32 Complete 1099 Distribution (CTRL+ENTER keys) APSM2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 6 D Invoice/Debit Memo Date Ivc_Date; AP_Chk_Dat

11* 1 A Invoice/Debit Memo Type Ivc_Type

12* 30 A Invoice/Debit Memo Ref N/A

13 2 A Acctg Prd (period) Acctg_Prd

14 2 A Acctg Prd (year) Acctg_Prd

15 1 A Invoice/Debit Memo S Invoice_St; Chk_Stat

16 15 N Inv PO/Recvd Amt Ivc_M_Amt

17 15 N Other Charges Other_Chrg

18 15 N Freight Charges Frt_Charge

19 15 N Sales Tax/VAT Amount Sales_Tax; VAT_Amount

20 15 N Service Charges Svc_Chrg

Data Import Macros and Data Dictionary 105

Page 106: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

21 1 A Disc (Inv PO/Recvd Amt) N/A

22 1 A Disc (Other Charges) N/A

23 1 A Disc (Freight Charges) N/A

24 1 A Disc (Sales Tax/VAT Amount)

N/A

25 5 N Cash #1 % Disc_Pcnt1

26 3 N Cash #1 Days Disc_Days1

27 5 N Cash #2 % Disc_Pcnt2

28 3 N Cash #2 Days Disc_Days2

29 3 N Net Days Net_Days

30 6 D Cash #1 Date Disc_Date1

31 10 N Cash #1 Discount Disc_Amt

32 6 D Cash #2 Date Disc_Date2

33 10 N Cash #2 Discount Disc_Amt

34 6 D Net Date Net_Date

35 64 A Comments Remark

36 2 N Day Mon_Paywen

37 2 N Cutoff Mon_Cutoff

38 2 N Delay Mon_Delay

40 6 D Payment Date #1 Inv_PayDt1

41 15 N Payment Amount #1 Inv_PayAm1

42 6 D Payment Date #2 Inv_PayDt2

43 15 N Payment Amount #2 Inv_PayAm2

44 6 D Payment Date #3 Inv_PayDt3

45 15 N Payment Amount #3 Inv_PayAm3

46 6 D Net Payment Date Inv_PayDt4

48 1 A Ctrl Curr Ctrl_Curr

49* 1 A Invoice Terms Pay_Term

50 11 A Inv Ex Rate In_Ex_Rate

52 1 A (exchange rate toggle flag) N/A

54 1 A VAT Authority VAT_Auth

55 2 A Code Tax_Code

57 15 N Base Amount Tax_Bas_Am

58 15 N Vat Amount Tax_Vat_Am

Data Import Macros and Data Dictionary 106

Page 107: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 52, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

APIE01Change A/P Invoice

Change A/P Debit Memo

Archive Record Layout"APIE01","","","","","","","Vendor Id","Invoice/Debit Memo No","Invoice/Debit Memo Date","Invoice/Debit Memo Type","Invoice/Debit Memo Ref","Acctg Prd (period)","Acctg Prd (year)","Invoice/Debit Memo S","Inv PO/Recvd Amt","Other Charges","Freight Charges","Sales Tax/VAT Amount","Service Charges","Disc (Inv PO/Recvd Amt)","Disc (Other Charges)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Cash #1 %","Cash #1 Days","Cash #2 %","Cash #2 Days","Net Days","Cash #1 Date","Cash #1 Discount","Cash #2 Date","Cash #2 Discount","Net Date","Comments",Day","Cutoff,Delay","","Payment Date #1","Payment Amount #1","Payment Date #2","Payment Amount #2","Payment Date #3","Payment Amount #3","Net Payment Date","","","Invoice Terms","Inv Ex Rate","","Inv Ex Rate (for triangulation)","(exchange rate toggle flag)","",""

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 6 D Invoice/Debit Memo Date Ivc_Date; AP_Chk_Dat

11* 1 A Invoice/Debit Memo Type Ivc_Type

12* 30 A Invoice/Debit Memo Ref N/A

13 2 A Acctg Prd (period) Acctg_Prd

14 2 A Acctg Prd (year) Acctg_Prd

15 1 A Invoice/Debit Memo S Invoice_St; Chk_Stat

16 15 N Inv PO/Recvd Amt Ivc_M_Amt

17 15 N Other Charges Other_Chrg

Data Import Macros and Data Dictionary 107

Page 108: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 53, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T"

18 15 N Freight Charges Frt_Charge

19 15 N Sales Tax/VAT Amount Sales_Tax; VAT_Amount

20 15 N Service Charges Svc_Chrg

21 1 A Disc (Inv PO/Recvd Amt) N/A

22 1 A Disc (Other Charges) N/A

23 1 A Disc (Freight Charges) N/A

24 1 A Disc (Sales Tax/VAT Amount)

N/A

25 5 N Cash #1 % Disc_Pcnt1

26 3 N Cash #1 Days Disc_Days1

27 5 N Cash #2 % Disc_Pcnt2

28 3 N Cash #2 Days Disc_Days2

29 3 N Net Days Net_Days

30 6 D Cash #1 Date Disc_Date1

31 10 N Cash #1 Discount Disc_Amt

32 6 D Cash #2 Date Disc_Date2

33 10 N Cash #2 Discount Disc_Amt

34 6 D Net Date Net_Date

35 64 A Comments Remark

36 2 N Day Mon_Paywen

37 2 N Cutoff Mon_Cutoff

38 2 N Delay Mon_Delay

40 6 D Payment Date #1 Inv_PayDt1

41 15 N Payment Amount #1 Inv_PayAm1

42 6 D Payment Date #2 Inv_PayDt2

43 15 N Payment Amount #2 Inv_PayAm2

44 6 D Payment Date #3 Inv_PayDt3

45 15 N Payment Amount #3 Inv_PayAm3

46 6 D Net Payment Date Inv_PayDt4

49* 1 A Invoice Terms Pay_Term

50 11 A Inv Ex Rate In_Ex_Rate

52 11 A Inv Ex Rate (for triangulation) N/A

53 1 A (exchange rate toggle flag) N/A

Data Import Macros and Data Dictionary 108

Page 109: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

APIE02Delete A/P Invoice

Delete A/P Debit Memo

Archive Record Layout"APIE02","","","","","","","Vendor Id","Invoice/Debit Memo No","",""

Required Transaction Fields

APIE03Apply A/P Invoice

Apply A/P Debit Memo

Archive Record Layout"APIE03","","","","","","","Vendor Id","Invoice/Debit Memo No","PO","Seqn No","PO/Seqn No","Matched Receipt Amount","","",""

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 20 A Invoice/Debit Memo No AP_Ivc_No; AP_Chk_No

10* 15 A PO PO_Number

11* 3 A Seqn No Seqn

12* 18 A PO/Seqn No PO_Seqn_No

13 15 N Matched Receipt Amount Amt_Mtchd

Data Import Macros and Data Dictionary 109

Page 110: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIE09Add VAT Information

Change VAT Information

Delete VAT InformationThe VAT Summary window varies based on the number of VAT authority levels selected. The VAT Authority field is used only when a two-level VAT system is selected.

Archive Record Layout"APIE09","","","","","(action type /C/D)","Vendor Id","Invoice/Debit Memo No","Invoice/Debit Memo Date","Invoice/Debit Memo Type","","VAT Authority","Code","","Base Amount","VAT Amount","(displayed currency)"

Required Transaction Fields

(action type A/C/D) identifies what type of update was performed. The options are: A = Add, C = Change and D = Delete.

Field 17, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

APIE10

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type A/C/D) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No

9* 6 D Invoice/Debit Memo Date Ivc_Date; AP_Chk_Dat

10* 1 A Invoice/Debit Memo Type Ivc_Type

12 1 A VAT Authority VAT_Auth

13 A Code Tax_Auth_1-2

15 15 A Base Amount Tax_Bas_Am

16 15 A VAT Amount VAT_Amount

17* 1 A (displayed currency) N/A

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Data Import Macros and Data Dictionary 110

Page 111: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Distribute A/P Invoice to G/L

Distribute A/P Debit Memo to G/L

Archive Record Layout"APIE10","","","","","","Vendor Id","Invoice/Debit Memo No","","Master Account No","Debit Amount,Credit Amount","(exchange variance y/n)","","","",""

Required Transaction Fields

(exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

APIE12Complete G/L Distribution (CTRL+ENTER keys)

Archive Record Layout"APIE12","","","","","","Vendor Id","Invoice No/Debit Memo No","",""

Required Transaction Fields

APIE19The APIE19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APIE20Add 1099 Information

Change 1099 Information

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice/Debit Memo No AP_Ivc_No

10 20 A Master Account No Mst_Act_No

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

13 1 A (exchange variance y/n) N/A

14 6 N Batch Number N/A

15 8 N Sequence Number N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 20 A Invoice No/Debit Memo No AP_Ivc_No

Data Import Macros and Data Dictionary 111

Page 112: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

The 1099 capability is available in sales tax systems only.

The APIE20 transaction, for adding and changing 1099 information, depends on payments applied against an invoice.

• When payments have been applied against an invoice, the Payment Amt field must be greater than or equal to zero. In this case, the Payment Amt field on the A/P 1099 Distribution window is open for entry.

• When no payments have been applied against an invoice, the Payment Amt field must be null. In this case, the Payment Amt field on the A/P 1099 Distribution window is closed for entry.

Archive Record Layout"APIE20","","","","","","Vendor Id","Invoice No","Tax Year","","CC","Invoice Distrib Amt","Payment Amt,"",""

Required Transaction Fields

APIE22Delete 1099 InformationThe 1099 capability is available in sales tax systems only.

Archive Record Layout"APIE22","","","","","","Vendor Id","Invoice No","Tax Year","","CC","",""

Required Transaction Fields

APIE32Complete 1099 Distribution (CTRL+ENTER keys)

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

12 15 N Invoice Distrib Amt 1099_I_Amt

13* 15 N Payment Amt 1099_P_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

Data Import Macros and Data Dictionary 112

Page 113: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

The 1099 capability is available in sales tax systems only.

Archive Record Layout"APIE32","","","","","","Vendor Id","Invoice No","",""

Required Transaction Fields

APIT – A/P Invoice Template

APIT Transactions

Templates

VAT Summary Transactions

Extended Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

Macro Id DescriptionMacro File

Name

APIT00 Add A/P Invoice Template APSM4

APIT01 Change A/P Invoice Template APSM4

APIT02 Delete A/P Invoice Template APSM4

Macro Id DescriptionMacro File

Name

APIT03 Add Template G/L Account Line APSM4

APIT04 Change Template G/L Account Line APSM4

APIT05 Delete Template G/L Account Line APSM4

Macro Id DescriptionMacro File

Name

APIT09 Add VAT Information APSM4

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 113

Page 114: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIT00Add A/P Invoice Template

Archive Record Layout"APIT00","","","","","","Template No","Description","Ref","Status","Ctrl Curr","Curr Code","Ex Rate (1)","Ex Rate (2)","Base Amount","Freight Charges","Sales Tax/VAT Amount","Service Charges","Disc (Base Amount)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Comments","VAT Authority","Code","","Base Amount","Vat Amount"

Required Transaction Fields

APIT30 Add Extended Text- A/P Invoice Template APSM4

APIT31 Change Extended Text - A/P Invoice Template APSM4

APIT32 Delete Extended Text - A/P Invoice Template APSM4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 15 A Template No Tmplt_No

8 35 A Description Tmplt_Desc

9 30 A Ref Tmplt_Ref

10 1 A Status Tmplt_St

11 1 A Ctrl Curr Ctrl_Curr

12 6 A Curr Code Curr_Code

13 11 A Ex Rate (1) Ex_Rate1

14 11 A Ex Rate (2) Ex_Rate2

15 15 N Base Amount Base_Amt

16 15 N Freight Charges Frt_Chrg

17 15 N Sales Tax/VAT Amount Sales_Tax; Vat_Amount

18 15 N Service Charges Svc_Charge

19 1 A Disc (Base Amount) Base_Dsc

20 1 A Disc (Freight Charges) Frt_Dsc

21 1 A Disc (Sales Tax/VAT Amount)

Tax_Dsc

22 65 A Comments Comments

23 1 A VAT Authority VAT_Auth

24 2 A Code Tax_Code

26 15 N Base Amount Tax_Bas_Am

27 15 N Vat Amount Tax_Vat_Am

Data Import Macros and Data Dictionary 114

Page 115: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIT01Change A/P Invoice Template

Archive Record Layout"APIT01","","","","","","Template No","Description","Ref","Status","Ctrl Curr","Curr Code","Ex Rate (1)","Ex Rate (2)","Base Amount","Freight Charges","Sales Tax/VAT Amount","Service Charges","Disc (Base Amount)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Comments"

Required Transaction Fields

APIT02Delete A/P Invoice Template

Archive Record Layout"APIT02","","","","","","Template No"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Template No Tmplt_No

8 35 A Description Tmplt_Desc

9 30 A Ref Tmplt_Ref

10 1 A Status Tmplt_St

11 1 A Ctrl Curr Ctrl_Curr

12 6 A Curr Code Curr_Code

13 11 A Ex Rate (1) Ex_Rate1

14 11 A Ex Rate (2) Ex_Rate2

15 15 N Base Amount Base_Amt

16 15 N Freight Charges Frt_Chrg

17 15 N Sales Tax/VAT Amount Sales_Tax; Vat_Amount

18 15 N Service Charges Svc_Charge

19 1 A Disc (Base Amount) Base_Dsc

20 1 A Disc (Freight Charges) Frt_Dsc

21 1 A Disc (Sales Tax/VAT Amount)

Tax_Dsc

22 65 A Comments Comments

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 115

Page 116: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIT03Add Template G/L Account Line

Archive Record Layout"APIT03","","","","","","Template No","Seq No","Master Account No","Debit Percent","Credit Percent","Debit Amount","Credit Amount"

Required Transaction Fields

APIT04Change Template G/L Account Line

Archive Record Layout"APIT04","","","","","",Template No","Seq No","Master Account No","Debit Percent","Credit Percent","Debit Amount","Credit Amount"

Required Transaction Fields

7* 15 A Template No Tmplt_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Template No Tmplt_No

8 3 A Seq No Seqn_No

9 20 A Master Account No AP_Act_No

10 5 N Debit Percent Debit_Pct

11 5 N Credit Percent Credit_Pct

12 14 N Debit Amount Debit_Amt

13 14 N Credit Amount Credit_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Template No Tmplt_No

8* 3 A Seq No Seqn_No

9 20 A Master Account No Mst_Act_No

10 5 N Debit Percent Debit_Pct

11 5 N Credit Percent Credit_Pct

12 14 N Debit Amount Debit_Amt

13 14 N Credit Amount Credit_Amt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 116

Page 117: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIT05Delete Template G/L Account Line

Archive Record Layout"APIT05","","","","","","Template No","Seq No"

Required Transaction Fields

APIT09Add VAT Information

Archive Record Layout"APIT09","","","","","(action type A/C/D)","Template No","","","","","VAT Authority","Code","","Base Amount","Vat Amount"

Required Transaction Fields

APIT30Add Extended Text- A/P Invoice Template

Archive Record Layout"APIT30","","","","","","","(text entry type)","(page number)","","","","Template No","Text Message"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Template No Tmplt_No

8* 3 A Seq No Seqn_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type A/C/D) N/A

7* 15 A Template No Tmplt_No

12 1 A VAT Authority Tax_Autho

13 2 A Code Tax_Code

15 15 N Base Amount Tax_Bas_Am

16 15 N Vat Amount Tax_VAT_Am

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

Data Import Macros and Data Dictionary 117

Page 118: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APIT31Change Extended Text - A/P Invoice Template

Archive Record Layout"APIT31","","","","","","","(text entry type)","(page number)","","","","Template No","Text Message"

Required Transaction Fields

APIT32Delete Extended Text - A/P Invoice Template

Archive Record Layout"APIT32","","","","","","","(text entry type)","(page number)","","","","Template No","Text Message"

Required Transaction Fields

APPA – A/P Manual Payment ApplicationThe APPA transactions use the following screens and windows:

• APPA (A/P Manual Payment Application)

• G/L Distribution

• A/P 1099 Distribution window

13* 15 A Template No Tmplt_No

14 890 A Text Message Ext_Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

13* 15 A Template No Tmplt_No

14 890 A Text Message Ext_Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

13* 15 A Template No Tmplt_No

14 890 A Text Message Ext_Text

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 118

Page 119: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Transactions created on the APPA screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

APPA Transactions

G/L Distribution TransactionsThe APPA transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

A/P 1099 Distribution TransactionsThe APPA transactions defined to distribute 1099 vendor amounts use the A/P 1099 Distribution window.

APPA00The APPA00 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APPA01

Macro Id DescriptionMacro File

Name

APPA00 Used for ARCHIVE.FIL file reorganization only APSM3

APPA01 Apply Payment APSM3

Apply Debit Memo

Unapply Payment

Unapply Debit Memo

Macro Id DescriptionMacro File

Name

APPA10 Distribute Disbursement to G/L APSM3

APPA12 Complete G/L Distribution (CTRL+ENTER keys) APSM3

APPA19 Record Last Transaction Completed—Reorganization Identi-fier

APSM3

Macro Id DescriptionMacro File

Name

APPA20 Add 1099 Information APSM3

Change 1099 Information

APPA22 Delete 1099 Information APSM3

APPA32 Complete 1099 Distribution (CTRL+ENTER keys) APSM3

Data Import Macros and Data Dictionary 119

Page 120: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Apply Payment

Apply Debit Memo

Unapply Payment

Unapply Debit Memo

Archive Record Layout"APPA01","","","","","","Vendor Id","Bank","Pymt Ref No (payment form)","Pymt Ref No (number)","Invoice No","Discount Taken","Payment Amount","",""

Required Transaction Fields

APPA10Distribute Disbursement to G/L

Archive Record Layout"APPA10","","","","","","Vendor Id","Pymt Ref No (payment form)","Pymt Ref No (number)","Bank","","","","Master Account No","Debit Amount","Credit Amount","(exchange rate variance y/n)","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 2 A Bank Bank_No

9* 1 A Pymt Ref No (payment form) Pay_Form

10* 20 A Pymt Ref No (number) AP_Chk_No

11* 10 A Invoice No AP_Ivc_No

12 11 N Discount Taken Disc_Taken

13 15 N Payment Amount Ivc_Pay

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 1 A Pymt Ref No (payment form) Pay_Form

9* 20 A Pymt Ref No (number) AP_Chk_No

10* 2 A Bank Bank_No

14 20 A Master Account No Mst_Act_No

15 14 N Debit Amount Trans_Amt

16 14 N Credit Amount Trans_Amt

17 1 A (exchange variance y/n) N/A

Data Import Macros and Data Dictionary 120

Page 121: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APPA12Complete G/L Distribution (CTRL+ENTER keys)

Archive Record Layout"APPA12","","","","","","Vendor Id","Pymt Ref No (payment form)","Pymt Ref No (number)","Bank","",""

Required Transaction Fields

APPA19The APPA19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APPA20Add 1099 Information

Change 1099 InformationThe 1099 capability is available in sales tax systems only.

The APPA20 transaction, for adding and changing 1099 information, depends on disbursements applied against an invoice.

• When disbursements have been applied against an invoice, the Payment Amt field must be greater than or equal to zero. In this case, the Payment Amt field on the A/P 1099 Distribution window is open for entry.

• When no payments have been applied against an invoice, the Payment Amt field must be null. In this case, the Payment Amt field on the A/P 1099 Distribution window is closed for entry.

Archive Record Layout"APPA20","","","","","","Vendor Id","Invoice No","Tax Year","", "CC","Invoice Distrib Amt","Payment Amt","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 1 A Pymt Ref No (payment form) Pay_Form

9* 20 A Pymt Ref No (number) AP_Chk_No

10* 2 A Bank Bank_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

Data Import Macros and Data Dictionary 121

Page 122: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APPA22Delete 1099 InformationThe 1099 capability is available in sales tax systems only.

Archive Record Layout"APPA22","","","","","","Vendor Id","Invoice No","Tax Year","","CC","",""

Required Transaction Fields

APPA32Complete 1099 Distribution (CTRL+ENTER keys)The 1099 capability is available in sales tax systems only.

Archive Record Layout"APPA32","","","","","","","","",""

Required Transaction Fields

APPD – A/P Prior Period DisbursementsThe APPD transactions use the following screens:

• APPD (A/P Prior Period Disbursements)

• G/L Distribution

Transactions created on the APPD screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

11* 2 A CC 1099_Cat

12 15 N Invoice Distrib Amt 1099_I_Amt

13* 15 N Payment Amt 1099_P_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 122

Page 123: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APPD Transactions

G/L Distribution TransactionsThe APPD transactions defined to distribute amounts to the general ledger use the G/L Distribution screen

APPD00Select Cash Set

Archive Record Layout"APPD00","","","","","","","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

APPD01Add Cash Set Header

Macro Id DescriptionMacro File

Name

APPD00 Select Cash Set APSM3

APPD01 Add Cash Set Header APSM3

APPD02 Change Cash Set Header APSM3

APPD03 Delete Cash Set APSM3

APPD04 Add Prior Period Disbursement Reference Detail APSM3

APPD05 Change Prior Period Disbursement Reference Detail APSM3

APPD06 Change Prior Period Disbursement Payee Detail APSM3

APPD07 Delete Prior Period Disbursement Reference Detail APSM3

Macro Id DescriptionMacro File

Name

APPD10 Distribute Disbursement to G/L APSM3

APPD12 Complete G/L Distribution APSM3

APPD19 Record Last Transaction Completed—Reorganization Identi-fier

APSM3

Fld# Lgth Screen Name Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

Data Import Macros and Data Dictionary 123

Page 124: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"APPD01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)","","","","","",""

Required Transaction Fields

Note: Fields 15 and 16 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

APPD02Change Cash Set Header

Archive Record Layout"APPD02","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","Bank Charge","Bank Comm","Comment","","",""

Required Transaction Fields

APPD03Delete Cash Set

Archive Record Layout"APPD03","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

17 14 N Bank Charge Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 124

Page 125: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Note: This transaction deactivates the cash set by changing the status.

APPD04Add Prior Period Disbursement Reference Detail

Archive Record Layout"APPD04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","Type","","Date","Payment Amount","(bank currency code)","Payment Comment","Local Currency Exch Rate","Local Amount","","Payee Currency Exch Rate","Payee Amount","(payee currency code)","",""

Transaction Fields

APPD05Change Prior Period Disbursement Reference Detail

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11 13 A Vendor Id Vendor_Id

12 1 A Payment Reference No (pay-ment form)

Cash_Form

13 20 A Payment Reference No (number)

AP_Chk_No

14 8 A Seqn (optional) AP_Chk_Seq

15 2 A Type Chk_Type

17 6 D Date AP_Chk_Dat

18 14 N Payment Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Payment Comment Pmt_Comment

21 11 A Local Currency Exch Rate L_Ex_Rate

22 14 N Local Amount L_Pay_Amt

24 11 A Payee Currency Exch Rate F_Ex_Rate

25 14 N Payee Amount F_Pay_Amt

26* 5 A (payee currency code) N/A

Data Import Macros and Data Dictionary 125

Page 126: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"APPD05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","Type","St","Date","Payment Amount","(bank currency code)","Payment Comment","Local Currency Exch Rate","Local Amount","","Payee Currency Exch Rate","Payee Amount","","",""

Required Transaction Fields

APPD06Change Prior Period Disbursement Payee Detail

Archive Record Layout"APPD06","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","Type","St","Date","Payment Amount","(bank currency code)","Payment Comment","Local Currency Exch Rate","Local Amount","","Payee Currency Exch Rate","Payee Amount","","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14* 8 A Seqn AP_Seq_No

15 2 A Type Chk_Type

17 6 D Date AP_Chk_Date

18 14 N Payment Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Payment Comment Pmt_Comment

21 11 A Local Currency Exch Rate L_Ex_Rate

22 14 N Local Amount L_Pay_Amt

24 11 A Payee Currency Exch Rate F_Ex_Rate

25 14 N Payee Amount F_Pay_Amt

26* 1 A (payee currency code) N/A

Data Import Macros and Data Dictionary 126

Page 127: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

APPD07Delete Prior Period Disbursement Reference Detail

Archive Record Layout"APPD07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Vendor Id","Payment Reference No (payment form)","Payment Reference No (number)","Seqn","","","",,"","","",,"","",,"","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14* 8 A Seqn AP_Seq_No

15 2 A Type Chk_Type

17 6 D Date AP_Chk_Date

18 14 N Payment Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Payment Comment Pmt_Comment

21 11 A Local Currency Exch Rate L_Ex_Rate

22 14 N Local Amount L_Pay_Amt

24 11 A Payee Currency Exch Rate F_Ex_Rate

25 14 N Payee Amount F_Pay_Amt

26* 1 A (payee currency code) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 127

Page 128: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APPD10Distribute Disbursement to G/L

Archive Record Layout"APPD10","","","","","","Vendor Id","Payment Reference No-Seqn","","","Vendor Id","Pymt Form","Pymt Ref No","Seqn","Master Account No","Debit Amount","Credit Amount","(exchange variance y/n)"

Required Transaction Fields

(exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

APPD12Complete G/L Distribution

Archive Record Layout"APPD12","","","","","","Vendor Id","Payment Reference No-Seqn","",""

12* 1 A Payment Reference No (pay-ment form)

Cash_Form

13* 20 A Payment Reference No (number)

AP_Chk_No

14* 8 A Seqn AP_Seq_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Payment Reference No-Seqn N/A

9 Disbursement Amount

10 Bank Number

11* 13 A Vendor Id Vendor_Id

12* 1 A Pymt Form (payment form) Pay_Form

13* 20 A Pymt Ref No (number) AP_Chk_No

14* 8 A Seqn AP_Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

Data Import Macros and Data Dictionary 128

Page 129: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

APPD19The APPD19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APRC – A/P Payment ReconciliationThe APRC transactions are used only when the CSHM Module is not installed.

APRC Transactions

APRC01Change A/P Payment StatusThe APRC transactions are used only when the CSHM Module is not installed.

Archive Record Layout"APRC01","","","","","","Bank No","Statement Date","Payment Reference No" (payment form),"Payment Reference No (number)", "Seqn","Payment S","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Payment Reference No-Seqn N/A

Macro Id DescriptionMacro File

Name

APRC01 Change A/P Payment Status APSM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank No Bank_No

8* 6 D Statement Date Stmt_Date

9* 1 A Payment Reference No (pay-ment form)

Pay_Form

10* 20 A Payment Reference No (number)

AP_Chk_No

11* 8 A Seqn Pmt_Ref_S

12 1 A Payment S Chk_Stat

Data Import Macros and Data Dictionary 129

Page 130: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APRE – A/P Recurring Invoice

APRE Transactions

APRE00Add A/P Recurring Invoice

Archive Record Layout"APRE00","","","","","","Vendor Id","Recur Inv No","Begin","End","Day","Desc","Ref","Status","Ctrl Curr","Ex Rate (1)","Ex Rate (2)","Base Amount","Freight Charges","Sales Tax/VAT Amount","Service Charges","Disc (Base Amount)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Invoice Terms","Cash #1 %","Cash #1 Days","Cash #2 Percent","Cash #2 Days","Net Days","Day","Cutoff","Delay","A/P Account for Tax/Charges","Comments","VAT Authority","Code","","Base Amount","Vat Amount"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

APRE00 Add A/P Recurring Invoice APSM4

APRE01 Change A/P Recurring Invoice APSM4

APRE02 Delete A/P Recurring Invoice APSM4

APRE03 Add A/P Recurring Invoice G/L Account Line APSM4

APRE04 Change A/P Recurring Invoice G/L Account Line APSM4

APRE05 Delete A/P Recurring Invoice G/L Account Line APSM4

APRE09 Add VAT Information APSM4

APRE19 Record Last Transaction Completed—Reorganization Identi-fier

APSM4

APRE30 Add Extended Text - A/P Recurring Invoice APSM4

APRE31 Change Extended Text - A/P Recurring Invoice APSM4

APRE32 Delete Extended Text - A/P Recurring Invoice APSM4

APRE40 Add 1099 Category APSM4

APRE42 Delete 1099 Category APSM4

APRE52 Complete 1099 Distribution APSM4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 13 A Vendor Id Vendor_Id

8 15 A Recur Inv No Rec_Inv_No

9 6 D Begin Begin_Date

Data Import Macros and Data Dictionary 130

Page 131: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APRE01Change A/P Recurring Invoice

10 6 D End End_Date

11 2 N Day Day_Month

12 30 A Desc Recur_Desc

13 30 A Ref Recur_Ref

14 1 A Status Recur_St

15 1 A Ctrl Curr Ctrl_Curr

16 11 A Ex Rate (1) Ex_Rate1

17 11 A Ex Rate (2) Ex_Rate2

18 15 N Base Amount Base_Amt

19 15 N Freight Charges Frt_Charge

20 15 N Sales Tax/VAT Amount Tax_Amount; VAT_Amount

21 15 N Service Charges Svc_Charge

22 1 A Disc (Base Amount) Base_Dsc

23 1 A Disc (Freight Charges) Frt_Dsc

24 1 A Disc (Sales Tax/VAT Amount)

Tax_Dsc

25 1 A Invoice Terms Pay_Term

26 5 N Cash #1 % Disc_Pct1

27 3 N Cash #1 Days Disc_Day1

28 5 N Cash #2 Percent Disc_Pct2

29 3 N Cash #2 Days Disc_Day2

30 3 N Net Days Due_Days

31 2 N Day Mon_Paywen

32 2 N Cutoff Mon_Cutoff

33 2 N Delay Mon_Delay

34 20 A A/P Account for Tax/Charges AP_Acct_No

35 64 A Comments Comments

36 1 A VAT Authority VAT_Auth

37 2 A Code Tax_Code

39 15 N Base Amount Tax_Bas_Am

40 15 N Vat Amount Tax_Vat_Am

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 131

Page 132: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"APRE02","","","","","","Vendor Id","Recur Inv No","Begin","End","Day","Desc","Ref","Status","Ctrl Curr","Ex Rate (1)","Ex Rate (2)","Base Amount","Freight Charges","Sales Tax/VAT Amount","Service Charges","Disc (Base Amount)","Disc (Freight Charges)","Disc (Sales Tax/VAT Amount)","Invoice Terms","Cash #1 %","Cash #1 Days","Cash #2 Percent","Cash #2 Days","Net Days","Day","Cutoff","Delay","A/P Account for Tax/Charges","Comments"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

9 6 D Begin Begin_Date

10 6 D End End_Date

11 2 N Day Day_Month

12 30 A Desc Recur_Desc

13 30 A Ref Recur_Ref

14 1 A Status Recur_St

15 1 A Ctrl Curr Ctrl_Curr

16 11 A Ex Rate (1) Ex_Rate1

17 11 A Ex Rate (2) Ex_Rate2

18 15 N Base Amount Base_Amt

19 15 N Freight Charges Frt_Charge

20 15 N Sales Tax/VAT Amount Tax_Amount; VAT_Amount

21 15 N Service Charges Svc_Charge

22 1 A Disc (Base Amount) Base_Dsc

23 1 A Disc (Freight Charges) Frt_Dsc

24 1 A Disc (Sales Tax/VAT Amount)

Tax_Dsc

25 1 A Invoice Terms Pay_Term

26 5 N Cash #1 % Disc_Pct1

27 3 N Cash #1 Days Disc_Day1

28 5 N Cash #2 Percent Disc_Pct2

29 3 N Cash #2 Days Disc_Day2

30 3 N Net Days Due_Days

31 2 N Day Mon_Paywen

32 2 N Cutoff Mon_Cutoff

33 2 N Delay Mon_Delay

Data Import Macros and Data Dictionary 132

Page 133: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APRE02Delete A/P Recurring Invoice

Archive Record Layout"APRE02","","","","","","Vendor Id","Recur Inv No"

Required Transaction Fields

APRE03Add A/P Recurring Invoice G/L Account Line

Archive Record Layout"APRE03","","","","","","Vendor Id","Recur Inv No","Seq No","Master Account No","Debit Percent","Credit Percent","Debit Amount","Credit Amount"

Required Transaction Fields

APRE04Change A/P Recurring Invoice G/L Account Line

Archive Record Layout

34 20 A A/P Account for Tax/Charges AP_Acct_No

35 64 A Comments Comments

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

9 3 A Seq No Seqn_No

10 20 A Master Account No Mst_Act_No

11 5 N Debit Percent Debit_Pct

12 5 N Credit Percent Credit_Pct

13 14 N Debit Amount Debit_Amt

14 14 N Credit Amount Credit_Amt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 133

Page 134: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

"APRE04","","","","","","Vendor Id","Recur Inv No","Seq No","Master Account No","Debit Percent","Credit Percent","Debit Amount","Credit Amount"

Required Transaction Fields

APRE05Delete A/P Recurring Invoice G/L Account Line

Archive Record Layout"APRE05","","","","","","Vendor Id","Recur Inv No","Seq No"

Required Transaction Fields

APRE09Add VAT Information

Archive Record Layout"APRE09","","","","","(action type A/C/D)","Vendor Id","Recur Inv No","","","","VAT Authority","Code","","Base Amount","Vat Amount"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

9* 3 A Seq No Seqn_No

10 20 A Master Account No Mst_Act_No

11 5 N Debit Percent Debit_Pct

12 5 N Credit Percent Credit_Pct

13 14 N Debit Amount Debit_Amt

14 14 N Credit Amount Credit_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

9* 3 A Seq No Seqn_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type A/C/D) N/A

7* 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 134

Page 135: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APRE19The APRE19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APRE30Add Extended Text - A/P Recurring Invoice

Archive Record Layout"APRE30","","","","","","","(text entry type)","(page number)","","","Vendor Id","Recur Inv No","Text Message"

Required Transaction Fields

APRE31Change Extended Text - A/P Recurring Invoice

Archive Record Layout"APRE31","","","","","","","(text entry type)","(page number)","","","Vendor Id","Recur Inv No","Text Message"

Required Transaction Fields

8* 15 A Recur Inv No Rec_Inv_No

12 1 A VAT Authority Tax_Autho

13 2 A Code Tax_Code

15 15 N Base Amount Tax_Bas_Am

16 15 N Vat Amount Tax_Vat_Am

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

12* 13 A Vendor Id Vendor_Id

13* 15 A Recur Inv No Rec_Inv_No

14 890 A Text Message Ext_Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

12* 13 A Vendor Id Vendor_Id

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 135

Page 136: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APRE32Delete Extended Text - A/P Recurring Invoice

Archive Record Layout"APRE32","","","","","","","(text entry type)","(page number)","","","Vendor Id","Recur Inv No","Text Message"

Required Transaction Fields

APRE40Add 1099 Category

Archive Record Layout"APRE40","","","","","(action type A/C/D)","Vendor Id","Recur Inv No","Tax Year","","CC","Invoice Distrib Amt"

Required Transaction Fields

APRE42Delete 1099 Category

13* 15 A Recur Inv No Rec_Inv_No

14 890 A Text Message Ext_Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

12* 13 A Vendor Id Vendor_Id

13* 15 A Recur Inv No Rec_Inv_No

14 890 A Text Message Ext_Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type A/C/D) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

9* 4 A Tax Year 1099_Year

11 2 A CC 1099_Cat

12 15 N Invoice Distrib Amt 1099_I_Amt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 136

Page 137: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"APRE42","","","","","(action type A/C/D)","Vendor Id","Recur Inv No","Tax Year","","CC"

Required Transaction Fields

APRE52Complete 1099 Distribution

Archive Record Layout"APRE52","","","","","","Vendor Id","Recur Inv No"

Required Transaction Fields

APRQ – A/P Cash Requirements/Payment ApprovalTransactions created on the APRQ screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

APRQ Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type A/C/D) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

9* 4 A Tax Year 1099_Year

11 2 A CC 1099_Cat

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 15 A Recur Inv No Rec_Inv_No

Macro Id DescriptionMacro File

Name

APRQ00 Add A/P Payment APSM1

APRQ01 Change A/P Payment APSM1

APRQ02 Delete A/P Payment APSM1

APRQ12 Complete A/P Payment (CTRL+ENTER keys) APSM1

APRQ19 Record Last Transaction Completed—Reorganization Identi-fier

APSM1

Data Import Macros and Data Dictionary 137

Page 138: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Note: The APIE01 transaction should be used to change invoice comments on the A/P Payment Detail screen, if necessary.

APRQ00Add A/P Payment

Archive Record Layout"APRQ00","","","","","","Bank","","Date","Select","","Vendors From","Vendors Thru","Invoice Due on or Before","Include 1st Disc","Include 2nd Disc","Approved Invoices Only","Pay Form","","","","Invoice Currency Code","Invoice Exchange Rate","Select Vendors By","",""

Required Transaction Fields

APRQ01Change A/P Payment

Archive Record Layout"APRQ01","","","","","","Bank","(bank currency code)","Date","Select",Bank Payment Amount,"","","","","Vendor Id","Invoice No",Discount Taken,Payment Amouunt,"","A","(displayed currency)","(bank controlling currency)","Select Vendors By",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank Bank_No

9* 6 D Date N/A

10* 1 A Select N/A

12 60 A Vendors From N/A

13 60 A Vendors Thru N/A

14 6 D Invoices Due on or Before N/A

15 1 A Include 1st Disc N/A

16 1 A Include 2nd Disc N/A

17 1 A Approved Invoices Only N/A

18 1 A Pay Form N/A

22 5 A Invoice Currency Code Curr_Code

23 11 A Invoice Exchange Rate Ex_Rate

24 1 A Select Vendors By N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank Bank_No

8* 5 A (bank currency code) Curr_Code

Data Import Macros and Data Dictionary 138

Page 139: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Note: The APIE01 transaction should be used to change invoice comments on the A/P Payment Detail screen, if necessary.

Field 22, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

APRQ02Delete A/P Payment

Archive Record Layout"APRQ02","","","","","","Bank","(bank currency code)","Date","Select","Bank Payment Amount","","","","","Vendor Id","Invoice No",Discount Taken","Payment Amount","","A","(displayed currency)","(bank controlling currency)","Select Vendors By",""

Required Transaction Fields

9* 6 D Date N/A

10* 1 A Select N/A

11 14 N Bank Payment Amount N/A

16* 60 A Vendor Id/Vendor Name Vendor_Id; Vendor_Name

17* 10 A Invoice No AP_Ivc_No

18 10 N Discount Taken Disc_Taken

19 15 N Payment Amount Ivc_Pay

21 1 A A N/A

22* 1 A (displayed currency) N/A

23* 1 A (bank controlling currency) N/A

24 1 A Select Vendors By N/A

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank Bank_No

8* 5 A (bank currency code) Curr_Code

9* 6 D Date N/A

Data Import Macros and Data Dictionary 139

Page 140: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 22, (displayed currency), identifies which currency should be displayed when the transaction is completed. If you are not using the Multi-Currency Module, you can set this value to L. The options for (displayed currency) are:

APRQ12Complete A/P Payment (CTRL+ENTER keys)

Archive Record Layout"APRQ12","","","","","","Bank","(bank currency code)","Date","Select",,"","","","","",,,,"","","","",""

Required Transaction Fields

APRQ19The APRQ19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

10* 1 A Select N/A

11 14 N Bank Payment Amount N/A

16* 60 A Vendor Id/Vendor Name Vendor_Id; Vendor_Name

17* 10 A Invoice No AP_Ivc_No

18 10 N Discount Taken Disc_Taken

19 15 N Payment Amount Ivc_Pay

21 1 A A N/A

22* 1 A (displayed currency) N/A

23* 1 A (bank controlling currency) N/A

24 1 A Select Vendors By N/A

Setting Description

L Local currency is displayed as determined by the Currency Information window in the upper section of the screen; set to L for non-multi-currency systems

F Foreign currency is displayed as determined by the Currency Information window in the upper section of the screen

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank Bank_No

8* 5 A (bank currency code) Curr_Code

9* 6 D Date N/A

10* 1 A Select N/A

Data Import Macros and Data Dictionary 140

Page 141: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

APTP – 1099 ProcessingTransactions created on the APTP screen are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available.

APTX – A/P 1099 Distribution by VendorTransactions created on the APTX screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

The APTX transactions defined to distribute 1099 vendor amounts use the A/P 1099 Distribution window.

APTX Transactions

APTX19The APTX19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

APTX20Add 1099 Information

Change 1099 InformationThe 1099 capability is available in sales tax systems only.

The APTX20 transaction, for adding and changing 1099 information, depends on payments applied against an invoice.

• When payments have been applied against an invoice, the Payment Amt field must be greater than or equal to zero. In this case, the Payment Amt field on the A/P 1099 Distribution window is open for entry.

• When no payments have been applied against an invoice, the Payment Amt field must be null. In this case, the Payment Amt field on the A/P 1099 Distribution window is closed for entry.

Archive Record Layout"APTX20","","","","","","Vendor Id","Invoice No","Tax Year","","CC","Invoice Distrib Amt","Payment Amt","",""

Macro Id DescriptionMacro File

Name

APTX19 Record Last Transaction Completed—Reorganization Identi-fier

APSM3

APTX20 Add 1099 Information APSM3

Change 1099 Information

APTX22 Delete 1099 Information APSM3

APTX32 Complete 1099 Distribution (CTRL+ENTER keys) APSM3

Data Import Macros and Data Dictionary 141

Page 142: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

APTX22Delete 1099 InformationThe 1099 capability is available in sales tax systems only.

Archive Record Layout"APTX22","","","","","","Vendor Id","Invoice No","Tax Year","","CC","",""

Required Transaction Fields

APTX32Complete 1099 Distribution (CTRL+ENTER keys)The 1099 capability is available in sales tax systems only.

Archive Record Layout"APTX32","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

12 15 N Invoice Distrib Amt 1099_I_Amt

13* 15 N Payment Amt 1099_P_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 10 A Invoice No AP_Ivc_No

9* 4 A Tax Year 1099_Year

11* 2 A CC 1099_Cat

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 142

Page 143: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARAD – Accounts Receivable Aging Definition

ARAD Transactions

ARAD01Change A/R Aging Definition

Archive Record Layout"ARAD01","","","","","","Past Due Message #1","(past due message #1)","Aging Days #2","Past Due Message #2","(past due message #2)","Aging Days #3","Past Due Message #3","(past due message #3)"

Required Transaction Fields

ARCD – A/R Cash DepositsThe ARCD transactions use the following screens:

• ARCD (A/R Cash Deposits)

• G/L Distribution

Transactions created on the ARCD screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

Macro Id DescriptionMacro File

Name

ARAD01 Change A/R Aging Definition ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 60 A Past Due Message #1 N/A

8 60 A (past due message #1) N/A

9 3 N Aging Days #2 Age_Cat_2

10 60 A Past Due Message #2 N/A

11 60 A (past due message #2) N/A

12 3 N Aging Days #3 Age_Cat_3

13 60 A Past Due Message #3 N/A

14 60 A (past due message #3) N/A

Data Import Macros and Data Dictionary 143

Page 144: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARCD Transactions

G/L Distribution TransactionsThe ARCD transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

ARCD00Select Cash Set

Archive Record Layout"ARCD00","","","","","","(action type)","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

ARCD01

Macro Id DescriptionMacro File

Name

ARCD00 Select Cash Set ARSM

ARCD01 Add Cash Set Header ARSM

ARCD02 Change Cash Set Header ARSM

ARCD03 Delete Cash Set ARSM

ARCD04 Add Receipt Reference Detail ARSM

ARCD05 Change Receipt Reference Detail ARSM

ARCD07 Delete Receipt Reference Detail ARSM

ARCD08 Change Receipt to NSF ARSM

Macro Id DescriptionMacro File

Name

ARCD10 Distribute A/R Cash Deposit to G/L ARSM

ARCD12 Complete G/L Distribution ARSM

ARCD19 Record Last Transaction Completed—Reorganization Identi-fier

ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type) N/A

8 1 A Cash Set (payment form) Rec_Form

9 20 A Cash Set (number) Csh_Set_No

Data Import Macros and Data Dictionary 144

Page 145: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Add Cash Set Header

Archive Record Layout"ARCD01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)","","","","","",""

Required Transaction Fields

Note: Fields 15 and 16 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

ARCD02Change Cash Set Header

Archive Record Layout"ARCD02","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","Bank Charge,Bank Comm","Comment","","",""

Required Transaction Fields

ARCD03Delete Cash Set

Archive Record Layout"ARCD03","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

17 14 N Bank Charge Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 145

Page 146: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Note: This transaction deactivates the cash set by changing the status.

ARCD04Add Receipt Reference Detail

Archive Record Layout"ARCD04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","Type","","Date","Receipt Amount","(bank currency code)","Receipt Comment","Local to Receipt Exch Rate","Local Amt","","Local to Cust Exch Rate","Customer Amt","(customer currency code)","",""

Required Transaction Fields

ARCD05

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14 8 A Seqn (optional) AR_Seq_No

15 2 A Type CR_Type

17 6 D Date AR_Chk_Dat

18* 14 N Receipt Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Receipt Comment Pmt_Comment

21 11 A Local to Receipt Exch Rate L_Ex_Rate

22 14 N Local Amt L_Pay_Amt

24 11 A Local to Cust Exch Rate F_Ex_Rate

25 14 N Customer Amt F_Pay_Amt

26* 5 A (customer currency code) N/A

Data Import Macros and Data Dictionary 146

Page 147: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Change Receipt Reference Detail

Archive Record Layout"ARCD05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","Type","St","Date","Receipt Amount","(bank currency code)","Receipt Comment","Local to Receipt Exch Rate","Local Amt","","Local to Cust Exch Rate","Customer Amt,"","",""

Required Transaction Fields

ARCD07Delete Receipt Reference Detail

Archive Record Layout"ARCD07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","","","","","","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14* 8 A Seqn AR_Seq_No

15 2 A Type CR_Type

17 6 D Date AR_Chk_Date

18* 14 N Receipt Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Receipt Comment Pmt_Comment

21 11 A Local to Receipt Exch Rate L_Ex_Rate

22 14 N Local Amt L_Pay_Amt

24 11 A Local to Cust Exch Rate F_Ex_Rate

25 14 N Customer Amt F_Pay_Amt

26* 5 A (customer currency code) N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 147

Page 148: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARCD08Change Receipt to NSF

Archive Record Layout"ARCD08","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","","","","","","","","","","","","","",""

Required Transaction Fields

ARCD10Distribute A/R Cash Deposit to G/L

Archive Record Layout"ARCD10","","","","","","Cust Id","Bank No-Receipt Reference No-Seqn","","","Cust Id","Receipt Reference No(payment form)","Receipt Reference No (number)","Seqn","Master Account No","Debit Amount","Credit Amount","(exchange variance y/n)","Batch Number","Batch Sequence No"

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14* 8 A Seqn AR_Seq_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 1 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11 13 A Cust Id Cust_Id

12 1 A Receipt Reference No (pay-ment form)

Cash_Form

13 20 A Receipt Reference No (num-ber)

AR_Chk_No

14 8 A Seqn (optional) AR_Seq_No

Data Import Macros and Data Dictionary 148

Page 149: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

(exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

ARCD12Complete G/L Distribution

Archive Record Layout"ARCD12","","","","","","Cust Id","Receipt Reference No-Seqn","",""

Required Transaction Fields

ARCD19The ARCD19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

8* 33 A Bank No-Receipt Reference No-Seqn

N/A

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14* 8 A Seqn AR_Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 N (exchange variance y/n) N/A

19 6 N Batch No N/A

20 8 N Batch Sequence No N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

8* 33 A Receipt Reference No-Seqn N/A

Data Import Macros and Data Dictionary 149

Page 150: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARCF – A/R ConfigurationThe ARCF transactions use the following screen and window:

• ARCF (A/R Configuration)

• A/R Application Options window

ARCF Transactions

A/R Application Options Transactions

ARCF01Change A/R ConfigurationThe ARCF01 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"ARCF01","","","","","","Sales","Accounts Receivable","Discounts Allowed","Service Charges","Service Charges (cycle 1)","Service Charges (cycle 2)","Service Charges (cycle 3)","Service Charges (cycle 4)","Service Charges (cycle 5)","Statements (cycle 1)","Statements (cycle 2)","Statements (cycle 3)","Statements (cycle 4)","Statements (cycle 5)","Acct Aging","Company Name & Address on Invoice","Print on Statements (y/n)","Print SBOL Extd Text (y/n)","Print CO Extd Text (y/n)","Print Consisting of List (y/n)","Create G/L Transactions From CR Memo Entries (y/n)","Create G/L Transactions From Invoice Entries (y/n)","Discount Calculation - Sales Amt (y/n)","Discount Calculation - Other Charges (y/n)","Discount Calculation - Freight Charges (y/n)","Discount Calculation - LESS Amt (y/n)","Discount Calculation - Tax Amt (y/n)","Change Automated Post-Printed Invoices/Credit Memos","Change Automated Pre-Printed Invoices","Commission Liability Account","Commission Expense Account"

Required Transaction Fields

Macro Id Description Macro File

Name

ARCF01 Change A/R Configuration ARSM

Macro Id DescriptionMacro File

Name

ARCF02 Change A/R Application Options ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Sales Mst_Act_No

8 20 A Accounts Receivable Mst_Act_No

9 20 A Discounts Allowed Mst_Act_No

10 20 A Service Charges Mst_Act_No

Data Import Macros and Data Dictionary 150

Page 151: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

11 6 D Service Charges (cycle 1) Svc_Chrg

12 6 D Service Charges (cycle 2) Svc_Chrg

13 6 D Service Charges (cycle 3) Svc_Chrg

14 6 D Service Charges (cycle 4) Svc_Chrg

15 6 D Service Charges (cycle 5) Svc_Chrg

16 6 D Statements (cycle 1) Stmt_Date

17 6 D Statements (cycle 2) Stmt_Date

18 6 D Statements (cycle 3) Stmt_Date

19 6 D Statements (cycle 4) Stmt_Date

20 6 D Statements (cycle 5) Stmt_Date

21 6 D Acct Aging N/A

22 1 A Company Name & Address on Invoice

N/A

23 1 A Print on Statements (y/n) N/A

24 1 A Print SBOL Extd Text (y/n) N/A

25 1 A Print CO Extd Text (y/n) N/A

26 1 A Print Consisting of List (y/n) N/A

27 1 A Create G/L Transactions From CR Memo Entries (y/n)

N/A

28 1 A Create G/L Transactions From Invoice Entries (y/n)

N/A

29 1 A Discount Calculation - Sales Amt (y/n)

N/A

30 1 A Discount Calculation - Other Charges (y/n)

N/A

31 1 A Discount Calculation - Freight Charges (y/n)

N/A

32 1 A Discount Calculation - LESS Amt (y/n)

N/A

33 1 A Discount Calculation - Tax Amt (y/n)

/A

34 1 A Change Automated Post-Printed Invoices/Credit Memos

N/A

35 1 A Change Automated Pre-Printed Invoices

N/A

36 20 A Commission Liability Account N/A

37 20 A Commission Expense Account

N/A

Data Import Macros and Data Dictionary 151

Page 152: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARCF02Change A/R Application OptionsThe ARCF02 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"ARCF02","","","","","",Tolerance Amt,Tolerance %,"Prompt Before Closing","Under Payment Variance Master Acct","","Default Entry Mode","Journal Entries by Inv No","Tolerance Amt (cash receipt)"

Required Transaction Fields

ARCR – A/R Cash/Credit Memo ApplicationThe ARCR transactions use the following screens:

• ARCR (A/R Cash/Credit Memo Application)

• G/L Distribution

Transactions created on the ARCR screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for information on the set of transactions required.

ARCR Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 14 N Tolerance Amt N/A

8 5 N Tolerance % N/A

9 1 A Prompt Before Closing N/A

10 20 A Under Payment Variance Master Acct

N/A

12 1 A Default Entry Mode N/A

13 1 A Journal Entries by Inv No N/A

14 14 N Tolerance Amt (cash receipt) N/A

Macro Id DescriptionMacro File

Name

ARCR01 Apply Receipt—Open Item Customer ARSM

Apply Receipt—Foreign Customer

Apply Credit Memo—Open Item Customer

Apply Credit Memo—Foreign Customer

Unapply Receipt—Open Item Customer

Unapply Receipt—Foreign Customer

Data Import Macros and Data Dictionary 152

Page 153: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

G/L Distribution TransactionsThe ARCR transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

ARCR01Apply Receipt—Open Item Customer

Apply Receipt—Foreign Customer

Apply Credit Memo—Open Item Customer

Apply Credit Memo—Foreign Customer

Unapply Receipt—Open Item Customer

Unapply Receipt—Foreign Customer

Archive Record Layout"ARCR01","","","","","","","(open/balance forward)","Cust Id","Type","Ref No (payment form)","Ref No (number)","","Trans",,"Invoice No",Applied Amt,Discount,"Type","","","","","Mode","","(currency toggle flag)","",""

Required Transaction Fields

Apply Receipt—Balance Forward Customer

Apply Credit Memo—Balance Forward Customer

Unapply Receipt—Balance Forward Customer

ARCR02 Unapply All Receipt Applications—Balance Forward Customer ARSM

Unapply All Receipt Applications—Open Item Customer ARSM

Macro Id DescriptionMacro File

Name

ARCR10 Distribute A/R Cash Receipt to G/L ARSM

ARCR12 Complete G/L Distribution (CTRL+ENTER keys) ARSM

ARCR19 Record Last Transaction Completed—Reorganization Identi-fier

ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (open/balance forward) OpnBal_Fwd

9* 13 A Cust Id Cust_Id

10* 1 A Type N/A

11* 1 A Ref No (payment form) Cash_Form

12* 20 A Ref No (number) Ref_No

Data Import Macros and Data Dictionary 153

Page 154: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Field 26, (currency toggle flag), is for multi-currency transactions. The "T" indicates the screen must toggle so the cash receipt can be applied in the desired currency.

(tolerance option) identifies what selection is needed when a tolerance value setting is detected:

ARCR01Apply Receipt—Balance Forward Customer

Apply Credit Memo—Balance Forward Customer

Unapply Receipt—Balance Forward Customer

Archive Record Layout"ARCR01","","","","","","","(open/balance forward)","Cust Id","Type","Ref No (payment form)","Ref No (number)","","Trans","","Age Cat #3","Age Cat #2","Age Cat #1","Current","Discount","","","","","(tolerance option)","",""

Required Transaction Fields

14 6 D Trans Trans_Date

16* 10 A Invoice No AR_Ivc_No

17 15 N Applied Amt Appld_Amt

18 11 N Discount Disc_Allwd

19* 1 A Type N/A

24* 1 A Mode N/A

25* 1 A (tolerance option) N/A

26* 1 A (currency toggle flag) N/A

Setting Description

T The screen toggle is required.

"" The screen toggle is not required.

Entry Description

0 No invoice tolerance value is detected.

1 Accept the under/over payment variance and close the invoice.

2 Leave invoice open.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (open/balance forward) OpnBal_Fwd

9* 13 A Cust Id Cust_Id

Data Import Macros and Data Dictionary 154

Page 155: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

(tolerance option) identifies what selection is needed when a tolerance value setting is detected:

ARCR02Unapply All Receipt Applications—Balance Forward Customer

Unapply All Receipt Applications—Open Item Customer

Archive Record Layout"ARCR02","","","","","","","","Cust Id","Type","Ref No (payment form)","Ref No (number)","","Trans","","","","","","",""

Required Transaction Fields

ARCR10Distribute A/R Cash Receipt to G/L

10* 1 A Type N/A

11* 1 A Ref No (payment form) Cash_Form

12* 20 A Ref No (number) Ref_No

14 6 D Trans Trans_Date

16 14 N Age Cat #3 Age_Cat_3

17 14 N Age Cat #2 Age_Cat_2

18 14 N Age Cat #1 Age_Cat_1

19 14 N Current N/A

20 11 N Discount Disc_Allwd

25* 1 A (tolerance option) N/A

Entry Description

0 No invoice tolerance value is detected.

1 Accept the under/over payment variance and close the invoice.

2 Leave invoice open.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 13 A Cust Id Cust_Id

10* 1 A Type N/A

11* 1 A Ref No (payment form) Cash_Form

12* 20 A Ref No (number) Ref_No

14 6 D Trans Trans_Date

Data Import Macros and Data Dictionary 155

Page 156: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Archive Record Layout"ARCR10","","","","","","Cust Id","Ref No","","","Master Account No","Debit Amount","Credit Amount","","",""

Required Transaction Fields

(exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

ARCR12Complete G/L Distribution (CTRL+ENTER keys)

Archive Record Layout"ARCR12","","","","","","Cust Id","","","","Ref No","","",""

Required Transaction Fields

ARCR19The ARCR19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

AREX – A/R Invoice Exceptions

AREX Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

10* 33 A Ref No Ref_No

14 20 A Master Account No Mst_Act_No

15 14 A Debit Amount Trans_Amt

16 14 N Credit Amount Trans_Amt

17 1 N (exchange variance y/n) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

10* 33 A Ref No Ref_No

Macro Id DescriptionMacro File

Name

AREX00 Change the A/R Queue Processing Status

Data Import Macros and Data Dictionary 156

Page 157: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

AREX00Change the A/R Queue Processing Status

Archive Record Layout"AREX00","","","","","","A/R Queue Processing Status"

Required Transaction Fields

AREX01Change Sales Master Account NumberThe AREX01 transaction is used for audit trail purposes. The transaction must be reentered manually using the AREX screen.

AREX02Reprocess Exceptions

Archive Record Layout"AREX02","","","","",""

Required Transaction Fields

AREX03Delete ExceptionsThe AREX03 transaction is used for audit trail purposes. The transaction must be reentered manually using the AREX screen.

ARPD – A/R Prior Period Cash DepositsThe ARPD transactions use the following screens:

• ARPD (A/R Prior Period Cash Deposits)

• G/L Distribution

AREX01 Change Sales Master Account Number ARSM

AREX02 Reprocess Exceptions ARSM

AREX03 Delete Exceptions ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A A/R Queue Processing Status N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 157

Page 158: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Transactions created on the ARPD screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

ARPD Transactions

G/L Distribution TransactionsThe ARPD transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

ARPD00Select Cash Set

Archive Record Layout"ARPD00","","","","","","(action type)","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

ARPD00 Select Cash Set ARSM

ARPD01 Add Cash Set Header ARSM

ARPD02 Change Cash Set Header ARSM

ARPD03 Delete Cash Set ARSM

ARPD04 Add Prior Period Receipt Reference Detail ARSM

ARPD05 Change Prior Period Receipt Reference Detail ARSM

ARPD07 Delete Prior Period Receipt Reference Detail ARSM

ARPD08 Change Prior Period Receipt to NSF ARSM

Macro Id DescriptionMacro File

Name

ARPD10 Distribute A/R Cash Deposit to G/L ARSM

ARPD12 Complete G/L Distribution ARSM

ARPD19 Record Last Transaction Completed—Reorganization Identi-fier

ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type) N/A

8 1 A Cash Set (payment form) Rec_Form

9 20 A Cash Set (number) Csh_Set_No

Data Import Macros and Data Dictionary 158

Page 159: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARPD01Add Cash Set Header

Archive Record Layout"ARPD01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)","","","","","",""

Required Transaction Fields

Note: Fields 15 and 16 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

ARPD02Change Cash Set Header

Archive Record Layout"ARPD02","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","Bank Charge","Bank Comm","Comment","","",""

Required Transaction Fields

ARPD03Delete Cash Set

Archive Record Layout"ARPD03","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","","","","","","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

17 14 N Bank Charge Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Data Import Macros and Data Dictionary 159

Page 160: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

Note: This transaction deactivates the cash set by changing the status.

ARPD04Add Prior Period Receipt Reference Detail

Archive Record Layout"ARPD04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","Type","","Date",Receipt Amount","(bank currency code)","Receipt Comment","Local to Receipt Exch Rate","Local Amt","","Local to Cust Exch Rate","Customer Amt","(customer currency code)","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11 13 A Cust Id Cust_Id

12 1 A Receipt Reference No (pay-ment form)

Cash_Form

13 20 A Receipt Reference No (num-ber)

AR_Chk_No

14 8 A Seqn (optional) AR_Seq_No

15 2 A Type CR_Type

17 6 D Date AR_Chk_Dat

18 14 N Receipt Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Receipt Comment Pmt_Comment

21 11 A Local to Receipt Exch Rate L_Ex_Rate

22 14 N Local Amt L_Pay_Amt

24 11 A Local to Cust Exch Rate F_Ex_Rate

25 14 N Customer Amt F_Pay_Amt

26* 5 A (customer currency code) N/A

Data Import Macros and Data Dictionary 160

Page 161: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARPD05Change Prior Period Receipt Reference Detail

Archive Record Layout"ARPD05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","Type","St","Date",Receipt Amount,"(bank currency code)","Receipt Comment","Local to Receipt Exch Rate","Local Amt","","Local to Cust Exch Rate","Customer Amt","(customer currency code)","",""

Required Transaction Fields

ARPD07Delete Prior Period Receipt Reference Detail

Archive Record Layout"ARPD07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","","","","","","","","","","","","","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14* 8 A Seqn AR_Seq_No

15 2 A Type CR_Type

17 6 D Date AR_Chk_Date

18 14 N Receipt Amount B_Pmt_Amt

19* 5 A (bank currency code) N/A

20 50 A Receipt Comment Pmt_Comment

21 11 A Local to Receipt Exch Rate L_Ex_Rate

22 14 N Local Amt L_Pay_Amt

24 11 A Local to Cust Exch Rate F_Ex_Rate

25 14 N Customer Amt F_Pay_Amt

26* 5 A (customer currency code) N/A

Data Import Macros and Data Dictionary 161

Page 162: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

ARPD08Change Prior Period Receipt to NSF

Archive Record Layout"ARPD08","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Cust Id","Receipt Reference No (payment form)","Receipt Reference No (number)","Seqn","","","","","","","","","","","","","",""

Required Transaction Fields

ARPD10Distribute A/R Cash Deposit to G/L

Archive Record Layout"ARCD10","","","","","","Cust Id","Bank No-Receipt Reference No-Seqn","","","Cust Id","Receipt Reference No(payment form)","Receipt Reference No (number)","Seqn","Master Account No","Debit Amount","Credit Amount","(exchange variance y/n)","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14* 8 A Seqn AR_Seq_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 1 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11 13 A Cust Id Cust_Id

12 1 A Receipt Reference No (pay-ment form)

Cash_Form

13 20 A Receipt Reference No (num-ber)

AR_Chk_No

14 8 A Seqn (optional) AR_Seq_No

Data Import Macros and Data Dictionary 162

Page 163: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

Required Transaction Fields

ARPD12Complete G/L Distribution

Archive Record Layout"ARPD12","","","","","","Cust Id","Receipt Reference No-Seqn","",""

Required Transaction Fields

ARPD19The ARPD19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

ARSR – A/R Service Charge Review

ARSR Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

8* 33 A Bank No-Receipt Reference No-Seqn

N/A

11* 13 A Cust Id Cust_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Receipt Reference No (num-ber)

AR_Chk_No

14* 8 A Seqn AR_Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 N (exchange variance y/n) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

8* 33 A Receipt Reference No-Seqn N/A

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 163

Page 164: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 A – Data Import Macros

ARSR01Change A/R Service Charge

Archive Record Layout"ARSR01","","","","","","Service Charge Invoice Date","Statement Cycle","Customer Id","Service Charge"

Required Transaction Fields

ARSR01 Change A/R Service Charge ARSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 D Service Charge Invoice Date Ivc_Date

8* 1 A Statement Cycle Stmt_Cycle

9* 13 A Customer Id Cust_Id

10 14 N Service Charge Svc_Chrg

Data Import Macros and Data Dictionary 164

Page 165: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

B – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

BAMT – Batch AssignmentThe BAMT transactions use the following screen and window:

• BAMT (Batch Assignment)

• Batch Selection Maintenance window

BAMT Transactions

Batch Selection Maintenance Transactions

BAMT00Add Batch Assignment

Archive Record Layout"BAMT00","","","","","","Func Code","Exec Key","BSET Proc Id","","Report Destination PDS","Report Destination File Spec","Log Destination PDS","Log Destination File Spec","","","","","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

BAMT00 Add Batch Assignment CSTM

BAMT01 Change Batch Assignment CSTM

BAMT03 Delete Batch Assignment CSTM

Macro Id DescriptionMacro File

Name

BAMT02 Change Batch Assignment—Selection Criteria CSTM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 4 A Func Code Function

8 2 A Exec Key N/A

9 3 A BSET Proc Id N/A

11 1 A Report Destination PDS N/A

12 20 A Report Destination File Spec N/A

Data Import Macros and Data Dictionary 165

Page 166: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BAMT01Change Batch Assignment

Archive Record Layout"BAMT01","","","","","","Func Code","Exec Key","BSET Proc Id","Task Seq Id","Report Destination PDS","Report Destination File Spec","Log Destination PDS","Log Destination File Spec","","","","","",""

Required Transaction Fields

BAMT02Change Batch Assignment—Selection Criteria

Archive Record Layout"BAMT02","","","","","","Func Code","Exec Key","","Task Seq Id (old)","","","","","Start Row","Start Col","End Row","End Col","Task Seq Id(new)","Task Description"

Required Transaction Fields

13 1 A Log Destination PDS N/A

14 20 A Log Destination File Spec N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Func Code Function

8* 2 A Exec Key N/A

9 3 A BSET Proc Id N/A

10* 4 A Task Seq Id N/A

11 1 A Report Destination PDS N/A

12 20 A Report Destination File Spec N/A

13 1 A Log Destination PDS N/A

14 20 A Log Destination File Spec N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Func Code Function

8* 2 A Exec Key N/A

10* 4 A Task Seq Id (old) N/A

15 2 A Start Row N/A

16 2 A Start Col N/A

17 2 A End Row N/A

Data Import Macros and Data Dictionary 166

Page 167: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BAMT03Delete Batch Assignment

Archive Record Layout"BAMT03","","","","","","Func Code","Exec Key","","Task Seq Id","","","","","","","","","",""

Required Transaction Fields

BEXE – Batch Process ExecutionTransactions created by the BEXE screen are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available. See "BEXE Transactions" under "Audit Trail Information" in the System Operation section of the System Administration manual.

BILL – Single Level BillThe BILL transactions use the following screens:

• BILL (Single Level Bill)

• Bill of Material Detail

BILL Transactions

18 2 A End Col N/A

19 4 A Task Seq Id (new) N/A

20 20 A Task Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Func Code Function

8* 2 A Exec Key N/A

10* 4 A Task Seq Id N/A

Macro Id DescriptionMacro File

Name

BILL00 Add Component to Bill of Material BILM

BILL01 Change Component on Bill of Material BILM

BILL03 Delete Component from Bill of Material BILM

Data Import Macros and Data Dictionary 167

Page 168: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Bill of Material Detail Transactions

Using the In Effectivity Date to Locate a LineBILL and Bill of Material transactions allow you to use the In Effectivity (old) field to locate a specific line in a bill. When the Pt Use, Seqn and Component fields are used, they are combined with the In Effectivity (old) field and the result is used as a key field to locate a line as follows:

BILL00Add Component to Bill of Material

Archive Record Layout"BILL00","","","","","","Parent","Pt Use","Seqn","Component","CT","In Effectivity","Out Effectivity",Quantity,LT Offset,"QT",Scr Pct,"","","","",, "","","","","","","","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

BILL02 Add New Text—Component on Bill of Material BILM

Attach Existing Text—Component on Bill of Material

Change Bill of Material Detail

BILL04 Delete Text—Component on Bill of Material BILM

In Effectivity (old) Value Result

NULL Use first (earliest effectivity date) line defined by the Pt Use, Seqn and Component fields

Valid date Use the line defined by the Pt Use, Seqn, Component and In Effectivity (old) fields

999999 Use last (latest effectivity date) line defined by the Pt Use, Seqn and Component fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Parent Parent

8 5 A Pt Use Pt_Use

9 3 A Seqn Seqn

10 30 A Component Component

11 1 A CT Com_Typ

12 6 D In Effectivity In_Effect

13 6 D Out Effectivity Out_Effect

Data Import Macros and Data Dictionary 168

Page 169: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BILL01Change Component on Bill of Material

Archive Record Layout"BILL01","","","","","","Parent","Pt Use","Seqn","Component","CT","In Effectivity (new)","Out Effectivity (new)",Quantity,LT Offset,"QT",Scr Pct,"","","","",,"","","","","","","","","","In Effectivity (old)","Out Effectivity (old)"

Required Transaction Fields

Note: The Pt Use, Seqn or Component fields can only be changed by manual transactions. The In Effectivity (old) and Out Effectivity (old) fields are required when you have multiple components with the same Pt Use, Seqn but different effectivity dates.

BILL02Add New Text—Component on Bill of Material

Attach Existing Text—Component on Bill of Material

Change Bill of Material Detail

Archive Record Layout

14 10 N Quantity Quantity

15 3 N LT Offset LT_Offset

16 1 A QT Qty_Typ

17 5 N Scr Pct Scrap_Pcnt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Parent Parent

8* 5 A Pt Use Pt_Use

9* 3 A Seqn Seqn

10* 30 A Component Component

11 1 A CT Com_Typ

12 6 D In Effectivity (new) In_Effect

13 6 D Out Effectivity (new) Out_Effect

14 10 N Quantity Quantity

15 3 N LT Offset LT_Offset

16 1 A QT Qty_Typ

17 5 N Scr Pct Scrap_Pcnt

32 6 D In Effectivity (old) N/A

33 6 D Out Effectivity (old) N/A

Data Import Macros and Data Dictionary 169

Page 170: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

"BILL02","","","","","","Parent","Pt Use","Seqn","Component","","","",,,"",,"In Rev","Out Rev","Group Name","Cnfg Type",Cnfg Qty,"Stk","Bin","Backflush Scrap","Module Indicator","Text No","(text line1)","(text line2)","(text line3)","(text line4)","In Effectivity","Out Effectivity"

Required Transaction Fields

Note: The In Effectivity and Out Effectivity fields are required when you have multiple components with the same Pt Use, Seqn but different effectivity dates.

BILL03Delete Component from Bill of Material

Archive Record Layout"BILL03","","","","","","Parent","Pt Use","Seqn","Component","","","",,,"",,"","","","","",,"","","","","","","","","In Effectivity","Out Effectivity"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Parent Parent

8* 5 A Pt Use Pt_Use

9* 3 A Seqn Seqn

10* 30 A Component Component

18 2 A In Rev In_Rev

19 2 A Out Rev Out_Rev

20 6 A Group Name Group_Name

21 1 A Cnfg Type Cnfg_Type

22 10 N Cnfg Qty Cnfg_Qty

23 6 A Stk Bkflsh_Stk

24 12 A Bin Bkflsh_Bin

25 1 A Backflush Scrap Bkfl_Scrap

26 1 A Module Indicator Mod_Indcat

27 6 A Text No Text_No

28 60 A (text line1) Text_Line1

29 60 A (text line2) Text_Line2

30 60 A (text line3) Text_Line3

31 60 A (text line4) Text_Line4

32 6 D In Effectivity In_Effect

33 6 D Out Effectivity Out_Effect

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 170

Page 171: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Note: The In Effectivity and Out Effectivity fields are required when you have multiple components with the same Pt Use, Seqn but different effectivity dates.

BILL04Delete Text—Component on Bill of Material

Archive Record Layout"BILL04","","","","","","Parent","Pt Use","Seqn","Component","","","",,,"",,"","","","",,"","","","","","","","","","In Effectivity","Out Effectivity"

Required Transaction Fields

Note: The In Effectivity and Out Effectivity fields are required when you have multiple components with the same Pt Use, Seqn but different effectivity dates.

BKFL – BackflushingThe BKFL transactions use the PICK (Picklist) screen to complete component issues and reverse issues. See "PICK" for more information on the PICK screen.

BKFL Transactions

1* 6 A (macro id) N/A

7* 30 A Parent Parent

8* 5 A Pt Use Pt_Use

9* 3 A Seqn Seqn

10* 30 A Component Component

32 6 D In Effectivity In_Effect

33 6 D Out Effectivity Out_Effect

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Parent Parent

8* 5 A Pt Use Pt_Use

9* 3 A Seqn Seqn

10* 30 A Component Component

32 6 D In Effectivity In_Effect

33 6 D Out Effectivity Out_Effect

Macro Id DescriptionMacro File

Name

BKFL01 Issue Component; M Order RPTM

Data Import Macros and Data Dictionary 171

Page 172: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BKFL01Issue Component; M Order

Issue Component; P Order

Issue Component; CP Order—Component Type = N

Issue Component; CP Order—Component Type = X

Issue Component; CP Order—Component Type = T

Archive Record Layout"BKFL01","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Pt Use","Seq/Ln#","Component/Item","Stk","Bin","","Lot",,Issue Qty,"","Com Typ/Ln# Typ","","","Resource Component (CNFG)","QT (PIC1)","Prom Dock"

Issue Component; P Order

Issue Component; CP Order—Component Type = N

Issue Component; CP Order—Component Type = X

Issue Component; CP Order—Component Type = T

BKFL02 Reverse Issue Component; CP Order—Component Type = V (On Hand Qty = Ø)

RPTM

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty = Ø)

BKFL03 Issue Component; M Order—Component Type = R (On Hand Qty = Ø and Resource Component = 2 or 3)

RPTM

Issue Component; P Order—Component Type = R (On Hand Qty = Ø and Resource Component = 2 or 3)

Issue Component; CP Order—Component Type = R

Issue Component; CP Order—Component Type = V

Issue Component; CP Order—Component Type = W

BKFL04 Reverse Issue Component; CP Order—Component Type = V (On Hand Qty > Ø)

RPTM

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty > Ø)

BKFL05 Issue Component; M Order—Ln# Typ = R (Rework Order) RPTM

BKFL06 Reverse Issue Component; CP Order—Component Type = N RPTM

Reverse Issue Component; CP Order—Component Type = X

Reverse Issue Component; CP Order—Component Type = T

Reverse Issue Component; CP Order—Component Type = R (On Hand Qty = Ø and Resource Component = 2 or 3)

Reverse Issue Component; M Order

Reverse Issue Component; P Order

Data Import Macros and Data Dictionary 172

Page 173: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Required Transaction Fields

BKFL02Reverse Issue Component; CP Order—Component Type = V (On Hand Qty = Ø)

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty = Ø)

Archive Record Layout"BKFL02","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Pt Use","Seq/Ln#","Component/Item","Stk","Bin","","Lot",,Reverse Qty,"","Com Typ/Ln# Typ","","","Resource Component (CNFG)","QT (PIC1)",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 5 A Pt Use Pt_Use

13* 3 A Seq/Ln# Seqn; Ln_No

14* 30 A Component/Item Component; Item

15 6 A Stk Stk

16 12 A Bin Bin

18 20 A Lot Lot

20 10 N Issue Qty Qty_Issued

22* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

25* 1 A Resource Component (CNFG)

N/A

26* 1 A QT (PIC1) Qty_Typ

27* 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 5 A Pt Use Pt_Use

13* 3 A Seq/Ln# Seqn; Ln_No

Data Import Macros and Data Dictionary 173

Page 174: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BKFL03Issue Component; M Order—Component Type = R (On Hand Qty = Ø; Resource Component = 2 or 3)

Issue Component; P Order—Component Type = R (On Hand Qty = Ø; Resource Component = 2 or 3)

Issue Component; CP Order—Component Type = R

Issue Component; CP Order—Component Type = V

Issue Component; CP Order—Component Type = W

Archive Record Layout"BKFL03","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Pt Use","Seq/Ln#","Component/Item","Stk","Bin","","",,Issue Qty,"","Com Typ/Ln# Typ","","","Resource Component (CNFG)","QT (PIC1)","Prom Dock"

Required Transaction Fields

14* 30 A Component/Item Component; Item

15 6 A Stk Stk

16 12 A Bin Bin

18 10 A Lot Lot

20 10 N Reverse Qty N/A

22* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

25* 1 A Resource Component (CNFG)

N/A

26* 1 A QT (PIC1) Qty_Typ

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Order_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 5 A Pt Use Pt_Use

13* 3 A Seq/Ln# Seqn; Ln_No

14* 30 A Component/Item Component; Item

15* 6 A Stk Stk

16* 12 A Bin Bin

20 10 N Issue Qty Qty_Issued

22* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

Data Import Macros and Data Dictionary 174

Page 175: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BKFL04Reverse Issue Component; CP Order—Component Type = V (On Hand Qty > Ø)

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty > Ø)

Archive Record Layout"BKFL04","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Pt Use","Seq/Ln#","Component/Item","Stk","Bin","","",,Reverse Qty,"","Com Typ/Ln# Typ","","","Resource Component (CNFG)","QT (PIC1)","Prom Dock"

Required Transaction Fields

BKFL05Issue Component; M Order—Ln# Typ = R (Rework Order)

Archive Record Layout"BKFL05","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Pt Use","Seq/Ln#","Component/Item","Stk","Bin","IC","Lot",,Issue Qty,"","Com Typ/Ln# Typ","","","Resource Component (CNFG)","QT (PIC1)",""

25* 1 A Resource Component (CNFG)

N/A

26* 1 A QT (PIC1) Qty_Typ

27* 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 5 A Pt Use Pt_Use

13* 3 A Seq/Ln# Seqn; Ln_No

14* 30 A Component/Item Component; Item

15* 6 A Stk Stk

16* 12 A Bin Bin

20 10 N Reverse Qty Qty_2_Rvrs

22* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

25* 1 A Resource Component (CNFG)

N/A

26* 1 A QT (PIC1) Qty_Typ

27* 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 175

Page 176: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Required Transaction Fields

BKFL06Reverse Issue Component; CP Order—Component Type = N

Reverse Issue Component; CP Order—Component Type = X

Reverse Issue Component; CP Order—Component Type = T

Reverse Issue Component; CP Order—Component Type = R (On Hand Qty = Ø; Resource Component = 2 or 3)

Reverse Issue Component; M Order

Reverse Issue Component; P Order

Archive Record Layout"BKFL06","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Pt Use","Seq/Ln#","Component/Item","Stk","Bin","IC","Lot",,Reverse Qty,"","Com Typ/Ln# Typ","","","Resource Component (CNFG)","QT (PIC1)","Prom Dock"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 5 A Pt Use Pt_Use

13* 3 A Seq/Ln# Seqn; Ln_No

14* 30 A Component/Item Component; Item

15 6 A Stk Stk

16 12 A Bin Bin

17 1 A IC Inv_Code

18 20 A Lot Lot

20 10 N Issue Qty Qty_Issued

22* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

25* 1 A Resource Component (CNFG)

N/A

26* 1 A QT (PIC1) Qty_Typ

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

Data Import Macros and Data Dictionary 176

Page 177: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BKFT – Bank Funds Transfer

BKFT Transactions

BKFT00Transfer Bank Funds

Archive Record Layout"BKFT00","","","","","","Date","Acctg Period (period)","Acctg Period (year)","Transfer Form","From Bank","","To Bank","","Comment",From Bank Amt,From Bank: Bank Chg,From Bank: Bank Comm,From Bank: Cash From Amt,"Ex Rate",G/L Amt,"","To Bank: Ex Rate",To Bank: Cash to Amt,To Bank: Bank Chg,To Bank: Bank Comm,"","","From Bank:Local Second Exchange Rate","To Bank:Local Second Exchange Rate",""

Required Transaction Fields

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 5 A Pt Use Pt_Use

13* 3 A Seq/Ln# Seqn; Ln_No

14* 30 A Component/Item Component; Item

15 6 A Stk Stk

16 12 A Bin Bin

17 1 A IC Inv_Code

18 20 A Lot Lot

20 10 N Reverse Qty Qty_2_Rvrs

22* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

25* 1 A Resource Component (CNFG)

N/A

26* 1 A QT (PIC1) Qty_Typ

27* 6 D Prom Dock Prom_Dock

Macro Id DescriptionMacro File

Name

BKFT00 Transfer Bank Funds CSHM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 6 D Date N/A

Data Import Macros and Data Dictionary 177

Page 178: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BKMT – Bank MasterThe BKMT transactions use the following screen and windows:

• BKMT (Bank Master)

• Name, Address and Contacts window

• Cash Receipts window

• Disbursements window

BKMT Transactions

8 2 A Acctg Period (period) Acctg_Prd

9 2 A Acctg Period (year) Acctg_Prd

10 1 A Transfer Form Pay_Form

11 2 A From Bank N/A

13 2 A To Bank N/A

15 50 A Comment N/A

16 14 N From Bank Amt N/A

17 14 N From Bank: Bank Chg N/A

18 14 N From Bank: Bank Comm N/A

19 14 N From Bank: Cash From Amt N/A

20 11 A Ex Rate N/A

21 14 N G/L Amt N/A

23 11 A To Bank: Ex Rate N/A

24 14 N To Bank: Cash to Amt N/A

25 14 N To Bank: Bank Charge N/A

26 14 N To Bank: Bank Comm N/A

29 11 A From Bank:Local Second Exchange Rate

N/A

30 11 A To Bank:Local Second Exchange Rate

N/A

Macro Id DescriptionMacro File

Name

BKMT00 Add Bank GLSM2

BKMT01 Change Bank GLSM2

BKMT02 Delete Bank GLSM2

Data Import Macros and Data Dictionary 178

Page 179: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Name, Address and Contacts Transactions

Cash Receipts Transactions

Disbursements Transactions

BKMT00Add Bank

Archive Record Layout"BKMT00","","","","","","Bk No","Curr","St","Name","Reference Name","Fmt","Tr"

Required Transaction Fields

BKMT01Change Bank

Archive Record Layout"BKMT01","","","","","","Bk No","Curr","St","Name","Reference Name","Fmt","Tr"

Macro Id DescriptionMacro File

Name

BKMT12 Change Bank Name and Address Information GLSM2

Macro Id DescriptionMacro File

Name

BKMT13 Change Bank Cash Receipt Information GLSM2

Macro Id Description

BKMT14 Change Bank Disbursement Information GLSM2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 2 A Bk No Bank_No

8 5 A Curr Bank_Cur_C

9 1 A St Bank_Stat

10 30 A Name Bank_Name1

11 10 A Reference Name Bank_RefN

12 1 A Fmt Bank_Fmt

13 1 A Tr Bank_Trasl

Data Import Macros and Data Dictionary 179

Page 180: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Required Transaction Fields

BKMT02Delete Bank

Archive Record Layout"BKMT02","","","","","","Bk No","Curr","","","","",""

Required Transaction Fields

BKMT12Change Bank Name and Address Information

Archive Record Layout"BKMT12","","","","","","Bk No","Curr","(name 2)","Addr","(addr2)","City","St","Zip","C","Routing","Bank Acct","Withdrawal Contact","Withdrawal Phone","Deposit Contact","Deposit Phone"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bk No Bank_No

8* 5 A Curr Bank_Cur_C

9 1 A St Bank_Stat

10 30 A Name Bank_Name1

11 10 A Reference Name Bank_RefN

12 1 A Fmt Bank_Fmt

13 1 A Tr Bank_Trasl

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bk No Bank_No

8* 5 A Curr Bank_Cur_C

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bk No Bank_No

8* 5 A Curr Bank_Cur_C

9 30 A (name 2) Bank_Name2

10 60 A Addr Bank_Addr1

11 60 A (addr2) Bank_Addr2

Data Import Macros and Data Dictionary 180

Page 181: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BKMT13Change Bank Cash Receipt Information

Archive Record Layout"BKMT13","","","","","","Bk No","Curr","Cash","Acct Receivable","Bank Charge","Bank Commission","NSF Charge","Bank Exch Var"

Required Transaction Fields

BKMT14Change Bank Disbursement Information

Archive Record Layout"BKMT14","","","","","","Bk No","Curr","Cash","Vouchered A/P","Unvouchered A/P","Bank Charge","Bank Commission","Bank Exch Var",Check Size,"Check Last No Used",Transfer Size,"Transfer Last No Used",Draft Size,"Draft Last No Used",BOE Size,"BOE Last No Used",GIRO/BACS Size,"GIRO/BACS Last No Used",Misc Size,"","Check Format","Stub Fmt"

12 15 A City Bank_City

13 10 A St Bank_State

14 12 A Zip Bank_Zip

15 15 A C Bank_Cntry

16 30 A Routing Bank_Rout

17 30 A Bank Acct Bank_Acct

18 40 A Withdrawal Contact B_W_Cont

19 20 A Withdrawal Phone B_W_Ph

20 40 A Deposit Contact B_D_Cont

21 20 A Deposit Phone B_D_Ph

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bk No Bank_No

8* 5 A Curr Bank_Cur_C

9 20 A Cash B_Cash

10 20 A Acct Receivable B_AR_TBal

11 20 A Bank Charge B_AR_Chgs

12 20 A Bank Commission B_AR_Comm

13 20 A NSF Charge B_AR_NSF

14 20 A Bank Exch Var B_AR_EVar

Data Import Macros and Data Dictionary 181

Page 182: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Required Transaction Fields

BKRC – Bank Reconciliation

BKRC Transactions

BKRC00

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bk No Bank_No

8* 5 A Curr Bank_Cur_C

9 20 A Cash B_Cash

10 20 A Vouchered A/P B_AP_Vch

11 20 A Unvouchered A/P B_AP_Unvch

12 20 A Bank Charge B_AP_Chgs

13 20 A Bank Commission B_AP_Comm

14 20 A Bank Exch Var B_AP_EVar

15 2 N Check Size Ck_Size

16 10 A Check Last No Used Last_Chk

17 2 N Transfer Size Trans_Size

18 10 A Transfer Last No Used Last_Trans

19 2 N Draft Size Draft_Size

20 10 A Draft Last No Used Last_Draft

21 2 N BOE Size BOE_Size

22 10 A BOE Last No Used Last_BOE

23 2 N GIRO/BACS Size G_B_Size

24 10 A GIRO/BACS Last No Used Last_G_B

25 2 N Misc Size Misc_Size

27 4 A Check Format N/A

28 1 A Stub Fmt N/A

Macro Id DescriptionMacro File

Name

BKRC00 Change Reconciliation Status CSHM

BKRC12 Complete Reconciliation (CTRL+ENTER) CSHM

Data Import Macros and Data Dictionary 182

Page 183: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

Change Reconciliation Status

Archive Record Layout"BKRC00","","","","","","Bank No","","Stmt Date","Acctg Prd (period)","Acctg Prd (year)","Starting Type","Receipt/Disbursement Reference No (payment form)","Receipt/Disbursement Reference No (number)","Seqn","X (selection)",,"Id","(currency indicator)","Cash Set (form)","Cash Set (number)"

Required Transaction Fields

BKRC12Complete Reconciliation (CTRL+ENTER)

Archive Record Layout"BKRC12","","","","","","Bank No","","Stmt Date","Acctg Prd (period)","Acctg Prd (year)",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank No Bank_No

9* 6 D Stmt Date R_Created

10 2 A Acctg Prd (period) Acctg_Prd

11 2 A Acctg Prd (year) Acctg_Prd

12* 1 A Starting Type N/A

13* 1 A Receipt/Disbursement Refer-ence No (payment form)

R_Pay_Form

14* 20 A Receipt/Disbursement Refer-ence No (number)

R_Pay_No

15* 8 A Seqn R_Pay_Seqn

16 1 A X (selection) R_Tag

18* 6 A Id R_CV_Id

19* 1 A (currency indicator) N/A

20* 1 A Cash Set (form) CashSet_Fm

21* 8 A Cash Set (number) CashSet_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Bank No Bank_No

9* 6 D Stmt Date R_Created

10* 2 A Acctg Prd (period) Acctg_Prd

11* 2 A Acctg Prd (year) Acctg_Prd

Data Import Macros and Data Dictionary 183

Page 184: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BSET – Batch Process Setup

BSET Transactions

BSET00Add Task to Batch Process

Archive Record Layout"BSET00","","","","","","Process Id","","","","","","","Seq Num (new)","Task (new)","Parameters (new)","Special Setup Required (new)","Skip This Task (new)","Abort on Abnormal End (new)"

Required Transaction Fields

BSET01Change Task in Batch Process

Archive Record Layout

Macro Id DescriptionMacro File

Name

BSET00 Add Task to Batch Process SYSM

BSET01 Change Task in Batch Process SYSM

BSET02 Delete Task from Batch Process SYSM

BSET03 Delete Batch Process SYSM

BSET04 Process Owner Reassignment SYSM

BSET05 Process Copy SYSM

BSET06 Add a New Batch Process SYSM

BSET07 Change Description in Batch Process Header SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 3 A Process Id N/A

14 2 A Seq Num (new) N/A

15 4 A Task (new) N/A

16 60 A Parameters (new) N/A

17 1 A Special Setup Required (new)

N/A

18 1 A Skip This Task (new) N/A

19 1 A Abort on Abnormal End (new) N/A

Data Import Macros and Data Dictionary 184

Page 185: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

"BSET01","","","","","","Process Id","Seq Num (old)","Task (old)","Parameters (old)","Special Setup Required (old)","Skip This Task (old)","Abort on Abnormal End (old)","Seq Num (new)","Task (new)","Parameters (new)","Special Setup Required (new)","Skip This Task (new)","Abort on Abnormal End (new)","Description"

Required Transaction Fields

BSET02Delete Task from Batch Process

Archive Record Layout"BSET02","","","","","","Process Id","Seq Num (old)","Task (old)","Parameters (old)","Special Setup Required (old)","Skip This Task (old)","Abort on Abnormal End (old)","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id N/A

8* 2 A Seq Num (old) N/A

9* 4 A Task (old) N/A

10* 60 A Parameters (old) N/A

11* 1 A Special Setup Required (old) N/A

12* 1 A Skip This Task (old) N/A

13* 1 A Abort on Abnormal End (old) N/A

14 2 A Seq Num (new) Seq_ No

15 4 A Task (new) Task

16 60 A Parameters (new) N/A

17 1 A Special Setup Required (new)

N/A

18 1 A Skip This Task (new) N/A

19 1 A Abort on Abnormal End (new) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id N/A

8* 2 A Seq Num (old) N/A

9* 4 A Task (old) N/A

10* 60 A Parameters (old) N/A

11* 1 A Special Setup Required (old) N/A

12* 1 A Skip This Task (old) N/A

Data Import Macros and Data Dictionary 185

Page 186: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BSET03Delete Batch Process

Archive Record Layout"BSET03","","","","","","Process Id"

Required Transaction Fields

BSET04Process Owner Reassignment

Archive Record Layout"BSET04","","","","","","Process Id","Old Owner","New Owner","FLAG"

Required Transaction Fields

BSET05Process Copy

Archive Record Layout"BSET05","","","","","","Process Id","New Process Id","Starting Seq Num","Seq Num Increment"

Required Transaction Fields

13* 1 A Abort on Abnormal End (old) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id PROCESS_ID

8 4 A Old Owner N/A

9* 4 A New Owner OWNER

10 1 A FLAG N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id N/A

8* 3 A New Process Id PROCESS_ID

9 2 A Starting Seq Num SEQ_NO

10 2 A Seq Num Increment N/A

Data Import Macros and Data Dictionary 186

Page 187: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 B – Data Import Macros

BSET06Add a New Batch Process

Archive Record Layout"BSET06","","","","","","Process Id","Desc"

Required Transaction Fields

BSET07Change Description in Batch Process Header

Archive Record Layout"BSET07","","","","","","Process Id","Desc (new)", "Desc (old)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id N/A

8* 40 A Desc PROCESS_DESC

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Process Id N/A

8* 40 A Desc (new) PROCESS_DESC

9* 40 A Desc (old) PROCESS_DESC

Data Import Macros and Data Dictionary 187

Page 188: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

C – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

CACF - CIM Customizer Configuration

CACF Transactions

CACF00Add External Application

Archive Record Layout"CACF00","","","","","","ID Code","Sequence Number","Function Code","Description","File Spec"

"",,,,,"","",,"","" ,"",,"","",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

CACF00 Add External Application CSTM

CACF01 Change External Application main information CSTM

CACF02 Delete External Application CSTM

CACF03 Change External Application Record Information CSTM

CACF04 Add Pre-Clip Key CSTM

CACF05 Change Pre-Clip Key CSTM

CACF06 Delete Pre-Clip Key CSTM

CACF07 Add Post-Clip Key CSTM

CACF08 Change Post-Clip Key CSTM

CACF09 Delete Post-Clip Key CSTM

CACF10 Add Macro Key CSTM

CACF11 Change Macro Key CSTM

CACF12 Delete Macro Key CSTM

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9 4 A Function Code N/A

Data Import Macros and Data Dictionary 188

Page 189: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CACF01Change External Application Main Information

Archive Record Layout"CACF01","","","","","","ID Code","Sequence Number","Function Code","Description","File Spec", "",,,,,"","",,"","" ,"",,"","",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"New ID Code","New Sequence Number"

Required Transaction Fields

CACF02Delete External Application

Archive Record Layout"CACF02","","","","","","ID Code"," Sequence Number ","","","",",,,,,"","",,"","" ,"",,"","",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",,,,"",,"",""

Required Transaction Fields

CACF03Change External Application Record Information

10 70 A External App Description N/A

11 60 A External App File Spec N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9 4 A Function Code N/A

10 70 A External App Description N/A

11 60 A External App File Spec N/A

73 2 N ID Code(New) N/A

74 3 N Sequence Number( New) N/A

Field #Lengt

h Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

Field # Length Type Screen Name Export Name

Data Import Macros and Data Dictionary 189

Page 190: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Archive Record Layout"CACF03","","","","","","ID Code","Sequence Number","Function Code","Description","File Spec", "Screen Type", Curs From Row, Curs From Col, Curs To Row, Curs To Col,"Default Dir","Parameters", Pause,"Cut Map Prefix","Clipboard Activation Key" ,"Menu Title",Menu Order,"Return to Menu","Cut1 Ref",Cut1 Row,Cut1 Col,Cut1 Length,"Cut1 Field Name",Cut1 Num,"Cut2 Ref",Cut2 Row,Cut2 Col,Cut2 Length,"Cut2 Field Name",Cut2 Num,"Cut3 Ref",Cut3 Row,Cut3 Col,Cut3 Length,"Cut3 Field Name",Cut3 Num,"Cut4 Ref",Cut4 Row,Cut4 Col,Cut4 Length,"Cut4 Field Name",Cut4 Num,"Cut5 Ref",Cut5 Row,Cut5 Col,Cut5 Length,"Cut5 Field Name",Cut5 Num,"Cut6 Ref",Cut6 Row,Cut6 Col,Cut6 Length,"Cut6 Field Name",Cut6 Num,"Cut7 Ref",Cut7 Row,Cut7 Col,Cut7 Length,"Cut7 Field Name",Cut7 Num,"Cut8 Ref",Cut8 Row,Cut8 Col,Cut8 Length,"Cut8 Field Name",Cut8 Num,"New ID Code","New Sequence Number"

Required Transaction Fields

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9 4 A Function Code N/A

10 70 A External App Description N/A

11 60 A External App File Spec N/A

12 4 A Screen Type N/A

13 2 N Curs From Row N/A

14 2 N Curs From Col N/A

15 2 N Curs To Row N/A

16 2 N Curs To Col N/A

17 150 A External App Default Dir N/A

18 150 A External App Parameters N/A

19 1 N Pause N/A

20 1 A Cut Map Prefix N/A

21 20 A Clipboard Activation Key N/A

22 20 A Menu Title N/A

23 1 N Menu Order N/A

24 1 A Return to Menu N/A

25 1 A Cut1 Ref N/A

26 2 N Cut1 Row N/A

27 2 N Cut1 Col N/A

28 2 N Cut1 Length N/A

29 20 A Cut1 Field Name N/A

30 3 N Cut1 Num N/A

Data Import Macros and Data Dictionary 190

Page 191: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

31 1 A Cut2 Ref N/A

32 2 N Cut2 Row N/A

33 2 N Cut2 Col N/A

34 2 N Cut2 Length N/A

35 20 A Cut2 Field Name N/A

36 3 N Cut2 Num N/A

37 1 A Cut3 Ref N/A

38 2 N Cut3 Row N/A

39 2 N Cut3 Col N/A

40 2 N Cut3 Length N/A

41 20 A Cut3 Field Name N/A

42 3 N Cut3 Num N/A

43 1 A Cut4 Ref N/A

44 2 N Cut4 Row N/A

45 2 N Cut4 Col N/A

46 2 N Cut4 Length N/A

47 20 A Cut4 Field Name N/A

48 3 N Cut4 Num N/A

49 1 A Cut5 Ref N/A

50 2 N Cut5 Row N/A

51 2 N Cut5 Col N/A

52 2 N Cut5 Length N/A

53 20 A Cut5 Field Name N/A

54 3 N Cut5 Num N/A

55 1 A Cut6 Ref N/A

56 2 N Cut6 Row N/A

57 2 N Cut6 Col N/A

58 2 N Cut6 Length N/A

59 20 A Cut6 Field Name N/A

60 3 N Cut6 Num N/A

61 1 A Cut7 Ref N/A

62 2 N Cut7 Row N/A

63 2 N Cut7 Col N/A

64 2 N Cut7 Length N/A

Field # Length Type Screen Name Export Name

Data Import Macros and Data Dictionary 191

Page 192: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CACF04Add Pre-Clip Key

Archive Record Layout"CACF04","","","","","","ID Code"," Sequence Number"," Keystroke sequence"," Keystroke value"," Keystroke position"

Keystroke Position Values:• T = add/delete at the top of the list

• B = add/delete at the bottom of the list

• C = add/delete between the top and the bottom of the list

Important: After import is complete, validate that the clip keys are in the desired sequence.

Required Transaction Fields

CACF05Change Pre-Clip Key

Archive Record Layout"CACF05","","","","","","ID Code"," Sequence Number"," Keystroke sequence"," Keystroke value",""

65 20 A Cut7 Field Name N/A

66 3 N Cut7 Num N/A

67 1 A Cut8 Ref N/A

68 2 N Cut8 Row N/A

69 2 N Cut8 Col N/A

70 2 N Cut8 Length N/A

71 20 A Cut8 Field Name N/A

72 3 N Cut8 Num N/A

73 2 N ID Code(new) N/A

74 3 N Sequence Number(new) N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

10* 20 A Keystroke value N/A

11* 1 A Keystroke position N/A

Field # Length Type Screen Name Export Name

Data Import Macros and Data Dictionary 192

Page 193: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Required Transaction Fields

CACF06Delete Pre-Clip Key

Archive Record Layout:"CACF06","","","","","","ID Code"," Sequence Number"," Keystroke sequence","",""

Required Transaction Fields

CACF07Add Post-Clip Key

Archive Record Layout"CACF07","","","","","","ID Code"," Sequence Number"," Keystroke sequence"," Keystroke value"," Keystroke position"

Keystroke Position Values• T = add/delete at the top of the list

• B = add/delete at the bottom of the list

• C = add/delete between the top and the bottom of the list

Important: After import is complete, validate that the clip keys are in the desired sequence.

Required Transaction Fields

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

10 20 A Keystroke value N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

Data Import Macros and Data Dictionary 193

Page 194: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CACF08Change Post-Clip Key

Archive Record Layout"CACF08","","","","","","ID Code"," Sequence Number"," Keystroke sequence"," Keystroke value",""

Required Transaction Fields

CACF09Delete Post-Clip Key

Archive Record Layout"CACF09","","","","","","ID Code"," Sequence Number"," Keystroke sequence","",""

Required Transaction Fields

CACF10Add Macro Key

Archive Record Layout:"CACF10","","","","","","ID Code"," Sequence Number"," Keystroke sequence"," Keystroke value"," Keystroke position"

9* 3 N Keystroke sequence N/A

10* 20 A Keystroke value N/A

11* 1 A Keystroke position N/A

Field #Lengt

h Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

10 20 A Keystroke value N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

Field # Length Type Screen Name Export Name

Data Import Macros and Data Dictionary 194

Page 195: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Keystroke Position Values• T = add/delete at the top of the list

• B = add/delete at the bottom of the list

• C = add/delete between the top and the bottom of the list

Important: After import is complete, validate that the clip keys are in the desired sequence.

Required Transaction Fields

CACF11Change Macro Key

Archive Record Layout"CACF11","","","","","","ID Code"," Sequence Number"," Keystroke sequence"," Keystroke value",""

Required Transaction Fields

CACF12Delete Macro Key

Archive Record Layout"CACF12","","","","","","ID Code"," Sequence Number"," Keystroke sequence","",""

Required Transaction Fields

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

10* 20 A Keystroke value N/A

11* 1 A Keystroke position N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

10 20 A Keystroke value N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 195

Page 196: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CBIL – Copy Bill of MaterialUse the CBIL screen to copy bills of material. A predefined transaction is used for system recovery purposes only. The CBIL transaction uses the BILL (Single Level Bill) transactions to create bills of material.

CCAN – Cost Control Action

CCAN Transactions

CCAN01Change Cost Action Message

Archive Record Layout"CCAN01","","","","","","Acct","Cost Action","Msg Date","Vend Id/Gate'y WC","OT (order type)","Order Number","Ln#","Ln# Sta","Ln# Type","Item","CS (cost status)","Prom Dock"

Required Transaction Fields

7* 2 N ID Code N/A

8* 3 N Sequence Number N/A

9* 3 N Keystroke sequence N/A

Macro Id DescriptionMacro File

Name

CCAN01 Change Cost Action Message PRCM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 3 A Acct N/A

8 3 A Cost Action N/A

9 6 D Msg Date N/A

10 6 A Vend Id/Gate’y WC Vendor_Id

11 1 A OT (order type) N/A

12 15 A Order Number MO_Number;PO_Number

13 3 A Ln# Ln_No

14 1 A Ln# Sta Ln_Sta

15 1 A Ln# Type Ln_Typ

Field # Length Type Screen Name Export Name

Data Import Macros and Data Dictionary 196

Page 197: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCAT – Customer Catalog

CCAT Transactions

CCAT00Add Customer Catalog Item

Archive Record Layout"CCAT00","","","","","","Catalog Item","Catalog Item Description","R","Item"

Required Transaction Fields

CCAT01Change Customer Catalog Item

Archive Record Layout"CCAT01","","","","","","Catalog Item","Catalog Item Description","R",""

Required Transaction Fields

16 30 A Item Item

17 1 A CS (cost status) N/A

18 6 D Prom Dock Prom_Dock

Macro Id DescriptionMacro File

Name

CCAT00 Add Customer Catalog Item CUSM

CCAT01 Change Customer Catalog Item CUSM

CCAT02 Delete Customer Catalog Item CUSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 30 A Catalog Item Cat_Item

8* 70 A Catalog Item Description Cat_Desc

9 1 A R R_Class

10 30 A Item Item

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Catalog Item Cat_Item

8 70 A Catalog Item Description Cat_Desc

Data Import Macros and Data Dictionary 197

Page 198: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCAT02Delete Customer Catalog Item

Archive Record Layout"CCAT02","","","","","","Catalog Item","","",""

Required Transaction Fields

CCEX – Currency Exchange Rate Maintenance

CCEX Transactions

CCEX00Add Currency Exchange Rate

Archive Record Layout"CCEX00","","","","","","Source Currency Code","Target Currency Code","Exchange Rate Type","Exchange Rate In-Effect Date","Exchange Rate","Exchange Variance Master Account No"

Required Transaction Fields

9 1 A R R_Class

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Catalog Item Cat_Item

Macro Id Description

CCEX00 Add Currency Exchange Rate MCMM

CCEX01 Change Currency Exchange Rate (future dates only) MCMM

CCEX03 Delete Currency Exchange Rate MCMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 5 A Source Currency Code Curr_Srce

8 5 A Target Currency Code Curr_Targ

9 1 A Exchange Rate Type Curr_Type

10 6 D Exchange Rate In-Effect Date

Curr_Date

11 10 A Exchange Rate Curr_Ex_Rt

Data Import Macros and Data Dictionary 198

Page 199: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCEX01Change Currency Exchange Rate (future dates only)

Archive Record Layout"CCEX01","","","","","","Source Currency Code","Target Currency Code","Exchange Rate Type","Exchange Rate In-Effect Date","old Exchange Rate","Exchange Variance Master Account No","new Exchange Rate"

Required Transaction Fields

CCEX03Delete Currency Exchange Rate

Archive Record Layout"CCEX03","","","","","","Source Currency Code","Target Currency Code","Exchange Rate Type","Exchange Rate In-Effect Date","Exchange Rate","Exchange Variance Master Account No"

Required Transaction Fields

12 20 A Exchange Variance Master Account No

Curr_Gl_Ac

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 5 A Source Currency Code Curr_Srce

8* 5 A Target Currency Code Curr_Targ

9* 1 A Exchange Rate Type Curr_Type

10* 6 D Exchange Rate In-Effect Date

Curr_Date

11* 10 A old Exchange Rate N/A

12 20 A Exchange Variance Master Account No

Curr_Gl_Ac

13 10 A new Exchange Rate Curr_Ex_Rt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 5 A Source Currency Code Curr_Srce

8* 5 A Target Currency Code Curr_Targ

9* 1 A Exchange Rate Type Curr_Type

10* 6 D Exchange Rate In-Effect Date

Curr_Date

11* 10 A Exchange Rate Curr_Ex_Rt

Data Import Macros and Data Dictionary 199

Page 200: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCFG – Costing Configuration

CCFG Transactions

CCFG01Change Costing Configuration

Archive Record Layout"CCFG01","","","","","","Cost Method","Allow Cost Rollover Into Cost Type 0","Overhead Rate: Variable Material","Overhead Rate: Variable Labor","Overhead Rate: Fixed Material","Overhead Rate: Fixed Labor","","","Evaluation Cost Type","Upper Tolerance Percent","Lower Tolerance Percent","User Id to Receive Cost Exceptions for MO","User Id to Receive Cost Exceptions for PO","",""

Required Transaction Fields

12 20 A Exchange Variance Master Account No

Curr_Gl_Ac

Macro Id DescriptionMacro File

Name

CCFG01 Add Customer Catalog Item SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Cost Method N/A

8 1 A Allow Cost Rollover Into Cost Type 0

N/A

9 7 A Overhead Rate: Variable Material

N/A

10 7 A Overhead Rate: Variable Labor

N/A

11 7 A Overhead Rate: Fixed Mate-rial

N/A

12 7 A Overhead Rate: Fixed Labor N/A

15 1 A Evaluation Cost Type N/A

16 7 A Upper Tolerance Percent N/A

17 7 A Lower Tolerance Percent N/A

18 3 A User Id to Receive Cost Exceptions for MO

N/A

19 3 A User Id to Receive Cost Exceptions for PO

N/A

Data Import Macros and Data Dictionary 200

Page 201: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCMT – Currency Code Maintenance

CCMT Transactions

CCMT00Add Currency Code

Archive Record Layout"CCMT00","","","","","","Currency Symb","Currency P","Currency L","Currency Description","EMU"

Required Transaction Fields

CCMT01Change Currency Code

Archive Record Layout"CCMT01","","","","","","Currency Code","Currency Symb","","Currency L","Currency Description",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

CCMT00 Add Currency Code SYSM

CCMT01 Change Currency Code SYSM

CCMT02 Change Currency Code EMU Member Status SYSM

CCMT03 Delete Currency Code SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 5 A Currency Code Curr_Code

8 4 A Currency Symb Curr_Symbl

9 1 A Currency P Curr_Prec

10 1 A Currency L Cur_Sym_Lc

11 15 A Currency Description Curr_Desc

12 1 A EMU Curr_Emu

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 5 A Currency Code Curr_Code

8 4 A Currency Symb Curr_Symbl

Data Import Macros and Data Dictionary 201

Page 202: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCMT02Change Currency Code EMU Member Status

Archive Record Layout"CCMT02","","","","","","Currency Code","Currency Symb","","Currency L","Currency Description","EMU"

Required Transaction Fields

CCMT03Delete Currency Code

Archive Record Layout"CCMT03","","","","","","Currency Code","","","","",""

Required Transaction Fields

CCON – Currency Conversion Utility

CCON Transactions

10 1 A Currency L Cur_Sym_Lc

11 15 A Currency Description Curr_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 5 A Currency Code Curr_Code

8 4 A Currency Symb Curr_Symbl

10 1 A Currency L Cur_Sym_Lc

11 15 A Currency Description Curr_Desc

12 1 A EMU Curr_Emu

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 5 A Currency Code Curr_Code

Macro Id DescriptionMacro File

Name

CCON00 Change Trading Partner Currency Code-Screen Entry Method SYSM

CCON01 Change Trading Partner Currency Code-Data File Method SYSM

CCON02 Change Currency Code Precision SYSM

Data Import Macros and Data Dictionary 202

Page 203: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCON00Change Trading Partner Currency Code-Screen Entry MethodThe CCON00 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import transactions cannot be imported and are not recoverable.

Archive Record Layout"CCON00","","","","","","Change Type","Convert from System to Foreign Currency","Convert from Foreign to System Currency","Customer or Vendor Indicator","Information Source","Customer or Vendor Id","Currency Code","Exchange Rate-1st Leg","Exchange Rate-2nd Leg"

Required Transaction Fields

CCON01Change Trading Partner Currency Code-Data File MethodThe CCON00 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import transactions cannot be imported and are not recoverable.

Archive Record Layout"CCON01","","","","","","Change Type","Convert from System to Foreign Currency","Convert from Foreign to System Currency","Customer or Vendor Indicator","Information Source"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Change Type N/A

8 1 A Convert from System to Foreign Currency

N/A

9 1 A Convert from Foreign to System Currency

N/A

10 1 A Customer or Vendor Indica-tor

N/A

11 1 A Information Source N/A

12 13 A Customer or Vendor Id N/A

13 5 A Currency Code N/A

14 11 A Exchange Rate-1st Leg N/A

15 11 A Exchange Rate-2nd Leg N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Change Type N/A

8 1 A Convert from System to Foreign Currency

N/A

9 1 A Convert from Foreign to System Currency

N/A

Data Import Macros and Data Dictionary 203

Page 204: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCON02Change Currency Code PrecisionThe CCON00 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import transactions cannot be imported and are not recoverable.

Archive Record Layout"CCON02","","","","","","Change Type","Currency Code","Decimal Precision"

Required Transaction Fields

CCOT - Customer Contact

CCOT Transactions

CCOT00Add Customer Contact Required field entries for CCOT00 transactions depend on the method used to add a customer contact. If "New Contact Y/N" is "N," a customer contact is added by selecting an existing contact. If "New Contact Y/N" is "Y", Contact Id is ignored, and a customer contact is added by creating a

10 1 A Customer or Vendor Indica-tor

N/A

11 1 A Information Source N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Change Type N/A

8 5 A Currency Code Curr_Code

9 1 N Decimal Precision Curr_Prec

Macro Id DescriptionMacro File

Name

CCOT00 Add Customer Contact CUSM

CCOT01 Change Customer Contact CUSM

CCOT02 Delete Customer Contact CUSM

CCOT03 Add Customer Report Send As CUSM

CCOT04 Change Customer Report Send As CUSM

CCOT05 Change Contact Notes CUSM

CCOT06 Change Customer Ship To Report Send As CUSM

Data Import Macros and Data Dictionary 204

Page 205: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

brand-new contact. Use the following table to determine which fields are required when adding a customer contact record according to "(New Contact Y/N)":

Archive Record Layout

"CCOT00","","","","","","Customer Id","Contact Id","Contact Name","Title","Email Address","Phone Number 1","Phone Type 1",”New Contact Y/N”

Required Transaction Fields

CCOT01Change Customer Contact

Archive Record Layout

"CCOT01","","","","","","Customer Id","Contact Id","Contact Name","Title","Email Address","Phone Number 1","Phone Type 1"

Required Transaction Fields

New Contact Y/N Customer Id Contact Id Contact Name

Y = Add a brand new contact record Required Not Required Required

N = Select an existing contact record Required Required Not Required

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

9* 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 20 A Phone Number 1 N/A

13 1 A Phone Type 1 N/A

14* 1 A New Contact Y/N N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

9 40 A Contact Name N/A

Data Import Macros and Data Dictionary 205

Page 206: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCOT02Delete Customer Contact

Archive Record Layout

"CCOT02","","","","","","Customer Id","Contact Id"

Required Transaction Fields

CCOT03Change Customer Contact Detail

Archive Record Layout:

"CCOT03","","","","","","Customer Id","Contact Id","Contact Name","Title","Email Address","Phone Type 1","Phone Number 1","Phone Type 2","Phone Number 2","Phone Type 3","Phone Number 3","Facebook","Twitter","User Defined 1","User Defined 2","User Defined 3"

Required Transaction Fields

10 70 A Title N/A

11 128 A Email Address N/A

12 20 A Phone Number 1 N/A

13 1 A Phone Type 1 N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

9 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 1 A Phone Type 1 N/A

13 20 A Phone Number 1 N/A

14 1 A Phone Type 2 N/A

Data Import Macros and Data Dictionary 206

Page 207: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCOT04Change Customer Report Send As

Archive Record Layout

"CCOT04","","","","","","Customer Id","Contact Id","Report Type","Send As","","","","",” Cus-tomer Id on Customer Contact Screen”

Required Transaction Fields:

CCOT05Change Contact Notes

Archive Record Layout

"CCOT05","","","","","","Customer Id","Contact Id","Notes"

Required Transaction Fields

15 20 A Phone Number 2 N/A

16 1 A Phone Type 3 N/A

17 20 A Phone Number 3 N/A

18 128 A Facebook N/A

19 20 A Twitter N/A

20 128 A User Defined 1 N/A

21 128 A User Defined 2 N/A

22 128 A User Defined 3 N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

9* 20 A Report Type N/A

10 1 A Send As N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

9 2499 A Notes N/A

Data Import Macros and Data Dictionary 207

Page 208: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CCOT06Change Customer Ship To Report Send As

Archive Record Layout

"CCOT06","","","","","","Customer Id","Contact Id","Ship to Id",""Report Type","Send As"

Required Transaction Fields

CIMT – Customer Item Maintenance

CIMT Transactions

CIMT00Add Customer Item

Archive Record Layout"CIMT00","","","","","","Item","Cust Id","Cust Item","Description","Rev","","Tr LT","Cust Item (old)"

Required Transaction Fields

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id N/A

8* 10 A Contact Id N/A

9* 13 A Ship to Id N/A

10* 20 A Report Type N/A

11 1 A Send As N/A

Macro Id DescriptionMacro File

Name

CIMT00 Add Customer Item CUSM

CIMT01 Change Customer Item CUSM

CIMT02 Delete Customer Item CUSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 30 A Item Item

8* 13 A Cust Id Cust_Id

9 30 A Cust Item Cust_Item

10 70 A Description CI_Desc

Data Import Macros and Data Dictionary 208

Page 209: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CIMT01Change Customer Item

Archive Record Layout"CIMT01","","","","","","","Cust Id","Cust Item","Description","Rev","Um","Tr LT","Cust Item (old)"

Required Transaction Fields

CIMT02Delete Customer Item

Archive Record Layout"CIMT02","","","","","","","Cust Id","Cust Item","","","","","Cust Item (old)"

Required Transaction Fields

11 2 A Rev CI_Rev_Lvl

13 2 A Tr LT CI_Tr_LT

14 30 A Cust Item (old) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Cust Id Cust_Id

9* 30 A Cust Item Cust_Item

10 70 A Description CI_Desc

11 2 A Rev CI_Rev_Lvl

12 2 A Um Um

13 2 A Tr LT CI_Tr_LT

14* 30 A Cust Item (old) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Cust Id Cust_Id

9* 30 A Cust Item Cust_Item

14 30 A Cust Item (old) N/A

Data Import Macros and Data Dictionary 209

Page 210: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CMCF - CIM Customizer Mapping Configuration

CMCF Transactions

CMCF00Add Character String Relationship

Archive Record Layout"CMCF00","","","","","","Key","Map Code",""

Required Transaction Fields

CMCF01Change Character String Relationship

Archive Record Layout"CMCF01","","","","","","Key","Map Code","New Key"

Required Transaction Fields

CMCF02Delete Character String Relationship

Archive Record Layout"CMCF02","","","","","","Key","",""

Macro Id DescriptionMacro File

Name

CMCF00 Add Character String Relationship CSTM

CMCF01 Change Character String Relationship CSTM

CMCF02 Delete Character String Relationship CSTM

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 35 A Key N/A

8 35 A Map Code N/A

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 35 A Key N/A

8 35 A Map Code N/A

9 35 A New Key N/A

Data Import Macros and Data Dictionary 210

Page 211: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Required Transaction Fields

CMTA – Commission Code Table

CMTA Transactions

CMTA00Add Commission Code

Archive Record Layout"CMTA00","","","","","","Commission Code","Description",Commission Rate,"Primary Sales Id"

Required Transaction Fields

CMTA01Change Commission Code

Archive Record Layout"CMTA01","","","","","","Commission Code","Description",Commission Rate,"Primary Sales Id"

Required Transaction Fields

Field # Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 35 A Key N/A

Macro Id DescriptionMacro File

Name

CMTA00 Add Commission Code GLOBAL

CMTA01 Change Commission Code GLOBAL

CMTA02 Delete Commission Code GLOBAL

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 3 A Commission Code Com_Code

8 20 A Description N/A

9 6 N Commission Rate Comsn_Rate

10 6 A Primary Sales Id N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 211

Page 212: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CMTA02Delete Commission Code

Archive Record Layout"CMTA02","","","","","","Commission Code","",,""

Required Transaction Fields

CNFA – Configuration of Interface Account Numbers

CNFA Transactions

CNFA00Add Product Line

Archive Record Layout"CNFA00","","","","","A (Add Product Line)","Product Line","Description","St"

Required Transaction Fields

7* 3 A Commission Code Com_Code

8 20 A Description N/A

9 6 N Commission Rate Comsn_Rate

10 6 A Primary Sales Id N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Commission Code Com_Code

Macro Id DescriptionMacro File

Name

CNFA00 Add Product Line SYSM

CNFA01 Change Product Line SYSM

CNFA02 Delete Product Line SYSM

CNFA03 Change Interface Account Number Configuration SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6 1 A A (Add Product Line) N/A

7* 15 A Product Line PRDLN

Data Import Macros and Data Dictionary 212

Page 213: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CNFA01Change Product Line

Archive Record Layout"CNFA01","","","","","C (Change Product Line)","Product Line","Description","St"

Required Transaction Fields

CNFA02Delete Product Line

Archive Record Layout"CNFA02","","","","","D (Delete Product Line)","Product Line"

Required Transaction Fields

8* 50 A Description PRDLN_DESC

9* 1 A St PRDLN_ST

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6 1 A C (Change Product Line) N/A

7* 15 A Product Line Prodln

8 50 A Description Prodln_Desc

9 1 A St Prodln_St

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6 1 A D (Delete Product Line) N/A

7* 15 A Product Line Prodln

Data Import Macros and Data Dictionary 213

Page 214: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CNFA03Change Interface Account Number ConfigurationFields #31-36 appear on the CNFA screen and in the archive file when the Summarize Cost of Goods Sold Accounts flag on SHCF (Shipping Configuration) is set to N (No).

Field #18 (Cost of Goods Sold) appears on the CNFA screen and in the archive file when the Summarize Cost of Goods Sold Accounts flag on SHCF (Shipping Configuration) is set to Y (Yes).

Archive Record Layout"CNFA03","","","","","","Product Line","Internal WIP Inv","Standard Cost Var","External WIP Inv","Overhead Variance","Cust Prod WIP Inv","Labor Variance","Cust Prod Variance","Material Usage Var","Sales","Misc Order Var","Cost of Goods Sold","Purchase Price Var","Resource Direct Lab","PO Issue Variance","Resource Var Ovhd","Manufacturing Exp","Resource Fixed Ovhd","Applied Labor","Mo Cost Change","Applied Overhead","Po Cost Change","Aac Po Var","Item Cost Change","Material COGS","Labor COGS","Var Ovvrhd COGS","Fix Ovrhd COGS","Outside COGS","COGS Rounding"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Product Line PRDLN

8 20 A Internal WIP Inv INWIP_ACCT

9 20 A Standard Cost Var STVAR_ACCT

10 20 A External WIP Inv EXWIP_ACCT

11 20 A Overhead Variance OHVAR_ACCT

12 20 A Cust Prod WIP Inv CPWIP_ACCT

13 20 A Labor Variance LBVAR_ACCT

14 20 A Cust Prod Variance CPVAR_ACCT

15 20 A Material Usage Var MUVAR_ACCT

16 20 A Sales SALES_ACCT

17 20 A Misc Order Var MISC_ACCT

18 20 A Cost of Goods Sold COGS_ACCT

19 20 A Purchase Price Var PPV_ACCT

20 20 A Resource Direct Lab RESDR_ACCT

21 20 A PO Issue Variance POVAR_ACCT

22 20 A Resource Var Ovhd RSVOH_ACCT

23 20 A Manufacturing Exp MFGEX_ACCT

24 20 A Resource Fixed Ovhd RSFOH_ACCT

25 20 A Applied Labor APLAB_ACCT

26 20 A Mo Cost Change MOCHG_ACCT

27 20 A Applied Overhead APOH_ACCT

Data Import Macros and Data Dictionary 214

Page 215: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CNFC – Cost Type Setup

CNFC Transactions

CNFC00Add Cost Type

Archive Record Layout"CNFC00","","","","","","Cost Type","Costs Added at this Level"

Required Transaction Fields

CNFC01Change Cost Type

Archive Record Layout"CNFC01","","","","","","Cost Type","Costs Added at this Level"

Required Transaction Fields

28 20 A Po Cost Change POCHG_ACCT

29 20 A Aac Po Var AACPV_ACCT

30 20 A Item Cost Change ITCHG_ACCT

31 20 A Material COGS MCOGS_Acct

32 20 A Labor COGS LCOGS_Acct

33 20 A Var Ovvrhd COGS VCOGS_Acct

34 20 A Fix Ovrhd COGS FCOGS_Acct

35 20 A Outside COGS OCOGS_Acct

36 20 A COGS Rounding RCOGS_Acct

Macro Id DescriptionMacro File

Name

CNFC00 Add Cost Type SYSM

CNFC01 Change Cost Type SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Cost Type Cost_Type

8 15 A Costs Added at this Level N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 215

Page 216: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CNFG – System Installation SetupCNFG Transactions

CNFG01Change Installation InformationThe CNFG01 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"CNFG01","","","","","","Inst'n Date","Inst'n by","System Serial No","Company Name","Addr","(addr2)","City","St","Zip","C","","Tax Exempt No","","","","Print Text on Ext Documents","","Date and Number Format","Work In Process Code",Order Lead Time,"Resource Component","Deferred Update Option","Custom Prod Pricing Method","Component Sort Basis","Last Used Invoice No","Last Used Credit Memo No","","Address Format"

Required Transaction Fields

1* 6 A (macro id) N/A

7* 1 A Cost Type Cost_Type

8 15 A Costs Added at this Level N/A

Macro Id DescriptionMacro File

Name

CNFG01 Change Installation Information SYSM

CNFG02 File Writing Configuration SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 10 D Inst'n Date N/A

8 20 A Inst'n by N/A

9 10 A System Serial No N/A

10 60 A Company Name N/A

11 60 A Addr Addr1

12 60 A (addr2) Addr2

13 15 A City City

14 10 A St State

15 12 A Zip Zip

16 15 A C Country

18 15 A Tax Exempt No Tax_Exempt

22 1 A Print Text on Ext Documents N/A

Data Import Macros and Data Dictionary 216

Page 217: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CNFG02File Writing Configuration The CNFG02 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"CNFG02","AAA","07/25/2012","007:21:37","0","C","Archive","ModcomAP","ModcomGL","ModcomIV","ModcomSA","ModcomSI","Zerotran","Archive","ModcomAP","ModcomGL","ModcomIV","ModcomSA","ModcomSI","Zerotran","ModocomAP","ModcomGL","ModcomIV"

Required Transaction Fields

24 1 A Date and Number Format N/A

25 1 A Work In Process Code N/A

26 2 N Order Lead Time N/A

27 1 A Resource Component N/A

28 1 A Deferred Update Option N/A

29 1 A Custom Prod Pricing Method Price_Mthd

30 1 A Component Sort Basis N/A

31 6 A Last Used Invoice No N/A

32 5 A Last Used Credit Memo No N/A

34 1 A Address Format N/A

Fld# Lgth Type Screen NameExport Name

1 6 A N/A N/A

7 1 A Archive Keep in Database Y/N N/A

8 1 A ModcomAP Keep in Database Y/N N/A

9 1 A ModcomGL Keep in Database Y/N N/A

10 1 A ModcomIV Keep in Database Y/N N/A

11 1 A ModcomSA Keep in Database Y/N N/A

12 1 A ModcomSI Keep in Database Y/N N/A

13 1 A Zerotran Keep in Database Y/N N/A

14 1 A Archive Write to File Y/N N/A

15 1 A ModcomAP Write to File Y/N N/A

16 1 A ModcomGL Write to File Y/N N/A

17 1 A ModcomIV Write to File Y/N N/A

18 1 A ModcomSA Write to File Y/N N/A

19 1 A ModcomSI Write to File Y/N N/A

Data Import Macros and Data Dictionary 217

Page 218: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

COAN – Customer Order Action

COAN Transactions

COAN01Change Customer Order Action Message

Archive Record Layout"COAN01","","","","","","","CO Number","Ln#","","Msg Code (old)","","","","","","Ship Date","","Ln# Sta","","","CSR","","","","","","",Remaining Required Qty,"","","","","","","","Cust Id","",,,"Rqst Ship (new)","","","","","","","","","","",""

Required Transaction Fields

COAN02

20 1 A Zerotran Write to File Y/N N/A

21 1 A ModcomGL Write to Queue Y/N N/A

22 1 A ModcomAP Write to Queue Y/N N/A

23 1 A ModcomIV Write to Queue Y/N N/A

Macro Id DescriptionMacro File

Name

COAN01 Change Customer Order Action Message CUSM

COAN02 Delete Customer Order Action Message CUSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

11* 3 A Msg Code (old) N/A

17 6 D Ship Date Ship_Date

19 1 A Ln# Sta Ln_Sta

22* 3 A CSR CSR

29 10 N Remaining Required Qty Rm_Req_Qty

37* 13 A Cust Id Cust_Id

41 6 D Rqst Ship (new) Rqst_Ship

Fld# Lgth Type Screen NameExport Name

Data Import Macros and Data Dictionary 218

Page 219: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Delete Customer Order Action Message

Archive Record Layout"COAN02","","","","","","","CO Number","Ln#","","Msg Code (old)","","","","", "","","","", "","","CSR","","","","","","",,"","","","","","","","Cust Id","",,,"","","","","","","","","","","",""

Required Transaction Fields

COCF – Order Entry Configuration

COCF01 Change Order Entry Configuration

Archive Record Layout "COCF01","","","","","","Duplicate Customer Po Notification","Credit Check Co Line","Obsolete Item Enforcement For Co Entry","Consume Customer Credit By Customer Chain",”Print CO Header Standard Text on Pick List”,”Print CO Line Standard Text on Pick List”,”Write SOP Archive Transactions”,”Calculate Promised Dock Date Based On Shop Calendar”

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

11* 3 A Msg Code (old) N/A

22* 3 A CSR CSR

37* 13 A Cust Id Cust_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Duplicate Customer Po Notifi-cation

N/A

8 1 A Credit Check Co Line N/A

9 1 A Obsolete Item Enforcement For Co Entry

N/A

10 1 A Consume Customer Credit By Customer Chain

N/A

11 1 A Print CO Header Standard Text on Pick List

N/A

12 1 A Print CO Line Standard Text on Pick List.

N/A

13 1 A Write SOP Archive Transac-tions

N/A

Data Import Macros and Data Dictionary 219

Page 220: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

COMT – Customer OrderThe COMT transactions use the following screens:

• COMT (Customer Order)

• Customer Order Header Detail

• Standard Product Detail

• Custom Product Detail

Note: The COMT transactions are not available after the SOPM Module is installed.

COMT Transactions

Customer Order Header Detail Transactions

14 1 A Calculate Promised Dock Date Based on Shop Calen-dar

N/A

Macro Id DescriptionMacro File

Name

COMT00 Add CO Header—Existing Ship to Address CUSM

COMT01 Add CO Header—New Ship to Address CUSM

Add New Customer Ship to Address

COMT02 Change CO Header—Existing Ship to Address CUSM

COMT03 Delete CO Header CUSM

COMT04 Change CO Header—New Ship to Address CUSM

COMT05 Add CO Line Item CUSM

COMT06 Change CO Line Item CUSM

COMT07 Delete CO Line Item CUSM

COMT14 Delete Customer Order Action Message—ACK (Print Order Acknowledgment)

CUSM

Macro Id DescriptionMacro File

Name

COMT08 Add New Text—CO Header CUSM

Attach Existing Text—CO Header

Change CO Header Detail

COMT12 Delete Text—CO Header CUSM

COMT90 Add Extended Text—Customer Order CUSM

Data Import Macros and Data Dictionary 220

Page 221: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Standard Product Detail Transactions

Custom Product Detail Transactions

COMT00Add CO Header—Existing Ship to Address

Archive Record Layout"COMT00","","","","","","","CO Number","Cust Id","CSR","","Ship to Id","Customer PO Number","","","","","","","","Ship Via","Frt Code","FOB","Inv/COD (old)","",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Terms",Day,Cutoff,Delay,"Ctrl Curr","","(order number from mask)","CO Ref"

Required Transaction Fields

COMT91 Change Extended Text—Customer Order CUSM

COMT92 Delete Extended Text—Customer Order CUSM

Macro Id Description Macro File

Name

COMT09 Add New Text—CO Line Item; Ln# Typ = C CUSM

Attach Existing Text—CO Line Item; Ln# Typ = C

Change CO Line Item Detail; Ln# Typ = C

COMT11 Delete Text—CO Line Item; Ln# Typ = C CUSM

COMT90 Add Extended Text—Customer Order CUSM

COMT91 Change Extended Text—Customer Order CUSM

COMT92 Delete Extended Text—Customer Order CUSM

Macro Id DescriptionMacro File

Name

COMT10 Add New Text—CO Line Item; Ln# Typ = X CUSM

Attach Existing Text—CO Line Item; Ln# Typ = X

Change CO Line Item Detail; Ln# Typ = X

COMT13 Delete Text—CO Line Item; Ln# Typ = X CUSM

COMT90 Add Extended Text—Customer Order CUSM

COMT91 Change Extended Text—Customer Order CUSM

COMT92 Delete Extended Text—Customer Order CUSM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 221

Page 222: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

COMT01Add CO Header—New Ship to Address

Add New Customer Ship to Address

Archive Record Layout"COMT01","","","","","","","CO Number","Cust Id","CSR","","Ship to Id (new)","Customer PO Number","Ship to","Addr","(addr2)","City","St","Zip","C","Ship Via","Frt Code","FOB","Inv/COD (old)","",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Terms",Day,Cutoff,Delay,"Ctrl Curr","","","CO Ref",”Contact”,”E-Mail”

Required Transaction Fields

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9 13 A Cust Id Cust_Id

10 3 A CSR CSR

12 13 A Ship to Id Ship_to_Id

13 30 A Customer PO Number Cust_PO_No

21 30 A Ship Via Ship_Via

22 1 A Frt Code Frt_Chg_Cd

23 20 A FOB FOB_Point

24 1 A Inv/COD (old) Ivc_COD

26 5 N Cash #1% Disc_Pcnt1

27 3 N Cash #1 Days Disc_Days1

28 5 N Cash #2% Disc_Pcnt2

29 3 N Cash #2 Days Disc_Days2

30 3 N Net Days Net_Days

31* 1 A Terms Pay_Term

32 2 N Day Mon_PayWen

33 2 N Cutoff Mon_Cutoff

34 2 N Delay Mon_Delay

35 1 A Ctrl Curr Ctrl_Curr

37 1 A (order number from mask) N/A - Archive only

38 30 A CO Ref Co_Ref

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9 13 A Cust Id Cust_Id

Data Import Macros and Data Dictionary 222

Page 223: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

COMT02Change CO Header—Existing Ship to Address

Archive Record Layout"COMT02","","","","","","","CO Number","Cust Id","CSR","Ship to Id (old)","","Customer PO Number","","","","","","","","Ship Via","Frt Code","FOB","Inv/COD (old)","",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Terms",Day,Cutoff,Delay,"Ctrl Curr","","","CO Ref"

Required Transaction Fields

10 3 A CSR CSR

12* 13 A Ship to Id (new) Ship_to_Id

13 30 A Customer PO Number Cust_PO_No

14 60 A Ship to Ship_to_Nm

15 60 A Addr Addr1

16 60 A (addr2) Addr2

17 15 A City City

18 10 A St State

19 12 A Zip Zip

20 15 A C Country

21 30 A Ship Via Ship_Via

22 1 A Frt Code Frt_Chg_Cd

23 20 A FOB FOB_Point

24 1 A Inv/COD (old) Ivc_COD

26 5 N Cash #1% Disc_Pcnt1

27 3 N Cash #1 Days Disc_Days1

28 5 N Cash #2% Disc_Pcnt2

29 3 N Cash #2 Days Disc_Days2

30 3 N Net Days Net_Days

31* 1 A Terms Pay_Term

32 2 N Day Mon_PayWen

33 2 N Cutoff Mon_Cutoff

34 2 N Delay Mon_Delay

35 1 A Ctrl Curr Ctrl_Curr

38 30 A CO Ref Co_Ref

39 40 A Contact N/A

40 50 A E-Mail N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 223

Page 224: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

COMT03Delete CO Header

Archive Record Layout"COMT03","","","","","","","CO Number","","","","","","","","","","","","","","","","","",,,,,,"",,,,"",""

Required Transaction Fields

COMT04Change CO Header—New Ship to Address

Archive Record Layout

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9 13 A Cust Id Cust_Id

10 3 A CSR CSR

11 13 A Ship to Id (old) Ship_to_Id

13 30 A Customer PO Number Cust_PO_No

21 30 A Ship Via Ship_Via

22 1 A Frt Code Frt_Chg_Cd

23 20 A FOB FOB_Point

24 1 A Inv/COD (old) Ivc_COD

26 5 N Cash #1% Disc_Pcnt1

27 3 N Cash #1 Days Disc_Days1

28 5 N Cash #2% Disc_Pcnt2

29 3 N Cash #2 Days Disc_Days2

30 3 N Net Days Net_Days

31* 1 A Terms Pay_Term

32 2 N Day Mon_PayWen

33 2 N Cutoff Mon_Cutoff

34 2 N Delay Mon_Delay

35 1 A Ctrl Curr Ctrl_Curr

38 30 A CO Ref Co_Ref

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

Data Import Macros and Data Dictionary 224

Page 225: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

"COMT04","","","","","","","CO Number","Cust Id","CSR","","Ship to Id (new)","Customer PO Number","Ship to","Addr","(addr2)","City","St","Zip","C","Ship Via","Frt Code","FOB","Inv/COD (old)","",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Terms",Day,Cutoff,Delay,"Ctrl Curr","","","CO Ref",”Contact”,”E-Mail”

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9 13 A Cust Id Cust_Id

10 3 A CSR CSR

12* 13 A Ship to Id (new) Ship_to_Id

13 30 A Customer PO Number Cust_PO_No

14 60 A Ship to Ship_to_Nm

15 60 A Addr Addr1

16 60 A (addr2) Addr2

17 15 A City City

18 10 A St State

19 12 A Zip Zip

20 15 A C Country

21 30 A Ship Via Ship_Via

22 1 A Frt Code Frt_Chg_Cd

23 20 A FOB FOB_Point

24 1 A Inv/COD (old) Ivc_COD

26 5 N Cash #1% Disc_Pcnt1

27 3 N Cash #1 Days Disc_Days1

28 5 N Cash #2% Disc_Pcnt2

29 3 N Cash #2 Days Disc_Days2

30 3 N Net Days Net_Days

31 1 A Terms Pay_Term

32 2 N Day Mon_PayWen

33 2 N Cutoff Mon_Cutoff

34 2 N Delay Mon_Delay

35 1 A Ctrl Curr Ctrl_Curr

38 30 A CO Ref Co_Ref

39 40 A Contact N/A

40 20 A E-Mail N/A

Data Import Macros and Data Dictionary 225

Page 226: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

COMT05Add CO Line Item

Archive Record Layout"COMT05","","","","","","","CO Number","Ln#","Item","","Ln# Typ","Customer Item (COS2)","Customer Item UM (COS2)",,"UM","Prom Dlvry","Tr LT","Ln# Sta",Unit Price,"",Customer Item Order Qty (COS2),"","","","","","","","","LS","","","","", "","","",Order Qty (new),,"","","RF (new)","","ST (new)","","","","","","","","","","","","","","","Catalog Item","Add Ex Rate","","Ctrl Curr"

Required Transaction Fields

Note: When you add a catalog item to the customer order, Field# 20 is also required.

COMT06Change CO Line Item

Archive Record Layout

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9 3 A Ln# Ln_No

10 30 A Item Item

12 1 A Ln# Typ Ln_Typ

13 30 A Customer Item (COS2) Cust_Item

14 4 A Customer Item UM (COS2) CI_UM

16 4 A UM UM

17 6 D Prom Dlvry Prom_Dlvry

18 2 A Tr LT Tr_LT

19 1 A Ln# Sta Ln_Sta

20 16 N Unit Price Unit_Price

22 10 N Customer Item Order Qty (COS2)

N/A

31 1 A LS LS

39 10 N Order Qty (new) Order_Qty

43 1 A RF (new) RF

45 1 A ST (new) Src_Type

61 30 A Catalog Item Cat_Item

62 11 A Add Ex Rate Add_Ex_Rat

64* 1 A Ctrl Curr Ctrl_Curr

Data Import Macros and Data Dictionary 226

Page 227: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

"COMT06","","","","","","","CO Number","Ln#","","","","","",,"","Prom Dlvry","Tr LT","Ln# Sta",Unit Price,"",,"","","","","","","","","","","","","","","","",Order Qty (new),,"","","","","ST (new)","","","","","","","","","","","","","","","","","","","Ctrl Curr"

Required Transaction Fields

COMT07Delete CO Line Item

Archive Record Layout"COMT07","","","","","","","CO Number","Ln#","","","","","",,"","","","",,"",,"","","","","","","","","","","","","","","","",,,"","","","","","","","","","","","","","","","","","","","","","","",""

Required Transaction Fields

COMT08Add New Text—CO Header

Attach Existing Text—CO Header

Change CO Header Detail

Archive Record Layout"COMT08","","","","","","","CO Number","Price Adjustment S/D",Price Adjustment %,"Commission Code","Sales Category 1","Sales Category 2","Default Tax Exempt Reason","Certificate No/VAT Id","Fed Tax Code/Primary VAT Code","St Tax Code/Secondary VAT Code","Cnty Tax Code","Muni Tax Code","Text No","(text line1)","(text line2)","(text line3)","(text line4)",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

17 6 D Prom Dlvry Prom_Dlvry

18 2 A Tr LT Tr_LT

19 1 A Ln# Sta Ln_Sta

20 16 N Unit Price Unit_Price

39 10 N Order Qty (new) Order_Qty

45 1 A ST (new) Src_Type

64* 1 A Ctrl Curr Ctrl_Curr

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Data Import Macros and Data Dictionary 227

Page 228: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Required Transaction Fields

COMT09Add New Text—CO Line Item; Ln# Typ = C

Attach Existing Text—CO Line Item; Ln# Typ = C

Change CO Line Item Detail; Ln# Typ = C

Archive Record Layout"COMT09","","","","","","","CO Number","Ln#","","(update customer item price y/n)","","Customer Item","Customer Item UM",Customer Item Conv,"","","","",,"",Customer Item Order Qty,Customer Item Unit Price,"Customer Item Description","Customer Item Tr LT","Reqst Dlvry","","","","","","","","","Commission Code","Ovr","","",,,"","","","","","","Tax Exempt Fed","Tax Exempt State","Tax Exempt County","Tax Exempt Muni","Price Adjustment S/D",Price Adjustment %,"Text No","(text line1)","(text line2)","(text line3)","(text line4)","Cust PO Ln#","Primary VAT Exempt","Secondary VAT Exempt","","(Operator (/ or *) and Exchange Rate (new)","","Controlling Code (L, F, or R)","(exchange rate toggle flag)"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9 1 A Price Adjustment S/D Price_Adj

10 5 N Price Adjustment % Price_Adj

11 3 A Commission Code Com_Code

12 3 A Sales Category 1 Sales_Cat1

13 3 A Sales Category 2 Sales_Cat2

14 1 A Default Tax Exempt Reason Exempt

15 20 A Certificate No/VAT Id Cert_No; Tax_Id_Num

16 2 A Fed Tax Code; Primary VAT Code

Tax_Code_F; P_VAT_Code

17 2 A St Tax Code; Secondary VAT Code

Tax_Code_S; S_VAT_Code

18 3 A Cnty Tax Code Tax_Code_C

19 3 A Muni Tax Code Tax_Code_M

20 6 A Text No Text_No

21 60 A (text line1) Text_Line1

22 60 A (text line2) Text_Line2

23 60 A (text line3) Text_Line3

24 60 A (text line4) Text_Line4

Data Import Macros and Data Dictionary 228

Page 229: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

11* 1 A (update customer item price y/n)

N/A

13 30 A Customer Item Cust_Item

14 4 A Customer Item UM CI_UM

15 6 N Customer Item Conv CI_UM_Cnvt

22 10 N Customer Item Order Qty CI_OrdQty

23 16 N Customer Item Unit Price Quot_Price

24 70 A Customer Item Description CI_Desc

25 2 A Customer Item Tr LT CI_Tr_LT

26 6 D Reqst Dlvry Rqst_Dlvry

35 3 A Commission Code Com_Code

36 1 A Ovr Ovr

47 2 A Tax Exempt Fed Exempt_F

48 2 A Tax Exempt State Exempt_S

49 3 A Tax Exempt County Exempt_C

50 3 A Tax Exempt Muni Exempt_M

51 1 A Price Adjustment S/D Price_Adj

52 5 N Price Adjustment % Price_Adj

53 6 A Text No Text_No

54* 60 A (text line1) Text_Line1

55* 60 A (text line2) Text_Line2

56* 60 A (text line3) Text_Line3

57* 60 A (text line4) Text_Line4

58 10 A Cust PO Ln# Cust_PO_Ln

59 1 A Primary VAT Exempt Exempt_V1

60 1 A Secondary VAT Exempt Exempt_V2

62 11 A Operator (/ or *) and Exchange Rate (new)

N/A

64* 1 A Controlling Code (L, F, or R) Ctrl_Curr

65* 1 A (exchange rate toggle flag) N/A

Data Import Macros and Data Dictionary 229

Page 230: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

If a price exists for a customer item, the Field 11 (update customer item price y/n) value is used to respond to a message displayed by the screen to request more information. If no value is specified for Field 11, an N value is assumed which is the screen default value.

Field 65, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

COMT10Add New Text—CO Line Item; Ln# Typ = X

Attach Existing Text—CO Line Item; Ln# Typ = X

Change CO Line Item Detail; Ln# Typ = X

Archive Record Layout"COMT10","","","","","","","CO Number","Ln#","","","","","","","","","","",,"Reqst Dlvry","Buyr","Plnr",On Hand Qty,"On Hand Stk","On Hand Bin","","","","","","","","","Commission Code","Ovr","","",,,"","","","","","","Tax Exempt Fed","Tax Exempt State","Tax Exempt County","Tax Exempt Muni","Price Adjustment S/D",Price Adjustment %,"Cust Item","Cust Item Descr",Cust Item Price,"Cust Item Tr LT","Cust Item CO Rev","Inv","WIP","","Text No","(text line1)","(text line2)","(text line3)","(text line4)","Cust PO Ln#","Primary VAT Exempt","Secondary VAT Exempt","","Operator (/ or *) and Exchange Rate (new)","","Controlling Code (L, F, or R)","(exchange rate toggle flag)"

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

21 6 D Reqst Dlvry Rqst_Dlvry

22 3 A Buyr Buyr

23 3 A Plnr Plnr

24 10 N On Hand Qty OHnd_Qty

25 6 A On Hand Stk Stk

26 12 A On Hand Bin Bin

35 3 A Commission Code Com_Code

36 1 A Ovr Ovr

Data Import Macros and Data Dictionary 230

Page 231: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Field 73, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

COMT11

47 1 A Tax Exempt Fed Exempt_F

48 1 A Tax Exempt State Exempt_S

49 1 A Tax Exempt County Exempt_S

50 1 A Tax Exempt Muni Exempt_M

51 1 A Price Adjustment S/D Price_Adj

52 5 N Price Adjustment % Price_Adj

53 30 A Cust Item Cust_Item

54 70 A Cust Item Descr CI_Desc

55 10 N Cust Item Price Quot_Price

56 2 A Cust Item Tr LT CI_Tr_LT

57 2 A Cust Item CO Rev CI_Rev_Lvl

58 20 A Inv CP_Inv_Act

59 20 A WIP CP_WIP_Act

61 6 A Text No Text_No

62* 60 A (text line1) Text_Line1

63* 60 A (text line2) Text_Line2

64* 60 A (text line3) Text_Line3

65* 60 A (text line4) Text_Line4

66 10 A Cust PO Ln# Cust_PO_Ln

67 1 A Primary VAT Exempt Exempt_V1

68 1 A Secondary VAT Exempt Exempt_V2

70 11 A Operator (/ or *) and Exchange Rate (new)

N/A

72* 1 A Controlling Code (L, F, or R) Ctrl_Curr

73* 1 A (exchange rate toggle flag) N/A

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 231

Page 232: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Delete Text—CO Line Item; Ln# Typ = C

Archive Record Layout"COMT11","","","","","","","CO Number","Ln#","","","","","",,"","","","",,"",,,"","","","","","","","","","","","","","","",,,"","","","","","","","","","","",,"","","","","","","","","","","",""

Required Transaction Fields

COMT12Delete Text—CO Header

Archive Record Layout"COMT12","","","","","","","CO Number","",,"","","","","","","","","","","","","","",""

Required Transaction Fields

COMT13Delete Text—CO Line Item; Ln# Typ = X

Archive Record Layout"COMT13","","","","","","","CO Number","Ln#","","","","","","","","","","",,"","","",,"","","","","","","","","","","","","","",,,"","","","","","","","","","","",,"","",,"","","","","","","","","","","","","","","",""

Required Transaction Fields

COMT14Delete Customer Order Action Message—ACK (Print Order Acknowledgement)The COMT14 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Data Import Macros and Data Dictionary 232

Page 233: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

documents or used for further EDI processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"COMT14","","","","","","","CO Number","(print option)",""

Required Transaction Fields

(print option) identifies the type of action taken for an order acknowledgement requirement including:

COMT90Add Extended Text—Customer Order

Note: Extended text messages can be added to both the Header section of a customer order as well as to each line on the order. The Ln# field must be empty (null) to update the extended text message for the Header section.

Archive Record Layout"COMT90","","","","","","","(text entry type)","(page number)","","CO Number","Ln#","","Text Message"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

10* 1 A (print option) N/A

Print Option Description

O print standard order acknowledgement (EDIM Module not installed)

P print standard order acknowledgement (EDIM Module installed)

B mark for brief EDI transmission

D mark for EDI transmission detail

N mark for negative EDI transmission

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 30 A CO Number CO_Number

12 3 A Ln# Ln#

14 890 A Text Message Ext_Text

Data Import Macros and Data Dictionary 233

Page 234: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Several codes are used when importing text with special characters.

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

COMT91Change Extended Text—Customer Order

Note: Extended text messages can be added to both the Header section of a customer order as well as to each line on the order. The Ln# field must be empty (null) to update the extended text message for the Header section.

Archive Record Layout"COMT91","","","","","","","(text entry type)","(page number)","","CO Number","Ln#","","Text Message"

Required Transaction Fields

Several codes are used when importing text with special characters.

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 30 A CO Number CO_Number

12 3 A Ln# Ln#

14 890 A Text Message Ext_Text

ASCII Character Used For

Data Import Macros and Data Dictionary 234

Page 235: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

COMT92Delete Extended Text—Customer Order

Note: Extended text messages can be deleted for the Header section of a customer order as well as for each line on the order. The Ln# field must be empty (null) to update the extended text message for the Header section.

Archive Record Layout"COMT92","","","","","","","(text entry type)","(page number)","","CO Number","Ln#","","Text Message"

Required Transaction Fields

Several codes are used when importing text with special characters.

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 30 A CO Number CO_Number

12 3 A Ln# Ln#

14 890 A Text Message Ext_Text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

Data Import Macros and Data Dictionary 235

Page 236: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

CORV – CO Receipt/Reverse Ln# SelectionThe CORV transactions use the following screens and window:

• CORV (CO Receipt/Reverse Ln# Selection)

• Customer Order Receipt/Reverse (receipt)

• Customer Order Receipt/Reverse (reverse receipt)

• Item Lot Receipt window

CORV Transactions

Note: The CORV screens vary based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed, the Lot field is displayed.

Customer Order Receipt/Reverse TransactionsReceipt Transactions

029 Blank space as the last character in the message line

031 Manual line break within text message

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Macro Id DescriptionMacro File

Name

CORV01 Change CP Order Status; Ln# Typ = B CPMM

Change CP Order Status; Ln# Typ = U CPMM

Macro Id DescriptionMacro File

Name

CORV02 Receive CP Line Item (location closed); Ln# Typ = X CPMM

CORV03 Receive CP Line Item (location open); Ln# Typ = X CPMM

Data Import Macros and Data Dictionary 236

Page 237: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Reverse Receipt Transactions

When the LOTM (Lot Trace/Serialization) Module is installed, the Item Lot Receipt window is used to record additional receipt information for the transaction.

CORV01Change CP Order Status; Ln# Typ = B

Change CP Order Status; Ln# Typ = U

Archive Record Layout"CORV01","","","","","","","CO Number","Ln#",,"","Ln# Sta","Ln# Typ","Item","","",""

Required Transaction Fields

CORV02Receive CP Line Item (location closed); Ln# Typ = XThe CORV02 transaction is created by the system for subsequent receipts of a customer order after the initial receipt. The CORV03 transaction is created for the initial receipt. You may wish to use the CORV10 transaction for import processing because external applications will not need to determine if this is a subsequent receipt.

Archive Record Layout"CORV02","","","","","","CO Number","Ln#","Receiving Type",Quantity Recvd,"UM",Move Qty,"Stk","Bin","",,"",,"","","",,"",,"","","",,"","","Ln# Typ",,,"","","Remark","","Item",,"","","(new lot Y/N)","Lot Assign Policy (ITM5)","Dflt Lot (ITM5)","Lot Description","Vendor Lot","Mfg

CORV05 Receive CP Line Item; Ln# Typ = B CPMM

Receive CP Line Item; Ln# Typ = U

CORV10 Receive CP Line Item (location open or closed); Ln# Typ = X CPMM

Macro Id DescriptionMacro File

Name

CORV04 Reverse Receive CP Line Item; Ln# Typ = X CPMM

CORV06 Reverse Receive CP Line Item; Ln# Typ = B CPMM

Reverse Receive CP Line Item; Ln# Typ = U CPMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

12 1 A Ln# Sta Ln_Sta

13* 1 A Ln# Typ Ln_Typ

14* 30 A Item Item

Data Import Macros and Data Dictionary 237

Page 238: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Date","Availability Date","Retest Date","Expiration Date","Rev",Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity Recvd Qty_Recvd

11 4 A UM UM

12 10 N Move Qty Move_Qty1

13 6 A Stk Stk1

14 12 A Bin Bin1

31* 1 A Ln# Typ Ln_Typ

36 59 A Remark Remark

38* 30 A Item Item

42 1 A (new lot Y/N) N/A

43* 1 A Lot Assign Policy (ITM5) N/A

44 20 A Dflt Lot (ITM5) Dflt_Lot

45 35 A Lot Description Lot_Desc

46 20 A Vendor Lot Vend_Lot

47 6 D Mfg Date Mfg_Date

48 6 D Availability Date Avail_Dt

49 6 D Retest Date Retest_Dt

50 6 D Expiration Date Expir_Dt

51 2 A Rev Rev

52 10 N Current Potency % N/A

53 1 A Usr Def 1 D_Usr_Df1

54 1 A Usr Def 2 D_Usr_Df2

55 1 A Usr Def 3 D_Usr_Df3

56 1 A Usr Def 4 D_Usr_Df4

57 10 A Usr Def 5 D_Usr_Df5

58 10 A Usr Def 6 D_Usr_Df6

59 10 A Usr Def 7 D_Usr_Df7

Data Import Macros and Data Dictionary 238

Page 239: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

The (new lot Y/N) field is required if the LOTM (Lot Trace/Serialization) Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

CORV03Receive CP Line Item (location open); Ln# Typ = XThe CORV03 transaction is created by the system for the first receipt of the customer order. You may wish to use the CORV10 transaction for import processing because external applications will not need to determine if this is the first receipt or not.

Archive Record Layout"CORV03","","","","","","CO Number","Ln#","Receiving Type",Quantity Recvd,"UM",Move Qty,"Stk","Bin","",,"",,"","","",,"",,"","","",,"","","Ln# Typ",,,"","","Remark","","Item",,"","","(new lot Y/N)","Lot Assign Policy (ITM5)","Dflt Lot (ITM5)","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev",Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

60 10 A Usr Def 8 D_Usr_Df8

61 20 A Usr Def 9 D_Usr_Df9

62 20 A Usr Def 10 D_Usr_Df10

63 20 A Usr Def 11 D_Usr_Df11

64 20 A Usr Def 12 D_Usr_Df12

65 6 A Text No Text_No

66 60 A (text line1) Text_Line1

67 60 A (text line2) Text_Line2

68 60 A (text line3) Text_Line3

69 60 A (text line4) Text_Line4

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

Null item is not lot-traced

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

Data Import Macros and Data Dictionary 239

Page 240: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

10 10 N Quantity Recvd Qty_Recvd

11 4 A UM UM

12 10 N Move Qty Move_Qty1

13* 6 A Stk Stk1

14 12 A Bin Bin1

31* 1 A Ln# Typ Ln_Typ

36 59 A Remark Remark

38* 30 A Item Item

42 1 A (new lot Y/N) N/A

43* 1 A Lot Assign Policy (ITM5) N/A

44 20 A Dflt Lot (ITM5) Dflt_Lot

45 35 A Lot Description Lot_Desc

46 20 A Vendor Lot Vend_Lot

47 6 D Mfg Date Mfg_Date

48 6 D Availability Date Avail_Dt

49 6 D Retest Date Retest_Dt

50 6 D Expiration Date Expir_Dt

51 2 A Rev Rev

52 10 N Current Potency % N/A

53 1 A Usr Def 1 D_Usr_Df1

54 1 A Usr Def 2 D_Usr_Df2

55 1 A Usr Def 3 D_Usr_Df3

56 1 A Usr Def 4 D_Usr_Df4

57 10 A Usr Def 5 D_Usr_Df5

58 10 A Usr Def 6 D_Usr_Df6

59 10 A Usr Def 7 D_Usr_Df7

60 10 A Usr Def 8 D_Usr_Df8

61 20 A Usr Def 9 D_Usr_Df9

62 20 A Usr Def 10 D_Usr_Df10

63 20 A Usr Def 11 D_Usr_Df11

64 20 A Usr Def 12 D_Usr_Df12

65 6 A Text No Text_No

66 60 A (text line1) Text_Line1

67 60 A (text line2) Text_Line2

68 60 A (text line3) Text_Line3

69 60 A (text line4) Text_Line4

Data Import Macros and Data Dictionary 240

Page 241: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

The (new lot Y/N) field is required if the LOTM (Lot Trace/Serialization) Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

CORV04Reverse Receive CP Line Item; Ln# Typ = X

Archive Record Layout"CORV04","","","","","","CO Number","Ln#","Receiving Type",Quantity to Reverse,"UM",Qty by Loc,"","","",,"Insp Code",,"","","",,"",,"","","",,"","","Ln# Typ",,,"","","Remark","","Item",,"","","","","","","","","","","","",,"","","","","","","","","","","","","","","","",""

Required Transaction Fields

CORV05Receive CP Line Item; Ln# Typ = B

Receive CP Line Item; Ln# Typ = U

Archive Record Layout"CORV05","","","","","","CO Number","Ln#","Receiving Type",Quantity Recvd,"UM",Move Qty,"Stk","Bin","IC",,"Insp Code",Move Qty, "Stk","Bin","IC",,"Insp Code",Move Qty,"Stk","Bin","IC",,"Insp Code","", "Ln# Typ",,,"","Line Item Closure Requested","Remark","","Item",,"","","(new lot Y/N)","Lot Assign Policy (ITM5)","Dflt Lot (ITM5)","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev",Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

Null item is not lot-traced

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity to Reverse Qty_2_Rvrs

11 4 A UM UM

12 10 N Qty by Loc Rvrsd_Qty1

17 1 A Insp Code Insp_Code1

31* 1 A Ln# Typ Ln_Typ

36 59 A Remark Remark

38* 30 A Item Item

Data Import Macros and Data Dictionary 241

Page 242: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity Recvd Qty_Recvd

11 4 A UM UM

12 10 N Move Qty Move_Qty1

13 6 A Stk Stk1

14 12 A Bin Vin1

15 1 A IC Inv_Cd1

17 1 A Insp Code Insp_Code1

18 10 N Move Qty Move_Qty2

19 6 A Stk Stk2

20 12 A Bin Bin2

21 1 A IC Inv_Cd2

23 1 A Insp Code Insp_Code2

24 10 N Move Qty Move_Qty3

25 6 A Stk Stk3

26 12 A Bin Bin3

27 1 A IC Inv_Cd3

29 1 A Insp Code Insp_Code3

31* 1 A Ln# Typ Ln_Typ

35 1 A Line Item Closure Requested Close_Rqst

36 59 A Remark Remark

38* 30 A Item Item

42 1 A (new lot Y/N) N/A

43* 1 A Lot Assign Policy (ITM5) N/A

44 20 A Dflt Lot (ITM5) Dflt_Lot

45 35 A Lot Description Lot_Desc

46 20 A Vendor Lot Vend_Lot

47 6 D Mfg Date Mfg_Date

48 6 D Availability Date Avail_Dt

Data Import Macros and Data Dictionary 242

Page 243: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

The (new lot Y/N) field is required if the LOTM (Lot Trace/Serialization) Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

CORV06Reverse Receive CP Line Item; Ln# Typ = B

Reverse Receive CP Line Item; Ln# Typ = U

Archive Record Layout"CORV06","","","","","","CO Number","Ln#","Receiving Type",Quantity to Reverse,"UM",Qty by Loc,"Stk","Bin","IC",,"Insp Code",Qty by Loc,"Stk","Bin","IC",,"Insp Code",Qty by

49 6 D Retest Date Retest_Dt

50 6 D Expiration Date Expir_Dt

51 2 A Rev Rev

52 10 N Current Potency % N/A

53 1 A Usr Def 1 D_Usr_Df1

54 1 A Usr Def 2 D_Usr_Df2

55 1 A Usr Def 3 D_Usr_Df3

56 1 A Usr Def 4 D_Usr_Df4

57 10 A Usr Def 5 D_Usr_Df5

58 10 A Usr Def 6 D_Usr_Df6

59 10 A Usr Def 7 D_Usr_Df7

60 10 A Usr Def 8 D_Usr_Df8

61 20 A Usr Def 9 D_Usr_Df9

62 20 A Usr Def 10 D_Usr_Df10

63 20 A Usr Def 11 D_Usr_Df11

64 20 A Usr Def 12 D_Usr_Df12

65 6 A Text No Text_No

66 60 A (text line1) Text_Line1

67 60 A (text line2) Text_Line2

68 60 A (text line3) Text_Line3

69 60 A (text line4) Text_Line4

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

Null item is not lot-traced

Data Import Macros and Data Dictionary 243

Page 244: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Loc,"Stk","Bin","IC",,"Insp Code","","Ln# Typ",,,"","Line Item Closure Requested","Remark","","Item",,"","Lot","(new lot Y/N)","","","","","","","","","",,"","","","","","","","","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity to Reverse Qty_2_Rvrs

11 4 A UM UM

12 10 N Qty by Loc Rvrsd_Qty1

13 6 A Stk Stk1

14 12 A Bin Bin1

15 1 A IC Inv_Cd1

17 1 A Insp Code Insp_Code1

18 10 N Qty by Loc Rvrsd_Qty2

19 6 A Stk Stk2

20 12 A Bin Bin2

21 1 A IC Inv_Cd2

23 1 A Insp Code Insp_Code2

24 10 N Qty by Loc Rvrsd_Qty3

25 6 A Stk Stk3

26 12 A Bin Bin3

27 1 A IC Inv_Cd3

29 1 A Insp Code Insp_Code3

31* 1 A Ln# Typ Ln_Typ

35 1 A Line Item Closure Requested Close_Rqst

36 59 A Remark Remark

38* 30 A Item Item

41 20 A Lot Lot

42* 1 A (new lot Y/N) N/A

Data Import Macros and Data Dictionary 244

Page 245: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

The (new lot Y/N) field is required if the LOTM (Lot Trace/Serialization) Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

CORV10Receive CP Line Item (location open or closed); Ln# Typ = XThe CORV10 transaction automatically determines whether this is the first receipt or a subsequent receipt for the customer order. You may wish to use the CORV10 transaction for import processing because external applications will not need to make this determination.

The CORV10 transaction is not created by the CORV screen. It is used only for data import purposes.

Archive Record Layout"CORV10","","","","","","CO Number","Ln#","Receiving Type",Quantity Recvd,"UM",Move Qty,"Stk","Bin","",,"",,"","","",,"",,"","","",,"","","Ln# Typ",,,"","","Remark","","Item",,"","","(new lot Y/N)","Lot Assign Policy (ITM5)","Dflt Lot (ITM5)","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev",Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

Null item is not lot-traced

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity Recvd Qty_Recvd

11 4 A UM UM

12 10 N Move Qty Move_Qty1

13* 6 A Stk Stk1

14 12 A Bin Bin1

31* 1 A Ln# Typ Ln_Typ

36 59 A Remark Remark

38* 30 A Item Item

42 1 A (new lot Y/N) N/A

43* 1 A Lot Assign Policy (ITM5) N/A

Data Import Macros and Data Dictionary 245

Page 246: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

The (new lot Y/N) field is required if the LOTM (Lot Trace/Serialization) Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

44 20 A Dflt Lot (ITM5) Dflt_Lot

45 35 A Lot Description Lot_Desc

46 20 A Vendor Lot Vend_Lot

47 6 D Mfg Date Mfg_Date

48 6 D Availability Date Avail_Dt

49 6 D Retest Date Retest_Dt

50 6 D Expiration Date Expir_Dt

51 2 A Rev Rev

52 10 N Current Potency % N/A

53 1 A Usr Def 1 D_Usr_Df1

54 1 A Usr Def 2 D_Usr_Df2

55 1 A Usr Def 3 D_Usr_Df3

56 1 A Usr Def 4 D_Usr_Df4

57 10 A Usr Def 5 D_Usr_Df5

58 10 A Usr Def 6 D_Usr_Df6

59 10 A Usr Def 7 D_Usr_Df7

60 10 A Usr Def 8 D_Usr_Df8

61 20 A Usr Def 9 D_Usr_Df9

62 20 A Usr Def 10 D_Usr_Df10

63 20 A Usr Def 11 D_Usr_Df11

64 20 A Usr Def 12 D_Usr_Df12

65 6 A Text No Text_No

66 60 A (text line1) Text_Line1

67 60 A (text line2) Text_Line2

68 60 A (text line3) Text_Line3

69 60 A (text line4) Text_Line4

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

Null item is not lot-traced

Data Import Macros and Data Dictionary 246

Page 247: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CPBK – Copy Price Book

CPBK Transactions

CPBK00Copy Price Book

Archive Record Layout"CPBK00","","","","","","From Price Book","To Price Book"

Required Transaction Fields

CPMT – Custom Product MaintenanceThe CPMT transactions use the following screens:

• CPMT (Custom Product Maintenance)

• Custom Product Detail

• Custom Product Component Detail

CPMT Transactions

Macro Id DescriptionMacro File

Name

CPBK00 Copy Price Book APBM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 15 A From Price Book Price_Book

8 15 A To Price Book Price_Book

Macro Id DescriptionMacro File

Name

CPMT01 Change CP Order Header CPMM

CPMT02 Add Component to Custom Configuration CPMM

CPMT03 Change Component on Custom Configuration CPMM

CPMT04 Delete Component from Custom Configuration CPMM

CPMT05 Reschedule Operations; CP Order CPMM

CPMT10 Delete Planner Action Message—PMO (Print Manufacturing Order); CP Order

CPMM

CPMT11 Change Total Unit Cost CPMM

Data Import Macros and Data Dictionary 247

Page 248: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Custom Product Detail Transactions

Custom Product Component Detail Transactions

CPMT01Change CP Order Header

Archive Record Layout"CPMT01","","","","","","","CO Number","Ln#",Markup,"Supply Start Date","Supply Due Date","Supply Ln# Sta","(reschedule operations y/n)",""

Required Transaction Fields

CPMT02Add Component to Custom Configuration

Macro Id DescriptionMacro File

Name

CPMT06 Add New Text—CP Order Header CPMM

Attach Existing Text—CP Order Header

Change CP Order Header Detail

CPMT07 Delete Text—CP Order Header CPMM

Macro Id DescriptionMacro File

Name

CPMT08 Add New Text—Component on Custom Configuration CPMM

Attach Existing Text—Component on Custom Configuration

Change CP Component Detail

CPMT09 Delete Text—Component on Custom Configuration CPMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

10 3 N Markup N/A

11 6 D Supply Start Date SupplyStrt

12 6 D Supply Due Date SupplyDate

13* 1 A Supply Ln# Sta Ln_Sta

14* 1 A (reschedule operations y/n) N/A

Data Import Macros and Data Dictionary 248

Page 249: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Archive Record Layout"CPMT02","","","","","","","CO Number","Ln#","Component/Resource/WC#","","","","","","UM","","","",Unit Cost/Unit Price,"","Seq","Typ","QT/LT (new)","Start Date","","","",Quantity,"Pt Use","","","","","","","","",,,"Due Date (new)","","RF (new)","","","","(backschedule y/n/r)","Component Sort Basis (CNFG)","QT/LT (old)","","","",""

Required Transaction Fields

Field 30Consider the following when determining the value to use for field 30. The Pt Use field assigned automatically when you use the CPMT screen for standard data entry varies depending on the component type. The Pt Use field can be changed later using the Custom Product Component Detail screen.

• Material components are assigned Pt Use = CUSTM.

• Operations (Typ = R or W) are assigned a 4-digit Pt Use field as follows:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

10 15 A Component/Resource/WC# Component; Comp_WC; WC_Id

16 4 A UM UM

20 17 N Unit Cost/Unit Price Unit_Cost; Unit_Price

22 3 A Seq Seqn

23* 1 A Typ Typ

24 1 A QT/LT (new) Qty_Typ

25 6 D Start Date Start_Date

29 10 N Quantity Quantity

30* 5 A Pt Use (CPM2) Pt_Use

41 6 D Due Date (new) Due_Date

43 1 A RF (new) RF

47* 1 A (backschedule y/n/r) N/A

48* 1 A Component Sort Basis (CNFG)

Cmpnt_Sort

49* 1 A QT/LT (old) Qty_Typ

Pt Use Character Position Field Represented

1, 2 and 3 Seq

4 QT/LT

Data Import Macros and Data Dictionary 249

Page 250: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Each QT/LT has a corresponding digit. In this way, the operations are sequenced in the order in which they are typically performed:

For example, a per-order operation with Seq = 010 is assigned Pt Use 0101. The Pt Use field cannot be maintained for operations.

Field 47If set to R, execute a CTRL-ENTER at the end of processing. This allows an IMPORT template for these transactions without requiring a CPMT05 for the CTRL-ENTER.

CPMT03Change Component on Custom Configuration

Archive Record Layout"CPMT03","","","","","","","CO Number","Ln#","Component/Resource/WC#","","","","","","","","","",Unit Cost/Unit Price,"","Seq","Typ","QT/LT (new)","Start Date","","","",Quantity,"","","","","","", "","","",,,"Due Date (new)","","RF (new)","RF (old)","","","(backschedule y/n/r)","Component Sort Basis (CNFG)","QT/LT (old)","","","",""

Required Transaction Fields

5 (blank)

QT/LT Digit Description

O 1 Per order

S 2 Setup

I 3 Per item

R 4 Run

P 5 Pieces

M 6 Move

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

10* 15 A Component/Resource/WC# Component; Comp_WC; WC_Id

20 17 N Unit Cost/Unit Price Unit_Cost; Unit_Price

22* 3 A Seq Seqn

23* 1 A Typ Typ

24 1 A QT/LT (new) Qty_Typ

25 6 D Start Date Start_Date

Data Import Macros and Data Dictionary 250

Page 251: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Field 47If set to R, execute a CTRL-ENTER at the end of processing. This allows an IMPORT template for these transactions without requiring a CPMT05 for the CTRL-ENTER.

Field 54If set to 1, indicates the START DATE is closed . If set to 2, indicates START DATE is to be opened. This is for Work Center items only.

CPMT04Delete Component from Custom Configuration

Archive Record Layout"CPMT04","","","","","","","CO Number","Ln#","Component/Resource/WC#","","","","","","","","","",,"","Seq","Typ","","","","","",,"","","","","","","","","",,,"","","RF (new)","","","","","Component Sort Basis (CNFG)","QT/LT (old)","","","",""

Required Transaction Fields

CPMT05

29 10 N Quantity Quantity

41 6 D Due Date (new) Due_Date

43 1 A RF (new) RF

44 1 A RF (old) RF

47* 1 A (backschedule y/n/r) N/A

48* 1 A Component Sort Basis (CNFG)

Cmpnt_Sort

49* 1 A QT/LT (old) Qty_Typ

54* 1 A Resource Component (CNFG)

Rsrc_Plcy

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

10* 15 A Component/Resource/WC# Component; Comp_WC; WC_Id

22* 3 A Seq Seqn

23* 1 A Typ Typ

43 1 A RF (new) RF

48* 1 A Component Sort Basis (CNFG)

Cmpnt_Sort

49* 1 A QT/LT (old) Qty_Typ

Data Import Macros and Data Dictionary 251

Page 252: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Reschedule Operations; CP OrderThis transaction simply puts a CTRL-ENTER into the screen. It must follow one or more CPMT02 or CPMT03 transactions.

Archive Record Layout"CPMT05","","","","","","","CO Number","Ln#",""

Required Transaction Fields

CPMT06Add New Text—CP Order Header

Attach Existing Text—CP Order Header

Change CP Order Header Detail

Archive Record Layout"CPMT06","","","","","","","CO Number","Ln#","","","","","","","","","","",,"Reqst Dlvry", "Buyr","Plnr",On Hand Qty,"On Hand Stk","On Hand Bin","","","","","","","","","Commission Code","Ovr","","",,,"","","","","","","Tax Exempt Fed","Tax Exempt State","Tax Exempt County","Tax Exempt Muni","Price Adjustment S/D",Price Adjustment %,"Cust Item","Cust Item Description",Cust Item Price,"Cust Item Tr LT","Cust Item CO Rev","Inv","WIP","","Text No","(text line1)","(text line2)","(text line3)","(text line4)","Cust PO Ln#","Primary VAT Exempt","Secondary VAT Exempt","Exchange Rate (new)","(tax system V/S)","Taxing Authority Levels (TXCF)","(exchange rate toggle flag)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

21 6 D Reqst Dlvry Rqst_Dlvry

22 3 A Buyr Buyr

23 3 A Plnr Plnr

24 10 N On Hand Qty OHnd_Qty

25 6 A On Hand Stk Stk

26 12 A On Hand Bin Bin

35 3 A Commission Code Com_Code

36 1 A Ovr Ovr

47 1 A Tax Exempt Fed Exempt_F

Data Import Macros and Data Dictionary 252

Page 253: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Field 74, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The “T” indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

48 1 A Tax Exempt State Exempt_S

49 1 A Tax Exempt County Exempt_C

50 1 A Tax Exempt Muni Exempt_M

51 1 A Price Adjustment S/D Price_Adj

52 5 N Price Adjustment % Price_Adj

53 30 A Cust Item Cust_Item

54 70 A Cust Item Description CI_Desc

55 10 N Cust Item Price Quot_Price

56 2 A Cust Item Tr LT CI_Tr_LT

57 2 A Cust Item CO Rev CI_Rev_Lvl

58 20 A Inv CP_Inv_Act

59 20 A WIP CP_WIP_Act

61 6 A Text No Text_No

62 60 A (text line1) Text_Line1

63 60 A (text line2) Text_Line2

64 60 A (text line3) Text_Line3

65 60 A (text line4) Text_Line4

66 10 A Cust PO Ln# Cust_PO_Ln

67 1 A Primary VAT Exempt Exempt_V1

68 1 A Secondary VAT Exempt Exempt_V2

69 11 A Exchange Rate (new) Ex_Rate

72* 1 A (tax system V/S) N/A

73* 1 A Taxing Authority Levels (TXCF)

Tax_Level

74* 1 A (exchange rate toggle flag) N/A

Setting Description

T The exchange rate is a floating rate. The field is open for editing and the screen toggles to the non-controlling currency.

“”” No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 253

Page 254: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Note: Fields 47, 48, 49 and 50 are used only when (tax system) = S. Fields 67, 68 and 73 are used only when (tax system) = V.

CPMT07Delete Text—CP Order Header

Archive Record Layout"CPMT07","","","","","","","CO Number","Ln#","","","","","","","","","","",,"","","",,"","","","","","","","","","","","","","",,,"","","","","","","","","","","",,"","",,"","","","","","","","","","","","","","","",""

Required Transaction Fields

CPMT08Add New Text—Component on Custom Configuration

Attach Existing Text—Component on Custom Configuration

Change CP Component Detail

Archive Record Layout"CPMT08","","","","","","","CO Number","Ln#","Seq","Typ", "Component/Resource/WC#","Pt Use","Description","","","Operation Status","QT/LT","Component Sort Basis (CNFG)","Text No","(text line1)","(text line2)","(text line3)","(text line4)",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

10* 3 A Seq Seqn

11* 1 A Typ Typ

12* 15 A Component/Resource/WC#

Component; Comp_WC; WC_Id

13 5 A Pt Use (CPM2) Pt_Use

14 70 A Description Comp_Desc

17 1 A Operation Status Ln_Sta

18* 1 A QT/LT Qty_Typ

19* 1 A Component Sort Basis (CNFG)

Cmpnt_Sort

Data Import Macros and Data Dictionary 254

Page 255: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CPMT09Delete Text—Component on Custom Configuration

Archive Record Layout"CPMT09","","","","","","","CO Number","Ln#","Seq","Typ", "Component/Resource/WC#","","","","","","QT/LT","Component Sort Basis (CNFG)","","","","","",""

Required Transaction Fields

CPMT10Delete Planner Action Message—PMO (Print Manufacturing Order); CP OrderThe CPMT10 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"CPMT10","","","","","","","CO Number","Ln#",""

Required Transaction Fields

20 6 A Text No Text_No

21 60 A (text line1) Text_Line1

22 60 A (text line2) Text_Line2

23 60 A (text line3) Text_Line3

24 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

10* 3 A Seq Seqn

11* 1 A Typ Typ

12* 15 A Component/Resource/WC#

Component; Comp_WC; WC_Id

18* 1 A QT/LT Qty_Typ

19* 1 A Component Sort Basis (CNFG)

Cmpnt_Sort

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Data Import Macros and Data Dictionary 255

Page 256: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CPMT11Change Total Unit Cost

Archive Record Layout"CPMT11","","","","","","","CO Number","Ln#",""

Required Transaction Fields

CROP - Customer Report Options

CROP Transactions

CROP01Change Customer Report Option

Archive Record Layout

"CROP01","","","","","","Customer Id","Report Type","Email Print Preference"

Required Transaction Fields

CROV – Cost Roll-OverTransactions created by the CROV task are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A CO Number CO_Number

9* 3 A Ln# Ln_No

Macro Id DescriptionMacro File

Name

CROP01 Change Customer Report Option CUSM

Field# Length Type Screen Name

1* 6 A (macro id)

7* 13 A Customer Id

8* 20 A Report Type

9 1 A Email Print Preference

Data Import Macros and Data Dictionary 256

Page 257: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CUID – Customer Master by Customer IdThe CUID transactions use the following screens:

• CUID (Customer Master)

• Customer Name/Address Detail

• Customer Financial Detail

Predetermined values for fields on the Customer Master screens can be established and used for entering groups of Customers with similar characteristics by setting up a default Customer (Customer Id ØØØØØØ) with those characteristics. When adding a Customer using a Customer Master screen, the default values are displayed and stored in the system until overridden.

See "Using DEFAULT Values" in the Order Entry online manual or "Using Default Values" in the Accounts Receivable online manual for more information on the DEFAULT-CUSTOMER.

Note: The CUID transactions are not available after the SOPM Module is installed.

CUID Transactions

Customer Name/Address Detail Transactions

Customer Financial Detail Transactions

Macro Id DescriptionMacro File

Name

CUID00 Add Customer GLOBAL

CUID01 Change Customer GLOBAL

CUID02 Delete Customer GLOBAL

Macro Id DescriptionMacro File

Name

CUID03 Add New Text—Customer Name/Address Detail GLOBAL

Attach Existing Text—Customer Name/Address Detail

Change Customer Name/Address Detail

CUID04 Add New Customer Ship to Address GLOBAL

CUID05 Delete Customer Ship to Address GLOBAL

CUID06 Delete Text—Customer Name/Address Detail GLOBAL

Macro Id DescriptionMacro File

Name

CUID07 Add New Text—Customer Financial Detail GLOBAL

Attach Existing Text—Customer Financial Detail

Data Import Macros and Data Dictionary 257

Page 258: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CUID00Add Customer

Archive Record Layout"CUID00","","","","","","Customer Id","Customer Name","Contact","Phone","CSR","E-Mail","Sta","Ship Via","FOB"

Required Transaction Fields

CUID01Change Customer

Archive Record Layout"CUID01","","","","","","Customer Id","Customer Name","Contact","Phone","CSR","E-Mail","Sta","Ship Via","FOB"

Required Transaction Fields

Change Customer Financial Detail

CUID08 Delete Text—Customer Financial Detail GLOBAL

CUID09 Change Intrastat Customer Configuration GLOBAL

CUID20 Add Extended Text - Intrastat Customer Configuration GLOBAL

CUID21 Change Extended Text - Intrastat Customer Configuration GLOBAL

CUID22 Delete Extended Text - Intrastat Customer Configuration GLOBAL

CUID90 Add Extended Text—Customer Master GLOBAL

CUID91 Change Extended Text—Customer Master GLOBAL

CUID92 Delete Extended Text—Customer Master GLOBAL

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 13 A Customer Id Cust_Id

8 60 A Customer Name Cust_Name

9 40 A Contact Contact

10 20 A Phone Phone

11 3 A CSR CSR

12 50 A E-Mail N/A

13 1 A Sta Status

14 30 A Ship Via N/A

15 20 A FOB FOB_Point

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 258

Page 259: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CUID02Delete Customer

Archive Record Layout"CUID02","","","","","","Customer Id","","","",""

Required Transaction Fields

CUID03Add New Text—Customer Name/Address Detail

Attach Existing Text—Customer Name/Address Detail

Change Customer Name/Address Detail

Archive Record Layout"CUID03","","","","","","Cust Id","Addr","(addr2)","City","St","Zip","C","Ship Id","Ship to Name","Addr","(addr2)","City","St","Zip","C","Region Code","Exmpt","Certificate No/VAT Id","Fed","St","Cnty","Muni","Acct Contact","Acct Phone","Bill to","Addr","(addr2)","City","St","Zip","C","FAX #","Cust Class (1)","Cust Class (2)","Cust Class (3)","Cust Class (4)","Cust Class (5)","Cust Class (6)","Cust Class (7)","Cust Class (8)","Sales Acct No","COGS Acct No","A/R Acct No","Freight Acct No","Partial Shipment","Frt Charge Code","Price Adj S/D",Price Adj %,"Com Cd","Text No","(text line1)","(text line2)","(text line3)","(text line4)","VAT Cust Code","Print Format","Print Language","Material COGS","Labor COGS","Var Ovvrhd COGS","Fix Ovrhd COGS","Outside COGS",”Contact”,”E-Mail”.”Over Ship Enforcement For Customer Order”,”Customer Order Over Ship Tolerance”

Required Transaction Fields

1* 6 A (macro id) N/A

7* 13 A Customer Id Cust_Id

8 60 A Customer Name Cust_Name

9 40 A Contact Contact

10 20 A Phone Phone

11 3 A CSR CSR

12 50 A E-Mail N/A

13 1 A Sta Status

14 30 A Ship Via N/A

15 20 A FOB FOB_Point

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer Id Cust_Id

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 259

Page 260: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

8 60 A Addr Addr1

9 60 A (addr2) Addr2

10 15 A City City

11 10 A St State

12 12 A Zip Zip

13 15 A C Country

14* 13 A Ship Id Ship_to_Id

15 60 A Ship to Name Ship_to_Nm

16 60 A Addr Ship_Addr1

17 60 A (addr2) Ship_Addr2

18 15 A City Ship_City

19 10 A St Ship_State

20 12 A Zip Ship_Zip

21 15 A C Ship_Cntry

22 3 A Region Code Regn_Code

23* 1 A Exmpt Exempt

24 20 A Certificate No/VAT Id Cert_No; Tax_Id_Num

25 2 A Fed Tax_Code_F

26 2 A St Tax_Code_S

27 3 A Cnty Tax_Code_C

28 3 A Muni Tax_Code_M

29 40 A Acct Contact Acct_Cntct

30 15 A Acct Phone Acct_Phone

31 60 A Bill to Bill_to

32 60 A Addr Ivc_Addr1

33 60 A (addr2) Ivc_Addr2

34 15 A City Ivc_City

35 10 A St Ivc_State

36 12 A Zip Ivc_Zip

37 15 A C Ivc_Cntry

38 20 A FAX # FAX_Number

39 1 A Cust Class (1) Cust_Clas1

40 1 A Cust Class (2) Cust_Clas2

Data Import Macros and Data Dictionary 260

Page 261: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Field# 25, 26, 27 and 28 are used only when a sales tax system is installed. Field# 62 is used only when a VAT system is installed.

41 1 A Cust Class (3) Cust_Clas3

42 1 A Cust Class (4) Cust_Clas4

43 1 A Cust Class (5) Cust_Clas5

44 1 A Cust Class (6) Cust_Clas6

45 6 A Cust Class (7) Cust_Clas7

46 6 A Cust Class (8) Cust_Clas8

47 20 A Sales Acct No Sal_AcctNo

48 20 A COGS Acct No COGS_Ac_No

49 20 A A/R Acct No Ar_Acct_No

50 20 A Freight Acct No Frght_Acct

52 1 A Partial Shipment Partl_Ship

53 1 A Frt Charge Code Frt_Chg_Cd

54 1 A Price Adj S/D Price_Adj

55 4 N Price Adj % Price_Adj

56 3 A Com Cd Com_Code

57 6 A Text No Text_No

58 60 A (text line1) Text_Line1

59 60 A (text line2) Text_Line2

60 60 A (text line3) Text_Line3

61 60 A (text line4) Text_Line4

62 5 A VAT Cust Code Shp_to_VAT

63 1 A Print Format Shp_to_Fmt

64 12 A Print Language Shp_to_Lng

65 20 A Material COGS Mat_COGS

66 20 A Labor COGS Lab_COGS

67 20 A Var Ovvrhd COGS Varoh_COGS

68 20 A Fix Ovrhd COGS Fixoh_COGS

69 20 A Outside COGS Out_COGS

70 40 A Contact N/A

71 50 A E-Mail N/A

72 1 A Over Ship Enforcement For Customer Order

73 Customer Order Over Ship Tolerance

Data Import Macros and Data Dictionary 261

Page 262: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Field# 56 data is validated against information defined on the CMTA (Commission Code Table) screen when you change data on this screen. When the incoming record contains a Ship to Id field that is non-NULL, the macro enters the Ship to Id into the field followed by an Enter key before any other updates are entered for the screen. If the screen data contains an invalid commission code field (because it was deleted from the CMTA screen after it was entered on the Customer Master screen), the transaction fails. To correct an invalid commission code field, a transaction with a NULL Ship to Id field must be input to either remove or replace the invalid commission code first before ship to information is changed.

CUID04Add New Customer Ship to Address

Archive Record Layout"CUID04","","","","","","Cust Id","","","","","","","Ship Id","Ship to Name","Addr","(addr2)","City","St","Zip","C","Region Code", "Exmpt","Certificate No/VAT Id","Fed","St","Cnty","Muni", "","","","","","","","","","","","","","","","","","","","","","","","","","",,"","","","","","","VAT Cust Code","Print Format","Print Language",”Contact”,”E-Mail”

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

14 13 A Ship Id Ship_to_Id

15 60 A Ship to Name Ship_to_Nm

16 60 A Addr Ship_Addr1

17 60 A (addr2) Ship_Addr2

18 15 A City Ship_City

19 10 A St Ship_State

20 12 A Zip Ship_Zip

21 15 A C Ship_Cntry

22 3 A Region Code Regn_Code

23 1 A Exmpt Exempt

24 20 A Certificate No/VAT Id Cert_No; Tax_Id_Num

25 2 A Fed Tax_Code_F

26 2 A St Tax_Code_S

27 3 A Cnty Tax_Code_C

28 3 A Muni Tax_Code_M

62 5 A VAT Cust Code Shp_to_VAT

63 1 A Print Format Shp_to_Fmt

64 12 A Print Language Shp_to_Lng

Data Import Macros and Data Dictionary 262

Page 263: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Field# 25, 26, 27 and 28 are used only when a sales tax system is installed. Field# 62 is used only when a VAT system is installed.

CUID05Delete Customer Ship to Address

Archive Record Layout"CUID05","","","","","","Cust Id","","","","","","","Ship Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",,"","","","","",""

Required Transaction Fields

CUID06Delete Text—Customer Name/Address Detail

Archive Record Layout"CUID06","","","","","","Cust Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",,"","","","","",""

Required Transaction Fields

CUID07Add New Text—Customer Financial Detail

Attach Existing Text—Customer Financial Detail

Change Customer Financial Detail

Archive Record Layout"CUID07","","","","","","Cust Id","Bank Reference #1","Bank Reference #2","Prt",Credit Limit,"D&B Ref #","D&B Class","D&B Rat'g'","D&B Date",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Statement Print","Statement Cycle","Service Charge",Rate,"A/R Cust","Open/Bal Forward","Text No","(text line1)","(text line2)","(text line3)","(text line4)","Std

65 40 A Contact N/A

66 50 A E-Mail N/A

Fld# Lgth Type Screen Name Export Name

1* 13 A (macro id) N/A

7* 13 A Cust Id Cust_Id

14* 13 A Ship Id Ship_to_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

Data Import Macros and Data Dictionary 263

Page 264: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Terms",Day,Cutoff,Delay,"Curr Code","Ctrl Curr","","Start Date","EDI Acknowledgement",”PrePrinted Invoice Status”,”PrePrinted Credit Memo Status”

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

8 30 A Bank Reference #1 Bank1_Ref

9 30 A Bank Reference #2 Bank2_Ref

10 1 A Prt Prt

11 10 N Credit Limit Cr_Limit

12 11 A D&B Ref# DB_Ref_No

13 4 A D&B Class DB_Class

14 3 A D&B Rat'g DB_Ratg

15 6 D D&B Date DB_Date

16 5 N Cash #1 % Disc_Pcnt1

17 3 N Cash #1 Days Disc_Days1

18 5 N Cash #2 % Disc_Pcnt2

19 3 N Cash #2 Days Disc_Days2

20 3 N Net Days Net_Days

21 1 A Statement Print Stmt_Print

22 1 A Statement Cycle Stmt_Cycle

23 1 A Service Charge Svc_Chrg

24 4 N Rate Rate

25 1 A A/R Cust AR_Cust

26 1 A Open/Bal Forward OpnBal_Fwd

27 6 A Text No Text_No

28 60 A (text line1) Text_Line1

29 60 A (text line2) Text_Line2

30 60 A (text line3) Text_Line3

31 60 A (text line4) Text_Line4

32* 1 A Std Terms Pay_Term

33 2 N Day Mon_PayWen

34 2 N Cutoff Mon_Cutoff

35 2 N Delay Mon_Delay

36 5 A Curr Code Curr_Code

37 1 A Ctrl Curr Ctrl_Curr

Data Import Macros and Data Dictionary 264

Page 265: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CUID08Delete Text—Customer Financial Detail

Archive Record Layout"CUID08","","","","","","Cust Id","","","",,"","","","",,,,,,"","","","","","","","","","","","",,,,"","",""

Required Transaction Fields

CUID09Change Intrastat Customer Configuration

Archive Record Layout"CUID09","","","","","","Cust Id","","","","","","","Ship Id","Automated Intrastat Transaction","EC Listing","Origin Country","Destination Country","Mode of Transportation","Delivery Terms","Reference #1","Reference #2","Reference #3","Reference #4","Reference #5"

Required Transaction Fields

39 6 D Start date Start_Date

40 1 A EDI Acknowledgement

41 1 PrePrinted Invoice Status PRE_INVOICE

42 1 PrePrinted Credit Memo Sta-tus

PRE_CREDIT_MEMO

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Cust Id Cust_Id

14* 13 A Ship Id Ship_to_Id

15 1 A Automated Intrastat Transac-tion

N/A

16 1 A EC Listing N/A

17 2 A Origin Country N/A

18 3 A Destination Country N/A

19 2 A Mode of Transportation N/A

20* 3 A Delivery Terms N/A

21 20 A Reference #1 N/A

22 20 A Reference #2 N/A

23 20 A Reference #3 N/A

Data Import Macros and Data Dictionary 265

Page 266: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CUID20Add Extended Text - Intrastat Customer Configuration

Archive Record Layout"CUID20","","","","","","","(text entry type)","(page number)","Cust Id","Ship Id","","","Text Message"

Required Transaction Fields

CUID21Change Extended Text - Intrastat Customer Configuration

Archive Record Layout"CUID21","","","","","","","(text entry type)","(page number)","Cust Id","Ship Id","","","Text Message"

Required Transaction Fields

CUID22Delete Extended Text - Intrastat Customer Configuration

Archive Record Layout"CUID22","","","","","","","(text entry type)","(page number)","Cust Id","Ship Id","","","Text Message"

24 20 A Reference #4 N/A

25 20 A Reference #5 N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 13 A Cust Id Cust_Id

11* 13 A Ship Id Ship_to_Id

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 13 A Cust Id Cust_Id

11* 13 A Ship Id Ship_to_Id

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 266

Page 267: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Required Transaction Fields

CUID90Add Extended Text—Customer Master

Archive Record Layout"CUID90","","","","","","","(text entry type)","(page number)","Cust Id","","","","Text Message"

Required Transaction Fields

Several codes are used when importing text with special characters.

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 13 A Cust Id Cust_Id

11* 13 A Ship Id Ship_to_Id

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 13 A Cust Id Cust_Id

14 890 A Text Message Ext_Text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Text Entry Types Description

I Insert new page of text

Y Existing text message change

Data Import Macros and Data Dictionary 267

Page 268: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

(page number) identifies the page number associated with the text message.

CUID91Change Extended Text—Customer Master

Archive Record Layout"CUID91","","","","","","","(text entry type)","(page number)","Cust Id","","","","Text Message"

Required Transaction Fields

Several codes are used when importing text with special characters.

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

CUID92

N Subsequent lines changed for an existing text mes-sage

D Delete page of text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 13 A Cust Id Cust_Id

14 890 A Text Message Ext_Text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text mes-sage

D Delete page of text

Data Import Macros and Data Dictionary 268

Page 269: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Delete Extended Text—Customer Master

Archive Record Layout"CUID92","","","","","","","(text entry type)","(page number)","Cust Id","","","","Text Message"

Required Transaction Fields

Several codes are used when importing text with special characters.

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

CUPB – Customers Using Price Book

CUPB Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 13 A Cust Id Cust_Id

14 890 A Text Message Ext_Text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text mes-sage

D Delete page of text

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 269

Page 270: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

CUPB00Add Customer to Price Book

Archive Record Layout"CUPB00","","","","","","Price Book","Cust Id","Effectivity In","Effectivity Out","Pref","Sp"

Required Transaction Fields

CUPB01Change Customer info

Archive Record Layout"CUPB01","","","","","","Price Book","Cust Id","Effectivity In","Effectivity Out","Pref","Sp"

Required Transaction Fields

CUPB02Delete Customer from Price Book

CUPB00 Add Customer to Price Book APBM

CUPB01 Change Customer info APBM

CUPB02 Delete Customer from Price Book APBM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 15 A Price Book Price_Book

8 13 A Cust Id Cust_Id

9 6 D Effectivity In Pb_Ineff

10 6 D Effectivity Out Pb_Outeff

11 1 A Pref Preference

12 1 A Sp Special

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8* 13 A Cust Id Cust_Id

9 6 D Effectivity In Pb_Ineff

10 6 D Effectivity Out Pb_Outeff

11 1 A Pref Preference

12 1 A Sp Special

Data Import Macros and Data Dictionary 270

Page 271: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 C – Data Import Macros

Archive Record Layout"CUPB02","","","","","","Price Book","Cust Id"

Required Transaction Fields

CUST – Customer Master by Customer NameAll CUST transactions are imported using the CUID macros. The resulting archive records are assigned the CUID macro id even though the source transactions used the CUST macro id. See CUID – Customer Master by Customer Id for Customer Master transactions.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8* 13 A Cust Id Cust_Id

Data Import Macros and Data Dictionary 271

Page 272: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

D – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

DIST – Distributor by Vendor

DIST Transactions

DIST00Add Distributor to Vendor

Archive Record Layout"DIST00","","","","","","Vendor Id","Distributor Id","Sta"

Required Transaction Fields

DIST01Change Distributor of Vendor

Archive Record Layout"DIST01","","","","","","Vendor Id","Distributor Id","Sta"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

DIST00 Add Distributor to Vendor PURM1

DIST01 Change Distributor of Vendor PURM1

DIST02 Delete Distributor from Vendor PURM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 13 A Vendor Id Vendor_Id

8 13 A Distributor Id Dist_Id

9 1 A Sta Status

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 13 A Distributor Id Dist_Id

9 1 A Sta Status

Data Import Macros and Data Dictionary 272

Page 273: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

DIST02Delete Distributor from Vendor

Archive Record Layout"DIST02","","","","","","Vendor Id","Distributor Id"

Required Transaction Fields

DVUD – Data View Definition

DVUD Transactions

Note: Data view transactions extracted using the data export features in the SYSM Module do not use the format required for the data import process. The series of interdependent transactions listed here must be provided in order to import this information.

DVUD01Add Data View Definition

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 13 A Distributor Id Dist_Id

Macro Id DescriptionMacro File

Name

DVUD01 Add Data View Definition EXPM

DVUD02 Change Data View Definition EXPM

DVUD03 Delete Data View Definition EXPM

DVUD04 Add Record Selection Criteria—Lines 1-3 EXPM

Change Record Selection Criteria—Lines 1-3

DVUD05 Add Record Selection Criteria—Lines 4-6 EXPM

Change Record Selection Criteria—Lines 4-6

DVUD06 Add Record Selection Criteria—Lines 7-9 EXPM

Change Record Selection Criteria—Lines 7-9

DVUD07 Add Record Selection Criteria—Lines 10-12 EXPM

Change Record Selection Criteria—Lines 10-12

DVUD08 Add Record Selection Criteria—Lines 13-14 EXPM

Change Record Selection Criteria—Lines 13-14

Data Import Macros and Data Dictionary 273

Page 274: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

Archive Record Layout"DVUD01","","","","","","View Name","Master View","Sub View","(selected field #1 y/n)"(selected field #2 y/n)","(selected field #3 y/n)","(selected field #4 y/n)"(selected field #5 y/n)","(selected field #6 y/n)","(selected field #7 y/n)"(selected field #8 y/n)","(selected field #9 y/n)","(selected field #10 y/n)"(selected field #11 y/n)","(selected field #12 y/n)","(selected field #13 y/n)"(selected field #14 y/n)","(selected field #15 y/n)","(selected field #16 y/n)"(selected field #17 y/n)","(selected field #18 y/n)","(selected field #19 y/n)"(selected field #20 y/n)","(selected field #21 y/n)","(selected field #22 y/n)"(selected field #23 y/n)","(selected field #24 y/n)","(selected field #25 y/n)"(selected field #26 y/n)","(selected field #27 y/n)","(selected field #28 y/n)"(selected field #29 y/n)","(selected field #30 y/n)","(selected field #31 y/n)"(selected field #32 y/n)","(selected field #33 y/n)","(selected field #34 y/n)"(selected field #35 y/n)","(selected field #36 y/n)","(selected field #37 y/n)"(selected field #38 y/n)","(selected field #39 y/n)","(selected field #40 y/n)"(selected field #41 y/n)","(selected field #42 y/n)","(selected field #43 y/n)"(selected field #44 y/n)","(selected field #45 y/n)","(selected field #46 y/n)"(selected field #47 y/n)","(selected field #48 y/n)","(selected field #49 y/n)"(selected field #50 y/n)","(selected field #51 y/n)","(selected field #52 y/n)"(selected field #53 y/n)","(selected field #54 y/n)","(selected field #55 y/n)"(selected field #56 y/n)","(selected field #57 y/n)","(selected field #58 y/n)"(selected field #59 y/n)","(selected field #60 y/n)","(selected field #61 y/n)"(selected field #62 y/n)","(selected field #63 y/n)","(selected field #64 y/n)"(selected field #65 y/n)","(selected field #66 y/n)","(selected field #67 y/n)"(selected field #68 y/n)","(selected field #69 y/n)","(selected field #70 y/n)"(selected field #71 y/n)","(selected field #72 y/n)","(selected field #73 y/n)"(selected field #74 y/n)","(selected field #75 y/n)","(selected field #76 y/n)"(selected field #77 y/n)","(selected field #78 y/n)","(selected field #79 y/n)"(selected field #80 y/n)","(selected field #81 y/n)","(selected field #82 y/n)"(selected field #83 y/n)","(selected field #84 y/n)","(selected field #85 y/n)"(selected field #86 y/n)","(selected field #87 y/n)","(selected field #88 y/n)"(selected field #89 y/n)","(selected field #90 y/n)","(selected field #91 y/n)"(selected field #92 y/n)","(selected field #93 y/n)","(selected field #94 y/n)"(selected field #95 y/n)","(selected field #96 y/n)","(selected field #97 y/n)"(selected field #98 y/n)","(selected field #99 y/n)","(selected field #100 y/n)"(selected field #101 y/n)","(selected field #102 y/n)","(selected field #103 y/n)"(selected field #104 y/n)","(selected field #105 y/n)","(selected field #106 y/n)"(selected field #107 y/n)","(selected field #108 y/n)","(selected field #109 y/n)","(selected field #110 y/n)","(selected field #111 y/n)","(selected field #112 y/n)","(selected field #113 y/n)","(selected field #104 y/n)","(selected field #105 y/n)","(selected field #106 y/n)","(selected field #107 y/n)","(selected field #108 y/n)","(selected field #109 y/n)","(selected field #110 y/n)","(selected field #111 y/n)","(selected field #112 y/n)","(selected field #113 y/n)","(selected field #114 y/n)","(selected field #115 y/n)","(selected field #116 y/n)","(selected field #117 y/n)","(selected field #118 y/n)","(selected field #119 y/n)","(selected field #120 y/n)","(selected field #121 y/n)","(selected field #122 y/n)","(selected field #123 y/n)","(selected field #124 y/n)","(selected field #125 y/n)","(selected field #126 y/n)","(selected field #127 y/n)","(selected field #128 y/n)","(selected field #129 y/n)","(selected field #130 y/n)","(selected field #131 y/n)","(selected field #132 y/n)","(selected field #133 y/n)","(selected field #134 y/n)","(selected field #135 y/n)","(selected field #136 y/n)","(selected field #137 y/n)","(selected field #138 y/n)","(selected field #139 y/n)","(selected field #140 y/n)","(selected field #141 y/n)","(selected field #142 y/n)","(selected field #143 y/n)","(selected field #144 y/n)","(selected field #145 y/n)","(selected field #146 y/n)","(selected field #147 y/n)","(selected field #148 y/n)","(selected field #149 y/n)","(selected field #150 y/n)","(selected field #151 y/n)","(selected field #152 y/n)","(selected field #153 y/n)","(selected field #154 y/n)","(selected field #155 y/n)","(selected field #156 y/n)","(selected field #157 y/n)","(selected field #158 y/n)","(selected field #159 y/n)","(selected field #160 y/n)","(selected field #161 y/n)","(selected field #162 y/n)","(selected field #163 y/n)","(selected field #164 y/n)","(selected field #165 y/n)","(selected field #166 y/n)","(selected field #167 y/n)","(selected field #168 y/n)","(selected field #169 y/n)","(selected field #170 y/n)","(selected field #171 y/n)","(selected field #172 y/n)","(selected field #173 y/n)","(selected field #174 y/n)","(selected field #175 y/n)","(selected field #176 y/n)","(selected field #177 y/n)","(selected field #178 y/n)","(selected field #179 y/n)","(selected field #180 y/n)","(selected field #181 y/n)","(selected field #182 y/n)","(selected field #183 y/n)","(selected field #184 y/n)","(selected field #185 y/n)","(selected field #186 y/n)","(selected field

Data Import Macros and Data Dictionary 274

Page 275: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

#187 y/n)","(selected field #188 y/n)","(selected field #189 y/n)","(selected field #190 y/n)","(selected field #191 y/n)","(selected field #192 y/n)","(selected field #193 y/n)","(selected field #194 y/n)","(selected field #195 y/n)","(selected field #196 y/n)","(selected field #197 y/n)","(selected field #198 y/n)","(selected field #199 y/n)","(selected field #200 y/n)","(selected field #201 y/n)","","","","","","","","","","","Owner","View Description"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A View Name View_Name

8* 15 A Master View Mast_View

9* 15 A Sub View Sub_View

10* 1 A (selected field #1 y/n) SelField

11* 1 A (selected field #2 y/n) SelField

12* 1 A (selected field #3 y/n) SelField

13* 1 A (selected field #4 y/n) SelField

14* 1 A (selected field #5 y/n) SelField

15* 1 A (selected field #6 y/n) SelField

16* 1 A (selected field #7 y/n) SelField

17* 1 A (selected field #8 y/n) SelField

18* 1 A (selected field #9 y/n) SelField

19* 1 A (selected field #10 y/n) SelField

20* 1 A (selected field #11 y/n) SelField

21* 1 A (selected field #12 y/n) SelField

22* 1 A (selected field #13 y/n) SelField

23* 1 A (selected field #14 y/n) SelField

24* 1 A (selected field #15 y/n) SelField

25* 1 A (selected field #16 y/n) SelField

26* 1 A (selected field #17 y/n) SelField

27* 1 A (selected field #18 y/n) SelField

28* 1 A (selected field #19 y/n) SelField

29* 1 A (selected field #20 y/n) SelField

30* 1 A (selected field #21 y/n) SelField

31* 1 A (selected field #22 y/n) SelField

32* 1 A (selected field #23 y/n) SelField

33* 1 A (selected field #24 y/n) SelField

34* 1 A (selected field #25 y/n) SelField

35* 1 A (selected field #26 y/n) SelField

Data Import Macros and Data Dictionary 275

Page 276: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

36* 1 A (selected field #27 y/n) SelField

37* 1 A (selected field #28 y/n) SelField

38* 1 A (selected field #29 y/n) SelField

39* 1 A (selected field #30 y/n) SelField

40* 1 A (selected field #31 y/n) SelField

41* 1 A (selected field #32 y/n) SelField

42* 1 A (selected field #33 y/n) SelField

43* 1 A (selected field #34 y/n) SelField

44* 1 A (selected field #35 y/n) SelField

45* 1 A (selected field #36 y/n) SelField

46* 1 A (selected field #37 y/n) SelField

47* 1 A (selected field #38 y/n) SelField

48* 1 A (selected field #39 y/n) SelField

49* 1 A (selected field #40 y/n) SelField

50* 1 A (selected field #41 y/n) SelField

51* 1 A (selected field #42 y/n) SelField

52* 1 A (selected field #43 y/n) SelField

53* 1 A (selected field #44 y/n) SelField

54* 1 A (selected field #45 y/n) SelField

55* 1 A (selected field #46 y/n) SelField

56* 1 A (selected field #47 y/n) SelField

57* 1 A (selected field #48 y/n) SelField

58* 1 A (selected field #49 y/n) SelField

59* 1 A (selected field #50 y/n) SelField

60* 1 A (selected field #51 y/n) SelField

61* 1 A (selected field #52 y/n) SelField

62* 1 A (selected field #53 y/n) SelField

63* 1 A (selected field #54 y/n) SelField

64* 1 A (selected field #55 y/n) SelField

65* 1 A (selected field #56 y/n) SelField

66* 1 A (selected field #57 y/n) SelField

67* 1 A (selected field #58 y/n) SelField

68* 1 A (selected field #59 y/n) SelField

69* 1 A (selected field #60 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 276

Page 277: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

70* 1 A (selected field #61 y/n) SelField

71* 1 A (selected field #62 y/n) SelField

72* 1 A (selected field #63 y/n) SelField

73* 1 A (selected field #64 y/n) SelField

74* 1 A (selected field #65 y/n) SelField

75* 1 A (selected field #66 y/n) SelField

76* 1 A (selected field #67 y/n) SelField

77* 1 A (selected field #68 y/n) SelField

78* 1 A (selected field #69 y/n) SelField

79* 1 A (selected field #70 y/n) SelField

80* 1 A (selected field #71 y/n) SelField

81* 1 A (selected field #72 y/n) SelField

82* 1 A (selected field #73 y/n) SelField

83* 1 A (selected field #74 y/n) SelField

84* 1 A (selected field #75 y/n) SelField

85* 1 A (selected field #76 y/n) SelField

86* 1 A (selected field #77 y/n) SelField

87* 1 A (selected field #78 y/n) SelField

88* 1 A (selected field #79 y/n) SelField

89* 1 A (selected field #80 y/n) SelField

90* 1 A (selected field #81 y/n) SelField

91* 1 A (selected field #82 y/n) SelField

92* 1 A (selected field #83 y/n) SelField

93* 1 A (selected field #84 y/n) SelField

94* 1 A (selected field #85 y/n) SelField

95* 1 A (selected field #86 y/n) SelField

96* 1 A (selected field #87 y/n) SelField

97* 1 A (selected field #88 y/n) SelField

98* 1 A (selected field #89 y/n) SelField

99* 1 A (selected field #90 y/n) SelField

100* 1 A (selected field #91 y/n) SelField

101* 1 A (selected field #92 y/n) SelField

102* 1 A (selected field #93 y/n) SelField

103* 1 A (selected field #94 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 277

Page 278: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

104* 1 A (selected field #95 y/n) SelField

105* 1 A (selected field #96 y/n) SelField

106* 1 A (selected field #97 y/n) SelField

107* 1 A (selected field #98 y/n) SelField

108* 1 A (selected field #99 y/n) SelField

109* 1 A (selected field #100 y/n) SelField

110* 1 A (selected field #101 y/n) SelField

111* 1 A (selected field #102 y/n) SelField

112* 1 A (selected field #103 y/n) SelField

113* 1 A (selected field #104 y/n) SelField

114* 1 A (selected field #105 y/n) SelField

115* 1 A (selected field #106 y/n) SelField

116* 1 A (selected field #107 y/n) SelField

117* 1 A (selected field #108 y/n) SelField

118* 1 A (selected field #109 y/n) SelField

119* 1 A (selected field #110 y/n) SelField

120* 1 A (selected field #111 y/n) SelField

121* 1 A (selected field #112 y/n) SelField

122* 1 A (selected field #113 y/n) SelField

123* 1 A (selected field #114 y/n) SelField

124* 1 A (selected field #115 y/n) SelField

125* 1 A (selected field #116 y/n) SelField

126* 1 A (selected field #117 y/n) SelField

127* 1 A (selected field #118 y/n) SelField

128* 1 A (selected field #119 y/n) SelField

129* 1 A (selected field #120 y/n) SelField

130* 1 A (selected field #121 y/n) SelField

131* 1 A (selected field #122 y/n) SelField

132* 1 A (selected field #123 y/n) SelField

133* 1 A (selected field #124 y/n) SelField

134* 1 A (selected field #125 y/n) SelField

135* 1 A (selected field #126 y/n) SelField

136* 1 A (selected field #127 y/n) SelField

137* 1 A (selected field #128 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 278

Page 279: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

138* 1 A (selected field #129 y/n) SelField

139* 1 A (selected field #130 y/n) SelField

140* 1 A (selected field #131 y/n) SelField

141* 1 A (selected field #132 y/n) SelField

142* 1 A (selected field #133 y/n) SelField

143* 1 A (selected field #134 y/n) SelField

144* 1 A (selected field #135 y/n) SelField

145* 1 A (selected field #136 y/n) SelField

146* 1 A (selected field #137 y/n) SelField

147* 1 A (selected field #138 y/n) SelField

148* 1 A (selected field #139 y/n) SelField

149* 1 A (selected field #140 y/n) SelField

150* 1 A (selected field #141 y/n) SelField

151* 1 A (selected field #142 y/n) SelField

152* 1 A (selected field #143 y/n) SelField

153* 1 A (selected field #144 y/n) SelField

154* 1 A (selected field #145 y/n) SelField

155* 1 A (selected field #146 y/n) SelField

156* 1 A (selected field #147 y/n) SelField

157* 1 A (selected field #148 y/n) SelField

158* 1 A (selected field #149 y/n) SelField

159* 1 A (selected field #150 y/n) SelField

160* 1 A (selected field #151 y/n) SelField

161* 1 A (selected field #152 y/n) SelField

162* 1 A (selected field #153 y/n) SelField

163* 1 A (selected field #154 y/n) SelField

164* 1 A (selected field #155 y/n) SelField

165* 1 A (selected field #156 y/n) SelField

166* 1 A (selected field #157 y/n) SelField

167* 1 A (selected field #158 y/n) SelField

168* 1 A (selected field #159 y/n) SelField

169* 1 A (selected field #160 y/n) SelField

170* 1 A (selected field #161 y/n) SelField

171* 1 A (selected field #162 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 279

Page 280: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

172* 1 A (selected field #163 y/n) SelField

173* 1 A (selected field #164 y/n) SelField

174* 1 A (selected field #165 y/n) SelField

175* 1 A (selected field #166 y/n) SelField

176* 1 A (selected field #167 y/n) SelField

177* 1 A (selected field #168 y/n) SelField

178* 1 A (selected field #169 y/n) SelField

179* 1 A (selected field #170 y/n) SelField

180* 1 A (selected field #171 y/n) SelField

181* 1 A (selected field #172 y/n) SelField

182* 1 A (selected field #173 y/n) SelField

183* 1 A (selected field #174 y/n) SelField

184* 1 A (selected field #175 y/n) SelField

185* 1 A (selected field #176 y/n) SelField

186* 1 A (selected field #177 y/n) SelField

187* 1 A (selected field #178 y/n) SelField

188* 1 A (selected field #179 y/n) SelField

189* 1 A (selected field #180 y/n) SelField

190* 1 A (selected field #181 y/n) SelField

191* 1 A (selected field #182 y/n) SelField

192* 1 A (selected field #183 y/n) SelField

193* 1 A (selected field #184 y/n) SelField

194* 1 A (selected field #185 y/n) SelField

195* 1 A (selected field #186 y/n) SelField

196* 1 A (selected field #187 y/n) SelField

197* 1 A (selected field #188 y/n) SelField

198* 1 A (selected field #189 y/n) SelField

199* 1 A (selected field #190 y/n) SelField

200* 1 A (selected field #191 y/n) SelField

201* 1 A (selected field #192 y/n) SelField

202* 1 A (selected field #193 y/n) SelField

203* 1 A (selected field #194 y/n) SelField

204* 1 A (selected field #195 y/n) SelField

205* 1 A (selected field #196 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 280

Page 281: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

DVUD02Change Data View Definition

Archive Record Layout"DVUD02","","","","","","View Name","Master View","Sub View","(selected field #1 y/n)"(selected field #2 y/n)","(selected field #3 y/n)","(selected field #4 y/n)"(selected field #5 y/n)","(selected field #6 y/n)","(selected field #7 y/n)"(selected field #8 y/n)","(selected field #9 y/n)","(selected field #10 y/n)"(selected field #11 y/n)","(selected field #12 y/n)","(selected field #13 y/n)"(selected field #14 y/n)","(selected field #15 y/n)","(selected field #16 y/n)"(selected field #17 y/n)","(selected field #18 y/n)","(selected field #19 y/n)"(selected field #20 y/n)","(selected field #21 y/n)","(selected field #22 y/n)"(selected field #23 y/n)","(selected field #24 y/n)","(selected field #25 y/n)"(selected field #26 y/n)","(selected field #27 y/n)","(selected field #28 y/n)"(selected field #29 y/n)","(selected field #30 y/n)","(selected field #31 y/n)"(selected field #32 y/n)","(selected field #33 y/n)","(selected field #34 y/n)"(selected field #35 y/n)","(selected field #36 y/n)","(selected field #37 y/n)"(selected field #38 y/n)","(selected field #39 y/n)","(selected field #40 y/n)"(selected field #41 y/n)","(selected field #42 y/n)","(selected field #43 y/n)"(selected field #44 y/n)","(selected field #45 y/n)","(selected field #46 y/n)"(selected field #47 y/n)","(selected field #48 y/n)","(selected field #49 y/n)"(selected field #50 y/n)","(selected field #51 y/n)","(selected field #52 y/n)"(selected field #53 y/n)","(selected field #54 y/n)","(selected field #55 y/n)"(selected field #56 y/n)","(selected field #57 y/n)","(selected field #58 y/n)"(selected field #59 y/n)","(selected field #60 y/n)","(selected field #61 y/n)"(selected field #62 y/n)","(selected field #63 y/n)","(selected field #64 y/n)"(selected field #65 y/n)","(selected field #66 y/n)","(selected field #67 y/n)"(selected field #68 y/n)","(selected field #69 y/n)","(selected field #70 y/n)"(selected field #71 y/n)","(selected field #72 y/n)","(selected field #73 y/n)"(selected field #74 y/n)","(selected field #75 y/n)","(selected field #76 y/n)"(selected field #77 y/n)","(selected field #78 y/n)","(selected field #79 y/n)"(selected field #80 y/n)","(selected field #81 y/n)","(selected field #82 y/n)"(selected field #83 y/n)","(selected field #84 y/n)","(selected field #85 y/n)"(selected field #86 y/n)","(selected field #87 y/n)","(selected field #88 y/n)"(selected field #89 y/n)","(selected field #90 y/n)","(selected field #91 y/n)"(selected field #92 y/n)","(selected field #93 y/n)","(selected field #94 y/n)"(selected field #95 y/n)","(selected field #96 y/n)","(selected field #97 y/n)"(selected field #98 y/n)","(selected field #99 y/n)","(selected field #100 y/n)"(selected field #101 y/n)","(selected field #102 y/n)","(selected field #103 y/n)"(selected field #104 y/n)","(selected field #105 y/n)","(selected field #106 y/n)"(selected field #107 y/n)","(selected field #108 y/n)","(selected field #109 y/n)","(selected field #110 y/n)","(selected field #111 y/n)","(selected field #112 y/n)","(selected field #113 y/n)","(selected field #104 y/n)","(selected field #105 y/n)","(selected field #106 y/n)","(selected field #107 y/n)","(selected field #108 y/n)","(selected field #109 y/n)","(selected field #110 y/n)","(selected field #111 y/n)","(selected field #112 y/n)","(selected field #113 y/n)","(selected field #114 y/n)","(selected field #115 y/n)","(selected field #116 y/n)","(selected field #117 y/n)","(selected field #118 y/n)","(selected field #119 y/n)","(selected field #120 y/n)","(selected field #121 y/n)","(selected field #122 y/n)","(selected field #123 y/n)","(selected field

206* 1 A (selected field #197 y/n) SelField

207* 1 A (selected field #198 y/n) SelField

208* 1 A (selected field #199 y/n) SelField

209* 1 A (selected field #200 y/n) SelField

210* 1 A (selected field #201 y/n) SelField

220 4 A Owner Owner

221 50 A View Description View_Desc

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 281

Page 282: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

#124 y/n)","(selected field #125 y/n)","(selected field #126 y/n)","(selected field #127 y/n)","(selected field #128 y/n)","(selected field #129 y/n)","(selected field #130 y/n)","(selected field #131 y/n)","(selected field #132 y/n)","(selected field #133 y/n)","(selected field #134 y/n)","(selected field #135 y/n)","(selected field #136 y/n)","(selected field #137 y/n)","(selected field #138 y/n)","(selected field #139 y/n)","(selected field #140 y/n)","(selected field #141 y/n)","(selected field #142 y/n)","(selected field #143 y/n)","(selected field #144 y/n)","(selected field #145 y/n)","(selected field #146 y/n)","(selected field #147 y/n)","(selected field #148 y/n)","(selected field #149 y/n)","(selected field #150 y/n)","(selected field #151 y/n)","(selected field #152 y/n)","(selected field #153 y/n)","(selected field #154 y/n)","(selected field #155 y/n)","(selected field #156 y/n)","(selected field #157 y/n)","(selected field #158 y/n)","(selected field #159 y/n)","(selected field #160 y/n)","(selected field #161 y/n)","(selected field #162 y/n)","(selected field #163 y/n)","(selected field #164 y/n)","(selected field #165 y/n)","(selected field #166 y/n)","(selected field #167 y/n)","(selected field #168 y/n)","(selected field #169 y/n)","(selected field #170 y/n)","(selected field #171 y/n)","(selected field #172 y/n)","(selected field #173 y/n)","(selected field #174 y/n)","(selected field #175 y/n)","(selected field #176 y/n)","(selected field #177 y/n)","(selected field #178 y/n)","(selected field #179 y/n)","(selected field #180 y/n)","(selected field #181 y/n)","(selected field #182 y/n)","(selected field #183 y/n)","(selected field #184 y/n)","(selected field #185 y/n)","(selected field #186 y/n)","(selected field #187 y/n)","(selected field #188 y/n)","(selected field #189 y/n)","(selected field #190 y/n)","(selected field #191 y/n)","(selected field #192 y/n)","(selected field #193 y/n)","(selected field #194 y/n)","(selected field #195 y/n)","(selected field #196 y/n)","(selected field #197 y/n)","(selected field #198 y/n)","(selected field #199 y/n)","(selected field #200 y/n)","(selected field #201 y/n)","", "","","","","","","","","","Owner","View Description"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A View Name View_Name

8* 15 A Master View Mast_View

9* 15 A Sub View Sub_View

10* 1 A (selected field #1 y/n) SelField

11* 1 A (selected field #2 y/n) SelField

12* 1 A (selected field #3 y/n) SelField

13* 1 A (selected field #4 y/n) SelField

14* 1 A (selected field #5 y/n) SelField

15* 1 A (selected field #6 y/n) SelField

16* 1 A (selected field #7 y/n) SelField

17* 1 A (selected field #8 y/n) SelField

18* 1 A (selected field #9 y/n) SelField

19* 1 A (selected field #10 y/n) SelField

20* 1 A (selected field #11 y/n) SelField

21* 1 A (selected field #12 y/n) SelField

22* 1 A (selected field #13 y/n) SelField

23* 1 A (selected field #14 y/n) SelField

Data Import Macros and Data Dictionary 282

Page 283: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

24* 1 A (selected field #15 y/n) SelField

25* 1 A (selected field #16 y/n) SelField

26* 1 A (selected field #17 y/n) SelField

27* 1 A (selected field #18 y/n) SelField

28* 1 A (selected field #19 y/n) SelField

29* 1 A (selected field #20 y/n) SelField

30* 1 A (selected field #21 y/n) SelField

31* 1 A (selected field #22 y/n) SelField

32* 1 A (selected field #23 y/n) SelField

33* 1 A (selected field #24 y/n) SelField

34* 1 A (selected field #25 y/n) SelField

35* 1 A (selected field #26 y/n) SelField

36* 1 A (selected field #27 y/n) SelField

37* 1 A (selected field #28 y/n) SelField

38* 1 A (selected field #29 y/n) SelField

39* 1 A (selected field #30 y/n) SelField

40* 1 A (selected field #31 y/n) SelField

41* 1 A (selected field #32 y/n) SelField

42* 1 A (selected field #33 y/n) SelField

43* 1 A (selected field #34 y/n) SelField

44* 1 A (selected field #35 y/n) SelField

45* 1 A (selected field #36 y/n) SelField

46* 1 A (selected field #37 y/n) SelField

47* 1 A (selected field #38 y/n) SelField

48* 1 A (selected field #39 y/n) SelField

49* 1 A (selected field #40 y/n) SelField

50* 1 A (selected field #41 y/n) SelField

51* 1 A (selected field #42 y/n) SelField

52* 1 A (selected field #43 y/n) SelField

53* 1 A (selected field #44 y/n) SelField

54* 1 A (selected field #45 y/n) SelField

55* 1 A (selected field #46 y/n) SelField

56* 1 A (selected field #47 y/n) SelField

57* 1 A (selected field #48 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 283

Page 284: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

58* 1 A (selected field #49 y/n) SelField

59* 1 A (selected field #50 y/n) SelField

60* 1 A (selected field #51 y/n) SelField

61* 1 A (selected field #52 y/n) SelField

62* 1 A (selected field #53 y/n) SelField

63* 1 A (selected field #54 y/n) SelField

64* 1 A (selected field #55 y/n) SelField

65* 1 A (selected field #56 y/n) SelField

66* 1 A (selected field #57 y/n) SelField

67* 1 A (selected field #58 y/n) SelField

68* 1 A (selected field #59 y/n) SelField

69* 1 A (selected field #60 y/n) SelField

70* 1 A (selected field #61 y/n) SelField

71* 1 A (selected field #62 y/n) SelField

72* 1 A (selected field #63 y/n) SelField

73* 1 A (selected field #64 y/n) SelField

74* 1 A (selected field #65 y/n) SelField

75* 1 A (selected field #66 y/n) SelField

76* 1 A (selected field #67 y/n) SelField

77* 1 A (selected field #68 y/n) SelField

78* 1 A (selected field #69 y/n) SelField

79* 1 A (selected field #70 y/n) SelField

80* 1 A (selected field #71 y/n) SelField

81* 1 A (selected field #72 y/n) SelField

82* 1 A (selected field #73 y/n) SelField

83* 1 A (selected field #74 y/n) SelField

84* 1 A (selected field #75 y/n) SelField

85* 1 A (selected field #76 y/n) SelField

86* 1 A (selected field #77 y/n) SelField

87* 1 A (selected field #78 y/n) SelField

88* 1 A (selected field #79 y/n) SelField

89* 1 A (selected field #80 y/n) SelField

90* 1 A (selected field #81 y/n) SelField

91* 1 A (selected field #82 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 284

Page 285: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

92* 1 A (selected field #83 y/n) SelField

93* 1 A (selected field #84 y/n) SelField

94* 1 A (selected field #85 y/n) SelField

95* 1 A (selected field #86 y/n) SelField

96* 1 A (selected field #87 y/n) SelField

97* 1 A (selected field #88 y/n) SelField

98* 1 A (selected field #89 y/n) SelField

99* 1 A (selected field #90 y/n) SelField

100* 1 A (selected field #91 y/n) SelField

101* 1 A (selected field #92 y/n) SelField

102* 1 A (selected field #93 y/n) SelField

103* 1 A (selected field #94 y/n) SelField

104* 1 A (selected field #95 y/n) SelField

105* 1 A (selected field #96 y/n) SelField

106* 1 A (selected field #97 y/n) SelField

107* 1 A (selected field #98 y/n) SelField

108* 1 A (selected field #99 y/n) SelField

109* 1 A (selected field #100 y/n) SelField

110* 1 A (selected field #101 y/n) SelField

111* 1 A (selected field #102 y/n) SelField

112* 1 A (selected field #103 y/n) SelField

113* 1 A (selected field #104 y/n) SelField

114* 1 A (selected field #105 y/n) SelField

115* 1 A (selected field #106 y/n) SelField

116* 1 A (selected field #107 y/n) SelField

117* 1 A (selected field #108 y/n) SelField

118* 1 A (selected field #109 y/n) SelField

119* 1 A (selected field #110 y/n) SelField

120* 1 A (selected field #111 y/n) SelField

121* 1 A (selected field #112 y/n) SelField

122* 1 A (selected field #113 y/n) SelField

123* 1 A (selected field #114 y/n) SelField

124* 1 A (selected field #115 y/n) SelField

125* 1 A (selected field #116 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 285

Page 286: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

126* 1 A (selected field #117 y/n) SelField

127* 1 A (selected field #118 y/n) SelField

128* 1 A (selected field #119 y/n) SelField

129* 1 A (selected field #120 y/n) SelField

130* 1 A (selected field #121 y/n) SelField

131* 1 A (selected field #122 y/n) SelField

132* 1 A (selected field #123 y/n) SelField

133* 1 A (selected field #124 y/n) SelField

134* 1 A (selected field #125 y/n) SelField

135* 1 A (selected field #126 y/n) SelField

136* 1 A (selected field #127 y/n) SelField

137* 1 A (selected field #128 y/n) SelField

138* 1 A (selected field #129 y/n) SelField

139* 1 A (selected field #130 y/n) SelField

140* 1 A (selected field #131 y/n) SelField

141* 1 A (selected field #132 y/n) SelField

142* 1 A (selected field #133 y/n) SelField

143* 1 A (selected field #134 y/n) SelField

144* 1 A (selected field #135 y/n) SelField

145* 1 A (selected field #136 y/n) SelField

146* 1 A (selected field #137 y/n) SelField

147* 1 A (selected field #138 y/n) SelField

148* 1 A (selected field #139 y/n) SelField

149* 1 A (selected field #140 y/n) SelField

150* 1 A (selected field #141 y/n) SelField

151* 1 A (selected field #142 y/n) SelField

152* 1 A (selected field #143 y/n) SelField

153* 1 A (selected field #144 y/n) SelField

154* 1 A (selected field #145 y/n) SelField

155* 1 A (selected field #146 y/n) SelField

156* 1 A (selected field #147 y/n) SelField

157* 1 A (selected field #148 y/n) SelField

158* 1 A (selected field #149 y/n) SelField

159* 1 A (selected field #150 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 286

Page 287: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

160* 1 A (selected field #151 y/n) SelField

161* 1 A (selected field #152 y/n) SelField

162* 1 A (selected field #153 y/n) SelField

163* 1 A (selected field #154 y/n) SelField

164* 1 A (selected field #155 y/n) SelField

165* 1 A (selected field #156 y/n) SelField

166* 1 A (selected field #157 y/n) SelField

167* 1 A (selected field #158 y/n) SelField

168* 1 A (selected field #159 y/n) SelField

169* 1 A (selected field #160 y/n) SelField

170* 1 A (selected field #161 y/n) SelField

171* 1 A (selected field #162 y/n) SelField

172* 1 A (selected field #163 y/n) SelField

173* 1 A (selected field #164 y/n) SelField

174* 1 A (selected field #165 y/n) SelField

175* 1 A (selected field #166 y/n) SelField

176* 1 A (selected field #167 y/n) SelField

177* 1 A (selected field #168 y/n) SelField

178* 1 A (selected field #169 y/n) SelField

179* 1 A (selected field #170 y/n) SelField

180* 1 A (selected field #171 y/n) SelField

181* 1 A (selected field #172 y/n) SelField

182* 1 A (selected field #173 y/n) SelField

183* 1 A (selected field #174 y/n) SelField

184* 1 A (selected field #175 y/n) SelField

185* 1 A (selected field #176 y/n) SelField

186* 1 A (selected field #177 y/n) SelField

187* 1 A (selected field #178 y/n) SelField

188* 1 A (selected field #179 y/n) SelField

189* 1 A (selected field #180 y/n) SelField

190* 1 A (selected field #181 y/n) SelField

191* 1 A (selected field #182 y/n) SelField

192* 1 A (selected field #183 y/n) SelField

193* 1 A (selected field #184 y/n) SelField

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 287

Page 288: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

DVUD03Delete Data View Definition

Archive Record Layout"DVUD03","","","","","","View Name","",""

Required Transaction Fields

DVUD04Add Record Selection Criteria—Lines 1-3

Change Record Selection Criteria—Lines 1-3

Archive Record Layout

194* 1 A (selected field #185 y/n) SelField

195* 1 A (selected field #186 y/n) SelField

196* 1 A (selected field #187 y/n) SelField

197* 1 A (selected field #188 y/n) SelField

198* 1 A (selected field #189 y/n) SelField

199* 1 A (selected field #190 y/n) SelField

200* 1 A (selected field #191 y/n) SelField

201* 1 A (selected field #192 y/n) SelField

202* 1 A (selected field #193 y/n) SelField

203* 1 A (selected field #194 y/n) SelField

204* 1 A (selected field #195 y/n) SelField

205* 1 A (selected field #196 y/n) SelField

206* 1 A (selected field #197 y/n) SelField

207* 1 A (selected field #198 y/n) SelField

208* 1 A (selected field #199 y/n) SelField

209* 1 A (selected field #200 y/n) SelField

210* 1 A (selected field #201 y/n) SelField

220 4 A Owner Owner

221 50 A View Description View_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A View Name View_Name

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 288

Page 289: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

"DVUD04","","","","","","Record Selection Criteria (line 1)","Record Selection Criteria (line 2)","Record Selection Criteria (line 3)",""(transaction sequence F/M/L/B)"

Required Transaction Fields

(transaction sequence F/M/L/B) identifies where the transaction belongs in the sequence of interdependent archive records.

The Transaction Sequences are as follows:

DVUD05Add Record Selection Criteria—Lines 4-6

Change Record Selection Criteria—Lines 4-6

Archive Record Layout"DVUD05","","","","","","Record Selection Criteria (line 4)","Record Selection Criteria (line 5)","Record Selection Criteria (line 6)",""(transaction sequence F/M/L/B)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 76 A Record Selection Criteria (line 1)

Rec_Sel1

8 76 A Record Selection Criteria (line 2)

Rec_Sel2

9 76 A Record Selection Criteria (line 3)

Rec_Sel3

11* 1 A (transaction sequence F/M/L/B)

N/A

Identifier Sequence

F First

M Middle

L Last

B Both first and last

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 76 A Record Selection Criteria (line 4)

Rec_Sel4

8 76 A Record Selection Criteria (line 5)

Rec_Sel5

Data Import Macros and Data Dictionary 289

Page 290: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

(transaction sequence F/M/L/B) identifies where the transaction belongs in the sequence of interdependent archive records.

The Transaction Sequences are as follows:

DVUD06Add Record Selection Criteria—Lines 7-9

Change Record Selection Criteria—Lines 7-9

Archive Record Layout"DVUD06","","","","","","Record Selection Criteria (line 7)","Record Selection Criteria (line 8)","Record Selection Criteria (line 9)",""(transaction sequence F/M/L/B)"

Required Transaction Fields

(transaction sequence F/M/L/B) identifies where the transaction belongs in the sequence of interdependent archive records.

The Transaction Sequences are as follows:

9 76 A Record Selection Criteria (line 6)

Rec_Sel6

11* 1 A (transaction sequence F/M/L/B)

N/A

Identifier Sequence

F First

M Middle

L Last

B Both first and last

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 76 A Record Selection Criteria (line 7)

Rec_Sel7

8 76 A Record Selection Criteria (line 8)

Rec_Sel8

9 76 A Record Selection Criteria (line 9)

Rec_Sel9

11* 1 A (transaction sequence F/M/L/B)

N/A

Identifier Sequence

F First

Data Import Macros and Data Dictionary 290

Page 291: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

DVUD07Add Record Selection Criteria—Lines 10-12

Change Record Selection Criteria—Lines 10-12

Archive Record Layout"DVUD07","","","","","","Record Selection Criteria (line 10)","Record Selection Criteria (line 11)","Record Selection Criteria (line 12)",""(transaction sequence F/M/L/B)"

Required Transaction Fields

(transaction sequence F/M/L/B) identifies where the transaction belongs in the sequence of interdependent archive records.

The Transaction Sequences are as follows:

DVUD08Add Record Selection Criteria—Lines 13-14

Change Record Selection Criteria—Lines 13-14

Archive Record Layout"DVUD08","","","","","","Record Selection Criteria (line 13)","Record Selection Criteria (line 14)","","(transaction sequence F/M/L/B)"

M Middle

L Last

B Both first and last

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 76 A Record Selection Criteria (line 10)

Rec_Sel10

8 76 A Record Selection Criteria (line 11)

Rec_Sel11

9 76 A Record Selection Criteria (line 12)

Rec_Sel12

11* 1 A (transaction sequence F/M/L/B)

N/A

Identifier Sequence

F First

M Middle

L Last

B Both first and last

Data Import Macros and Data Dictionary 291

Page 292: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 D – Data Import Macros

Required Transaction Fields

(transaction sequence F/M/L/B) identifies where the transaction belongs in the sequence of interdependent archive records.

The Transaction Sequences are as follows:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 76 A Record Selection Criteria (line 13)

Rec_Sel13

8 76 A Record Selection Criteria (line 14)

Rec_Sel14

11* 1 A (transaction sequence F/M/L/B)

N/A

Identifier Sequence

F First

M Middle

L Last

B Both first and last

Data Import Macros and Data Dictionary 292

Page 293: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

E – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

EDCF – EDI Configuration

EDCF Transactions

EDCF01Change EDI Configuration

Archive Record Layout"EDCF01","","","","","","Cust Class for EDI Code","Vend Class for EDI Code","Extract Item Priority","PO Prefix","Digits","Control Counter","Horizon in Weeks"

Required Transaction Fields

EDCF01EDI Configuration

Archive Record Layout

Macro Id DescriptionMacro File

Name

EDCF01 Change EDI Configuration EDIM

EDCF01 EDI Configuration EDIM

EDCF02 Add Global Allowance/Charge Settings EDIM

EDCF03 Change Global Allowance/Charge Settings EDIM

EDCF04 Delete Global Allowance/Charge Settings EDIM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Cust Class for EDI Code N/A

8 1 A Vend Class for EDI Code N/A

9 2 A Extract Item Priority N/A

10 8 A PO Prefix N/A

11 1 A Digits N/A

12 7 A Control Counter N/A

13 3 A Horizon in Weeks N/A

Data Import Macros and Data Dictionary 293

Page 294: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

"EDCF01","","","","","","Default Dispostion","Co Prefix","Co Digits","Csr","Ptext","Starting Deliver To Id","Our Partner Name","Po Prefix","Po Digits","Our Time Zone","Translator Fmt","EDI Std","Show Over-rides”,”Document Format”

Required Transaction Fields

EDCF02Add Global Allowance/Charge Settings

Archive Record Layout"EDCF02","","","","","","","","Scc","Svc","Alw/Chg Description","Price Adj Debit Acct"

Required Transaction Fields

EDCF03Change Global Allowance/Charge Settings

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Default Dispostion N/A

8 8 A Co Prefix N/A

9 1 N Co Digits N/A

10 3 A Csr N/A

11 1 A Ptext N/A

12 13 A Starting Deliver To Id N/A

13 14 A Our Partner Name N/A

14 8 A Po Prefix N/A

15 1 N Po Digits N/A

16 2 A Our Time Zone N/A

17 1 A Translator Fmt N/A

18 1 A EDI Std N/A

19 1 A Show Over-rides N/A

20 1 N Document Format N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9 4 A Scc N/A

10 6 A Svc N/A

11 35 A Alw/Chg Description N/A

12 20 A Price Adj Debit Acct N/A

Data Import Macros and Data Dictionary 294

Page 295: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

Archive Record Layout"EDCF03","","","","","","Scc (old)","Svc (old)","Scc (new)","Svc (new)","Alw/Chg Description","Price Adj Debit Acct"

Required Transaction Fields

EDCF04Delete Global Allowance/Charge Settings

Archive Record Layout"EDCF04","","","","","","Scc","Svc"

Required Transaction Fields

ENGM – ENGM ModuleTraditional data import transactions are not available for the Engineering Module. Use the Engineering online manual for detail information on the ENGM module-specific data import file layouts.

ETPT - Email Template

ETPT Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Scc (old) N/A

8* 6 A Svc (old) N/A

9 4 A Scc (new) N/A

10 6 A Svc (new) N/A

11 35 A Alw/Chg Description N/A

12 20 A Price Adj Debit Acct N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Scc N/A

8* 6 A Svc N/A

Macro Id DescriptionMacro File

Name

ETPT00 Add Email Template SYSM2

ETPT01 Change Email Template SYSM2

Data Import Macros and Data Dictionary 295

Page 296: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

ETPT00Add Email Template

Archive Record Layout

"ETPT00","","","","","","Email Template Id","Email Template Description","Report Type","Default Sender","Sender Derived From","Email Subject"

Required Transaction Fields

ETPT01Change Email Template

Archive Record Layout

"ETPT01","","","","","","Email Template Id","Email Template Description","","Default Sender","Sender Derived From","Email Subject"

Required Transaction Fields

ETPT02 Delete Email Template SYSM2

ETPT03 Add Email Template Internal Recipient SYSM2

ETPT04 Change Email Template Internal Recipient SYSM2

ETPT05 Delete Email Template Internal Recipient SYSM2

ETPT06 Change Email Body SYSM2

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

8 70 A Email Template Description N/A

9* 20 A Report Type N/A

10* 256 A Default Sender N/A

11 20 A Sender Derived From N/A

12 255 A Email Subject N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

8 70 A Email Template Description N/A

10 128 A Default Sender N/A

Data Import Macros and Data Dictionary 296

Page 297: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

ETPT02Delete Email Template

Archive Record Layout

"ETPT02","","","","","","Email Template Id"

Required Transaction Fields

ETPT03Add Email Template Internal Recipient

Archive Record Layout

"ETPT03","","","","","","Email Template Id",”Seq Num”,"Send As","Recipient Derived From","Contact Id","Email Address"

Required Transaction Fields

Field 11, Contact Id, indicates that an internal contact is selected for this internal recipient.

Fields 10 (Recipient Derived From), 11 (Contact Id), and 12 (Email Address) are used for a similar purpose that set email address information for the internal recipient. Only one of them takes effect. Use the following rules to determine which field should be used:

• If Recipient Derived From is specified, use Recipient Derived From and ignore Contact Id and Email Address.

11 20 A Sender Derived From N/A

12 255 A Email Subject N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

8* 3 A Seq Num N/A

9* 1 A Send As N/A

10 20 A Recipient Derived From N/A

11 10 A Contact Id N/A

12 128 A Email Address N/A

Data Import Macros and Data Dictionary 297

Page 298: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

• If Recipient Derived From is empty, but Contact Id is specified, use Contact Id and ignore Email Address.

• If both Recipient Dervied From and Contact Id are empty, use Email Address.

ETPT04Change Email Template Internal Recipient

Archive Record Layout

"ETPT04","","","","","","Email Template Id","Seq Num","Send As","Recipient Derived From","Contact Id",”Email Address”

Required Transaction Fields

ETPT05Delete Email Template Internal Recipient

Archive Record Layout

"ETPT05","","","","","","Email Template Id","Seq Num"

Required Transaction Fields

ETPT06Change Email Body

Archive Record Layout

"ETPT06","","","","","","Email Template Id","Email Body"

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

8* 3 A Seq Num N/A

9 1 A Send As N/A

10 20 A Recipient Derived From N/A

11 10 A Contact Id N/A

12 128 A Email Address N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

8* 3 A Seq Num N/A

Data Import Macros and Data Dictionary 298

Page 299: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 E – Data Import Macros

Required Transaction Fields

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Email Template Id N/A

8 2499 A Email Body N/A

Data Import Macros and Data Dictionary 299

Page 300: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 F – Data Import Macros

F – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

FCMT – Function Code Maintenance

FCMT Transactions

FCMT00Add Function Code

Archive Record Layout"FCMT00","","","","","","Func Code","Access Code","Menu Description","Assigned to Menu","Program"

Required Transaction Fields

FCMT01Change Function Code

Archive Record Layout"FCMT01","","","","","","Func Code","Access Code","Menu Description","Assigned to Menu","Program"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

FCMT00 Add Function Code SYSM

FCMT01 Change Function Code SYSM

FCMT02 Delete Function Code SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 4 A Func Code Function

8 30 A Access Code N/A

9 50 A Menu Description N/A

10 4 A Assigned to Menu N/A

11 8 A Program N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 300

Page 301: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 F – Data Import Macros

FCMT02Delete Function Code

Archive Record Layout"FCMT02","","","","","","Func Code","","","",""

Required Transaction Fields

FCST – Forecast

FCST Transactions

FCST00Add Forecast

Archive Record Layout"FCST00","","","","","","Item",,"",,"Fcst Date","Quantity (new)","Type (new)","Unit Price (new)"

Required Transaction Fields

7* 4 A Func Code Function

8 30 A Access Code N/A

9 50 A Menu Description N/A

10 4 A Assigned to Menu N/A

11 8 A Program N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Func Code Function

Macro Id DescriptionMacro File

Name

FCST00 Add Forecast MRPM

FCST01 Change Forecast MRPM

FCST02 Delete Forecast MRPM

FCST12 Delete Forecasts By Forecast Date MRPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

Data Import Macros and Data Dictionary 301

Page 302: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 F – Data Import Macros

FCST01Change Forecast

Archive Record Layout"FCST01","","","","","","Item","Quantity (old)","Type (old)",Unit Price (old),"Fcst Date",Quantity (new),"Type (new)","Unit Price (new)"

Required Transaction Fields

FCST02Delete Forecast

Archive Record Layout"FCST02","","","","","","Item","Quantity (old)","Type (old)","Unit Price (old)","Fcst Date",,"",

Required Transaction Fields

11 6 D Fcst Date Reqd_Date

12 10 N Quantity (new) Quantity

13 1 A Type (new) New_Type

14 17 N Unit Price (new) New_Price

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 10 N Quantity (old) Quantity

9* 1 A Type (old) Old_Type

10* 17 N Unit Price (old) Old_Price

11* 6 D Fcst Date Reqd_Date

12 10 N Quantity (new) Quantity

13 1 A Type (new) New_Type

14 17 N Unit Price (new) New_Price

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 10 N Quantity (old) Quantity

9* 1 A Type (old) Old_Type

10* 17 N Unit Price (old) Old_Price

11* 6 D Fcst Date N/A

Data Import Macros and Data Dictionary 302

Page 303: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 F – Data Import Macros

FCST12Delete all forecastsThis macro extracts forecast information from the system then deletes the forecasts based on the extracted data. FCST12 will delete all forecast lines for an item with the same forecast date without attempting to match any of the other information on the forecast lines. The FCST screen will not create an FCST12 archive transaction. When the FCST12 macro is executed, the archive file will contain an FCST02 transaction for each forecast line actually deleted.

Archive Record Layout"FCST12","","","","","","Item","Fcst Date",,"",

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1 6 A (macro id) N/A

7 30 A Item Item

11* 6 D Fcst Date N/A

Data Import Macros and Data Dictionary 303

Page 304: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

G – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

GLAG – G/L Account Group

GLAG Transactions

GLAG00Add G/L Account Group

Archive Record Layout"GLAG00","","","","","","","G/L Account Group","G/L Account Group Description"

Required Transaction Fields

GLAG01Change G/L Account Group

Archive Record Layout"GLAG01","","","","","","","G/L Account Group","G/L Account Group Description"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

GLAG00 Add G/L Account Group GLSM3

GLAG01 Change G/L Account Group GLSM3

GLAG02 Delete G/L Account Group GLSM3

GLAG03 Add G/L Account Group Member GLSM3

GLAG04 Delete G/L Account Group Member GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A G/L Account Group GL_Act_No

9 70 A G/L Account Group Descrip-tion

GL_Act_Dsc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A G/L Account Group GL_Act_No

Data Import Macros and Data Dictionary 304

Page 305: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLAG02Delete G/L Account Group

Archive Record Layout"GLAG02","","","","","","","G/L Account Group",""

Required Transaction Fields

GLAG03Add G/L Account Group Member

Archive Record Layout"GLAG03","","","","","","","G/L Account Group","G/L Account Group/No"

Required Transaction Fields

GLAG04Delete G/L Account Group Member

Archive Record Layout"GLAG04","","","","","","","G/L Account Group","G/L Account Group/No"

Required Transaction Fields

9 70 A G/L Account Group Descrip-tion

GL_Act_Dsc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A G/L Account Group GL_Act_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A G/L Account Group Parent_Act

9* 10 A G/L Account Group/No Child_Act

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A G/L Account Group Parent_Act

9* 10 A G/L Account Group/No Child_Act

Data Import Macros and Data Dictionary 305

Page 306: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLAV – G/L Account/Organization Validation

GLAV Transactions

GLAV00Add Validation Method and Organization Number to a newly Validated Account

Add New Organization Number to an existing Validated Account

Archive Record Layout"GLAV00","","","","","","Validation Method","Account No","Org No"

Required Transaction Fields

GLAV01Change Validation Method

Archive Record Layout"GLAV01","","","","","","Validation Method","Account No",""

Required Transaction Fields

GLAV05

Macro Id DescriptionMacro File

Name

GLAV00 Add Validation Method and Organization Number to a newly Validated Account

GLSM2

Add New Organization Number to an existing Validated Account

GLSM2

GLAV01 Change Validation Method GLSM2

GLAV05 Delete Organization Allowed/Disallowed GLSM2

Fld# Lgth Type Screen Name Export Name

1* 4 C (macro name) n/a

7* 1 A Validation Method n/a

8* 10 A Account No GL_Act_No

9* 20 A Org No Org_Grp_No

Fld# Lgth Type Screen Name Export Name

1* 4 C (macro name) n/a

7 1 A Validation Method n/a

8* 10 A Account No GL_Act_No

Data Import Macros and Data Dictionary 306

Page 307: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Delete Organization Allowed/Disallowed

Archive Record Layout"GLAV05","","","","","","","Account No","Org No"

Required Transaction Fields

GLBD – G/L Budget/Planning Type Definition

GLBD Transactions

GLBD00Add Budget/Planning Type

Archive Record Layout"GLBD00","","","","","","Fiscal Year","Budget/Planning Type","Budget/Planning Type Description","Column Heading 1","Column Heading 2","Protect"

Required Transaction Fields

GLBD01Change Budget/Planning Type

Fld# Lgth Type Screen Name Export Name

1* 4 C (macro name) n/a

8* 10 A Account No GL_Act_No

9* 20 A Org No Org_Grp_No

Macro Id DescriptionMacro File

Name

GLBD00 Add Budget/Planning Type GLSM3

GLBD01 Change Budget/Planning Type GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Fiscal Year Fiscal_Yr

8 2 A Budget/Planning Type BP_Type

9 35 A Budget/Planning Type Description

N/A

10 10 A Column Heading 1 N/A

11 10 A Column Heading 2 N/A

12 1 A Protect N/A

Data Import Macros and Data Dictionary 307

Page 308: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Archive Record Layout"GLBD01","","","","","","Fiscal Year","Budget/Planning Type","Budget/Planning Type Description","Column Heading 1","Column Heading 2","Protect"

Required Transaction Fields

GLBU – G/L Budget/Planning UpdateThe GLBU transactions use the following screen and window:

• GLBU (G/L Budget/Planning Update)

• G/L year/Types List window

GLBU Transactions

G/L Year/Types List Transactions

GLBU00Add Budget/Plan

Archive Record Layout"GLBU00","","","","","","Master Account No","Distrib Method","Year/Types",,,,,,,,,,,,,,,

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 4 A Fiscal Year Fiscal_Yr

8* 2 A Budget/Planning Type BP_Type

9 35 A Budget/Planning Type Description

N/A

10 10 A Column Heading 1 N/A

11 10 A Column Heading 2 N/A

12 1 A Protect N/A

Macro Id DescriptionMacro File

Name

GLBU00 Add Budget/Plan GLSM3

GLBU01 Change Budget/Plan GLSM3

Macro Id DescriptionMacro File

Name

GLBU05 Delete Budget/Plan GLSM3

Data Import Macros and Data Dictionary 308

Page 309: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Required Transaction Fields

GLBU01Change Budget/Plan

Archive Record Layout"GLBU01","","","","","","Master Account No","Distrib Method","Year/Types",Beg Bal,(period amount 1),(period amount 2),(period amount 3),(period amount 4),(period amount 5),(period amount 6),(period amount 7),(period amount 8),(period amount 9),(period amount 10),(period amount 11),(period amount 12),(period amount 13),End Bal

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Master Account No Mst_Act_No

8 1 A Distrib Method N/A

9 4 A Year/Types N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 20 A Master Account No Mst_Act_No

8* 1 A Distrib Method N/A

9* 4 A Year/Types N/A

10 12 N Beg Bal N/A

11 12 N (period amount 1) Prd_Amt_1

12 12 N (period amount 2) Prd_Amt_2

13 12 N (period amount 3) Prd_Amt_3

14 12 N (period amount 4) Prd_Amt_4

15 12 N (period amount 5) Prd_Amt_5

16 12 N (period amount 6) Prd_Amt_6

17 12 N (period amount 7) Prd_Amt_7

18 12 N (period amount 8) Prd_Amt_8

19 12 N (period amount 9) Prd_Amt_9

20 12 N (period amount 10) Prd_Amt_10

21 12 N (period amount 11) Prd_Amt_11

22 12 N (period amount 12) Prd_Amt_12

23 12 N (period amount 13) Prd_Amt_13

24 12 N End Bal N/A

Data Import Macros and Data Dictionary 309

Page 310: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLBU05Delete Budget/Plan

Archive Record Layout"GLBU05","","","","","","Master Account No","Year/Types"

Required Transaction Fields

GLCA – G/L Chart of AccountsThe GLCA transactions use the following screens and windows:

• GLCA (G/L Chart of Accounts)

• G/L Account Attributes window

GLCA Transactions

G/L Chart of Accounts Transactions

GLCA00Add G/L Account Number

Archive Record Layout"GLCA00","","","","","","G/L Account Group/No","G/L Account Group/No Description","AT","CT","AI","User Code 1","User Code 2","Consld G/L Account No"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 20 A Master Account No Mst_Act_No

8* 4 A Year/Types N/A

Macro Id DescriptionMacro File

Name

GLCA00 Add G/L Account Number GLSM3

GLCA01 Change G/L Account Number GLSM3

GLCA02 Delete G/L Account Number GLSM3

Macro Id Description

GLCA03 Change G/L Account Attributes

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 310

Page 311: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLCA01Change G/L Account Number

Archive Record Layout"GLCA01","","","","","","G/L Account Group/No","G/L Account Group/No Description","","","AI","User Code 1","User Code 2","Consld G/L Account No"

Required Transaction Fields

GLCA02Delete G/L Account Number

Archive Record Layout"GLCA02","","","","","","G/L Account Group/No","","","","",""

Required Transaction Fields

1* 6 A (macro id) N/A

7 10 A G/L Account Group/No GL_Act_No

8 70 A G/L Account Group/No Description

GL_Act_Dsc

9 1 A AT Act_Type

10 1 A CT Act_Cat

11 1 A AI Actv_Inact

12 6 A User Code 1 Usr_Code_1

13 6 A User Code 2 Usr_Code_2

14 10 A Consld G/L Account No Con_Act_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 10 A G/L Account Group/No GL_Act_No

8 70 A G/L Account Group/No Description

GL_Act_Desc

11 1 A AI Actv_Inact

12 6 A User Code 1 Usr_Code_1

13 6 A User Code 2 Usr_Code_2

14 10 A Consld G/L Account No Con_Act_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 10 A G/L Account Group/No GL_Act_No

Data Import Macros and Data Dictionary 311

Page 312: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLCA03Change G/L Account Attributes

Archive Record Layout"GLCA03","","","","","","G/L Account Group/No","User Ref 3","User Ref 4","User Ref5","User Ref 6","User Ref 7","User Ref 8","User Ref 9","User Ref 10","User Ref 11","User Ref 12","User Ref 13","User Ref 14","User Ref 15","Curr Code"

Required Transaction Fields

Note: Field# 21 is available only when the MCMM Module is installed.

GLCF – G/L Configuration

GLCF Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 10 A G/L Account Group/No GL_Act_No

8 1 A User Ref 3 Usr_Code_3

9 1 A User Ref 4 Usr-Code_4

10 1 A User Ref 5 Usr_Code_5

11 1 A User Ref 6 Usr_Code_6

12 1 A User Ref 7 Usr_Code_7

13 1 A User Ref 8 Usr_Code_8

14 1 A User Ref 9 Usr_Code_9

15 1 A User Ref 10 Usr_Code_10

16 1 A User Ref 11 Usr_Code_11

17 1 A User Ref 12 Usr_Code_12

18 3 A User Ref 13 Usr_Code_13

19 4 A User Ref 14 Usr_Code_14

20 10 A User Ref 15 Usr_Code_15

21 5 A Curr Code Curr_Code

Macro Id DescriptionMacro File

Name

GLCF00 Change G/L Configuration—Initial Configuration GLOBAL

GLCF01 Change G/L Configuration—Fiscal Year End Dates GLOBAL

GLCF02 Change G/L Banking Configuration GLOBAL

Data Import Macros and Data Dictionary 312

Page 313: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLCF00Change G/L Configuration—Initial ConfigurationThe GLCF00 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout“GLCF00”,””,””,””,””,””,””,”Mstr Acct No Header”,””,”Mstr Acct No Default”,”Ret Earn Org Mask”, ”Ret Earn G/L Acct No”,”Susp Mstr Acct No Post”,”Susp Mstr Acct No Memo”,”Susp Mstr Acct No Stat”, ””,”Periods”,”Posting Err Handling”,””,””,”Bdgt Prd 13”,””,”Mfg to G/L Err Handling”,”Mfg to G/L Trans Limit”

Required Transaction Fields

Note: The GLCF screen must be setup initially from the keyboard manually. Changes may be made to selected fields after the initial setup.

GLCF01Change G/L Configuration—Fiscal Year End DatesThe GLCF01 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"GLCF01","","","","","","(fiscal year type)","Fiscal Year","Acctg Period 1","Acctg Period 2","Acctg Period 3","Acctg Period 4","Acctg Period 5","Acctg Period 6","Acctg Period 7","Acctg Period 8","Acctg Period 9","Acctg Period 10","Acctg Period 11","Acctg Period 12","Acctg Period 13"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 20 A Mstr Acct No Header N/A

10 20 A Mstr Acct No Default N/A

11 19 A Ret Earn Org Mask N/A

12 10 A Ret Earn G/L Acct No N/A

13 20 A Susp Mstr Acct No Post N/A

14 20 A Susp Mstr Acct No Memo N/A

15 20 A Susp Mstr Acct No Stat N/A

17 2 N Periods N/A

18 1 A Posting Err Handling N/A

21 1 A Bdgt Prd 13 N/A

23 1 A Mfg to G/L Err Handling N/A

24 1 A Mfg to G/L Trans Limit N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 313

Page 314: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

The GLCF transactions depend on the type of fiscal year being maintained. The required transaction field, identified as (fiscal year type), is used to determine a fiscal year's type as follows:

GLCF02Change G/L Banking ConfigurationThe GLCF02 transaction is added to the ARCHIVE.FIL file for audit trail purposes. Import processing through the RCVR (System Recovery) task is not available.

Archive Record Layout"GLCF02","","","","","Currency Code 00000 Bank","","Restrict Bank Journal Entries","Valid User Id","Valid User Id to Make Bank Adj"

Required Transaction Fields

7* 2 A (fiscal year type) N/A

8* 4 A Fiscal Year Fiscal_Yr

9 6 D Acctg Period 1 N/A

10 6 D Acctg Period 2 N/A

11 6 D Acctg Period 3 N/A

12 6 D Acctg Period 4 N/A

13 6 D Acctg Period 5 N/A

14 6 D Acctg Period 6 N/A

15 6 D Acctg Period 7 N/A

16 6 D Acctg Period 8 N/A

17 6 D Acctg Period 9 N/A

18 6 D Acctg Period 10 N/A

19 6 D Acctg Period 11 N/A

20 6 D Acctg Period 12 N/A

21 6 D Acctg Period 13 N/A

Fiscal Year Type Description

DB current fiscal year

DC next fiscal year

DD future fiscal year

Fld# Lgth Type Screen Name Export Name

1* 4 A (macro id) n/a

6 2 A Currency Code 00000 Bank Bank_No

8 1 A Restrict Bank Journal Entries n/a

Data Import Macros and Data Dictionary 314

Page 315: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLCO – G/L Consolidation ProcessTransactions created by the GLCO screen are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not needed.

GLEX – G/L Journal Entry Exceptions

GLEX Transactions

GLEX00Change the G/L Queue Processing Status

Archive Record Layout"GLEX00","","","","","",""

Required Transaction Fields

GLEX02Re-validate Records

Archive Record Layout"GLEX02","","","","","",""

Required Transaction Fields

9 4 A Valid User Id n/a

10 4 A Valid User Id to Make Bank Adj

n/a

Macro Id DescriptionMacro File

Name

GLEX00 Change the G/L Queue Processing Status

GLEX02 Re-validate records GLSM3

GLEX03 Delete transaction GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A G/L Queue Processing Status N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 315

Page 316: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLEX03Delete RecordsThe GLEX03 transaction is used for audit trail purposes. The transaction must be reentered manually using the GLEX screen.

GLGQ – G/L Current Period Group Inquiry

GLGQ Transactions

GLGQ00Add Group Combination

Archive Record Layout"GLGQ00","","","","","","Org Group/No","Acct Group/No","Group Type"

Required Transaction Fields

GLGQ01Change Group Combination

Archive Record Layout"GLGQ01","","","","","","Org Group/No","Acct Group/No","Group Type"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

GLGQ00 Add Group Combination GLSM3

GLGQ01 Change Group Combination GLSM3

GLGQ02 Delete Group Combination GLSM3

GLGQ06 Update Group Balance GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Org Group/No Org_Grp_No

8* 10 A Acct Group/No GL_Act_No

9 1 A Group Type N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 20 A Org Group/No Org_Grp_No

8* 10 A Acct Group/No GL_Act_No

Data Import Macros and Data Dictionary 316

Page 317: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLGQ02Delete Group Combination

Archive Record Layout"GLGQ02","","","","","","Org Group/No","Acct Group/No",""

Required Transaction Fields

GLGQ06Update Group Balance

Archive Record Layout"GLGQ06","","","","","","Org Group/No","Acct Group/No","Group Type"

Required Transaction Fields

GLHP – G/L History ProcessTransactions created by the GLHP screen are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not needed. See "G/L History File" under "History File Layouts" in the Administration Reference section of the System Administration manual.

GLJD – G/L Journal Entry Delete

GLJD Transactions

9 1 A Group Type N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Org Group/No Org_Grp_No

8* 10 A Acct Group/No GL_Act_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Org Group/No Org_Grp_No

8* 10 A Acct Group/No GL_Act_No

9 1 A Group Type N/A

Macro Id DescriptionMacro File

Name

GLJD02 Delete Batch GLSM1

Data Import Macros and Data Dictionary 317

Page 318: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJD02Delete Batch

Archive Record Layout"GLJD02","","","","","","Batch No"

Required Transaction Fields

GLJE – G/L Journal EntryThe GLJE transactions use the following screens and windows:

• GLJE (G/L Journal Entry)

• G/L Transaction Detail

• Foreign Cash Reference window

GLJE Transactions

G/L Transaction Detail Transactions

Foreign Cash Reference Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

Macro Id DescriptionMacro File

Name

GLJE00 Add Batch Header GLSM1

GLJE01 Change Batch Header GLSM1

GLJE02 Delete Batch Header GLSM1

GLJE03 Add Batch Transaction GLSM1

GLJE04 Change Batch Transaction GLSM1

GLJE05 Delete Batch Transaction GLSM1

Macro Id DescriptionMacro File

Name

GLJE06 Change Batch Transaction Detail GLSM1

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 318

Page 319: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJE00Add Batch Header

Archive Record Layout"GLJE00","","","","","","","Batch Type","","Batch Status","Batch Reversal","Journal Entry No","","Accounting Period (period)","Accounting Period (year)","Batch Description",""

Required Transaction Fields

Note: Field #14 and 15 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

GLJE01Change Batch Header

Archive Record Layout"GLJE01","","","","","","Batch No","Batch Type","","Batch Status","Batch Reversal","Journal Entry No","Batch Source Code","Accounting Period (period)","Accounting Period (year)","Batch Description","","(CSHM Module installed)"

Required Transaction Fields

GLJE07 Add Foreign Cash Transaction GLSM1

GLJE08 Change Foreign Cash Transaction GLSM1

GLJE09 Delete Foreign Cash Transaction GLSM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 1 A Batch Type Batch_Type

10 1 A Batch Status Batch_Stat

11 1 A Batch Reversal Reversal

12 3 A Journal Entry No Journal_No

14 2 A Accounting Period (period) Acctg_Prd

15 2 A Accounting Period (year) Acctg_Prd

16 35 A Batch Description Batch_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8 1 A Batch Type Batch_Type

10 1 A Batch Status Batch_Stat

11 1 A Batch Reversal Reversal

Data Import Macros and Data Dictionary 319

Page 320: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Note: Fields 14 and 15 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

The Accounting Period field is available only when (CSHM Module installed y/n) = N.

GLJE02Delete Batch Header

Archive Record Layout"GLJE02","","","","","","Batch No","","","","","","","","","",""

Required Transaction Fields

GLJE03Add Batch Transaction

Archive Record Layout"GLJE03","","","","","","Batch No","Seqn No","Master Account No","Trans Description",Debit Amount,Credit Amount,”Batch Status”

Required Transaction Fields

12 3 A Journal Entry No Journal_No

13* 6 A Batch Source Code Batch_Srce

14 2 A Accounting Period (period) Acctg_Prd

15 2 A Accounting Period (year) Acctg_Prd

16 35 A Batch Description Batch_Desc

18* 1 A (CSHM Module installed y/n) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8 4 A Seqn No Batch_Seqn

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

13 1 A Batch Status Batch_Stat

Data Import Macros and Data Dictionary 320

Page 321: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJE04Change Batch Transaction

Archive Record Layout"GLJE04","","","","","","Batch No","Seqn No","Master Account No","Trans Description",Debit Amount,Credit Amount,""

Required Transaction Fields

GLJE05Delete Batch Transaction

Archive Record Layout"GLJE05","","","","","","Batch No","Seqn No","","",,,""

Required Transaction Fields

GLJE06Change Batch Transaction Detail

Archive Record Layout"GLJE06","","","","","","Batch No","Seqn No","Reference #1","Reference #2","Reference #3","Reference #4","Reference #5","Reference #6","Reference #7","Reference #8","Reference #9","Reference #10"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Batch_Seqn

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Batch_Seqn

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

Data Import Macros and Data Dictionary 321

Page 322: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJE07Add Foreign Cash Transaction

Archive Record Layout"GLJE07","","","","","","Batch No","Seqn No","Master Account No","D/C","Document","Trans Description","Original Currency Description","Original Currency Amount","Foreign Currency Code","Foreign Currency Amount","Operator (/ or *) and Exchange Rate","Local Currency Amount","Operator (/ or *) and Exchange Rate","Conversion Option"

Required Transaction Fields

8* 4 A Seqn No Batch_Seqn

9 30 A Reference #1 RefNo1

10 30 A Reference #2 RefNo2

11 30 A Reference #3 RefNo3

12 30 A Reference #4 RefNo4

13 30 A Reference #5 RefNo5

14 30 A Reference #6 RefNo6

15 30 A Reference #7 RefNo7

16 30 A Reference #8 RefNo8

17 30 A Reference #9 RefNo9

18 30 A Reference #10 RefNo10

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Seqn_No

9* 20 A Master Account No Mst_Act_No

10* 1 A D/C N/A

11 15 A Document RefNo1

12 70 A Trans Description Trans_Desc

13 15 A Original Currency Description RefNo2

14 14 N Original Currency Amount RefNo3

15 5 A Foreign Currency Code RefNo4

16 14 N Foreign Currency Amount RefNo5

17 11 A Operator (/ or *) and Exchange Rate

RefNo10

18 14 N Local Currency Amount N/A

19 11 A Operator (/ or *) and Exchange Rate

N/A

Data Import Macros and Data Dictionary 322

Page 323: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJE08Change Foreign Cash Transaction

Archive Record Layout"GLJE08","","","","","","Batch No","Seqn No","Master Account No","D/C","Document","Trans Description","Original Currency Description","Original Currency Amount","Foreign Currency Code","Foreign Currency Amount","Operator (/ or *) and Exchange Rate","Local Currency Amount","Operator (/ or *) and Exchange Rate","Conversion Option"

Required Transaction Fields

GLJE09Delete Foreign Cash Transaction

Archive Record Layout"GLJE09","","","","","","Batch No","Seqn No","","","","","","","","","","","",""

Required Transaction Fields

20 1 A Conversion Option N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Seqn_No

9* 20 A Master Account No Mst_Act_No

10* 1 A D/C N/A

11 15 A Document RefNo1

12 70 A Trans Description Trans_Desc

13 15 A Original Currency Description RefNo2

14 14 N Original Currency Amount RefNo3

15 5 A Foreign Currency Code RefNo4

16 14 N Foreign Currency Amount RefNo5

17 11 A Operator (/ or *) and Exchange Rate

RefNo10

18 14 N Local Currency Amount N/A

19 11 A Operator (/ or *) and Exchange Rate

N/A

20 1 A Conversion Option N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 323

Page 324: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJP – G/L Journal Entry -- Prior Period AdjustmentThe GLJP transactions use the following screens:

• GLJP (G/L Journal Entry—Prior Period Adjustment)

• G/L Transaction Detail

GLJP Transactions

G/L Transaction Detail Transactions

GLJP00Add Batch Header

Archive Record Layout"GLJP00","","","","","","","Batch Type","Batch Status","Journal Entry No","","Prior Acctg Period (period)","Prior Acctg Period (year)","Batch Description",""

Required Transaction Fields

7* 6 A Batch No Batch_No

8 4 A Seqn No Seqn_No

Macro Id DescriptionMacro File

Name

GLJP00 Add Batch Header GLSM1

GLJP01 Change Batch Header GLSM1

GLJP02 Delete Batch Header GLSM1

GLJP03 Add Batch Transaction GLSM1

GLJP04 Change Batch Transaction GLSM1

GLJP05 Delete Batch Transaction GLSM1

Macro Id DescriptionMacro File

Name

GLJP06 Change Batch Transaction Detail GLSM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 1 A Batch Type Batch_Type

9 1 A Batch Status Batch_Stat

10 3 A Journal Entry No Journal_No

Data Import Macros and Data Dictionary 324

Page 325: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Note: Field #12 and 13 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

GLJP01Change Batch Header

Archive Record Layout"GLJP01","","","","","","Batch No","Batch Type","Batch Status","Journal Entry No","","Prior Acctg Period (period)","Prior Acctg Period (year)","Batch Description",""

Required Transaction Fields

Note: Field #12 and 13 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

GLJP02Delete Batch Header

Archive Record Layout"GLJP02","","","","","","Batch No","","","","","","","",""

Required Transaction Fields

GLJP03Add Batch Transaction

12 2 A Prior Acctg Period (period) Acctg_Prd

13 2 A Prior Acctg Period (year) Acctg_Prd

14 35 A Batch Description Batch_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 1 A Batch Type Batch_Type

9 1 A Batch Status Batch_Stat

10 3 A Journal Entry No Journal_No

12 2 A Prior Acctg Period (period) Acctg_Prd

13 2 A Prior Acctg Period (year) Acctg_Prd

14 35 A Batch Description Batch_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

Data Import Macros and Data Dictionary 325

Page 326: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Archive Record Layout"GLJP03","","","","","","Batch No","Seqn No","Master Account No","Trans Description",Debit Amount,Credit Amount,”Batch Status”

Required Transaction Fields

GLJP04Change Batch Transaction

Archive Record Layout"GLJP04","","","","","","Batch No","Seqn No","Master Account No","Trans Description",Debit Amount,Credit Amount,""

Required Transaction Fields

GLJP05Delete Batch Transaction

Archive Record Layout"GLJP05","","","","","","Batch No","Seqn No","","",,,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8 4 A Seqn No Batch_Seqn

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

13 1 A Batch Status Batch_Stat

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Batch_Seqn

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 326

Page 327: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJP06Change Batch Transaction Detail

Archive Record Layout"GLJP06","","","","","","Batch No","Seqn No","Reference #1","Reference #2","Reference #3","Reference #4","Reference #5","Reference #6","Reference #7","Reference #8","Reference #9","Reference #10"

Required Transaction Fields

GLJR – G/L Journal Entry -- Recurring / TemplatesThe GLJR transactions use the following screens:

• GLJR (G/L Journal Entry—Recurring/Templates)

• G/L Recurring/Template Trans Detail

GLJR Transactions

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Batch_Seqn

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch No Batch_No

8* 4 A Seqn No Batch_Seqn

9 30 A Reference #1 RefNo1

10 30 A Reference #2 RefNo2

11 30 A Reference #3 RefNo3

12 30 A Reference #4 RefNo4

13 30 A Reference #5 RefNo5

14 30 A Reference #6 RefNo6

15 30 A Reference #7 RefNo7

16 30 A Reference #8 RefNo8

17 30 A Reference #9 RefNo9

18 30 A Reference #10 RefNo10

Macro Id DescriptionMacro File

Name

GLJR00 Add Recurring Journal Entry Header GLSM1

Data Import Macros and Data Dictionary 327

Page 328: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

G/L Journal Entry—Recurring/Templates Transactions

G/L Recurring/Template Trans Detail Transactions

GLJR00Add Recurring Journal Entry Header

Archive Record Layout"GLJR00","","","","","","Journal Entry No","R/T","Journal Entry Type","Journal Entry Status","Journal Entry Desc","Start Accounting Period (period)","Start Accounting Period (year)",Freq,Cycles,""

Required Transaction Fields

GLJR01 Change Recurring Journal Entry Header GLSM1

GLJR02 Delete Recurring Journal Entry Header GLSM1

GLJR03 Add Recurring Journal Entry Transaction GLSM1

GLJR04 Change Recurring Journal Entry Transaction GLSM1

GLJR05 Delete Recurring Journal Entry Transaction GLSM1

Macro Id DescriptionMacro File

Name

GLJR06 Add Template Journal Entry Header GLSM1

GLJR07 Change Template Journal Entry Header GLSM1

GLJR08 Delete Template Journal Entry Header GLSM1

GLJR09 Add Template Journal Entry Transaction GLSM1

GLJR10 Change Template Journal Entry Transaction GLSM1

GLJR11 Delete Template Journal Entry Transaction GLSM1

GLJR12 Transfer Recurring/Template Journal Entry to G/L GLSM1

Macro Id DescriptionMacro File

Name

GLJR13 Change Recurring/Template Transaction Detail GLSM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8* 1 A R/T Temp_Recur

9 1 A Journal Entry Type Batch_Type

Data Import Macros and Data Dictionary 328

Page 329: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Note: Field #12 and 13 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

GLJR01Change Recurring Journal Entry Header

Archive Record Layout"GLJR01","","","","","","Journal Entry No","","","Journal Entry Status","Journal Entry Desc","Start Accounting Period (period)","Start Accounting Period (year)",Freq,Cycles,""

Required Transaction Fields

Note: Field #12 and 13 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

GLJR02Delete Recurring Journal Entry Header

Archive Record Layout"GLJR02","","","","","","Journal Entry No","","","","","","","","",""

Required Transaction Fields

10 1 A Journal Entry Status Batch_Stat

11 35 A Journal Entry Desc Batch_Desc

12 2 A Start Accounting Period (period)

TR_St_Prd

13 2 A Start Accounting Period (year)

TR_St_Prd

14 2 N Freq TR_Freq

15 2 N Cycles TR_No_Cycl

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

10 1 A Journal Entry Status Batch_Stat

11 35 A Journal Entry Desc Batch_Desc

12 2 A Start Accounting Period (period)

TR_St_Prd

13 2 A Start Accounting Period (year)

TR_St_Prd

14 2 N Freq TR_Freq

15 2 N Cycles TR_No_Cycl

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 329

Page 330: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJR03Add Recurring Journal Entry Transaction

Archive Record Layout"GLJR03","","","","","","Journal Entry No","Seqn No","Master Account No", "Trans Description",Debit Amount,Credit Amount,”Batch Status”

Required Transaction Fields

GLJR04Change Recurring Journal Entry Transaction

Archive Record Layout"GLJR04","","","","","","Journal Entry No","Seqn No","Master Account No", "Trans Description",Debit Amount,Credit Amount,""

Required Transaction Fields

GLJR05

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8 4 A Seqn No Seqn_No

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

13 1 A Batch Status Batch_Stat

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8* 4 A Seqn No Seqn_No

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

Data Import Macros and Data Dictionary 330

Page 331: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

Delete Recurring Journal Entry Transaction

Archive Record Layout"GLJR05","","","","","","Journal Entry No","Seqn No","","",,,""

Required Transaction Fields

GLJR06Add Template Journal Entry Header

Archive Record Layout"GLJR06","","","","","","Journal Entry No","R/T","Journal Entry Type","Journal Entry Status","Journal Entry Desc",""

Required Transaction Fields

GLJR07Change Template Journal Entry Header

Archive Record Layout"GLJR07","","","","","","Journal Entry No","","","Journal Entry Status","Journal Entry Desc",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8* 4 A Seqn No Seqn_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8* 1 A R/T Temp_Recur

9 1 A Journal Entry Type Batch_Type

10 1 A Journal Entry Status Batch_Stat

11 35 A Journal Entry Desc Batch_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

10 1 A Journal Entry Status Batch_Stat

11 35 A Journal Entry Desc Batch_Desc

Data Import Macros and Data Dictionary 331

Page 332: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJR08Delete Template Journal Entry Header

Archive Record Layout"GLJR08","","","","","","Journal Entry No","","","","",""

Required Transaction Fields

GLJR09Add Template Journal Entry Transaction

Archive Record Layout"GLJR09","","","","","","Journal Entry No","Seqn No","Master Account No", "Trans Description",Debit Amount,Credit Amount,”Batch Status”

Required Transaction Fields

GLJR10Change Template Journal Entry Transaction

Archive Record Layout"GLJR10","","","","","","Journal Entry No","Seqn No","Master Account No","Trans Description",Debit Amount,Credit Amount,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8 4 A Seqn No Seqn_No

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

13 1 A Batch Status Batch_Stat

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

8* 4 A Seqn No Seqn_No

Data Import Macros and Data Dictionary 332

Page 333: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLJR11Delete Template Journal Entry Transaction

Archive Record Layout"GLJR11","","","","","","Journal Entry No","Seqn No","","",,,""

Required Transaction Fields

GLJR12Transfer Recurring/Template Journal Entry to G/L

Archive Record Layout"GLJR12","","","","","","Journal Entry No"

Required Transaction Fields

GLJR13Change Recurring/Template Transaction Detail

Archive Record Layout"GLJR13","","","","","","Journal Entry No","Seqn No","Reference #1","Reference #2","Reference #3","Reference #4","Reference #5","Reference #6","Reference #7","Reference #8","Reference #9","Reference #10"

Required Transaction Fields

9 20 A Master Account No Mst_Act_No

10 70 A Trans Description Trans_Desc

11 14 N Debit Amount Trans_Amt

12 14 N Credit Amount Trans_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 3 A Journal Entry No TR_JE_No

8 4 A Seqn No Seqn_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Journal Entry No TR_JE_No

Data Import Macros and Data Dictionary 333

Page 334: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLMA – G/L Master AccountsThe GLMA transactions use the G/L Master Account Detail screen to update master account information.

G/L Master Account Detail Transactions

GLMA01Change Master Account Detail

Archive Record Layout"GLMA01","","","","","","Master Account No","Open/Close",Trans Limit,Balance Limit,"Miscellaneous Data 1","Miscellaneous Data 2","Miscellaneous Data 3","Miscellaneous Data 4","Miscellaneous Data 5","Miscellaneous Data 6",Miscellaneous Amount 1,MiscellaneousAmount 2,Miscellaneous Amount 3,Miscellaneous Amount 4,Miscellaneous Amount 5

Required Transaction Fields

8* 4 A Seqn No Seqn_No

9 30 A Reference #1 RefNo1

10 30 A Reference #2 RefNo2

11 30 A Reference #3 RefNo3

12 30 A Reference #4 RefNo4

13 30 A Reference #5 RefNo5

14 30 A Reference #6 RefNo6

15 30 A Reference #7 RefNo7

16 30 A Reference #8 RefNo8

17 30 A Reference #9 RefNo9

18 30 A Reference #10 RefNo10

Macro Id DescriptionMacro File

Name

GLMA01 Change Master Account Detail GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 20 A Master Account No Mst_Act_No

8 1 A Open/Close Open_Close

9 14 N Trans Limit Tran_Limit

10 15 N Balance Limit Bal_Limit

11 6 A Miscellaneous Data 1 Misc_Dat_1

Data Import Macros and Data Dictionary 334

Page 335: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLOS – G/L Organization Structure

GLOS Transactions

12 6 A Miscellaneous Data 2 Misc_Dat_2

13 10 A Miscellaneous Data 3 Misc_Dat_3

14 15 A Miscellaneous Data 4 Misc_Dat_4

15 15 A Miscellaneous Data 5 Misc_Dat_5

16 20 A Miscellaneous Data 6 Misc_Dat_6

17 15 N Miscellaneous Amount 1 Misc_Amt_1

18 15 N Miscellaneous Amount 2 Misc_Amt_2

19 15 N Miscellaneous Amount 3 Misc_Amt_3

20 15 N Miscellaneous Amount 4 Misc_Amt_4

21 15 N Miscellaneous Amount 5 Misc_Amt_5

Macro Id DescriptionMacro File

Name

GLOS00 Add Organization GLSM3

Add Organization Group

GLOS01 Change Organization GLSM3

Change Organization Group

GLOS02 Delete Organization GLSM3

Delete Organization Group

GLOS03 Add Organization Member GLSM3

Add Organization Group Member

GLOS04 Change Organization Member GLSM3

GLOS05 Delete Organization Member GLSM3

Delete Organization Group Member

Data Import Macros and Data Dictionary 335

Page 336: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLOS00Add Organization

Add Organization Group

Archive Record Layout"GLOS00","","","","","","","Org Group/No","Consolid Org No","Org Desc","Status"

Required Transaction Fields

Note: Field 11, Status, is only available when field 8, Org Group/No, is an organization number whose text begins with a digit.

GLOS01Change Organization

Change Organization Group

Archive Record Layout"GLOS01","","","","","","","Org Group/No","Consolid Org No","Org Desc","Status","Activate Descendant Org Flag"

Required Transaction Fields

Note: Field 11, Status, is only available when field 8, Org Group/No, is an organization number whose text begins with a digit.

Field 12, Activate Descendant Org Flag, is only available when field 11 Status is A. Values are: Y = Activate Descedant Organizations, N = Do not activate Descedant Organizations.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A Org Group/No Org_Grp_No

9 19 A Consolid Org No Con_Org_No

10 35 A Org Desc Org_Desc

11 1 A Status N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A Org Group/No Org_Grp_No

9 19 A Consolid Org No Con_Org_No

10 35 A Org Desc Org_Desc

11 1 A Status N/A

12 1 A Activate Descendant Org Flag N/A

Data Import Macros and Data Dictionary 336

Page 337: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLOS02Delete Organization

Delete Organization Group

Archive Record Layout"GLOS02","","","","","","","Org Group/No","",""

Required Transaction Fields

GLOS03Add Organization Member

Add Organization Group Member

Logic Rules1. If the Org Group/No field in the header begins with an alpha character, the macro will assume

that the description field in the scrolling line is closed for entry. If the field begins with a numeric digit, the macro will attempt to enter input field 10 into the scrolling line Description field.

2. If the mask above the Consolidated Org No field is null or contains only uuu, the macro will assume that the Consolidated Org No field in the scrolling line is closed for entry. If the mask contains more than uuu, and input field 11 is not null, the macro will attempt to enter input field 11 into the scrolling line Consolidated Org No field.

Archive Record Layout"GLOS03","","","","","","","Org Group/No","Organization Group/No","Organization Description","Consolid Org No","AI"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A Org Group/No Org_Grp_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A Org Group/No Parent_Org

9* 20 A Organization Group/No Child_Org

10 35 A Organization Description Org_Desc

11 20 A Consolid Org No Con_Org_No

12 1 A AI N/A

Data Import Macros and Data Dictionary 337

Page 338: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLOS04Change Organization MemberOrganization number member detail can be changed with the GLOS04 transaction. Member detail for organization groups (which start with an alphanumeric character) cannot be changed. Member detail can only be changed when the parent organization number is displayed.

Archive Record Layout"GLOS04","","","","","","","Org Group/No","Organization Group/No","Organization Description","Consolid Org No","AI","Activate Descendant Org Flag"

Required Transaction Fields

Note: Field 12, AI, is only available when field 8, Org Group/No, is an organization number whose text begins with a digit.

Field 13, Activate Descendant Org Flag, is only available when field 12 AI is A. Values are: Y = Activate Descedant Organizations, N = Do not activate Descedant Organizations.

GLOS05Delete Organization Member

Delete Organization Group Member

Archive Record Layout"GLOS05","","","","","","","Org Group/No","Organization Group/No","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A Org Group/No Parent_Org

9* 20 A Organization Group/No Child_Org

10 35 A Organization Description Org_Desc

11 20 A Consolid Org No Con_Org_No

12 1 A AI N/A

13 1 A Activate Descendant Org Flag N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A Org Group/No Parent_Org

9* 20 A Organization Group/No Child_Org

Data Import Macros and Data Dictionary 338

Page 339: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLRC – G/L Report Copy

GLRC Transactions

GLRC01Copy G/L Report Definition

Archive Record Layout"GLRC01","","","","","","From Report Code","To Report Code","Line Range (from)","Line Range (thru)","Line Increment"

Required Transaction Fields

GLRD – G/L Report Definition

GLRD Transactions

Macro Id DescriptionMacro File

Name

GLRC01 Copy G/L Report Definition GLSM2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 8 A From Report Code Rpt_Code

8* 8 A To Report Code Rpt_Code

9* 4 A Line Range (from) Line

10* 4 A Line Range (thru) Line

11* 2 A Line Increment Line_Incr

Macro Id DescriptionMacro File

Name

GLRD00 Add G/L Report Identification GLSM2

GLRD01 Change G/L Report Identification GLSM2

GLRD02 Delete G/L Report Definition GLSM2

GLRD03 Add G/L Report Instruction GLSM2

GLRD04 Change G/L Report Instruction GLSM2

GLRD05 Delete G/L Report Instruction GLSM2

GLRD06 Complete G/L Report Verification (CTRL+ENTER) GLSM2

Data Import Macros and Data Dictionary 339

Page 340: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLRD00Add G/L Report Identification

Archive Record Layout"GLRD00","","","","","","","Report Code","Report Title","Left Margin","Right Margin","Top Margin","Bottom Margin","Print Page No (y/n)","Print Compress (y/n)","Print Report Header (y/n)","Print ZeroAmounts (y/n)","Page Length","Currency Symbol","Line Increment",""

Required Transaction Fields

GLRD01Change G/L Report Identification

Archive Record Layout"GLRD01","","","","","","","Report Code","Report Title","Left Margin","Right Margin","Top Margin","Bottom Margin","Print Page No (y/n)","Print Compress (y/n)","Print Report Header (y/n)","Print ZeroAmounts (y/n)","Page Length","Currency Symbol","Line Increment",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

9 35 A Report Title Rpt_Title

10 2 A Left Margin Lef_Mar

11 3 A Right Margin Right_Mar

12 2 A Top Margin Top_Marg

13 2 A Bottom Margin Btm_Mrgn

14 1 A Print Page No (y/n) Prt_Pgno

15 1 A Print Compress (y/n) Compressed

16 1 A Print Report Header (y/n) Prt_RptHd

17 1 A Print Zero Amounts (y/n) Prt_Zeros

18 2 A Page Length Lns_Page

19 4 A Currency Symbol CurSym

20 3 A Line Increment Line_Incr

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

9 35 A Report Title Rpt_Title

10 2 A Left Margin Lef_Mar –

11 3 A Right Margin Right_Mar

Data Import Macros and Data Dictionary 340

Page 341: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLRD02Delete G/L Report Definition

Archive Record Layout"GLRD02","","","","","","","Report Code","","","","","","","","","","","","",""

Required Transaction Fields

GLRD03Add G/L Report Instruction

Archive Record Layout"GLRD03","","","","","","","Report Code","Line","","Verb","Operation/Comment"

Required Transaction Fields

GLRD04Change G/L Report Instruction

Archive Record Layout

12 2 A Top Margin Top_Marg

13 2 A Bottom Margin Btm_Mrgn

14 1 A Print Page No (y/n) Prt_Pgno

15 1 A Print Compress (y/n) Compressed

16 1 A Print Report Header (y/n) Prt_RptHd

17 1 A Print Zero Amounts (y/n) Prt_Zeros

18 2 A Page Length Lns_Page

19 4 A Currency Symbol CurSym –

20 3 A Line Increment Line_Incr

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

9 4 A Line Line

11 6 A Verb Verb –

12 67 A Operation/Comment Oprnds_Com

Data Import Macros and Data Dictionary 341

Page 342: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

"GLRD04","","","","","","","Report Code","Line (old)","Line (new)","Verb","Operation/Comment"

Required Transaction Fields

GLRD05Delete G/L Report Instruction

Archive Record Layout"GLRD05","","","","","","","Report Code","Line","","",""

Required Transaction Fields

GLRD06Complete G/L Report Verification (CTRL+ENTER)

Archive Record Layout"GLRD06","","","","","","","Report Code"

Required Transaction Fields

GLSC – G/L Source Code MaintenanceThe GLSC transactions use the following screen and window:

• GLSC (G/L Source Code Maintenance)

• G/L Trans Description Definition window

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

9* 4 A Line (old) Line

10 4 A Line (new) Line

11 6 A Verb Verb

12 67 A Operation/Comment Oprnds_Com

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

9* 4 A Line Line

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 8 A Report Code Rpt_Code

Data Import Macros and Data Dictionary 342

Page 343: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLSC Transactions

G/L Trans Description Definition Transactions

GLSC00Add Batch Source Code

Archive Record Layout"GLSC00","","","","","","Batch Source Code","Batch Status","Batch Description",""

Required Transaction Fields

GLSC01Change Batch Source Code

Archive Record Layout"GLSC01","","","","","","Batch Source Code","Batch Status","Batch Description",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

GLSC00 Add Batch Source Code GLSM3

GLSC01 Change Batch Source Code GLSM3

GLSC02 Delete Batch Source Code GLSM3

GLSC03 Add Trans Code GLSM3

GLSC04 Change Trans Code GLSM3

GLSC05 Delete Trans Code GLSM3

Macro Id DescriptionMacro File

Name

GLSC06 Change Transaction Description Definition GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch Source Code Batch_Srce

8 1 A Batch Status Batch_Stat

9 35 A Batch Description Batch_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 343

Page 344: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLSC02Delete Batch Source Code

Archive Record Layout"GLSC02","","","","","","Batch Source Code","","",""

Required Transaction Fields

GLSC03Add Trans Code

Archive Record Layout"GLSC03","","","","","","Batch Source Code","Trans Code","Trans Code Description","Detail/Summary",""

Required Transaction Fields

GLSC04Change Trans Code

Archive Record Layout"GLSC04","","","","","","Batch Source Code","Trans Code","Trans Code Description","Detail/Summary","(internal trans code y/n)"

Required Transaction Fields

7* 6 A Batch Source Code Batch_Srce

8 1 A Batch Status Batch_Stat

9 35 A Batch Description Batch_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch Source Code Batch_Srce

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch Source Code Batch_Srce

8 6 A Trans Code Trans_Code

9 30 A Trans Code Description Trans_Desc

10 1 A Detail/Summary Det_Sum

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 344

Page 345: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLSC05Delete Trans Code

Archive Record Layout"GLSC05","","","","","","Batch Source Code","Trans Code","","",""

Required Transaction Fields

GLSC06Change Transaction Description Definition

Archive Record Layout"GLSC06","","","","","","Batch Source Code","Trans Code","","Reference 1","Order Select 1","Lgth Select 1","S Select 1",,"Reference 2",Order Select 2,Lgth Select 2,"S Select 2",,"Reference 3",Order Select 3,Lgth Select 3,"S Select 3",,"Reference 4",Order Select 4,Lgth Select 4,"S Select 4",,"Reference 5",Order Select 5,Lgth Select 5,"S Select 5",,"Reference 6",Order Select 6,Lgth Select 6,"S Select 6",,"Reference 7",Order Select 7,Lgth Select 7,"S Select 7",,"Reference 8",Order Select 8,Lgth Select 8,"S Select 8",,"Reference 9",Order Select 9,Lgth Select 9,"S Select 9",,"Reference 10",Order Select 10,Lgth Select 10,"S Select 10",,"Reference 11",Order Select 11,Lgth Select 11,"S Select 11",

Required Transaction Fields

7* 6 A Batch Source Code Batch_Srce

8* 6 A Trans Code Trans_Code

9 30 A Trans Code Description Trans_Desc

10 1 A Detail/Summary Det_Sum

11* 1 A (internal trans code y/n) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch Source Code Batch_Srce

8* 6 A Trans Code Trans_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Batch Source Code Batch_Srce

8* 6 A Trans Code Trans_Code

10 30 A Reference 1 RefNo1

11 2 N Order Select 1 N/A

12 2 N Lgth Select 1 N/A

13 1 A S Select 1 N/A

15 30 A Reference 2 RefNo2

Data Import Macros and Data Dictionary 345

Page 346: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

16 2 N Order Select 2 N/A

17 2 N Lgth Select 2 N/A

18 1 A S Select 2 N/A

20 30 A Reference 3 RefNo3

21 2 N Order Select 3 N/A

22 2 N Lgth Select 3 N/A

23 1 A S Select 3 N/A

25 30 A Reference 4 RefNo4

26 2 N Order Select 4 N/A

27 2 N Lgth Select 4 N/A

28 1 A S Select 4 N/A

30 30 A Reference 5 RefNo5

31 2 N Order Select 5 N/A

32 2 N Lgth Select 5 N/A

33 1 A S Select 5 N/A

35 30 A Reference 6 RefNo6

36 2 N Order Select 6 N/A

37 2 N Lgth Select 6 N/A

38 1 A S Select 6 N/A

40 30 A Reference 7 RefNo7

41 2 N Order Select 7 N/A

42 2 N Lgth Select 7 N/A

43 1 A S Select 7 N/A

45 30 A Reference 8 RefNo8

46 2 N Order Select 8 N/A

47 2 N Lgth Select 8 N/A

48 1 A S Select 8 N/A

50 30 A Reference 9 RefNo9

51 2 N Order Select 9 N/A

52 2 N Lgth Select 9 N/A

53 1 A S Select 9 N/A

55 30 A Reference 10 RefNo10

56 2 N Order Select 10 N/A

57 2 N Lgth Select 10 N/A

58 1 A S Select 10 N/A

60 30 A Reference 11 RefNo11

Data Import Macros and Data Dictionary 346

Page 347: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 G – Data Import Macros

GLSS – G/L Batch Submission Status

GLSS Transactions

GLSS01Change Batch Status

Archive Record Layout"GLSS01","","","","","","Batch Status","Acctg Period (period)","Acctg Period (year)","Batch Source Code","Batch No","(CSHM Module installed y/n)"

Required Transaction Fields

The Acctg Period fields are available only when (CSHM Module installed y/n) = N.

Field# 8 and 9 are in reverse order when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

61 2 N Order Select 11 N/A

62 2 N Lgth Select 11 N/A

63 1 A S Select 11 N/A

Macro Id DescriptionMacro File

Name

GLSS01 Change Batch Status GLSM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Batch Stat Batch_Stat

8 2 A Acctg Period (period) Acctg_Prd

9 2 A Acctg Period (year) Acctg_Prd

10* 6 A Batch Source Code Batch_Srce

11* 6 A Batch No Batch_No

12* 1 A (CSHM Module installed y/n) N/A

Data Import Macros and Data Dictionary 347

Page 348: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

I – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

ICOT - Internal Contact

ICOT Transactions

ICOT00Add Internal Contact

Archive Record Layout

"ICOT00","","","","","","","","Contact Name","Title","Email Address","Phone Number 1","Phone Type 1"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

ICOT00 Add Internal Contact SYSM2

ICOT01 Change Internal Contact SYSM2

ICOT02 Delete Internal Contact SYSM2

ICOT03 Change Internal Contact Detail SYSM2

ICOT04 Change Customer or Vendor Report Send As SYSM2

ICOT05 Change Contact Notes SYSM2

ICOT06 Add CSR Contact SYSM2

ICOT07 Delete CSR Contact SYSM2

ICOT08 Add Buyer Contact SYSM2

ICOT09 Delete Buyer Contact SYSM2

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 20 A Phone Number 1 N/A

Data Import Macros and Data Dictionary 348

Page 349: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ICOT01Change Internal Contact

Archive Record Layout

"ICOT01","","","","","","","Contact Id","Contact Name","Title","Email Address","Phone Number 1","Phone Type 1"

Required Transaction Fields

ICOT02Delete Internal Contact

Archive Record Layout

"ICOT02","","","","","","","Contact Id"

Required Transaction Fields

ICOT03Change Internal Contact Detail

Archive Record Layout:

"ICOT03","","","","","","","Contact Id","Contact Name","Title","Email Address","Phone Type 1","Phone Number 1","Phone Type 2","Phone Number 2","Phone Type 3","Phone Number 3","Facebook","Twitter","User Defined 1","User Defined 2","User Defined 3",”Sender Profile

13 1 A Phone Type 1 N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 20 A Phone Number 1 N/A

13 1 A Phone Type 1 N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

Data Import Macros and Data Dictionary 349

Page 350: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Name”

Required Transaction Fields

ICOT04Change Customer or Vendor Report Send As

Archive Record Layout

"ICOT04","","","","","","","Customer or Vendor Id","Contact Id","Report Type","Send As","","","","","Customer Vendor Type"

Required Transaction Fields

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 1 A Phone Type 1 N/A

13 20 A Phone Number 1 N/A

14 1 A Phone Type 2 N/A

15 20 A Phone Number 2 N/A

16 1 A Phone Type 3 N/A

17 20 A Phone Number 3 N/A

18 128 A Facebook N/A

19 20 A Twitter N/A

20 128 A User Defined 1 N/A

21 128 A User Defined 2 N/A

22 128 A User Defined 3 N/A

23 256 A Sender Profile Name N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Customer or Vendor Id N/A

8* 10 A Contact Id N/A

9* 20 A Report Type N/A

Data Import Macros and Data Dictionary 350

Page 351: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Field 15, Customer Vendor Type, indicates the type of field 7. The valid types are:

• C indicates the transaction is related to a customer contact and field 7 is a Customer Id.

• V indicates the transaction is related to a vendor contact and field 7 is a Vendor Id.

ICOT05Change Contact Notes

Archive Record Layout

"ICOT05","","","","","","","Contact Id","Notes"

Required Transaction Fields

ICOT06Add CSR Contact

Archive Record Layout:

"ICOT06","","","","","","","Contact Id","CSR"

Required Transaction Fields

ICOT07Delete CSR Contact

Archive Record Layout:

"ICOT07","","","","","","","Contact Id","CSR"

10 1 A Send As N/A

15* 1 A Customer Vendor Type (C or V) N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9 2499 A Notes N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9* 3 A CSR N/A

Data Import Macros and Data Dictionary 351

Page 352: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

ICOT08Add Buyer Contact

Archive Record Layout:

"ICOT08","","","","","","","Contact Id","Buyer"

Required Transaction Fields

ICOT09Delete Buyer Contact

Archive Record Layout:

"ICOT09","","","","","","","Contact Id","Buyer "

Required Transaction Fields

IMTR – Inventory Move The IMTR transactions use the following screen and window:

• IMTR (Inventory Move)

• Item Lot Receipt window

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9* 3 A CSR N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9* 3 A Buyer N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 10 A Contact Id N/A

9* 3 A Buyer N/A

Data Import Macros and Data Dictionary 352

Page 353: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IMTR Transactions

The IMTR screen varies based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed, the Lot field is displayed.

When the LOTM (Lot Trace/Serialization) Module is installed, the Item Lot Receipt window is used to record additional information for the transaction.

IMTR01Move Inventory Quantities

Archive Record Layout"IMTR01","","","","","","Item","Stk (from loc)","Bin (from loc)","IC (from loc)","Lot (from loc)",,Quantity, "Stk (to loc)","Bin (to loc)","IC (to loc)","Lot (to loc)",, "OS","Order No","Ln#","(lot identifier E/C/N)","(move non-lot quantity of a lot-traced item identifier E/C)","(use Item Lot Receipt window Y/blank)","Lot Assign Policy (ITM5)","Dflt Lot","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev", Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5", "Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10", "Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)", "(text line3)","(text line4)","Prom Dock","Doc","Remark"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

IMTR01 Move Inventory Quantities INVM

IMTR10 Move Entire Lot Quantity INVM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 30 A Item Item

8 6 A Stk (from loc) Stk

9 12 A Bin (from loc) Bin

10 1 A IC (from loc) Inv_Cd

11 20 A Lot (from loc) Lot

13 10 N Quantity Quantity

14 6 A Stk (to loc) Stk

15 12 A Bin (to loc) Bin

16 1 A IC (to loc) Inv_Cd

17 20 A Lot (to loc) Lot

19 1 A OS Ord_Source

20 15 A Order No Order_No

21 3 A Ln# Ln_No

22* 1 A (lot identifier E/C/N) N/A

Data Import Macros and Data Dictionary 353

Page 354: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: If the LOTM Module is installed, Field 22 must be defined.

23* 1 A (move non-lot quantity of a lot-traced item E/C)

N/A

24* 1 A (use Item Lot Receipt window Y/blank)

N/A

25* 1 A Lot Assign Policy (ITM5) N/A

26 20 A Dflt Lot Dflt_Lot

27 35 A Lot Description Lot_Desc

28 20 A Vendor Lot Vend_Lot

29 6 D Mfg Date Mfg_Date

30 6 D Availability Date Avail_Dt

31 6 D Retest Date Retest_Dt

32 6 D Expiration Date Expir_Dt

33 2 A Rev Rev

34 10 N Current Potency % N/A

35 1 A Usr Def 1 D_Usr_Df1

36 1 A Usr Def 2 D_Usr_Df2

37 1 A Usr Def 3 D_Usr_Df3

38 1 A Usr Def 4 D_Usr_Df4

39 10 A Usr Def 5 D_Usr_Df5

40 10 A Usr Def 6 D_Usr_Df6

41 10 A Usr Def 7 D_Usr_Df7

42 10 A Usr Def 8 D_Usr_Df8

43 20 A Usr Def 9 D_Usr_Df9

44 20 A Usr Def 10 D_Usr_Df10

45 20 A Usr Def 11 D_Usr_Df11

46 20 A Usr Def 12 D_Usr_Df12

47 6 A Text No Text_No

48 60 A (text line1) Text_Line1

49 60 A (text line2) Text_Line2

50 60 A (text line3) Text_Line3

51 60 A (text line4) Text_Line4

52 6 D Prom Dock Prom_Dock

53 10 A Doc Doc_No

54 59 A Remark N/A

Data Import Macros and Data Dictionary 354

Page 355: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

(lot identifier E/C/N) indicates the type of lot created by the transaction.

(move non-lot qty of a lot traced item identifier E/C) indicates how a quantity of items received as non-lot traced items and now identified as lot-traced are moved.

(use Item Lot Receipt window Y/blank) indicates whether the IMTR transaction required the use of the window.

IMTR10Move Entire Lot QuantityThe IMTR10 transaction is very similar to the IMTR01 transaction. The IMTR10 transaction should be used when an entire lot quantity is moved from one stock/bin location to another. This is different from the IMTR01 transaction, which should be used when a lot quantity is divided among multiple stock/bin locations. Both the IMTR10 and the IMTR01 transactions create IMTR01 archive records that can be recovered using the RCVR task.

Archive Record Layout"IMTR10","","","","","","Item","Stk (from loc)","Bin (from loc)","IC (from loc)","Lot (from loc)",,Quantity, "Stk (to loc)","Bin (to loc)","IC (to loc)","Lot (to loc)",, "OS","Order No","Ln#","(lot identifier E/C/N)","(move non-lot quantity of a lot-traced item identifier E/C)","(use Item Lot Receipt window Y/blank)","Lot Assign Policy (ITM5)","Dflt Lot","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev", Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5", "Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10", "Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)", "(text line3)","(text line4)","Prom Dock","Doc","Remark"

Required Transaction Fields

Lot Identifier E/C/N Lot Type

E change to an existing lot

C new lot was created

N no lot was assigned

Move Non-Lot Qty E/C Move Type

blank non-lot quantity of a lot traced item

E existing non-lot quantity without creating a lot

C new lot created

Use Item Lot Receipt window Y/blank Description

Y use the Item Lot Receipt window

blank do not use the Item Lot Receipt window

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 355

Page 356: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

1* 6 A (macro id) N/A

7 30 A Item Item

8 6 A Stk (from loc) Stk

9 12 A Bin (from loc) Bin

10 1 A IC (from loc) Inv_Cd

11 20 A Lot (from loc) Lot

13 10 N Quantity Quantity

14 6 A Stk (to loc) Stk

15 12 A Bin (to loc) Bin

16 1 A IC (to loc) Inv_Cd

17 20 A Lot (to loc) Lot

19 1 A OS Ord_Source

20 15 A Order No Order_No

21 3 A Ln# Ln_No

22* 1 A (lot identifier E/C/N) N/A

23* 1 A (move non-lot quantity of a lot-traced item E/C)

N/A

24* 1 A (use Item Lot Receipt window Y/blank)

N/A

25* 1 A Lot Assign Policy (ITM5) N/A

26 20 A Dflt Lot Dflt_Lot

27 35 A Lot Description Lot_Desc

28 20 A Vendor Lot Vend_Lot

29 6 D Mfg Date Mfg_Date

30 6 D Availability Date Avail_Dt

31 6 D Retest Date Retest_Dt

32 6 D Expiration Date Expir_Dt

33 2 A Rev Rev

34 10 N Current Potency % N/A

35 1 A Usr Def 1 D_Usr_Df1

36 1 A Usr Def 2 D_Usr_Df2

37 1 A Usr Def 3 D_Usr_Df3

38 1 A Usr Def 4 D_Usr_Df4

39 10 A Usr Def 5 D_Usr_Df5

40 10 A Usr Def 6 D_Usr_Df6

41 10 A Usr Def 7 D_Usr_Df7

Data Import Macros and Data Dictionary 356

Page 357: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: This transaction requires that the LOTM Module be installed and that Field 22 be defined.

(lot identifier E/C/N) indicates the type of lot created by the transaction.

(move non-lot qty of a lot traced item identifier E/C) indicates how a quantity of items received as non-lot traced items and now identified as lot-traced are moved.

(use Item Lot Receipt window Y/blank) indicates whether the IMTR transaction required the use of the window.

42 10 A Usr Def 8 D_Usr_Df8

43 20 A Usr Def 9 D_Usr_Df9

44 20 A Usr Def 10 D_Usr_Df10

45 20 A Usr Def 11 D_Usr_Df11

46 20 A Usr Def 12 D_Usr_Df12

47 6 A Text No Text_No

48 60 A (text line1) Text_Line1

49 60 A (text line2) Text_Line2

50 60 A (text line3) Text_Line3

51 60 A (text line4) Text_Line4

52 6 D Prom Dock Prom_Dock

53 10 A Doc Doc_No

54 59 A Remark N/A

Lot Identifier E/C/N Lot Type

E change to an existing lot

C new lot was created

N no lot was assigned

Move Non-Lot Qty E/C Move Type

blank non-lot quantity of a lot traced item

E existing non-lot quantity without creating a lot

C new lot created

Use Item Lot Receipt window Y/blank Description

Y use the Item Lot Receipt window

blank do not use the Item Lot Receipt window

Data Import Macros and Data Dictionary 357

Page 358: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

INVA – Inventory AdjustmentThe INVA transactions use the following screen and window:

• INVA (Inventory Adjustment)

• Item Lot Receipt window

INVA Transactions

The INVA screen varies based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed, the Lot field is displayed.

When the LOTM (Lot Trace/Serialization) Module is installed, the Item Lot Receipt window is used to record additional information for the transaction.

INVA01Adjust Inventory Quantities

Archive Record Layout"INVA01","","","","","","Item","Stk","Bin","Inv Cd","Document Number","AC",Adjust Qty,"RC","Inventory Offset Master Account No",,,,"UM","(lot identifier E/C/N)","(adjust inventory for non-lot qty of lot-traced item E/C)", "(use Item Lot Receipt window Y/blank)","Lot Assign Policy (ITM5)","Dflt Lot","Lot","Lot Description","Vendor Lot","Mfg Date","Expiration Date","Retest Date","Availability Date","Rev", Potency,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5", "Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10", "Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)","Remark"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

INVA01 Adjust Inventory Quantities INVM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 30 A Item Item

8 6 A Stk Stk

9 12 A Bin Bin

10 1 A Inv Cd Inv_Code

11 10 A Document Number Doc_No

12 1 A AC Act_Code

13 10 N Adjust Qty Adjust_Qty

14 1 A RC Reason

15 20 A Inventory Offset Master Account No

Off_AcctNo

19 4 A UM UM

Data Import Macros and Data Dictionary 358

Page 359: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Several fields are included in the layout to identify information needed during transaction processing.

20* 1 A (lot identifier E/C/N) N/A

21* 1 A (adjust inventory for non-lot qty of a lot-traced item E/C)

N/A

22* 1 A (use Item Lot Receipt window Y/blank)

N/A

23* 1 A Lot Assign Policy Assign_Pol

24 20 A Dflt Lot Dflt_Lot

25 20 A Lot Lot

26 35 A Lot Description Lot_Desc

27 20 A Vendor Lot Vend_Lot

28 6 D Mfg Date Mfg_Date

29 6 D Availability Date Avail_Dt

30 6 D Retest Date Retest_Dt

31 6 D Expiration Date Expir_Dt

32 2 A Rev Rev

33 10 N Current Potency % N/A

34 1 A Usr Def 1 D_Usr_Df1

35 1 A Usr Def 2 D_Usr_Df2

36 1 A Usr Def 3 D_Usr_Df3

37 1 A Usr Def 4 D_Usr_Df4

38 10 A Usr Def 5 D_Usr_Df5

39 10 A Usr Def 6 D_Usr_Df6

40 10 A Usr Def 7 D_Usr_Df7

41 10 A Usr Def 8 D_Usr_Df8

42 20 A Usr Def 9 D_Usr_Df9

43 20 A Usr Def 10 D_Usr_Df10

44 20 A Usr Def 11 D_Usr_Df11

45 20 A Usr Def 12 D_Usr_Df12

46 6 A Text No Text_No

47 60 A (text line1) Text_Line1

48 60 A (text line2) Text_Line2

49 60 A (text line3) Text_Line3

50 60 A (text line4) Text_Line4

51 59 A Remark N/A

Data Import Macros and Data Dictionary 359

Page 360: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

(lot identifier E/C/N) indicates the type of lot created by the transaction.

(move non-lot qty of a lot traced item identifier E/C) indicates how a quantity of items received as non-lot traced items and now identified as lot-traced are moved.

(use Item Lot Receipt window Y/blank) indicates whether the INVA transaction required the use of the window.

The Required Transaction Fields needed to complete a specific type of transaction are based on the modules installed and the type of items you are moving. If you have the LOTM (Lot Trace/Serialization) Module installed, use the following table to determine which fields are needed to complete the inventory move transaction. The following fields are not used if you do not have the LOTM Module installed.

Lot Identifier E/C/N Lot Type

E change to an existing lot

C new lot was created

N no lot was assigned

Move Non-Lot Qty E/C Move Type

blank non-lot quantity of a lot traced item

E existing non-lot quantity without creating a lot

C new lot created

Use Item Lot Receipt window Y/blank Description

Y use the Item Lot Receipt window

blank do not use the Item Lot Receipt window

Inventory Adjustment Transaction Description

(lot id E/C/N)

(adjust inv E/C)

(use wdw)

Lot Assign Policy

Dflt Lot Lot

Adjust item (not lot-traced) N

Adjust lot-traced item; non-lot quantity; using automatic lot assignment

N E

Adjust lot-traced item; non-lot quantity; using confirm lot assignment

N E

Adjust lot-traced item; changing an existing lot; using automatic lot assign-ment

E (Lot)

Data Import Macros and Data Dictionary 360

Page 361: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: Fields with no values listed in the table must be blank.

Lot mask counter elements are automatically assigned by the system regardless of the Lot Assignment Policy.

IPPD – Item Planning Parameters

IPPD Transactions

IPPD01Change Item Planning Parameter Import

Archive Record Layout"IPPD01","","","","","","Item","Lot Size Day","Lot Size Qty","Safety Stock","Lot Size Min","Lot Size Mult"

Adjust lot-traced item; changing an existing lot; using confirm lot assign-ment

E (Lot)

Adjust lot-traced item; creating new lot; using automatic lot assignment; Lot Mask includes date and counter ele-ments (such as MMYYLLLL)

C Y A

Adjust lot-traced item; creating new lot; using confirm lot assignment; Lot Mask includes date and counter elements (such as MMYYLLLL)

C Y C

Adjust lot-traced item; creating new lot; using automatic lot assignment; Lot Mask includes counter elements (such as XXXXLLLL)

C Y A

Adjust lot-traced item; creating new lot; using confirm lot assignment; Lot Mask includes counter elements (such as XXXXLLLL)

C Y C (dflt)

Adjust lot-traced item; creating new lot; using confirm lot assignment; Lot Mask does not include date or counter ele-ments (such as XXXX)

C Y C (Lot) (Lot)

Macro Id DescriptionMacro File

Name

IPPD01 Change Item Planning Parameter Import OPFM

IPPD02 Mass Maintenance OPFM

Data Import Macros and Data Dictionary 361

Page 362: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

IPPD02Mass MaintenanceThe IPPD02 transaction is used for audit trail purposes. The transaction must be reentered manually using the IPPD screen.

Archive Record Layout"IPPD02","","","","","","Mass Maintenance Option"

Required Transaction Fields

Field 7, (Mass Maintenance Option), indicates the option selected to be run from the Mass Maintenance menu for Import File. The options are:

ISCC – Intrastat Commodity Code

ISCC Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item N/A

8 3 N Lot Size Day N/A

9 9 N Lot Size Qty N/A

10 9 N Safety Stock N/A

11 9 N Lot Size Min N/A

12 9 N Lot Size Mult N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Mass Maintenance Option N/A

Setting Description

1 Create Data Import File

2 Delete Data Import File

Macro Id DescriptionMacro File

Name

ISCC00 Add Intrastat Commodity Code ISTM

ISCC01 Change Intrastat Commodity Code ISTM

Data Import Macros and Data Dictionary 362

Page 363: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISCC00Add Intrastat Commodity Code

Archive Record Layout"ISCC00","","","","","","Commodity Code","Description"

Required Transaction Fields

ISCC01Change Intrastat Commodity Code

Archive Record Layout"ISCC01","","","","","","Commodity Code","Description"

Required Transaction Fields

ISCC02Delete Intrastat Commodity Code

Archive Record Layout"ISCC02","","","","","","Commodity Code"

Required Transaction Fields

ISCC02 Delete Intrastat Commodity Code ISTM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 8 A Commodity Code N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 8 A Commodity Code N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 8 A Commodity Code N/A

Data Import Macros and Data Dictionary 363

Page 364: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISCF – Intrastat Reporting Configuration

ISCF Transactions

ISCF01Change Intrastat Reporting Configuration

Archive Record Layout"ISCF01","","","","","","System Member State","Default Commodity Code For A/R Invoice Other Line","Default Commodity Code For Non-Inventoried PO Line","Use Intrastat Exchange Rate"

Required Transaction Fields

ISCF02Change Nature of Transaction Configuration

Archive Record Layout"ISCF02","","","","","","APID/V/I/A Nature of Transaction Code","APID/V/I/A Nature of Transaction Description","APID/V/I/D Nature of Transaction Code","APID/V/I/D Nature of Transaction Description","APID/V/D/A Nature of Transaction Code","APID/V/D/A Nature of Transaction Description","APID/V/D/D Nature of Transaction Code","APID/V/D/D Nature of Transaction Description","PICK/V//A Nature of Transaction Code","PICK/V//A Nature of Transaction Description","PICK/V//D Nature of Transaction Code","PICK/V//D Nature of Transaction Description","IVIE/IVPR/IVEX/C/I/A Nature of Transaction Code","IVIE/IVPR/IVEX/C/I/A Nature of Transaction Description","IVIE/IVPR/IVEX/C/I/D Nature of Transaction Code","IVIE/IVPR/IVEX/C/I/D Nature of Transaction Description","IVIE/IVPR/IVEX/C/R/A Nature of Transaction Code","IVIE/IVPR/IVEX/C/R/A Nature of Transaction Description","IVIE/IVPR/IVEX/C/R/D Nature of Transaction Code","IVIE/IVPR/IVEX/C/R/D Nature of Transaction Description","ISPT/V//A Nature of Transaction Code","ISPT/V//A Nature of Transaction Description","ISPT/V//D Nature of Transaction Code","ISPT/V//D Nature of Transaction Description","ISST/C//A Nature of

Macro Id DescriptionMacro File

Name

ISCF01 Change Intrastat Reporting Configuration ISTM

ISCF02 Change Nature of Transaction Configuration ISTM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 2 A System Member State N/A

8 8 A Default Commodity Code For A/R Invoice Other Line

N/A

9 8 A Default Commodity Code For Non-Inventoried PO Line

N/A

10 8 A Use Intrastat Exchange Rate N/A

Data Import Macros and Data Dictionary 364

Page 365: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Transaction Code","ISST/C//A Nature of Transaction Description","ISST/C//D Nature of Transaction Code","ISST/C//D Nature of Transaction Description"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 2 A APID/V/I/A Nature of Trans-action Code

N/A

8 35 A APID/V/I/A Nature of Trans-action Description

N/A

9 2 A APID/V/I/D Nature of Trans-action Code

N/A

10 35 A APID/V/I/D Nature of Trans-action Description

N/A

11 2 A APID/V/D/A Nature of Trans-action Code

N/A

12 35 A APID/V/D/A Nature of Trans-action Description

N/A

13 2 A APID/V/D/D Nature of Trans-action Code

N/A

14 35 A APID/V/D/D Nature of Trans-action Description

N/A

15 2 A PICK/V//A Nature of Transac-tion Code

N/A

16 35 A PICK/V//A Nature of Transac-tion Description

N/A

17 2 A PICK/V//D Nature of Transac-tion Code

N/A

18 35 A PICK/V//D Nature of Transac-tion Description

N/A

19 2 A IVIE/IVPR/IVEX/C/I/A Nature of Transaction Code

N/A

20 35 A IVIE/IVPR/IVEX/C/I/A Nature of Transaction Description

N/A

21 2 A IVIE/IVPR/IVEX/C/I/D Nature of Transaction Code

N/A

22 35 A IVIE/IVPR/IVEX/C/I/D Nature of Transaction Description

N/A

23 2 A IVIE/IVPR/IVEX/C/R/A Nature of Transaction Code

N/A

24 35 A IVIE/IVPR/IVEX/C/R/A Nature of Transaction Description

N/A

Data Import Macros and Data Dictionary 365

Page 366: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISDT – Intrastat Delivery Terms

ISDT Transactions

ISDT00Add Intrastat Delivery Term

Archive Record Layout"ISDT00","","","","","","Delivery Term","Description"

25 2 A IVIE/IVPR/IVEX/C/R/D Nature of Transaction Code

N/A

26 35 A IVIE/IVPR/IVEX/C/R/D Nature of Transaction Description

N/A

27 2 A ISPT/V//A Nature of Transac-tion Code

N/A

28 35 A ISPT/V//A Nature of Transac-tion Description

N/A

29 2 A ISPT/V//D Nature of Transac-tion Code

N/A

30 35 A ISPT/V//D Nature of Transac-tion Description

N/A

31 2 A ISST/C//A Nature of Transac-tion Code

N/A

32 35 A ISST/C//A Nature of Transac-tion Description

N/A

33 2 A ISST/C//D Nature of Transac-tion Code

N/A

34 35 A ISST/C//D Nature of Transac-tion Description

N/A

Macro Id DescriptionMacro File

Name

ISDT00 Add Intrastat Delivery Term ISTM

ISDT01 Change Intrastat Delivery Term ISTM

ISDT02 Delete Intrastat Delivery Term ISTM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 366

Page 367: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

ISDT01Change Intrastat Delivery Term

Archive Record Layout"ISDT01","","","","","","Delivery Term","Description"

Required Transaction Fields

ISDT02Delete Intrastat Delivery Term

Archive Record Layout"ISDT02","","","","","","Delivery Term"

Required Transaction Fields

ISMS – Intrastat Member State

ISMS Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 3 A Delivery Term N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Delivery Term N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Delivery Term N/A

Macro Id DescriptionMacro File

Name

ISMS00 Add Intrastat Member State ISTM

ISMS01 Change Intrastat Member State ISTM

ISMS02 Delete Intrastat Member State ISTM

Data Import Macros and Data Dictionary 367

Page 368: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISMS00Add Intrastat Member State

Archive Record Layout"ISMS00","","","","","","Member State","Description"

Required Transaction Fields

ISMS01Change Intrastat Member State

Archive Record Layout"ISMS01","","","","","","Member State","Description"

Required Transaction Fields

ISMS02Delete Intrastat Member State

Archive Record Layout"ISMS02","","","","","","Member State"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 2 A Member State N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Member State N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Member State N/A

Data Import Macros and Data Dictionary 368

Page 369: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISMT – Intrastat Mode of Transportation

ISMT Transactions

ISMT00Add Intrastat Mode of Transportation

Archive Record Layout"ISMT00","","","","","","Mode of Transportation Code","Description"

Required Transaction Fields

ISMT01Change Intrastat Mode of Transportation

Archive Record Layout"ISMT01","","","","","","Mode of Transportation Code","Description"

Required Transaction Fields

ISMT02Delete Intrastat Mode of Transportation

Archive Record Layout"ISMT02","","","","","","Mode of Transportation Code"

Macro Id DescriptionMacro File

Name

ISMT00 Add Intrastat Mode of Transportation ISTM

ISMT01 Change Intrastat Mode of Transportation ISTM

ISMT02 Delete Intrastat Mode of Transportation ISTM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 2 A Mode of Transportation Code N/A

8 70 A Description N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Mode of Transportation Code N/A

8 70 A Description N/A

Data Import Macros and Data Dictionary 369

Page 370: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

ISTH – Intrastat Transaction History

ISTH Transactions

ISTH00Add Intrastat Transaction History

Archive Record Layout"ISTH00","","","","","","(Transaction Code)","Transaction Date","Transaction Time","User ID","Transaction Source","Rec Typ","Trading Partner","Ship to Id","Item Number","","","Extd Weight","Extd Customers Price","Ctrl Curr","Ex Rate (1)","Ex Rate (2)","Qty","Unit Price/Cost","Freight Amt","Supplementary UM","Destination Member State","Origin Member State","Delivery Terms","Mode of Transportation","(Item Description)","Commodity Code","(Commodity Code Description)","Trading Partner Reference #1","Trading Partner Reference #2","Trading Partner Reference #3","Trading Partner Reference #4","Trading Partner Reference #5","Item Reference #1","Item Reference #2","Item Reference #3","Item Reference #4","Item Reference #5"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 A Mode of Transportation Code N/A

Macro Id DescriptionMacro File

Name

ISTH00 Add Intrastat Transaction History ISTM

ISTH01 Change Intrastat Transaction History - Transaction Source IVPR or IVEX

ISTM

ISTH02 Change Intrastat Transaction History - Transaction Source = IVPR or IVEX

ISTM

ISTH03 Change Intrastat Transaction History Detail - Transaction Source IVPR or IVEX

ISTM

ISTH04 Change Intrastat Transaction History Detail - Transaction Source = IVPR or IVEX

ISTM

ISTH12 Report Intrastat Transaction ISTM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A (Transaction Code) N/A

8 6 D Transaction Date N/A

Data Import Macros and Data Dictionary 370

Page 371: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

9 12 A Transaction Time N/A

10 4 A User ID N/A

11 4 A Transaction Source N/A

12 1 A Rec Typ N/A

13 13 A Trading Partner N/A

14 13 A Ship to Id N/A

15 30 A Item Number N/A

18 10 N Extd Weight N/A

19 16 N Extd Customers Price N/A

20 1 A Ctrl Curr N/A

21 11 A Ex Rate (1) N/A

22 11 A Ex Rate (2) N/A

23 11 N Qty N/A

24 16 N Unit Price/Cost N/A

25 15 N Freight Amt N/A

26 4 A Supplementary UM N/A

27 2 A Destination Member State N/A

28 2 A Origin Member State N/A

29 3 A Delivery Terms N/A

30 2 A Mode of Transportation N/A

31 70 A (Item Description) N/A

32 8 A Commodity Code N/A

33 70 A (Commodity Code Descrip-tion)

N/A

34 20 A Trading Partner Reference #1

N/A

35 20 A Trading Partner Reference #2

N/A

36 20 A Trading Partner Reference #3

N/A

37 20 A Trading Partner Reference #4

N/A

38 20 A Trading Partner Reference #5

N/A

39 20 A Item Reference #1 N/A

40 20 A Item Reference #2 N/A

41 20 A Item Reference #3 N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 371

Page 372: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Field 9, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

ISTH01Change Intrastat Transaction History - Transaction Source IVPR or IVEX

Archive Record Layout"","","","","","","Transaction Date","Transaction Time","User ID","Transaction Source","Rec Typ"

Required Transaction Fields

Field 9, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

ISTH02Change Intrastat Transaction History - Transaction Source = IVPR or IVEX

Archive Record Layout"","","","","","","(Transaction Code)","Transaction Date","","","Transaction Source","","","","","Invoice No","Ln#"

Required Transaction Fields

42 20 A Item Reference #4 N/A

43 20 A Item Reference #5 N/A

Fld# Lgth Type Screen Name Export Name

7 1 A (Transaction Code) N/A

8* 6 D Transaction Date N/A

9* 12 A Transaction Time N/A

10* 4 A User ID N/A

11* 4 A Transaction Source N/A

12* 1 A Rec Typ N/A

Fld# Lgth Type Screen Name Export Name

7 1 A (Transaction Code) N/A

8* 6 D Transaction Date N/A

11* 4 A Transaction Source N/A

16* 10 A Invoice No N/A

17* 3 A Ln# N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 372

Page 373: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISTH03Change Intrastat Transaction History Detail - Transaction Source IVPR or IVEX

Archive Record Layout"ISTH03","","","","","","","Transaction Date","Transaction Time","User ID","Transaction Source","Rec Typ","","","","","","Extd Weight","Extd Customers Price","","","","Qty","","Freight Amt","Supplementary UM","Destination Member State","Origin Member State","Delivery Terms","Mode of Transportation","","Commodity Code","(Commodity Code Description)",Trading Partner Reference #1","Trading Partner Reference #2","Trading Partner Reference #3","Trading Partner Reference #4","Trading Partner Reference #5","Item Reference #1","Item Reference #2","Item Reference #3","Item Reference #4","Item Reference #5"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 6 D Transaction Date N/A

9* 12 A Transaction Time N/A

10* 4 A User ID N/A

11* 4 A Transaction Source N/A

12* 1 A Rec Typ N/A

18 10 N Extd Weight N/A

19 16 N Extd Customers Price N/A

23 11 N Qty N/A

25 15 N Freight Amt N/A

26 4 A Supplementary UM N/A

27 2 A Destination Member State N/A

28 2 A Origin Member State N/A

29 3 A Delivery Terms N/A

30 2 A Mode of Transportation N/A

32 8 A Commodity Code N/A

33 70 A (Commodity Code Descrip-tion)

N/A

34 20 A Trading Partner Reference #1

N/A

35 20 A Trading Partner Reference #2

N/A

36 20 A Trading Partner Reference #3

N/A

37 20 A Trading Partner Reference #4

N/A

38 20 A Trading Partner Reference #5

N/A

Data Import Macros and Data Dictionary 373

Page 374: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Field 9, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

ISTH04Change Intrastat Transaction History Detail - Transaction Source = IVPR or IVEX

Archive Record Layout"ISTH04","","","","","","","Transaction Date","","","Transaction Source","","","","","Invoice No","Ln#","Extd Weight","Extd Customers Price","","","","Qty","","Freight Amt","Supplementary UM","Destination Member State","Origin Member State","Delivery Terms","Mode of Transportation","","Commodity Code","(Commodity Code Description)",Trading Partner Reference #1","Trading Partner Reference #2","Trading Partner Reference #3","Trading Partner Reference #4","Trading Partner Reference #5","Item Reference #1","Item Reference #2","Item Reference #3","Item Reference #4","Item Reference #5"

Required Transaction Fields

39 20 A Item Reference #1 N/A

40 20 A Item Reference #2 N/A

41 20 A Item Reference #3 N/A

42 20 A Item Reference #4 N/A

43 20 A Item Reference #5 N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 6 D Transaction Date N/A

11* 4 A Transaction Source N/A

16* 10 A Invoice No N/A

17* 3 A Ln# N/A

18 10 N Extd Weight N/A

19 16 N Extd Customers Price N/A

23 11 N Qty N/A

25 15 N Freight Amt N/A

26 4 A Supplementary UM N/A

27 2 A Destination Member State N/A

28 2 A Origin Member State N/A

29 3 A Delivery Terms N/A

30 2 A Mode of Transportation N/A

32 8 A Commodity Code N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 374

Page 375: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ISTH12Report Intrastat Transaction

Archive Record Layout"ISTH12","","","","","","Reporting Date"

Required Transaction Fields

ITCB – Item Cost Book

ITCB Transactions

ITCB01

33 70 A (Commodity Code Descrip-tion)

N/A

34 20 A Trading Partner Reference #1

N/A

35 20 A Trading Partner Reference #2

N/A

36 20 A Trading Partner Reference #3

N/A

37 20 A Trading Partner Reference #4

N/A

38 20 A Trading Partner Reference #5

N/A

39 20 A Item Reference #1 N/A

40 20 A Item Reference #2 N/A

41 20 A Item Reference #3 N/A

42 20 A Item Reference #4 N/A

43 20 A Item Reference #5 N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 6 D Reporting Date N/A

Macro Id DescriptionMacro File

Name

ITCB01 Change Item Cost INVM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 375

Page 376: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Change Item Cost

Archive Record Layout"ITCB01","","","","","","Item",Unit Cost

Required Transaction Fields

ITMB – Item MasterThe ITMB transactions use the following screens:

• ITMB (Item Master)

• Item Master Detail

• Item Master Planning Detail

• Item Lot Trace and Serialization Detail

Predetermined values for certain fields on these screens and the ITMC (Item/Work Center Cost Data) screen can be established and used for entering groups of items with similar characteristics. When entering an item using the ITMB screen, default item information is stored from all four screens. See "Using Default Values" under "Suggestions for Using the Module" in the Setting Up the Module section of the Inventory Control online manual for a list of fields related to the Default-Item.

The Item Lot Trace and Serialization Detail screen is available only when the LOTM (Lot Trace/Serialization) Module is installed.

ITMB Transactions

Item Master Detail Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 16 N Unit Cost Unit_Cost

Macro Id DescriptionMacro File

Name

ITMB00 Add Item INVM

ITMB01 Change Item INVM

ITMB04 Delete Item INVM

Macro Id DescriptionMacro File

Name

ITMB02 Add New Text—Item Master Detail INVM

Attach Existing Text—Item Master Detail INVM

Data Import Macros and Data Dictionary 376

Page 377: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Item Master Planning Detail Transactions

Item Lot Trace and Serialization Detail Transactions

Intrastat Item Configuration

ITMB00Add Item

Archive Record Layout"ITMB00","","","","","","Item","Description","UM","Rev","MB","IT","St","LT","Sr","OrdPol","Insp Reqd","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","","","","","","","","","",,"","","","",,,,,"",,"","","","","","","","","",""

Change Item Master Detail INVM

ITMB05 Delete Text—Item Master Detail INVM

Macro Id DescriptionMacro File

Name

ITMB03 Add New Text—Item Planning Detail INVM

Attach Existing Text—Item Planning Detail

Change Item Planning Detail

ITMB06 Delete Text—Item Planning Detail INVM

Macro Id DescriptionMacro File

Name

ITMB07 Add New Text—Item Lot Trace and Serialization Detail INVM

Attach Existing Text—Item Lot Trace and Serialization Detail

Change Item Lot Trace/Serialization Information

ITMB08 Delete Text—Item Lot Trace and Serialization Detail INVM

Macro Id DescriptionMacro File

Name

ITMB09 Change Intrastat Item Configuration INVM

ITMB20 Add Extended Text - Intrastat Item Configuration INVM

ITMB21 Change Extended Text - Intrastat Item Configuration INVM

ITMB22 Delete Extended Text - Intrastat Item Configuration INVM

Data Import Macros and Data Dictionary 377

Page 378: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

ITMB01Change Item

Archive Record Layout"ITMB01","","","","","","Item","Description","UM","Rev","MB","IT","St","LT","Sr","Ord Pol","Insp Reqd","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","","","","","","","","","",,"","","","",,,,,"",,"","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 70 A Description Comp_Desc

9 4 A UM UM

10 2 A Rev Rev

11 1 A MB MB

12 1 A IT Item_Type

13 1 A St Item_Stat

14 1 A LT LT

15 1 A Sr Sr

16 1 A Ord Pol Ord_Policy

17 1 A Insp Reqd Insp_Reqd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 70 A Description Comp_Desc

9 4 A UM UM

10 2 A Rev Rev

11 1 A MB MB

12 1 A IT Item_Type

13 1 A St Item_Stat

14 1 A LT LT

15 1 A Sr Sr

16 1 A Ord Pol Ord_Policy

17 1 A Insp Reqd Insp_Reqd

Data Import Macros and Data Dictionary 378

Page 379: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMB02Add New Text—Item Master Detail

Attach Existing Text—Item Master Detail

Change Item Master Detail

Archive Record Layout"ITMB02","","","","","","Item","","","","","","","","","","","","","",,,,,,,,,"","","","",,"",,"","",,"","Drwg","Item Class 1","Item Class 2","Item Class 3","Item Class 4","Item Class 5","Item Class 6","Item Class 7","Item Class 8","NMFC Item","Sub","Item Reference #1","Item Reference #2",Item Shipping Weight,"Item Reference #3",Item Shipping Volume,"Item Reference #4","Item Package Type",Item Pieces per Package,"Group Tech Code","Family Name","UPC Code","Family Grouping","","HTS","ECCN",,"","","","",,,,,"",,"","","","","Text No","(text line1)","(text line2)","(text line3)","(text line4)","Saleable Indicator","Item Reference #5"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

40 30 A Drwg Drwg

41 1 A Item Class (1) Item_Clas1

42 1 A Item Class (2) Item_Clas2

43 1 A Item Class (3) Item_Clas3

44 1 A Item Class (4) Item_Clas4

45 1 A Item Class (5) Item_Clas5

46 1 A Item Class (6) Item_Clas6

47 6 A Item Class (7) Item_Clas7

48 6 A Item Class (8) Item_Clas8

49 6 A NMFC Item N_Motr_Frt

50 2 A Sub Sub

51 2 A Item Reference #1 Item_Ref1

52 2 A Item Reference #2 Item_Ref2

53 10 N Item Shipping Weight Ship_Wght

54 3 A Item Reference #3 Item_Ref3

55 10 N Item Shipping Volume Ship_Vol

56 3 A Item Reference #4 Item_Ref4

57 3 A Item Package Type Pkg_Typ

58 10 N Item Pieces per Package Pcs_Per

59 15 A Group Tech Code Grp_Tch_Cd

60 30 A Family Name Fmly_Name

Data Import Macros and Data Dictionary 379

Page 380: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMB03Add New Text—Item Planning Detail

Attach Existing Text—Item Planning Detail

Change Item Planning Detail

Archive Record Layout"ITMB03","","","","","","Item","","","","","","","","","","","Plnr","Buyr","Pln Pol",Run Lead Time,Fix Lead Time,Insp Lead Time,Lot Size Day,Lot Size Qty/Order Up to,Safety Stock/Order Point,Lot Size Min,Lot Size Mult,"Stk","Bin","Fcst Cd","Fcst Prd",Yield,"Dec Pre Cd",Dmnd Fnc,"ATP","Gateway WC",Plng Fnc,"","","","","","","","","","","","","","",,"",,"","","","","","","","","","",,"","","","",,,,,"",,"","","","","Text No","(text line1)","(text line2)","(text line3)","(text line4)", PO Autoclose Tolerance, MO Autoclose Tolerance, ""

Required Transaction Fields

61 13 A UPC Code UPC_Code

62 6 A Family Grouping Fmly_Group

64 15 A HTS HTS

65 15 A ECCN ECCN

81 6 A Text No Text_No

82 60 A (text line1) Text_Line1

83 60 A (text line2) Text_Line2

84 60 A (text line3) Text_Line3

85 60 A (text line4) Text_Line4

86 1 A Saleable Indicator Sale_Ind

87 30 A Item Reference #5 Item_Ref5

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

18 3 A Plnr Plnr

19 3 A Buyr Buyr

20 1 A Pln Pol Pln_Policy

21 8 N Run Lead Time Run_LT

22 3 N Fix Lead Time Fix_LT

23 3 N Insp Lead Time Insp_LT

24 3 N Lot Size Day Lot_Sz_Day

25 9 N Lot Size Qty/Order Up to Lot_Sz_Qty

26 9 N Safety Stock/Order Point Safety_Stk

Data Import Macros and Data Dictionary 380

Page 381: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMB04Delete Item

Archive Record Layout"ITMB04","","","","","","Item","","","","","","","","","","","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","","","","","","","",,"","","",,,,,"",,"","","","","","","","","",""

Required Transaction Fields

ITMB05Delete Text—Item Master Detail

Archive Record Layout"ITMB05","","","","","","Item","","","","","","","","","","","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","",,"","","","","","","",,"","","","",,,,,"",,"","","","","","","","","",""

27 9 N Lot Size Min Lot_Sz_Min

28 9 N Lot Size Mult Lot_Sz_Mul

29 6 A Stk Stk

30 12 A Bin Bin

31 1 A Fcst Cd Fcst_Cd

32 1 A Fcst Prd Fcst_Prd

33 5 N Yield Yield

34 1 A Dec Pre Cd Dec_Pre_Cd

35 3 N Dmnd Fnc Dmnd_Fnc

36 1 A ATP ATP

37 12 A Gateway WC Gateway_WC

38 3 N Plng Fnc Plng_Fnc

81 6 A Text No Text_No

82 60 A (text line1) Text_Line1

83 60 A (text line2) Text_Line2

84 60 A (text line3) Text_Line3

85 60 A (text line4) Text_Line4

88 5 N PO Autoclose Tolerance N/A

89 5 N MO Autoclose Tolerance N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

Data Import Macros and Data Dictionary 381

Page 382: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

ITMB06Delete Text—Item Planning Detail

Archive Record Layout"ITMB06","","","","","","Item","","","","","","","","","","","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","","","","","","","","","",,"","","","",,,,,"",,"","","","","","","","","",""

Required Transaction Fields

ITMB07Add New Text—Item Lot Trace and Serialization Detail

Attach Existing Text—Item Lot Trace and Serialization Detail

Change Item Lot Trace/Serialization Detail

Archive Record Layout"ITMB07","","","","","","Item","","","","","","","","","","","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","",,"","","","","","","",,"Lot Assign Policy","Lot Default","FIFO Inv Policy","Backflush Policy",Available Cldr Days,Shelf Life Cldr Days,Retest Cldr Days,Std Potency %,"Material Code",Lot Counter,"Lot Mask","Dflt Lot","Ser Mask","Dflt Ser","Text No","(text line1)","(text line2)","(text line3)","(text line4)",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

67 1 A Lot Assign Policy Lot_Assign

68 1 A Lot Default Lot_Dflt

69 1 A FIFO Inv Policy FIFO_Inv

70 1 A Backflush Policy Backflush

71 4 N Available Cldr Days Avail_Days

72 4 N Shelf Life Cldr Days Shelf_Life

Data Import Macros and Data Dictionary 382

Page 383: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMB08Delete Text—Item Lot Trace and Serialization Detail

Archive Record Layout"ITMB08","","","","","","Item","","","","","","","","","","","","","",,,,,,,,,"","","","",,"",,"","",,"","","","","","","","","","","","","","",,"",,"","",,"","","","","","","",,"","","","",,,,,"",,"","","","","","","","","",""

Required Transaction Fields

ITMB09Change Intrastat Item Configuration

Archive Record Layout"ITMB09","","","","","","Item","Intrastat Item unit Weight","Supplementary UM","Customs Unit Price","Commodity Code","Reference #1","Reference #2","Reference #3","Reference #4","Reference #5"

Required Transaction Fields

73 4 N Retest Cldr Days Retest_Day

74 10 N Std Potency % Std_Pot

75 15 A Material Code Matl_Cd

76 9 N Lot Counter Lt_Counter

77 20 A Lot Mask Lot_Mask

78 20 A Dflt Lot Dflt_Lot

79 20 A Ser Mask Ser_Mask

80 20 A Dflt Ser Dflt_Ser

81 6 A Text No Text_No

82 60 A (text line1) Text_Line1

83 60 A (text line2) Text_Line2

84 60 A (text line3) Text_Line3

85 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 10 N Intrastat Item unit Weight N/A

Data Import Macros and Data Dictionary 383

Page 384: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMB20Add Extended Text - Intrastat Item Configuration

Archive Record Layout"ITMB20","","","","","","","(text entry type)","(page number)","Item","","","","Text Message"

Required Transaction Fields

ITMB21Change Extended Text - Intrastat Item Configuration

Archive Record Layout"ITMB21","","","","","","","(text entry type)","(page number)",’Item","","","","Text Message"

Required Transaction Fields

9 4 A Supplementary UM N/A

10 16 N Customs Unit Price N/A

11 8 A Commodity Code N/A

12 20 A Reference #1 N/A

13 20 A Reference #2 N/A

14 20 A Reference #3 N/A

15 20 A Reference #4 N/A

16 20 A Reference #5 N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 30 A Item Item

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 30 A Item Item

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 384

Page 385: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMB22Delete Extended Text - Intrastat Item Configuration

Archive Record Layout"ITMB22","","","","","","","(text entry type)","(page number)",’Item","","","","Text Message"

Required Transaction Fields

ITMC – Item/Work Center Cost Data

ITMC Transactions

ITMC00Add Item Cost

Add Item Cost Identification

Archive Record Layout"ITMC00","","","","","","Item","Cst Typ","Cst Cd",Matl,Labor,Var Ovrhd,Fix Ovrhd,Roll Matl Cost,Roll Labor Cost,Roll Var Ovrhd,Roll Fix Ovrhd

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 30 A Item Item

14 890 A Text Message N/A

Macro Id DescriptionMacro File

Name

ITMC00 Add Item Cost INVM

Add Item Cost Identification

ITMC01 Change Item Cost INVM

Change Item Cost Identification

ITMC02 Delete Item Cost INVM

ITMC03 Change Item Cost Header INVM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

Data Import Macros and Data Dictionary 385

Page 386: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITMC01Change Item Cost

Change Item Cost Identification

Archive Record Layout"ITMC01","","","","","","Item","Cst Typ","Cst Cd",Matl,Labor,Var Ovrhd,Fix Ovrhd,Roll Matl Cost,Roll Labor Cost,Roll Var Ovrhd,Roll Fix Ovrhd

Required Transaction Fields

ITMC02Delete Item Cost

Archive Record Layout

8 1 A Cst Typ Cost_Type

9 1 A Cst Cd Cost_Code

10 16 N Matl Matl

11 16 N Labor Labor

12 16 N Var Ovrhd Var_Ovrhd

13 16 N Fix Ovrhd Fix_Ovrhd

14 16 N Roll Matl Cost Rl_Mat_Cst

15 16 N Roll Labor Cost Rl_Lab_Cst

16 16 N Roll Var Ovrhd Rl_Vr_Ovhd

17 16 N Roll Fix Ovrhd Rl_Fx_Ovhd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 1 A Cst Typ Cost_Type

9 1 A Cst Cd Cost_Code

10 16 N Matl Matl

11 16 N Labor Labor

12 16 N Var Ovrhd Var_Ovrhd

13 16 N Fix Ovrhd Fix_Ovrhd

14 16 N Roll Matl Cost Rl_Mat_Cst

15 16 N Roll Labor Cost Rl_Lab_Cst

16 16 N Roll Var Ovrhd Rl_Vr_Ovhd

17 16 N Roll Fix Ovrhd Rl_Fx_Ovhd

Data Import Macros and Data Dictionary 386

Page 387: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

"ITMC02","","","","","","Item","Cst Typ","",,,,,,,,,"","","",,,"","",,""

Required Transaction Fields

ITMC03Change Item Cost Header

Archive Record Layout"ITMC03","","","","","","Item","","","","","","","","","","","Inventory Acct No","Sales Acct No","COGS Acct No","Set Up Cost","Avg Unit Pr","Cost Family","Foreign Cost Code","Amount","VAT Product Code","Product Line","Material COGS","Labor COGS","Var Ovrhd COGS","Fix Ovrhd COGS","Outside COGS"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 1 A Cst Typ Cost_Type

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

18 20 A Inventory Acct No Inv_AcctNo

19 20 A Sales Acct No Sal_AcctNo

20 20 A COGS Acct No COGS_Ac_No

21 16 N Set Up Cost SetUp_Cost

22 16 N Avg Unit Pr Avg_Unt_Pr

23 15 A Cost Family Cost_Fmly

24 5 A Foreign Cost Code F_Cost_Cd

25 16 N Amount F_Amount

26 12 A VAT Product Code VAT_Prd_Co

27 15 A Product Line Prdln

28 20 A Material COGS Mat_COGS

29 20 A Labor COGS Lab_COGS

30 20 A Var Ovrhd COGS Varoh_COGS

31 20 A Fix Ovrhd COGS Fixoh_COGS

32 20 A Outside COGS Out_COGS

Data Import Macros and Data Dictionary 387

Page 388: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

ITPB – Item Price Book

ITPB Transactions

ITPB01Change Item Price

Archive Record Layout"ITPB01","","","","","","Item",Unit Price

Required Transaction Fields

IVIE – Invoice Entry and MaintenanceThe IVIE transactions use the following screens:

• IVIE (Invoice Entry and Maintenance)

• Invoice Header Detail

• Invoice Line Item Detail

Documents used for IVIE transactions come from two sources. Documents are:

• system-generated based on system shipping activity

• manually created using the IVIE screen

Required field entries for IVIE transactions depend on the document's status within the printing process. Documents are identified as preprinted or post-printed. Use the following table to determine which fields are required when adding a document.

Macro Id DescriptionMacro File

Name

ITPB01 Change Item Price CUSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 16 N Unit Price Unit_Price

Ref No Ref Seqn Invoice Typ Invoice No

Preprinted:

Invoice Required Clear I Clear

Credit Memo Required Clear R Clear

Post-printed:

Invoice Optional Clear I Required

Data Import Macros and Data Dictionary 388

Page 389: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: Each unique combination of Ref No, Ref Seqn, Invoice Typ and Invoice No requires a new invoice header before you can add line items.

Change and delete transactions for preprinted documents require the Ref No and Ref Seqn fields. Change and delete transactions for post-printed documents require only the Invoice No field.

IVIE Transactions

Invoice Header Detail Transactions

Invoice Line Item Detail Transactions

Walk-in Optional Clear W Required

Credit Memo Optional Clear R Required

Macro Id DescriptionMacro File

Name

IVIE00 Add Invoice Header IVPM

IVIE01 Change Invoice Header IVPM

IVIE02 Delete Invoice IVPM

IVIE03 Add Invoice Line Item IVPM

IVIE04 Change Invoice Line Item IVPM

IVIE05 Delete Invoice Line Item IVPM

Macro Id DescriptionMacro File

Name

IVIE13 Change Invoice Header Detail–Manual IVPM

IVIE14 Delete Invoice Header Text IVPM

IVIE15 Change Invoice Header Detail—System-Generated (Ship Date Closed)

IVPM

IVIE16 Change Invoice Header Detail—System-Generated (Ship Date Open)

IVPM

IVIE30 Add Extended Text—Invoice Header IVPM

IVIE31 Change Extended Text—Invoice Header IVPM

IVIE32 Delete Extended Text—Invoice Header IVPM

Macro Id DescriptionMacro File

Name

IVIE10 Add Invoice Line Item Detail IVPM

Data Import Macros and Data Dictionary 389

Page 390: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

A/R Intrastat Transactions

IVIE00Add Invoice HeaderDocuments used for IVIE transactions come from two sources. Documents are:

• system-generated based on system shipping activity

• manually created using the IVIE screen

Required field entries for IVIE transactions depend on the document's status within the printing process. Documents are identified as preprinted or post-printed. Use the following table to determine which fields are required when adding a document.

Each unique combination of Ref No, Ref Seqn, Invoice Typ and Invoice No requires a new invoice header before you can add line items.

Note: The IVIE00 transaction does not update all related fields on the Invoice Header Detail automatically. Use an IVIE13 transaction to add the detail information needed.

Archive Record Layout"IVIE00","","","","","","","Ref No","","Invoice Typ","Invoice No","Invoice Date","Cust Id","Invoice St","Ship to","Addr","(addr2)","City","St","Zip","C","Via",Cash #1 %,Cash #1 Days,Cash #2 %,Cash #2 Days,Net Days,"Com Code","A/R Master Acct No","","VCC","Invoice Terms",Day,Cutoff,Delay,"Pay #1 Date",Pay #1 Amount,"Pay #2 Date",Pay #2 Amount,"Pay #3 Date",Pay #3 Amount,"Net Pay Date","","","",Cash #3 %,Cash #3 Days,Cash #4 %,Cash #4 Days

Required Transaction Fields

IVIE11 Change Invoice Line Item Detail IVPM

IVIE12 Delete Invoice Line Item Detail IVPM

Macro Id DescriptionMacro File

Name

IVIE40 A/R Intrastat Transaction IVPM

Ref No Ref Seqn Invoice Typ Invoice No

Preprinted:

Invoice Required Clear I Clear

Credit Memo Required Clear R Clear

Post-printed:

Invoice Optional Clear I Required

Walk-in Optional Clear W Required

Credit Memo Optional Clear R Required

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 390

Page 391: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12 6 D Invoice Date Ivc_Date

13* 13 A Cust Id Cust_Id

14 1 A Invoice St Invoice_St

15 30 A Ship to Ship_to_Nm

16 60 A Addr Ship_Addr1

17 60 A (addr2) Ship_Addr2

18 15 A City Ship_City

19 10 A St Ship_State

20 12 A Zip Ship_Zip

21 15 A C Ship_Cntry

22 30 A Via Ship_Via

23 5 N Cash #1 % Disc_Pcnt1

24 3 N Cash #1 Days Disc_Days1

25 5 N Cash #2 % Disc_Pcnt2

26 3 N Cash #2 Days Disc_Days2

27 3 N Net Days Net_Days

28 3 A Com Code Com_Code

29 20 A A/R Master Acct No AR_Acct_No

31 5 A VCC VAT_Cus_Cd

32* 1 A Invoice Terms Pay_Term

33 2 N Day Mon_PayWen

34 2 N Cutoff Mon_Cutoff

35 2 N Delay Mon_Delay

36 6 D Pay #1 Date Inv_PayDt1

37 12 N Pay #1 Amount Inv_PayAm1

38 6 D Pay #2 Date Inv_PayDt2

39 12 N Pay #2 Amount Inv_PayAm2

40 6 D Pay #3 Date Inv_PayDt3

41 12 N Pay #3 Amount Inv_PayAm3

42 6 D Net Pay Date Inv_PayDt4

46 5 N Cash #3 % Disc_Pcnt3

47 3 N Cash #3 Days Disc_Days3

Data Import Macros and Data Dictionary 391

Page 392: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: The VCC field is used only when a VAT system is installed.

IVIE01Change Invoice HeaderChange transactions for preprinted documents require the Ref No and Ref Seqn fields. Change transactions for post-printed documents require only the Invoice No field.

Note: The IVIE01 transaction does not update all related fields on the Invoice Header Detail automatically. Use an IVIE13 transaction to add the detail information needed.

Archive Record Layout"IVIE01","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Invoice Date","","Invoice St","Ship to","Addr","(addr2)","City","St","Zip","C","Via",Cash #1 %,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Com Code","A/R Master Acct No","(system-generated/manual)","VCC","Invoice Terms",Day,Cutoff,Delay,"Pay #1 Date",Pay #1 Amount,"Pay #2 Date",Pay #2 Amount,"Pay #3 Date",Pay #3 Amount,"Net Pay Date","Ctrl Curr","Inv Ex Rate",""Cash #3 %,Cash #3 Days,Cash #4 %,Cash #4 Days,"(exchange rate toggle flag)"

Required Transaction Fields

48 5 N Cash #4 % Disc_Pcnt4

49 3 N Cash #4 Days Disc_Days4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12 6 D Invoice Date Ivc_Date

14* 1 A Invoice St Invoice_St

15 30 A Ship to Ship_to_Nm

16 60 A Addr Ship_Addr1

17 60 A (addr2) Ship_Addr2

18 15 A City Ship_City

19 10 A St Ship_State

20 12 A Zip Ship_Zip

21 15 A C Ship_Cntry

22 30 A Via Ship_Via

23 5 N Cash #1 % Disc_Pcnt1

24 3 N Cash #1 Days Disc_Days1

25 5 N Cash #2 % Disc_Pcnt2

26 3 N Cash #2 Days Disc_Days2

Data Import Macros and Data Dictionary 392

Page 393: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

(system generated/manual) identifies how an invoice was created. Invoices are identified as

Field 50, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

27 3 N Net Days Net_Days

28 3 A Com Code Com_Code

29 20 A A/R Master Acct No AR_Acct_No

30* 1 A (system-generated or man-ual S/M)

N/A

31 5 A VCC VAT_Cus_Cd

32* 1 A Invoice Terms Pay_Term

33 2 A Day Mon_PayWen

34 2 N Cutoff Mon_Cutoff

35 2 N Delay Mon_Delay

36 6 D Pay #1 Date Inv_PayDt1

37 12 N Pay #1 Amount Inv_PayAm1

38 6 D Pay #2 Date Inv_PayDt2

39 12 N Pay #2 Amount Inv_PayAm2

40 6 D Pay #3 Date Inv_PayDt3

41 12 N Pay #3 Amount Inv_PayAm3

42 6 D Net Pay Date Inv_PayDt4

43 1 A Ctrl Curr Ctrl_Curr

44 11 A Inv Ex Rate Ex_Rate

46 5 N Cash #3 % Disc_Pcnt3

47 3 N Cash #3 Days Disc_Days3

48 5 N Cash #4 % Disc_Pcnt4

49 3 N Cash #4 Days Disc_Days4

50 1 A (exchange rate toggle flag) N/A

Identifier Description

S Invoices created by shipping a customer order

M Invoices created manually using the IVIE screen

Setting Description

Data Import Macros and Data Dictionary 393

Page 394: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: Field 44 is used only when Ctrl Curr = R.

The VCC field is used only when a VAT system is installed.

IVIE02Delete InvoiceDelete transactions for preprinted documents require the Ref No and Ref Seqn fields.

Archive Record Layout"IVIE02","","","","","","","Ref No","Ref Seqn","Invoice Type","Invoice No",""

Required Transaction Fields

IVIE03Add Invoice Line ItemAdd transactions for preprinted documents require the Ref No and Ref Seqn fields. Add transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE03","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","","","Item/Desc","Master Account No","Shipped Quantity,Unit Price","Exempt F","Exempt S/Primary VAT Exempt","Exempt C/Secondary VAT Exempt","Exempt M","Com Code","Add Ex Rate",""

Required Transaction Fields

T The exchange rate is a floating rate. The field is open for editing and the screen toggles to the non-controlling currency.

"" Indicates a local customer. Both the controlling currency flag and the invoice exchange rate are protected from changes. The screen tog-gle is not required.

1 The controlling currency flag can be changed, but the invoice exchange rate is protected from changes.

2 Both the controlling currency flag and the invoice exchange rate can be changed.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

Data Import Macros and Data Dictionary 394

Page 395: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Consider the following requirements based on the characteristics of the invoice.

• Field #23 is used only when a line is added to a post-printed invoice for a foreign customer.

• Field #15 is required when you are adding a line to a manual invoice.

IVIE04Change Invoice Line ItemChange transactions for preprinted documents require the Ref No and Ref Seqn fields. Change transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE04","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","","Ref Ln#","","Master Account No",Shipped Quantity,Unit Price,"Exempt F","Exempt S/Primary VAT Exempt","Exempt C/Secondary VAT Exempt","Exempt M","Com Code","","","(Transaction Date)","(Transaction Time)"

Required Transaction Fields

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

14 70 A Item/Desc Item_Desc

15 20 A Master Account No AR_Acct_No

16 10 N Shipped Quantity Ship_Qty

17 16 N Unit Price Unit_Price

18 1 A Exempt F Exempt_F

19 1 A Exempt S/Primary VAT Exempt

Exempt_S; Exempt_V1

20 1 A Exempt C/Secondary VAT Exempt

Exempt_C; Exempt_V2

21 1 A Exempt M Exempt_M

22 3 A Com Code Com_Code

23 11 A Add Ex Rate Ex_Rate

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

13* 3 A Ref Ln# Ln_No

15 20 A Master Account No AR_Acct_No

16 10 N Shipped Quantity Ship_Qty

Data Import Macros and Data Dictionary 395

Page 396: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Field 25, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

IVIE05Delete Invoice Line ItemDelete transactions for preprinted documents require the Ref No and Ref Seqn fields. Delete transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE05","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","","Ref Ln#","","","","","","","","","","","","(Transaction Date)","(Transaction Time)"

Required Transaction Fields

Field 25, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

IVIE10Add Invoice Line Item Detail

17 16 N Unit Price Unit_Price

18 1 A Exempt F Exempt_F

19 1 A Exempt S/Primary VAT Exempt

Exempt_S; Exempt_V1

20 1 A Exempt C/Secondary VAT Exempt

Exempt_C; Exempt_V2

21 1 A Exempt M Exempt_M

22 3 A Com Code Com_Code

25 6 D (Transaction Date) N/A

26 12 A (Transaction Time) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

13* 3 A Ref Ln# Ln_No

25 6 D (Transaction Date) N/A

26 12 A (Transaction Time) N/A

Data Import Macros and Data Dictionary 396

Page 397: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Add transactions for preprinted documents require the Ref No and Ref Seqn fields. Add transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE10","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Ref Ln#","Seqn","Additional Description","","",""

Required Transaction Fields

IVIE11Change Invoice Line Item DetailChange transactions for preprinted documents require the Ref No and Ref Seqn fields. Change transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE11","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Ref Ln#","Seqn","Additional Description","VAT Code (primary)","VAT Code (secondary)",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12* 3 A Ref Ln# Ln_No

13 3 A Seqn Seqn

14 110 A Additional Description Add_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12* 3 A Ref Ln# Ln_No

13* 3 A Seqn Seqn

14 110 A Additional Description Add_Desc

15 2 A VAT Code (primary) Tax_Auth_1

16 2 A VAT Code (secondary) Tax_Auth_2

Data Import Macros and Data Dictionary 397

Page 398: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: Fields 15 or 16 are available only when a VAT system is installed.

IVIE12Delete Invoice Line Item DetailDelete transactions for preprinted documents require the Ref No and Ref Seqn fields. Delete transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE12","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Ref Ln#","Seqn","","","",""

Required Transaction Fields

IVIE13Change Invoice Header Detail—ManualChange and delete transactions for preprinted documents require the Ref No and Ref Seqn fields. Change and delete transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE13","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Ship Date","Shpmt Ref","Pro Number","Customer PO Number","Sales Cat #1","Sales Cat #2","Misc #1","Misc #2","Federal Tax Code",Federal Tax Rate,"State Tax Code",State Tax Rate,"County Tax Code",County Tax Rate,"Municipal Tax Code",Municipal Tax Rate,"Text No","(text line1)","(text line2)","(text line3)","(text line4)","Discount - SalesAmt (y/n)","Discount - Other Chrg (y/n)","Discount - Freight (y/n)","Discount - LESS Amt (y/n)","Discount - Tax Amt (y/n)","","Rs Code","Status","Cst Claim","","Inv Ref"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12* 3 A Ref Ln# Ln_No

13* 3 A Seqn Seqn

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12 6 D Ship Date Ship_Date

13 30 A Shpmt Ref Shpmt_Ref

Data Import Macros and Data Dictionary 398

Page 399: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVIE14Delete Invoice Header TextDelete transactions for preprinted documents require the Ref No and Ref Seqn fields. Delete transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE14","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Text No"

14 30 A Pro No Pro_Number

15 30 A Customer PO Number Cust_PO_No

16 3 A Sales Cat #1 Sales_Cat1

17 3 A Sales Cat #2 Sales_Cat2

18 10 A Misc #1 Ivc_Misc1

19 10 A Misc #2 Ivc_Misc2

20 2 A Federal Tax Code Tax_Code_F

21 6 N Federal Tax Rate Tax_Rate_F

22 2 A State Tax Code Tax_Code_S

23 6 N State Tax Rate Tax_Rate_S

24 3 A County Tax Code Tax_Code_C

25 6 N County Tax Rate Tax_Rate_C

26 3 A Municipal Tax Code Tax_Code_M

27 6 N Municipal Tax Rate Tax_Rate_M

28 6 A Text No Text_No

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 1 A Discount - Sales Amt (y/n) N/A

34 1 A Discount - Other Chrg (y/n) N/A

35 1 A Discount - Freight (y/n) N/A

36 1 A Discount - LESS Amt (y/n) N/A

37 1 A Discount - Tax Amt (y/n) N/A

39 4 A Rs Code N/A

40 2 A Status N/A

41 15 A Cst Claim N/A

43 30 A Inv Ref AR_IVC_REF

Data Import Macros and Data Dictionary 399

Page 400: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

IVIE15Change Invoice Header Detail—System-Generated (Ship Date Closed)Change transactions for preprinted documents require the Ref No and Ref Seqn fields. Change transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE15","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","","Shpmt Ref","Pro No","","Sales Cat #1","Sales Cat #2","Misc #1","Misc #2","Federal Tax Code",Federal Tax Rate,"State Tax Code",State Tax Rate,"County Tax Code",County Tax Rate,"Municipal Tax Code",Municaipal Tax Rate,"Text No","(text line1)","(text line2)","(text line3)","(text line4)","Discount - Sales Amount (y/n)","Discount - Other Charges (y/n)","Discount - Freight (y/n)","Discount - LESS (y/n)","Discount - Tax Amount (y/n)","","Rs Code","Status","Cst Claim","","Inv Ref"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

12* 6 A Text No Text_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 6 A Invoice No Invoice_No

13 6 A Shpmt Ref Shpmt_Ref

14 30 A Pro No Pro_Number

16 3 A Sales Cat #1 Sales_Cat1

17 3 A Sales Cat #2 Sales_Cat2

18 10 A Misc #1 Ivc_Misc1

19 10 A Misc #2 Ivc_Misc2

20 2 A Federal Tax Code Tax_Code_F

21 6 N Federal Tax Rate Tax_Rate_F

22 2 A State Tax Code Tax_Code_S

Data Import Macros and Data Dictionary 400

Page 401: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVIE16Change Invoice Header Detail—System-Generated (Ship Date Open)Change transactions for preprinted documents require the Ref No and Ref Seqn fields. Change transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE16","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","Ship Date","Shpmt Ref","Pro Number","Customer PO Number","Sales Cat #1","Sales Cat #2","Misc #1","Misc #2","Federal Tax Code",Federal Tax Rate,"State Tax Code",State Tax Rate,"County Tax Code",County Tax Rate,"Municipal Tax Code",Municipal Tax Rate,"Text No","(text line1)","(text line2)","(text line3)","(text line4)""Discount - Sales Amt (y/n)","Discount - Other Chrg (y/n)","Discount - Freight (y/n)","Discount - LESS Amt (y/n)","Discount - Tax Amt (y/n)","","Rs Code","Status","Cst Claim","","Inv Ref"

Required Transaction Fields

23 6 N State Tax Rate Tax_Rate_S

24 3 A County Tax Code Tax_Code_C

25 6 N County Tax Rate Tax_Rate_C

26 3 A Municipal Tax Code Tax_Code_M

27 6 N Municipal Tax Rate Tax_Rate_M

28 6 A Text No Text_No

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 1 A Discount - Sales Amt (y/n) N/A

34 1 A Discount - Other Chrg (y/n) N/A

35 1 A Discount - Freight (y/n) N/A

36 1 A Discount - LESS Amt (y/n) N/A

37 1 A Discount - Tax Amt (y/n) N/A

39 4 A Rs Code N/A

40 2 A Status N/A

41 15 A Cst Claim N/A

43 30 A Inv Ref AR_IVC_REF

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

Data Import Macros and Data Dictionary 401

Page 402: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVIE30Add Extended Text—Invoice HeaderAdd transactions for preprinted documents require the Ref No and Ref Seqn fields. Add transactions for post-printed documents require only the Invoice No field.

Archive Record Layout

11* 6 A Invoice No Invoice_No

12 6 D Ship Date Ship_Date

13 6 A Shpmt Ref Shpmt_Ref

14 30 A Pro No Pro_Number

16 3 A Sales Cat #1 Sales_Cat1

17 3 A Sales Cat #2 Sales_Cat2

18 10 A Misc #1 Ivc_Misc1

19 10 A Misc #2 Ivc_Misc2

20 2 A Federal Tax Code Tax_Code_F

21 6 N Federal Tax Rate Tax_Rate_F

22 2 A State Tax Code Tax_Code_S

23 6 N State Tax Rate Tax_Rate_S

24 3 A County Tax Code Tax_Code_C

25 6 N County Tax Rate Tax_Rate_C

26 3 A Municipal Tax Code Tax_Code_M

27 6 N Municipal Tax Rate Tax_Rate_M

28 6 A Text No Text_No

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 1 A Discount - Sales Amt (y/n) N/A

34 1 A Discount - Other Chrg (y/n) N/A

35 1 A Discount - Freight (y/n) N/A

36 1 A Discount - LESS Amt (y/n) N/A

37 1 A Discount - Tax Amt (y/n) N/A

39 4 A Rs Code N/A

40 2 A Status N/A

41 15 A Cst Claim N/A

43 30 A Inv Ref AR_IVC_REF

Data Import Macros and Data Dictionary 402

Page 403: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

"IVIE30","","","","","","","(text entry type)","(page number)","Ref No","Ref Seqn","Invoice Typ","Invoice No","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

Several codes are used when importing text with special characters.

IVIE31Change Extended Text—Invoice HeaderChange transactions for preprinted documents require the Ref No and Ref Seqn fields. Change transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE31","","","","","","","(text entry type)","(page number)","Ref No","Ref Seqn","Invoice Typ","Invoice No","Text Message"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 15 A Ref No CO_Number

11* 4 A Ref Seqn Ref_Seqn

12* 1 A Invoice Typ Ivc_Type

13* 6 A Invoice No Invoice_No

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Data Import Macros and Data Dictionary 403

Page 404: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

Several codes are used when importing text with special characters.

IVIE32Delete Extended Text—Invoice HeaderDelete transactions for preprinted documents require the Ref No and Ref Seqn fields. Delete transactions for post-printed documents require only the Invoice No field.

Archive Record Layout"IVIE32","","","","","","","(text entry type)","(page number)","Ref No","Ref Seqn","Invoice Typ","Invoice No","Text Message"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 15 A Ref No CO_Number

11* 4 A Ref Seqn Ref_Seqn

12* 1 A Invoice Typ Ivc_Type

13* 6 A Invoice No Invoice_No

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Data Import Macros and Data Dictionary 404

Page 405: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

Several codes are used when importing text with special characters.

IVIE40A/R Intrastat Transaction

Archive Record Layout"IVIE40","","","","","","","Ref No","Ref Seqn","Invoice Typ","Invoice No","","Ref Ln#","","EC Listing","Origin Member State","Destination Member State","Mode of Transportation","","","Delivery Terms","Item Number","(Item Description)","Commodity Code","(Commodity Code Description)","Quantity","Unit Price","Ex Rate (1)","Ex Rate (2)","Intrastat Item Unit Weight","","Supplement UM","Customs Extd Price","Customer Reference #1","Customer Reference #2","Customer Reference #3","Customer Reference #4","Customer Reference #5","Item Reference #1","Item Reference #2","Item Reference #3","Item Reference #4","Item Reference #5","Transaction Date","(Transaction Time)"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 15 A Ref No CO_Number

11* 4 A Ref Seqn Ref_Seqn

12* 1 A Invoice Typ Ivc_Type

13* 6 A Invoice No Invoice_No

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Data Import Macros and Data Dictionary 405

Page 406: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A Ref No CO_Number

9* 4 A Ref Seqn Ref_Seqn

10* 1 A Invoice Typ Ivc_Type

11* 10 A Invoice No AR_Ivc_No

13* 1 A Ref Ln# Ln_No

15 1 A EC Listing N/A

16 2 A Origin Member State N/A

17 2 A Destination Member State N/A

18 2 A Mode of Transportation N/A

21 3 A Delivery Terms N/A

22 30 A Item Number N/A

23 70 A (Item Description) N/A

24 8 A Commodity Code N/A

25 70 A (Commodity Code Descrip-tion)

N/A

26 11 N Quantity N/A

27 16 N Unit Price N/A

28 11 A Ex Rate (1) N/A

29 11 A Ex Rate (2) N/A

30 10 N Intrastat Item Unit Weight N/A

32 4 A Supplement UM N/A

33 14 N Customs Extd Price N/A

34 20 A Customer Reference #1 N/A

35 20 A Customer Reference #2 N/A

36 20 A Customer Reference #3 N/A

37 20 A Customer Reference #4 N/A

38 20 A Customer Reference #5 N/A

39 20 A Item Reference #1 N/A

40 20 A Item Reference #2 N/A

41 20 A Item Reference #3 N/A

42 20 A Item Reference #4 N/A

43 20 A Item Reference #5 N/A

44 6 D Transaction Date N/A

Data Import Macros and Data Dictionary 406

Page 407: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Field 45, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

IVRE – A/R Recurring Invoice

IVRE Transactions

IVRE00Add A/R Recurring Invoice Header

Archive Record Layout"IVRE00","","","","","","","Rec Ref No","Copy From","Rev Date","Cust Id","Curr Code","St","Begin", "End","Day","Ship to","Addr","(addr2)","City","St","Zip","C","Via","Cash #1 %","Cash #1 Days", "Cash #2 %","Cash #2 Days","Net Days","Com Code","A/R Master Acct No","VCC","Invoice Terms","Day","Cutoff","Delay","Cash #3 %","Cash #3 Days","Cash #4 %","Cash #4 Days","Ctrl Curr","Inv Ex Rate","(Rate for EMU Members)"

45 12 A (Transaction Time) N/A

Macro Id DescriptionMacro File

Name

IVRE00 IVPM

IVRE01 Change A/R Recurring Invoice Header IVPM

IVRE02 Delete A/R Recurring Invoice IVPM

IVRE03 Add A/R Recurring Invoice Line Item IVPM

IVRE04 Change A/R Recurring Invoice Line Item IVPM

IVRE05 Delete A/R Recurring Invoice Line Item IVPM

IVRE10 Add A/R Recurring Invoice Line Item Detail IVPM

IVRE11 Change A/R Recurring Invoice Line Item Detail IVPM

IVRE12 Delete A/R Recurring Invoice Line Item Detail IVPM

IVRE13 Change A/R Recurring Invoice Header Detail IVPM

IVRE14 Delete A/R Recurring Invoice Header Text IVPM

IVRE30 Add Extended Text - Recurring Invoice Header IVPM

IVRE31 Change Extended Text - Recurring Invoice Header IVPM

IVRE32 Delete Extended Text - Recurring Invoice Header IVPM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 407

Page 408: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 15 A Rec Ref No RecRef_Num

9 15 A Copy From RecRef_Num

10 6 D Rev Date Rev_Date

11 13 A Cust Id Cust_Id

12 5 A Curr Code Curr_Code

13 1 A St RecRef_St

14 6 D Begin Begin_Date

15 6 D End End_Date

16 2 N Day Cr_Day

17 13 A Ship to Ship_to_Nm

18 60 A Addr Ship_Addr1

19 60 A (addr2) Ship_Addr2

20 15 A City Ship_City

21 10 A St Ship_State

22 12 A Zip Ship_Zip

23 15 A C Ship_Cntry

24 30 A Via Ship_Via

25 5 N Cash #1 % Disc_Pcnt1

26 3 N Cash #1 Days Disc_Days1

27 5 N Cash #2 % Disc_Pcnt2

28 3 N Cash #2 Days Disc_Days2

29 3 N Net Days Net_Days

30 3 A Com Code Com_Code

31 20 A A/R Master Acct No AR_Acct_No

32 5 A VCC VAT_Cus_Cd

33 1 A Invoice Terms Pay_Term

34 2 N Day Mon_PayWen

35 2 N Cutoff Mon_Cutoff

36 2 N Delay Mon_Delay

37 5 N Cash #3 % Disc_Pcnt3

38 3 N Cash #3 Days Disc_Days3

39 5 N Cash #4 % Disc_Pcnt4

Data Import Macros and Data Dictionary 408

Page 409: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVRE01Change A/R Recurring Invoice Header

Archive Record Layout"IVRE01","","","","","","","Rec Ref No","","Rev Date","","","St","Begin","End","Day","Ship to", "Addr","(addr2)","City","St","Zip","C","Via","Cash #1","Cash #1 Days","Cash #2 %","Cash #2 Days","Net Days","Com Code","A/R Master Acct No","VCC","Invoice Terms","Day","Cutoff", "Delay","Cash #3 %","Cash #3 Days","Cash #4 %","Cash #4 Days","Ctrl Curr","Inv Ex Rate", "(Rate for EMU Members)"

Required Transaction Fields

40 3 N Cash #4 Days Disc_Days4

41 1 A Ctrl Curr Ctrl_Curr

42 11 A Inv Ex Rate Ex_Rate1

43 11 A (Rate for EMU Members) Ex_Rate2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

10 6 D Rev Date Rev_Date

13 1 A St RecRef_St

14 6 D Begin Begin_Date

15 6 D End End_Date

16 2 N Day Cr_Day

17 13 A Ship to Ship_to_Nm

18 60 A Addr Ship_Addr1

19 60 A (addr2) Ship_Addr2

20 15 A City Ship_City

21 10 A St Ship_State

22 12 A Zip Ship_Zip

23 15 A C Ship_Cntry

24 30 A Via Ship_Via

25 5 N Cash #1 Disc_Pcnt1

26 3 N Cash #1 Days Disc_Days1

27 5 N Cash #2 % Disc_Pcnt2

28 3 N Cash #2 Days Disc_Days2

29 3 N Net Days Net_Days

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 409

Page 410: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVRE02Delete A/R Recurring Invoice

Archive Record Layout"IVRE02","","","","","","","Rec Ref No"

Required Transaction Fields

IVRE03Add A/R Recurring Invoice Line Item

Archive Record Layout"IVRE03","","","","","","","Rec Ref No","","","","","","Item/Desc","Master Account No","Shipped Quantity","Unit Price","Exempt F","Exempt S/Primary VAT Exempt","Exempt C/Secondary VAT Exempt","Exempt M","Com Code"

Required Transaction Fields

30 3 A Com Code Com_Code

31 20 A A/R Master Acct No AR_Acct_No

32 5 A VCC VAT_Cus_Cd

33 1 A Invoice Terms Pay_Term

34 2 N Day Mon_PayWen

35 2 N Cutoff Mon_Cutoff

36 2 N Delay Mon_Delay

37 5 N Cash #3 % Disc_Pcnt3

38 3 N Cash #3 Days Disc_Days3

39 5 N Cash #4 % Disc_Pcnt4

40 3 N Cash #4 Days Disc_Days4

41 1 A Ctrl Curr Ctrl_Curr

42 11 A Inv Ex Rate Ex_Rate1

43 11 A (Rate for EMU Members) Ex_Rate2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 410

Page 411: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVRE04Change A/R Recurring Invoice Line Item

Archive Record Layout"IVRE04","","","","","","","Rec Ref No","","","","","Ref Ln#","Item/Desc","Master Account No","Shipped Quantity","Unit Price","Exempt F","Exempt S/Primary VAT Exempt","Exempt C/Secondary VAT Exempt","Exempt M","Com Code"

Required Transaction Fields

IVRE05

14 70 A Item/Desc Item_Desc

15 20 A Master Account No Sal_AcctNo

16 10 N Shipped Quantity Ship_Qty

17 16 N Unit Price Unit_Price

18 1 A Exempt F Exempt_F

19 1 A Exempt S/Primary VAT Exempt

Exempt_S; Exempt_V1

20 1 A Exempt C/Secondary VAT Exempt

Exempt_C; Exempt_V2

21 1 A Exempt M Exempt_M

22 3 A Com Code Com_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

13* 15 A Ref Ln# Ln_No

14 70 A Item/Desc Item_Desc

15 20 A Master Account No Sal_AcctNo

16 10 N Shipped Quantity Ship_Qty

17 16 N Unit Price Unit_Price

18 1 A Exempt F Exempt_F

19 1 A Exempt S/Primary VAT Exempt

Exempt_S; Exempt_V1

20 1 A Exempt C/Secondary VAT Exempt

Exempt_C; Exempt_V2

21 1 A Exempt M Exempt_M

22 3 A Com Code Com_Code

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 411

Page 412: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Delete A/R Recurring Invoice Line Item

Archive Record Layout"IVRE05","","","","","","","Rec Ref No","","","","","Ref Ln#"

Required Transaction Fields

IVRE10Add A/R Recurring Invoice Line Item Detail

Archive Record Layout"IVRE10","","","","","","","Rec Ref No","","","","Ref Ln#","Seqn","Additional Description"

Required Transaction Fields

IVRE11Change A/R Recurring Invoice Line Item Detail

Archive Record Layout"IVRE11","","","","","","","Rec Ref No","","","","Ref Ln#","Seqn","Additional Description","VAT Code (primary)","VAT Code (secondary)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

13* 15 A Ref Ln# Ln_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

12* 15 A Ref Ln# Ln_No

13 3 A Seqn Seqn

14 110 A Additional Description Add_Desc

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

12* 15 A Ref Ln# Ln_No

13* 3 A Seqn Seqn

14 110 A Additional Description Add_Desc

15 2 A VAT Code (primary) Tax_Auth_1

Data Import Macros and Data Dictionary 412

Page 413: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Note: If flied 13 is NULL, the transaction only updates the VAT info if applicable.

IVRE12Delete A/R Recurring Invoice Line Item Detail

Archive Record Layout"IVRE12","","","","","","","Rec Ref No","","","","Ref Ln#","Seqn"

Required Transaction Fields

IVRE13Change A/R Recurring Invoice Header Detail

Archive Record Layout"IVRE13","","","","","","","Rec Ref No","Cust Id","","","Ship Date","Shpmt Ref","Pro No","Customer PO Number","Sales Cat #1","Sales Cat #2","Misc #1","Misc #2","Federal Tax Code","Federal Tax Rate","State Tax Code","State Tax Rate","County Tax Code","County Tax Rate","Municipal Tax Code","Municipal Tax Rate","Text No","(text line1)","(text line2)","(text line3)","(text line4)","Discount - Other Chrg (y/n)","Discount - Freight (y/n)","Discount - LESS Amt (y/n)","Discount - Tax Amt (y/n)","","","","","Shpmt No"

Required Transaction Fields

16 2 A VAT Code (secondary) Tax_Auth_2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

12* 15 A Ref Ln# Ln_No

13* 3 A Seqn Seqn

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

9 13 A Cust Id Cust_Id

12 6 D Ship Date Ship_Date

13 30 A Shpmt Ref Shpmt_Ref

14 30 A Pro No Pro_Number

15 30 A Customer PO Number Cust_PO_No

16 3 A Sales Cat #1 Sales_Cat1

17 3 A Sales Cat #2 Sales_Cat2

18 10 A Misc #1 Ivc_Misc1

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 413

Page 414: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVRE14Delete A/R Recurring Invoice Header Text

Archive Record Layout"IVRE14","","","","","","","Rec Ref No","","","","Text No"

Required Transaction Fields

IVRE30Add Extended Text - Recurring Invoice Header

Archive Record Layout"IVRE30","","","","","","","(text entry type)","(page number)","Rec Ref No","","","","Text Message"

19 10 A Misc #2 Ivc_Misc2

20 2 A Federal Tax Code Tax_Code_F

21 6 N Federal Tax Rate Tax_Rate_F

22 2 A State Tax Code Tax_Code_S

23 6 N State Tax Rate Tax_Rate_S

24 3 A County Tax Code Tax_Code_C

25 6 N County Tax Rate Tax_Rate_C

26 3 A Municipal Tax Code Tax_Code_M

27 6 N Municipal Tax Rate Tax_Rate_M

28 6 A Text No Text_No

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

34 1 A Discount - Other Chrg (y/n) N/A

35 1 A Discount - Freight (y/n) N/A

36 1 A Discount - LESS Amt (y/n) N/A

37 1 A Discount - Tax Amt (y/n) N/A

42 10 A Shpmt No Shpmt_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 15 A Rec Ref No RecRef_Num

12* 6 A Text No Text_No

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 414

Page 415: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

Required Transaction Fields

IVRE31Change Extended Text - Recurring Invoice Header

Archive Record Layout"IVRE31","","","","","","","(text entry type)","(page number)","Rec Ref No","","","","Text Message"

Required Transaction Fields

IVRE32Delete Extended Text - Recurring Invoice Header

Archive Record Layout"IVRE32","","","","","","","(text entry type)","(page number)","Rec Ref No","","","","Text Message"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 15 A Rec Ref No RecRef_Num

14 890 A Text Message Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 15 A Rec Ref No RecRef_Num

14 890 A Text Message Text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 15 A Rec Ref No RecRef_Num

14 890 A Text Message Text

Data Import Macros and Data Dictionary 415

Page 416: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 I – Data Import Macros

IVRV – Invoice Review

IVRV Transactions

IVRV01Change Invoice Status

Archive Record Layout"IVRV01","","","","","","","Cust Id","Ref No”,”Ref Seqn","Ty","St"

Required Transaction Fields

IVRV02Delete Invoice

Archive Record Layout"IVRV02","","","","","","","Cust Id","Ref No”,”Ref Seqn","Ty"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

IVRV01 Change Invoice Status IVPM

IVRV02 Delete Invoice IVPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Cust Id Cust_Id

9* 30 A Ref No CO Number

10* 4 A Ref Seqn Ref Seqn

11* 1 A Ty Ivc_Type

12 1 A St Invoice_St

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Cust Id Cust_Id

9* 30 A Ref No CO Number

10* 4 A Ref Seqn Ref Seqn

11* 1 A Ty Ivc_Type

Data Import Macros and Data Dictionary 416

Page 417: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 J – Data Import Macros

Data Import Macros and Data Dictionary 417

J – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

JEST – Job Estimates and Performance

JEST Transactions

JEST01Change Job Estimate

Archive Record Layout"JEST01","","","","","","CO Number","Ln#","","","",Original Estimate Material,Original Estimate Labor,Original Estimate Overhead,Original Estimate Outside,Revised Estimate Material,Revised Estimate Labor,Revised Estimate Overhead,Revised Estimate Outside

Required Transaction Fields

Macro Id DescriptionMacro File

Name

JEST01 Change Job Estimate CPMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A CO Number CO Number

8* 3 A Ln# Ln_No

12 10 N Original Estimate Material Orig_Mat

13 10 N Original Estimate Labor Orig_Labor

14 10 N Original Estimate Overhead Orig_Oh

15 10 N Original Estimate Outside Orig_Out

16 10 N Revised Estimate Material Rvsd_Mat

17 10 N Revised Estimate Labor Rvsd_Labor

18 10 N Revised Estimate Overhead Rvsd_Oh

19 10 N Revised Estimate Outside Rvsd_Out

Page 418: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

L – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

LEXP – Lot Expiration/Retest EvaluationTransactions created by the LEXP task are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available.

LMMT – Location Master

LMMT Transactions

LMMT00Add Location

Archive Record Layout"LMMT00","","","","","","Stk","Bin","Inv Cd","Location Description","Volume",”Included in MRP”,”Included in ATP”

Required Transaction Fields

LMMT01Change Location

Macro Id DescriptionMacro File

Name

LMMT00 Add Location INVM

LMMT01 Change Location INVM

LMMT02 Delete Location INVM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 6 A Stk Stk

8 12 A Bin Bin

9 1 A Inv Cd Inv_Code

10 65 A Location Description Loc_Desc

11 10 N Volume Volume

12 1 A Included in MRP N/A

13 1 A Included in ATP N/A

Data Import Macros and Data Dictionary 418

Page 419: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

Archive Record Layout"LMMT01","","","","","","Stk","Bin","Inv Cd","Location Description","Volume",”Included in MRP”,”Included in ATP”

Required Transaction Fields

LMMT02Delete Location

Archive Record Layout"LMMT02","","","","","","Stk","Bin"

Required Transaction Fields

LMST – Lot MasterThe LMST transactions use the following screen and window:

• LMST (Lot Master)

• Lot Characteristics and Attributes window

LMST Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Stk Stk

8* 12 A Bin Bin

9 1 A Inv Cd Inv_Code

10 65 A Location Description Loc_Desc

11 10 N Volume Volume

12 1 A Included in MRP N/A

13 1 A Included in ATP N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A Stk Stk

8* 12 A Bin Bin

Macro Id DescriptionMacro File

Name

LMST00 Add Lot LOTM

LMST01 Add New Text—Lot Master Information LOTM

Data Import Macros and Data Dictionary 419

Page 420: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

Lot Characteristics and Attributes Transactions

Extended Text Transactions

LMST00Add Lot

Archive Record Layout"LMST00","","","","","","Item","","Dflt Lot","Lot Assign Policy (ITM5)","Lot Desc","Rv","OT","Order No","Ln#","Ln# Typ","Vendor Lot",Orig Potency,Current Potency,"Lot Mfg Date","Lot Availability Date","Lot Retest Date","Lot Last Insp Date","Lot Expiration Date","","","","","","","","","","","","","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

Attach Existing Text—Lot Master Information

Change Lot Master Information

LMST02 Delete Text—Lot Master Information LOTM

Macro Id DescriptionMacro File

Name

LMST03 Change Lot Characteristics and Attributes LOTM

Macro Id DescriptionMacro File

Name

LMST04 Add Extended Text—Lot Master LOTM

LMST05 Change Extended Text—Lot Master LOTM

LMST06 Delete Extended Text—Lot Master LOTM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

9 20 A Dflt Lot Dflt_Lot

10* 1 A Lot Assign Policy (ITM5) Assign_Pol

11 35 A Lot Desc Lot_Desc

12 2 A Rv Lot_Rev

13 1 A OT Order_Typ

14 15 A Order No Order_No

15 3 A Ln# Ln_No

16 1 A Ln# Typ Ln_Typ

Data Import Macros and Data Dictionary 420

Page 421: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

LMST01Add New Text—Lot Master Information

Attach Existing Text—Lot Master Information

Change Lot Master Information

Archive Record Layout"LMST01","","","","","","Item","Lot","","","Lot Desc","Rv","","","","","Vendor Lot",Orig Potency,Current Potency,"Lot Mfg Date","Lot Availability Date","Lot Retest Date","Lot Last Insp Date","Lot Expiration Date","","","","","","","","","","","","","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

17 20 A Vendor Lot Vend_Lot

18 10 N Orig Potency Orig_Pot

19 10 N Current Potency Cur_Pot

20 6 D Lot Mfg Date Mfg_Date

21 6 D Lot Availability Date Avail_Dt

22 6 D Lot Retest Date Retest_Dt

23 6 D Lot Last Insp Date Insp_Dt

24 6 D Lot Expiration Date Expir_Dt

37 6 A Text No Lot_Text

38 60 A (text line1) Text_Line1

39 60 A (text line2) Text_Line2

40 60 A (text line3) Text_Line3

41 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 20 A Lot Lot

11 35 A Lot Desc Lot_Desc

12 2 A Rv Lot_Rev

17 20 A Vendor Lot Vend_Lot

18 10 N Orig Potency Orig_Pot

19 10 N Current Potency Cur_Pot

20 6 D Lot Mfg Date Mfg_Date

21 6 D Lot Availability Date Avail_Dt

22 6 D Lot Retest Date Retest_Dt

Data Import Macros and Data Dictionary 421

Page 422: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

LMST02Delete Text—Lot Master Information

Archive Record Layout"LMST02","","","","","","Item","Lot","","","","","","","","","",,,"","","","","","","","","","","","","","","","","","","","","",""

Required Transaction Fields

LMST03Change Lot Characteristics and Attributes

Archive Record Layout"LMST03","","","","","","Item","Lot","","","","","","","","","",,,"","","","","","User Def 1","User Def 2","User Def 3","User Def 4","User Def 5","User Def 6","User Def 7","User Def 8","User Def 9","User Def 10","User Def 11","User Def 12","","","","",""

Required Transaction Fields

23 6 D Lot Last Insp Date Insp_Dt

24 6 D Lot Expiration Date Expir_Dt

37 6 A Text No Lot_Text

38 60 A (text line1) Text_Line1

39 60 A (text line2) Text_Line2

40 60 A (text line3) Text_Line3

41 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 20 A Lot Lot

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 20 A Lot Lot

25 1 A User Def1 Usr_Def_1

26 1 A User Def2 Usr_Def_2

27 1 A User Def3 Usr_Def_3

28 1 A User Def4 Usr_Def_4

29 10 A User Def5 Usr_Def_5

Data Import Macros and Data Dictionary 422

Page 423: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

LMST04Add Extended Text—Lot Master

Archive Record Layout"LMST04","","","","","","","(text entry type)","(page number)","Item","Lot","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

30 10 A User Def6 Usr_Def_6

31 10 A User Def7 Usr_Def_7

32 10 A User Def8 Usr_Def_8

33 20 A User Def9 Usr_Def_9

34 20 A User Def10 Usr_Def_10

35 20 A User Def11 Usr_Def_11

36 20 A User Def12 Usr_Def_12

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A Item Item

11* 20 A Lot Lot

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

Data Import Macros and Data Dictionary 423

Page 424: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

LMST05Change Extended Text—Lot Master

Archive Record Layout"LMST05","","","","","","","(text entry type)","(page number)","Item","Lot","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

LMST06Delete Extended Text—Lot Master

Archive Record Layout

031 Manual line break within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A Item Item

11* 20 A Lot Lot

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text mes-sage

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Data Import Macros and Data Dictionary 424

Page 425: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

"LMST06","","","","","","","(text entry type)","(page number)","Item","Lot","","","Text Message (none)"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

LRRP – Labor/Resource Reporting

LRRP Transactions

LRRP00Report Labor/Resource Consumption

Archive Record Layout"LRRP00","","","","","","Employee Id","Master Account No/Resource Id","RT","IT","OS","Order No","Ln#","Pt Use","Seq",Quantity Reported

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A Item Item

11* 20 A Lot Lot

14 890 A Text Message (none) Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Macro Id DescriptionMacro File

Name

LRRP00 Report Labor/Resource Consumption MOMM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 425

Page 426: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

LSDA – Lot Size Day Analysis

LSDA Transactions

LSDA01Change Lot Size Analysis Suggests

Archive Record Layout"LSDA01","","","","","","MB","Class A Average Lot Size Day","Class B Average Lot Size Day","Class C Average Lot Size Day","Mass Maintenance Option"

Required Transaction Fields

1* 6 A (macro id) N/A

7 10 A Employee Id N/A

8 20 A Master Account No/ Resource Id

Mst_Act_No; Com-ponent

9 1 A RT Rsrce_Type

10 1 A IT Issue_Type

11 1 A OS Ord_Source

12 15 A Order No Order_No

13 3 A Ln# Ln_No

14 5 A Pt Use Pt_Use

15 3 A Seq Seqn

16 10 N Quantity Reported Issued_Qty

Macro Id DescriptionMacro File

Name

LSDA01 Change Lot Size Analysis Suggests OPFM

LSDA02 Change Lot Size Multiple Detail OPFM

LSDA03 Load All Data for OPFM OPFM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A MB N/A

8 3 N Class A Average Lot Size Day

N/A

9 3 N Class B Average Lot Size Day

N/A

Data Import Macros and Data Dictionary 426

Page 427: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

Field 11, (Mass Maintenance Option), indicates the option selected to be run from the Mass Maintenance menu for Lot Size Days. The options are:

LSDA02Change Lot Size Multiple Detail

Archive Record Layout"LSDA02","","","","","","MB","Lot Size Multiple 1 -24 (0)","Lot Size Multiple 25 - 49 (0)","Lot Size Multiple >= 50 (0)","Lot Size Multiple 1 -24 (100)","Lot Size Multiple 25 - 49 (100)","Lot Size Multiple >= 50 (100)","Lot Size Multiple 1 -24 (500)","Lot Size Multiple 25 - 49 (500)","Lot Size Multiple >= 50 (500)","Lot Size Multiple 1 -24 (1000)","Lot Size Multiple 25 - 49 (1000)","Lot Size Multiple >= 50 (1000)","Lot Size Multiple 1 -24 (5000)","Lot Size Multiple 25 - 49 (5000)","Lot Size Multiple >= 50 (5000)","Lot Size Multiple 1 -24 (10000)","Lot Size Multiple 25 - 49 (10000)","Lot Size Multiple >= 50 (10000)","Lot Size Multiple 1 -24 (50000)","Lot Size Multiple 25 - 49 (50000)","Lot Size Multiple >= 50 (50000)","Lot Size Multiple 1 -24 (100000)","Lot Size Multiple 25 - 49 (100000)","Lot Size Multiple >= 50 (100000)","Lot Size Multiple 1 -24 (500000)","Lot Size Multiple 25 - 49 (500000)","Lot Size Multiple >= 50 (500000)","Lot Size Multiple 1 -24 (1000000)","Lot Size Multiple 25 - 49 (1000000)","Lot Size Multiple >= 50 (100000)","Mass Maintenance Option"

Required Transaction Fields

10 3 N Class C Average Lot Size Day

N/A

11 1 A Mass Maintenance Option N/A

Setting Description

1 Save Item Suggested Values

2 Save Item Import Values

3 Reset Item Import Values

4 Update Monthly Ananlysis

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A MB N/A

8 7 N Lot Size Multiple 1 -24 (0) N/A

9 7 N Lot Size Multiple 25 - 49 (0) N/A

10 7 N Lot Size Multiple >= 50 (0) N/A

11 7 N Lot Size Multiple 1 -24 (100) N/A

12 7 N Lot Size Multiple 25 - 49 (100)

N/A

13 7 N Lot Size Multiple >= 50 (100) N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 427

Page 428: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

14 7 N Lot Size Multiple 1 -24 (500) N/A

15 7 N Lot Size Multiple 25 - 49 (500)

N/A

16 7 N Lot Size Multiple >= 50 (500) N/A

17 7 N Lot Size Multiple 1 -24 (1000) N/A

18 7 N Lot Size Multiple 25 - 49 (1000)

N/A

19 7 N Lot Size Multiple >= 50 (1000)

N/A

20 7 N Lot Size Multiple 1 -24 (5000) N/A

21 7 N Lot Size Multiple 25 - 49 (5000)

N/A

22 7 N Lot Size Multiple >= 50 (5000)

N/A

23 7 N Lot Size Multiple 1 -24 (10000)

N/A

24 7 N Lot Size Multiple 25 - 49 (10000)

N/A

25 7 N Lot Size Multiple >= 50 (10000)

N/A

26 7 N Lot Size Multiple 1 -24 (50000)

N/A

27 7 N Lot Size Multiple 25 - 49 (50000)

N/A

28 7 N Lot Size Multiple >= 50 (50000)

N/A

29 7 N Lot Size Multiple 1 -24 (100000)

N/A

30 7 N Lot Size Multiple 25 - 49 (100000)

N/A

31 7 N Lot Size Multiple >= 50 (100000)

N/A

32 7 N Lot Size Multiple 1 -24 (500000)

N/A

33 7 N Lot Size Multiple 25 - 49 (500000)

N/A

34 7 N Lot Size Multiple >= 50 (500000)

N/A

35 7 N Lot Size Multiple 1 -24 (1000000)

N/A

36 7 N Lot Size Multiple 25 - 49 (1000000)

N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 428

Page 429: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

Field 38, (Mass Maintenance Option), indicates the option selected to be run from the Mass Maintenance menu for Lot Size Multiples. The options are:

LSDA03Load All Data for OPFMThe LSDA03 transaction is used for audit trail purposes. The transaction must be reentered manually using the LSDA screen.

Archive Record Layout"LSDA03","","","","","","Default Setup Option"

Required Transaction Fields

Field 7, (Default Setup Option), indicates the option selected to be run from the Default Setup menu. The option is:

LTCF – Lot Trace/Serialization Configuration

LTCF Transactions

37 7 N Lot Size Multiple >= 50 (100000)

N/A

38 1 A Mass Maintenance Option N/A

Setting Description

1 Save Item Suggested Values

2 Save Item Import Values

3 Reset Item Import Values

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Default Setup Option N/A

Setting Description

1 Load All Data for OPFM

Macro Id DescriptionMacro File

Name

LTCF01 Change Lot Trace Configuration LOTM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 429

Page 430: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

LTCF01Change Lot Trace Configuration

Archive Record Layout"LTCF01","","","","","","Allow Duplicate Lot Numbers on Different Items","Enforce Incoming Inspection Required","Carry Item Lot Trace Text Forward to Lot Master","Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Print Lot Numbers on Packing List","Print Lot Numbers on Invoice","Print Serial Numbers on Packing List","Print Serial Numbers on Invoice","Last Global Lot Counter","Last History File","History File Designator","(history offloaded Y/N)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Allow Duplicate Lot Numbers on Different Items

N/A

8 1 A Enforce Incoming Inspection Required

N/A

9 1 A Carry Item Lot Trace Text Forward to Lot Master

N/A

10 10 A Usr Def 1 D_Usr_DF1

11 10 A Usr Def 2 D_Usr_DF2

12 10 A Usr Def 3 D_Usr_DF3

13 10 A Usr Def 4 D_Usr_DF4

14 10 A Usr Def 5 D_Usr_DF5

15 10 A Usr Def 6 D_Usr_DF6

16 10 A Usr Def 7 D_Usr_DF7

17 10 A Usr Def 8 D_Usr_DF8

18 10 A Usr Def 9 D_Usr_DF9

19 10 A Usr Def 10 D_Usr_DF10

20 10 A Usr Def 11 D_Usr_DF11

21 10 A Usr Def 12 D_Usr_DF12

22 1 A Print Lot Numbers on Pack-ing List

N/A

23 1 A Print Lot Numbers on Invoice N/A

24 1 A Print Serial Numbers on Packing List

N/A

25 1 A Print Serial Numbers on Invoice

N/A

26 10 A Last Global Lot Counter N/A

27 4 A Last History File N/A

Data Import Macros and Data Dictionary 430

Page 431: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 L – Data Import Macros

(history offloaded Y/N) indicates whether lot trace/serialization history information has been offloaded The history types are:

28 1 A History File Designator Hist_Des

29* 1 A (history offloaded Y/N) N/A

History Type Description

Y history offloaded

N no history offloaded

Data Import Macros and Data Dictionary 431

Page 432: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

M – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

MCCF – Multi-Currency Configuration

MCCF Transactions

MCCF01Change Multi-Currency Configuration (first change)

Archive Record Layout"MCCF01","","","","","","","Euro Currency Code","Consolidation Currency Code","Rounding Gain Master Account Number","Rounding Loss Master Account Number","Accounts Receivable Variance Master Account Number","Variance Basis","Purchasing Variance Master Account Number","Accounts Payable Variance Master Account Number","Banking Variance Master Account Number"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

MCCF01 Change Multi-Currency Configuration (first change) MCMM

MCCF02 Change Multi-Currency Configuration (subsequent changes) MCMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 5 A Euro Currency Code N/A

9 5 A Consolidation Currency Code N/A

10 20 A Rounding Gain Master Account Number

N/A

11 20 A Rounding Loss Master Account Number

N/A

12 20 A Accounts Receivable Vari-ance Master Account Num-ber

N/A

13* 1 A Variance Basis N/A

14 20 A Purchasing Variance Master Account Number

N/A

15 20 A Accounts Payable Variance Master Account Number

N/A

16 20 A Banking Variance Master Account Number

N/A

Data Import Macros and Data Dictionary 432

Page 433: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MCCF02Change Multi-Currency Configuration (subsequent changes)

Archive Record Layout"MCCF02","","","","","","","Euro Currency Code (protected from changes)","Consolidation Currency Code","Rounding Gain Master Account Number","Rounding Loss Master Account Number","Accounts Receivable Variance Master Account Number","Variance Basis","Purchasing Variance Master Account Number","Accounts Payable Variance Master Account Number","Banking Variance Master Account Number"

Required Transaction Fields

MCST – Manufacturing Order Cost AnalysisTransactions created by the MCST screen are added to the ARCHIVE.FIL file for audit trail purposes. These transactions can be recovered but require some internal tracking information available only after the transaction is completed. Import transactions should not be created for these transactions.

MCST Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 5 A Euro Currency Code (pro-tected from changes)

N/A

9 5 A Consolidation Currency Code N/A

10 20 A Rounding Gain Master Account Number

N/A

11 20 A Rounding Loss Master Account Number

N/A

12 20 A Accounts Receivable Vari-ance Master Account Num-ber

N/A

13* 1 A Variance Basis N/A

14 20 A Purchasing Variance Master Account Number

N/A

15 20 A Accounts Payable Variance Master Account Number

N/A

16 20 A Banking Variance Master Account Number

N/A

Macro Id DescriptionMacro File

Name

MCST01 Change Manufacturing Order Costs PRCM

Data Import Macros and Data Dictionary 433

Page 434: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MCST01Change Manufacturing Order CostsThe MCST01 transaction is added to the ARCHIVE.FIL file for audit trail purposes. This transaction contains system generated fields that can not be entered through the user interface. Therefore, this transaction is used in system recovery but can not be included in data import.

MOAN – Planner Action

MOAN Transactions

MOAN01Change Planner Action Message

Archive Record Layout"MOAN01","","","","","","Plnr","Msg Code (old)","","Item (old)","","MO/CO Number (old)","MO/CO Number (new)","Ln# (old)","","Cust Id/Gateway WC","Ln# Sta (old)","Ln# Sta (new)","","Ln# Typ (new)",Open/Suggested Order Qty,"Sched Date","(order number from mask)"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

MOAN01 Change Planner Action Message MOMM

MOAN02 Delete Planner Action Message MOMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Plnr Plnr

8* 3 A Msg Code (old) Old_Msg

10* 30 A Item (old) Old_Item

12* 30 A MO/CO Number (old) Old_MO_No; CO_Number

13 30 A MO/CO Number (new) New_MO_No; CO_Number

14* 3 A Ln# (old) Old_Ln

16 12 A Cust Id/Gateway WC Cust Id; Gateway_WC

17* 1 A Ln# Sta (old) Old_Ln_Sta

18 1 A Ln# Sta (new) New_Ln_Sta

20 1 A Ln# Typ (new) New_Ln_Typ

21 10 N Open/Suggested Order Qty N/A

22 6 D Sched Date Sched_Date

Data Import Macros and Data Dictionary 434

Page 435: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MOAN02Delete Planner Action Message

Archive Record Layout"MOAN02","","","","","","Plnr","Msg Code (old)","","Item (old)","","MO/CO Number (old)","","Ln# (old)","","","","","","",,"","(order number from mask)"

Required Transaction Fields

MOCF – Manufacturing ConfigurationMOCF01

Archive Record Layout"MOCF01","","","","","","Autoclose Manufacturing Orders","Manufacturing Order Autoclose Tolerance","Over Receipt Enforcement for Manufacturing Order","Manufacturing Order Over Receipt Tolerance","MO Standard Cost Enforcement for No Standard Cost Exists", "MO Standard Cost Enforcement for Standard Cost equals Zero", "MO Receipts Standard Cost Enforcement for No Standard Cost Exists","MO Receipts Standard Cost Enforcement for Standard Cost equals Zero"

Required Transaction Fields

23 1 A (order number from mask) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Plnr Plnr

8* 3 A Msg Code (old) Old_Msg

10* 30 A Item (old) Old_Item

12* 30 A MO/CO Number (old) Old_MO_No; CO_Number

14* 3 A Ln# (old) Old_Ln

23 1 A (order number from mask) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Autoclose Manufacturing Orders

N/A

8 5 N Manufacturing Order Auto-close Tolerance Percentage

N/A

9 1 A Over Receipt Enforcement for Manufacturing Order

N/A

10 5 N Manufacturing Order Over Receipt Tolerance

N/A

Data Import Macros and Data Dictionary 435

Page 436: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MOMT – Manufacturing OrderThe MOMT transactions use the following screens:

• MOMT (Manufacturing Order)

• Manufacturing Order Line Item Detail

MOMT Transactions

11 1 A Mo Standard Cost Enforce-ment for No Standard Cost Exists

N/A

12 1 A Mo Standard Cost Enforce-ment for Standard Cost Equals Zero

N/A

13 1 A Mo Receipts Standard Cost Enforcement for No Standard Cost Exists

N/A

14 1 A Mo Receipts Standard Cost Enforcement for Standard Cost Equals Zero

N/A

Macro Id DescriptionMacro File

Name

MOMT00 Add MO Header MOMM

Add New Text—MO Header

MOMT01 Add New Text—MO Header MOMM

MOMT02 Delete Text—MO Header MOMM

MOMT03 Add MO Header MOMM

Attach Existing Text—MO Header

MOMT04 Attach Existing Text—MO Header MOMM

Change MO Header

MOMT05 Delete Manufacturing Order MOMM

MOMT06 Add MO Line Item MOMM

MOMT07 Change MO Line Item MOMM

MOMT08 Delete MO Line Item MOMM

MOMT13 Delete Planner Action Message—PMO (Print Manufacturing Order)

MOMM

Data Import Macros and Data Dictionary 436

Page 437: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Manufacturing Order Line Item Detail Transactions

MOMT00Add MO Header

Add New Text—MO Header

Archive Record Layout"MOMT00","","","","","","","MO Number","Plnr","","Gateway WC","Deliver to","","(text line1)","(text line2)","(text line3)","(text line4)","(order number from mask)"

Required Transaction Fields

MOMT01Add New Text—MO Header

Archive Record Layout"MOMT01","","","","","","","MO Number","","","","","","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

MOMT10 Add New Text—MO Line Item MOMM

Attach Existing Text—MO Line Item

MOMT12 Delete Text—MO Line Item MOMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

9 3 A Plnr Plnr

11 12 A Gateway WC Gateway_WC

12 20 A Deliver to Deliver_to

14 60 A (text line1) Text_Line1

15 60 A (text line2) Text_Line2

16 60 A (text line3) Text_Line3

17 60 A (text line4) Text_Line4

18 1 A (order number from mask) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

Data Import Macros and Data Dictionary 437

Page 438: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MOMT02Delete Text—MO Header

Archive Record Layout"MOMT02","","","","","","","MO Number","","","","",""

Required Transaction Fields

MOMT03Add MO Header

Attach Existing Text—MO Header

Archive Record Layout"MOMT03","","","","","","","MO Number","Plnr","","Gateway WC","Deliver to","Text No","","","","", "(order number from mask)"

Required Transaction Fields

MOMT04Attach Existing Text—MO Header

Change MO Header

Archive Record Layout"MOMT04","","","","","","","MO Number","Plnr","","Gateway WC","Deliver to","Text No"

14 60 A (text line1) Text_Line1

15 60 A (text line2) Text_Line2

16 60 A (text line3) Text_Line3

17 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

9 3 A Plnr Plnr

11 12 A Gateway WC Gateway_WC

12 20 A Deliver to Deliver_to

13 6 A Text No Text_No

18 1 A (order number from mask) N/A

Data Import Macros and Data Dictionary 438

Page 439: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Required Transaction Fields

MOMT05Delete Manufacturing Order

Archive Record Layout"MOMT05","","","","","","","MO Number","","","","",""

Required Transaction Fields

MOMT06Add MO Line Item

Archive Record Layout"MOMT06","","","","","","","MO Number","","Order Qty","","Ln# Sta","Ln# Typ (new)","","Item","Start Date","Sched Date"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

9 3 A Plnr Plnr

11 12 A Gateway WC Gateway_WC

12 20 A Deliver to Deliver_to

13 6 A Text No Text_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 30 A MO Number MO_Number

10 10 N Order Qty Order_Qty

12 1 A Ln# Sta Ln_Sta

13 1 A Ln# Typ (new) N/A

15 30 A Item Item

16 6 D Start Date Start_Date

17 6 D Sched Date Sched_Date

Data Import Macros and Data Dictionary 439

Page 440: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MOMT07Change MO Line Item

Archive Record Layout"MOMT07","","","","","","","MO Number","Ln#",”Order Qty,"","Ln# Sta","","Ln# Typ (old)","Item","Start Date","Sched Date"

Required Transaction Fields

MOMT08Delete MO Line Item

Archive Record Layout"MOMT08","","","","","","","MO Number","Ln#",,"","","","Ln# Typ (old)","Item","",""

Required Transaction Fields

MOMT10Add New Text—MO Line Item

Attach Existing Text—MO Line Item

Archive Record Layout"MOMT10","","","","","","Item","MO Number","Ln#","Ln# Typ","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

9* 3 A Ln# Ln_No

10 10 N Order Qty Order_Qty

12 1 A Ln# Sta Ln_Sta

14* 1 A Ln# Typ (old) Old_Ln_Typ

15* 30 A Item Item

16 6 D Start Date Start_Date

17 6 D Sched Date Sched_Date

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

9* 3 A Ln# Ln_No

14* 1 A Ln# Typ (old) Old_Ln_Typ

15* 30 A Item Item

Data Import Macros and Data Dictionary 440

Page 441: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Required Transaction Fields

MOMT12Delete Text—MO Line Item

Archive Record Layout"MOMT12","","","","","","Item","MO Number","Ln#","Ln# Typ","","","","",""

Required Transaction Fields

MOMT13Delete Planner Action Message—PMO (Print Manufacturing Order)The MOMT13 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"MOMT13","","","","","","","MO Number","Ln#",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 30 A MO Number MO_Number

9* 3 A Ln# Ln_No

10* 1 A Ln# Typ Ln_Typ

11 6 A Text No Text_No

12 60 A (text line1) Text_Line1

13 60 A (text line2) Text_Line2

14 60 A (text line3) Text_Line3

15 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 30 A MO Number MO_Number

9* 3 A Ln# Ln_No

10* 1 A Ln# Typ Ln_Typ

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 441

Page 442: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MORV – MO Receipt/Reverse Ln# SelectionThe MORV transactions use the following screens and window:

• MORV (MO Receipt/Reverse Ln# Selection)

• Manufacturing Order Receipt/Reverse (receipt)

• Manufacturing Order Receipt/Reverse (reverse receipt)

• Item Lot Receipt window

The MORV transactions use the Manufacturing Order Receipt/Reverse screen to initiate a receipt or reverse receipt transaction. The Item Lot Receipt is used to receive lot-traced items.

MORV Transactions

The MORV screens vary based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed, the Lot field is displayed.

When the LOTM (Lot Trace/Serialization) Module is installed, the Item Lot Receipt window is used to record additional receipt information for the transaction.

MORV00Receive MO Line Item

Reverse Receive MO Line Item

Archive Record Layout"MORV00","","","","","","MO Number","Ln#","Receiving Type",Quantity Recvd/Quantity to Reverse,"UM",Move Qty/Qty by Loc,"Stk","Bin","IC",,"Insp Code/RC",Move Qty/Qty by Loc,"Stk","Bin","IC",,"Insp Code/RC",Move Qty/Qty by Loc,"Stk","Bin","IC",,"Insp Code/RC","","Ln# Typ",,,"","Line Item Closure Requested","Remark","","Item",,"","(new lot Y/N)","Lot Assign Policy","Dflt Lot","Lot","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev","Current Potency %","Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

1* 6 A (macro id) N/A

8* 30 A MO Number MO_Number

9* 3 A Ln# Ln_No

Macro Id DescriptionMacro File

Name

MORV00 Receive MO Line Item MOMM

MORV00 Reverse Receive MO Line Item MOMM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 442

Page 443: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

7* 30 A MO Number MO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity Recvd; Quantity to Reverse

Qty_Recvd; Qty_2_Rvrs

11 4 A UM UM

12 10 N Move Qty; Qty by Loc Move_Qty1; Rvrsd_Qty1

13 6 A Stk Stk1

14 12 A Bin Bin1

15 1 A IC IC1

17 1 A Insp Code;RC Insp_Code1; Reason_Cod1

18 10 N Move Qty; Qty by Loc Move_Qty2; Rvrsd_Qty2

19 6 A Stk Stk2

20 12 A Bin Bin2

21 1 A IC IC2

23 1 A Insp Code; RC Insp_Code2; Reason_Cod2

24 10 N Move Qty; Qty by Loc Move_Qty3; Rvrsd_Qty3

25 6 A Stk Stk3

26 12 A Bin Bin3

27 1 A IC IC3

29 1 A Insp Code; RC Insp_Code3; Reason_Cod3

31* 1 A Ln# Typ Ln_Typ

35 1 A Line Item Closure Requested Close_Rqst

36 59 A Remark Remark

38* 30 A Item Item

41* 1 A (new lot Y/N) N/A

42* 1 A Lot Assign Policy (ITM5) Assign_Pol

43 20 A Dflt Lot Dflt_Lot

44 20 A Lot Lot

45 35 A Lot Description Lot_Desc

46 20 A Vendor Lot Vend_Lot

47 6 D Mfg Date Mfg_Date

Data Import Macros and Data Dictionary 443

Page 444: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

The (new lot Y/N) field is required if the LOTM (Lot Trace/Serialization) Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

48 6 D Availability Date Avail_Date

49 6 D Retest Date Retest_Dt

50 6 D Expiration Date Expir_Date

51 2 A Rev Rev

52 10 N Current Potency % N/A

53 1 A Usr Def 1 D_Usr_Df1

54 1 A Usr Def 2 D_Usr_Df2

55 1 A Usr Def 3 D_Usr_Df3

56 1 A Usr Def 4 D_Usr_Df4

57 10 A Usr Def 5 D_Usr_Df5

58 10 A Usr Def 6 D_Usr_Df6

59 10 A Usr Def 7 D_Usr_Df7

60 10 A Usr Def 8 D_Usr_Df8

61 20 A Usr Def 9 D_Usr_Df9

62 20 A Usr Def 10 D_Usr_Df10

63 20 A Usr Def 11 D_Usr_Df11

64 20 A Usr Def 12 D_Usr_Df12

65 6 A Text No Text_No

66 60 A (text line1) Text_Line1

67 60 A (text line2) Text_Line2

68 60 A (text line3) Text_Line3

69 60 A (text line4) Text_Line4

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

null item is not lot-traced

Data Import Macros and Data Dictionary 444

Page 445: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MPED – Order Maintain EDI Partner Data

MPED Transactions

MPED00Add EDI Partner Data

Archive Record Layout"MPED00","","","","","","Partner","","","","","Cust Id","Ship Id","Vend Id","Txn","Int","Csr","Dsp", "Ptxt"

Required Transaction Fields

MPED01Change EDI Partner Data

Archive Record Layout"MPED01","","","","","","Partner","Cust Id (old)","Ship Id (old)","","Txn(old)","Cust Id (new)","Ship Id (new)","Vend Id (new)","Txn (new)","Int","Csr","Dsp","Ptxt"

Macro Id DescriptionMacro File

Name

MPED00 Add EDI Partner Data EDIM

MPED01 Change EDI Partner Data EDIM

MPED02 Delete EDI Partner Data EDIM

MPED03 Change EDI Partner Data Inbound Detail EDIM

MPED04 Change EDI Partner Data Outbound Detail EDIM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 14 A Partner N/A

12 13 A Cust Id N/A

13 13 A Ship Id N/A

14 13 A Vend Id N/A

15 6 A Txn N/A

16 1 A Int N/A

17 3 A Csr N/A

18 1 A Dsp N/A

19 1 A Ptxt N/A

Data Import Macros and Data Dictionary 445

Page 446: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Required Transaction Fields

MPED02Delete EDI Partner Data

Archive Record Layout"MPED02","","","","","","Partner","Cust Id","Ship Id","","Txn"

Required Transaction Fields

MPED03Change EDI Partner Data Inbound Detail

Archive Record Layout"MPED03","","","","","","Partner","Cust Id","Ship Id","","Txn","Cvt Txn","Bgn Hzn","End Hzn","Auto Rels","Auto Open","Open Fcst","Zero Qty","Send Ack","Ack Typ","Net Qty","Net Tqty","Use Sdp","Sdp Fwd","Sdp Pc","Grp Txn","Grp Qty","Price Src","Name","Po Date Type","Co Date Type","Co Tr Lt","Delivery Loc Import"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 14 A Partner N/A

8* 13 A Cust Id (old) N/A

9* 13 A Ship Id (old) N/A

11* 6 A Txn (old) N/A

12 13 A Cust Id (new) N/A

13 13 A Ship Id (new) N/A

14 13 A Vend Id (new) N/A

15 6 A Txn (new) N/A

16 1 A Int N/A

17 3 A Csr N/A

18 1 A Dsp N/A

19 1 A Ptxt N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 14 A Partner N/A

8* 13 A Cust Id N/A

9* 13 A Ship Id N/A

11* 6 A Txn N/A

Data Import Macros and Data Dictionary 446

Page 447: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Required Transaction Fields

MPED04Change EDI Partner Data Outbound Detail

Archive Record Layout"MPED04","","","","","","Partner","Cust Id","Ship Id","","Txn","Asn Format/Style","Invoice Options","Cum Ship","Data Coll","Packing List Fmt","Edi Std","Version","Bar C Ode Label Fmt","Edi Test Mode","Default Shipping Stk","Default Shipping Bin","Address Ty","Address

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 14 A Partner N/A

8* 13 A Cust Id N/A

9* 13 A Ship Id N/A

11* 6 A Txn N/A

12 1 A Cvt Txn N/A

13 3 N Bgn Hzn N/A

14 3 N End Hzn N/A

15 3 N Auto Rels N/A

16 3 N Auto Open N/A

17 1 A Open Fcst N/A

18 1 A Zero Qty N/A

19 1 A Send Ack N/A

20 1 A Ack Typ N/A

21 1 A Net Qty N/A

22 1 A Net Tqty N/A

23 1 A Use Sdp N/A

24 1 A Sdp Fwd N/A

25 1 A Sdp Pc N/A

26 1 A Grp Txn N/A

27 1 A Grp Qty N/A

28 1 A Price Src N/A

29 15 A Name N/A

30 1 A Po Date Type N/A

31 1 A Co Date Type N/A

32 2 N Co Tr Lt N/A

33 1 A Delivery Loc Import N/A

Data Import Macros and Data Dictionary 447

Page 448: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Cd","Address Id","Address Ty2","Address Cd2","Address Id2","Address Ty3","Address Cd3","Address Id3","Address Ty4","Address Cd4","Address Id4","Address Ty5","Address Cd5","Address Id5","830 Release Weeks","830 Forecast Weeks","Exclude From Batch","Over Ride Si","Over Ride Ti","Over Ride Oi","Over Ride Ii","Over Ride Pi"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 14 A Partner N/A

8* 13 A Cust Id N/A

9* 13 A Ship Id N/A

11* 6 A Txn N/A

12 14 A Asn Format/Style N/A

13 1 A Invoice Options N/A

14 1 A Cum Ship N/A

15 1 A Data Coll N/A

16 2 A Packing List Fmt N/A

17 1 A Edi Std N/A

18 12 A Version N/A

19 2 A Bar C Ode Label Fmt N/A

20 1 A Edi Test Mode N/A

21 6 A Default Shipping Stk N/A

22 12 A Default Shipping Bin N/A

23 2 A Address Ty N/A

24 2 A Address Cd N/A

25 17 A Address Id N/A

26 2 A Address Ty2 N/A

27 2 A Address Cd2 N/A

28 17 A Address Id2 N/A

29 2 A Address Ty3 N/A

30 2 A Address Cd3 N/A

31 17 A Address Id3 N/A

32 2 A Address Ty4 N/A

33 2 A Address Cd4 N/A

34 17 A Address Id4 N/A

35 2 A Address Ty5 N/A

36 2 A Address Cd5 N/A

Data Import Macros and Data Dictionary 448

Page 449: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MSCF – Message Configuration

MSCF Transactions

Message Configuration Detail Transactions

MSCF01Change Message Configuration

Archive Record Layout"MSCF01","","","","","","B/P/C","Buyr/Plnr/CSR","Name","Gen (ACK Msg Code)","","Gen (ATP Msg Code)","","Gen (BIL Msg Code)","","Gen (CAN Msg Code)","","Gen (CCL Msg Code)","","Gen (CLO Msg Code)","","Gen (CLX Msg Code)","","Gen (CMS Msg Code)","","Gen (CRH Msg Code)","","Gen (CRL Msg Code)","","Gen (CRV Msg Code)","","Gen (CRW Msg Code)","","Gen (IBQ Msg Code)","","Gen (IPP Msg Code)","","Gen (MOP Msg Code)","","Gen (MSO Msg Code)","","Gen (OBS Msg Code)","","Gen (OFR Msg Code)","","Gen (OPD Msg Code)","Detail (OPD Msg Code)","Gen (OPQ Msg Code)","","Gen (PHO Msg Code)","","Gen (PIK Msg Code)","","Gen (PLF Msg Code)","","Gen (PMO Msg Code)","","Gen (PPL Msg Code)","","Gen (PPO Msg Code)","","Gen (RCO Msg Code)","","Gen (REL Msg Code)","","Gen (ROT Msg Code)","","Gen (RPO Msg Code)","","Gen (RPS Msg Code)","","Gen (SCB Msg Code)","","Gen (SCH Msg Code)","Detail (SCH Msg Code)","","Gen (SCQ Msg Code)","","Gen (SHP Msg Code)","","Gen (UBF Msg Code)","","Valid For OPFM"

37 17 A Address Id5 N/A

38 3 N 830 Release Weeks N/A

39 3 N 830 Forecast Weeks N/A

40 1 A Exclude From Batch N/A

41 1 A Over Ride Si N/A

42 1 A Over Ride Ti N/A

43 1 A Over Ride Oi N/A

44 1 A Over Ride Ii N/A

45 1 A Over Ride Pi N/A

Macro Id DescriptionMacro File

Name

MSCF01 Change Message Configuration SYSM

Macro Id DescriptionMacro File

Name

MSCF02 Change Message Configuration Detail SYSM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 449

Page 450: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A B/P/C N/A

8* 3 A Buyr/Plnr/CSR Buyr; Plnr; CSR

9 25 A Name N/A

10 1 A Gen (ACK Msg Code) N/A

12 1 A Gen (ATP Msg Code) N/A

14 1 A Gen (BIL Msg Code) N/A

16 1 A Gen (CAN Msg Code) N/A

18 1 A Gen (CCL Msg Code) N/A

20 1 A Gen (CLO Msg Code) N/A

22 1 A Gen (CLX Msg Code) N/A

24 1 A Gen (CMS Msg Code) N/A

26 1 A Gen (CRH Msg Code) N/A

28 1 A Gen (CRL Msg Code) N/A

30 1 A Gen (CRV Msg Code) N/A

32 1 A Gen (CRW Msg Code) N/A

34 1 A Gen (IBQ Msg Code) N/A

36 1 A Gen (IPP Msg Code) N/A

38 1 A Gen (MOP Msg Code) N/A

40 1 A Gen (MSO Msg Code) N/A

42 1 A Gen (OBS Msg Code) N/A

44 1 A Gen (OFR Msg Code) N/A

46 1 A Gen (OPD Msg Code) N/A

47 1 A Detail (OPD Msg Code) N/A

48 1 A Gen (OPQ Msg Code) N/A

50 1 A Gen (PHO Msg Code) N/A

52 1 A Gen (PIK Msg Code) N/A

54 1 A Gen (PLF Msg Code) N/A

56 1 A Gen (PMO Msg Code) N/A

58 1 A Gen (PPL Msg Code) N/A

60 1 A Gen (PPO Msg Code) N/A

62 1 A Gen (RCO Msg Code) N/A

64 1 A Gen (REL Msg Code) N/A

Data Import Macros and Data Dictionary 450

Page 451: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MSCF02Change Message Configuration Detail

Archive Record Layout"MSCF02","","","","","","B/P/C","Buyr/Plnr/CSR","Msg Code","Days Early","Days Late","Value Early"

Required Transaction Fields

MSMT – Master Schedule Maintenance

MSMT Transactions

66 1 A Gen (ROT Msg Code) N/A

68 1 A Gen (RPO Msg Code) N/A

70 1 A Gen (RPS Msg Code) N/A

72 1 A Gen (SCB Msg Code) N/A

74 1 A Gen (SCH Msg Code) N/A

75 1 A Detail (SCH Msg Code) N/A

76 1 A Gen (SCQ Msg Code) N/A

78 1 A Gen (SHP Msg Code) N/A

80 1 A Gen (UBF Msg Code) N/A

82 1 A Valid For OPFM N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A B/P/C N/A

8* 3 A Buyr/Plnr/CSR Buyr; Plnr; CSR

9 3 A Msg Code Msg

10 3 N Days Early Days_Early

11 3 N Days Late Days_Late

12 10 N Value Early N/A

Macro Id DescriptionMacro File

Name

MSMT00 Add Master Schedule Order MRPM

MSMT01 Change Master Schedule Order MRPM

MSMT02 Delete Master Schedule Order MRPM

Data Import Macros and Data Dictionary 451

Page 452: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MSMT00Add Master Schedule Order

Archive Record Layout"MSMT00","","","","","","","","Order No","","","Item","Sched Date (new)",Order Quantity,"Ln# Sta","ODB Flag","Ln# Typ (new)","Buyr/Plnr","Cust Id/Vendor Id/Gateway WC","(order number from mask)"

Required Transaction Fields2

MSMT01Change Master Schedule Order

Archive Record Layout"MSMT01","","","","","","","Sched Date (old)","Order No","Ln#","Ln# Typ (old)","Item","Sched Date (new)",Order Quantity,"Ln# Sta","ODB Flag","Ln# Typ (new)","Buyr/Plnr","Cust Id/Vendor Id/Gateway WC"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9 15 A Order No Order_No

12* 30 A Item Item

13 6 D Sched Date (new) Sched_Date

14 10 N Order Quantity Order_Qty

15 1 A Ln# Sta Ln_Sta

16 1 A ODB Flag ODB_Flag

17 1 A Ln# Typ (new) New_Ln_Typ

18 3 A Buyr/Plnr Buyr; Plnr

19 12 A Cust Id; Vendor Id; Gateway WC

Cust_Id; Vendor_Id; Gateway_WC

20 1 A (order number from mask) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 6 D Sched Date (old) Old_Sched

9* 15 A Order No Order_No

10* 3 A Ln# Ln_No

11* 1 A Ln# Typ (old) Old_Ln_Typ

12* 30 A Item Item

13 6 D Sched Date (new) New_Schd

Data Import Macros and Data Dictionary 452

Page 453: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 M – Data Import Macros

MSMT02Delete Master Schedule Order

Archive Record Layout"MSMT02","","","","","","","Sched Date (old)","Order No","Ln#","Ln# Typ (old)","Item","",,"","","","",""

Required Transaction Fields

14 10 N Order Quantity Order_Qty

15 1 A Ln# Sta Ln_Sta

16 1 A ODB Flag ODB_Flag

17 1 A Ln# Typ (new) New_Ln_Typ

18 3 A Buyr/Plnr Buyr; Plnr

19 12 A Cust Id; Vendor Id; Gateway WC

Cust_Id; Vendor_Id; Gateway_WC

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 6 D Sched Date (old) Old_Sched

9* 15 A Order No Order_No

10* 3 A Ln# Ln_No

11* 1 A Ln# Typ (old) Old_Ln_Typ

12* 30 A Item Item

Data Import Macros and Data Dictionary 453

Page 454: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 N – Data Import Macros

N – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

NMTA – National Motor Freight Code TableThe NMTA transactions use the following screen and window:

• NMTA (National Motor Freight Code Table)

• Article Description window

NMTA Transactions

Article Description Transactions

NMTA00Add NMFC Item

Archive Record Layout"NMTA00","","","","","","NMFC Item","Sub","Article Description","LTL Class","TL Class","HM","MW"

Required Transaction Fields

Macro Id DescriptionMacro File

Names

NMTA00 Add NMFC Item SHPM

NMTA01 Change NMFC Item SHPM

NMTA02 Delete NMFC Item SHPM

Macro Id DescriptionMacro File

Name

NMTA01 Change NMFC Item SHPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 6 A NMFC Item NMFC_Item

8 2 A Sub NMFC_Sub

9 50 A Article Descripton NMFC_Desc1

10 5 A LTL Class LTL_Class

11 5 A TL Class TL_Class

12 1 A HM Hazard –

Data Import Macros and Data Dictionary 454

Page 455: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 N – Data Import Macros

NMTA01Change NMFC Item

Archive Record Layout"NMTA01","","","","","","NMFC Item","Sub","Article Description", "(description 2)","(description 3)","(description 4)","Released/Actual Value",Value Exceeding,Value Not Exceeding,"Per","LTL Class","TL Class","HM","MW"

Required Transaction Fields

NMTA02Delete NMFC Item

Archive Record Layout"NMTA02","","","","","","NMFC Item","Sub","","","","","","","","","","",""

Required Transaction Fields

13 2 A MW Min_Weight

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A NMFC Item NMFC_Item

8* 2 A Sub NMFC_Sub

9 50 A Article Descripton NMFC_Desc1

10 50 A (description 2) NMFC_Desc2

11 50 A (description 3) NMFC_Desc3

12 50 A (description 4) NMFC_Desc4

13 1 A Released/Actual Value Rel_or_Act

14 10 N Value Exceeding Exceeding

15 10 N Value Not Exceeding Not_Exc –

16 10 A Per Per_Unit

17 5 A LTL Class LTL_Class

18 5 A TL Class TL_Class

19 1 A HM Hazard –

20 2 A MW Min_Weight

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 A NMFC Item NMFC_Item

8* 2 A Sub NMFC_Sub

Data Import Macros and Data Dictionary 455

Page 456: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

O – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

OACF – Order Number Assignment Configuration

OACF Transactions

OACF00Add Order Number Mask

Archive Record Layout"OACF00","","","","","","Order Type","Order Mask","Last Used Counter"

Required Transaction Fields

OACF01Change Order Number Mask

Archive Record Layout"OACF01","","","","","","Order Type","Order Mask (old)","Order Mask (new)","Last Used Counter"

Required Transaction Fields

Macro Id DescriptionMacro File

Names

OACF00 Add Order Number Mask SYSM

OACF01 Change Order Number Mask SYSM

OACF02 Change Order Number Mask SYSM

OACF03 Change Order Number Mask Configuration SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Type Order_Type

8 30 A Order Mask Order_Msk

9 30 A Last Used Counter Last_Cntr

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Type Order_Type

8* 30 A Order Mask (old) N/A

Data Import Macros and Data Dictionary 456

Page 457: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

OACF02Change Order Number Mask

Archive Record Layout"OACF02","","","","","","Order Type","Order Mask"

Required Transaction Fields

OACF03Change Order Number Mask Configuration

Archive Record Layout"OACF03","","","","","","Order Type","Order Mask Only","Daily Reset","Last Assigned Date"

Required Transaction Fields

9 30 A Order Mask (new) Order_Msk

10 30 A Last Used Counter Last_Cntr

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Type Order_Type

8* 30 A Order Mask Order_Msk

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Type Order_Type

8 1 A Order Mask Only CO_Mskonly; MO_Mskonly; PO_Mskonly

9 1 A Daily Reset CO_Reset; M CO_Reset; P CO_Reset

10 6 D Last Assigned Date CO_Last_Dt; MO_Last_Dt; PO_Last_Dt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 457

Page 458: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

OPCF – Operations Performance Configuration

OPCF Transactions

OPCF01Change Operations Performance Configuration

Archive Record Layout"OPCF01","","","","","","Month","Month (year)","Inventory Accuracy","Bill of Material Accuracy","Item Responsibility Assigned","Lead Times Assigned","Standard Costs Assigned","Practical Schedules Planned","Rel Orders Sched When Needed","Planned Shipments Not Past Due","Inventory Accuracy (2)","Bill of Material Accuracy (2)","Item Responsibility Assigned (2)","Lead Times Assigned (2)","Standard Costs Assigned (2)","Practical Schedules Planned (2)","Rel Orders Sched When Needed (2)","Planned Shipments Not Past Due (2)","Inventory Accuracy (3)","Bill of Material Accuracy (3)","Item Responsibility Assigned (3)","Lead Times Assigned (3)","Standard Costs Assigned (3)","Practical Schedules Planned (3)","Rel Orders Sched When Needed (3)","Planned Shipments Not Past Due (3)","Inventory Accuracy (4)","Bill of Material Accuracy (4)","Item Responsibility Assigned (4)","Lead Times Assigned (4)","Standard Costs Assigned (4)","Practical Schedules Planned (4)","Rel Orders Sched When Needed (4)","Planned Shipments Not Past Due (4)","Inventory Accuracy (5)","Bill of Material Accuracy (5)","Item Responsibility Assigned (5)","Lead Times Assigned (5)","Standard Costs Assigned (5)","Practical Schedules Planned (5)","Rel Orders Sched When Needed (5)","Planned Shipments Not Past Due (5)","Inventory Accuracy (6)","Bill of Material Accuracy (6)","Item Responsibility Assigned (6)","Lead Times Assigned (6)","Standard Costs Assigned (6)","Practical Schedules Planned (6)","Rel Orders Sched When Needed (6)","Planned Shipments Not Past Due (6)"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

OPCF01 Change Operations Performance Configuration OPFM

OPCF02 Change Operations Performance Configuration Detail OPFM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 2 N Month N/A

8* 2 N Month (year) N/A

9 3 N Inventory Accuracy N/A

10 3 N Bill of Material Accuracy N/A

11 3 N Item Responsibility Assigned N/A

12 3 N Lead Times Assigned N/A

13 3 N Standard Costs Assigned N/A

14 3 N Practical Schedules Planned N/A

Data Import Macros and Data Dictionary 458

Page 459: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

15 3 N Rel Orders Sched When Needed

N/A

16 3 N Planned Shipments Not Past Due

N/A

17 3 N Inventory Accuracy (2) N/A

18 3 N Bill of Material Accuracy (2) N/A

19 3 N Item Responsibility Assigned (2)

N/A

20 3 N Lead Times Assigned (2) N/A

21 3 N Standard Costs Assigned (2) N/A

22 3 N Practical Schedules Planned (2)

N/A

23 3 N Rel Orders Sched When Needed (2)

N/A

24 3 N Planned Shipments Not Past Due (2)

N/A

25 3 N Inventory Accuracy (3) N/A

26 3 N Bill of Material Accuracy (3) N/A

27 3 N Item Responsibility Assigned (3)

N/A

28 3 N Lead Times Assigned (3) N/A

29 3 N Standard Costs Assigned (3) N/A

30 3 N Practical Schedules Planned (3)

N/A

31 3 N Rel Orders Sched When Needed (3)

N/A

32 3 N Planned Shipments Not Past Due (3)

N/A

33 3 N Inventory Accuracy (4) N/A

34 3 N Bill of Material Accuracy (4) N/A

35 3 N Item Responsibility Assigned (4)

N/A

36 3 N Lead Times Assigned (4) N/A

37 3 N Standard Costs Assigned (4) N/A

38 3 N Practical Schedules Planned (4)

N/A

39 3 N Rel Orders Sched When Needed (4)

N/A

40 3 N Planned Shipments Not Past Due (4)

N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 459

Page 460: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

Note: Field #7 and 8 are in reverse order (year, month) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

OPCF02Change Operations Performance Configuration Detail

Archive Record Layout"OPCF02","","","","","","ABC Item Class Field","Measurement Type","BOM Material Usage Tolerance Percentage","Lead Time Assigned Item Type Resource","Lead Time Assigned Item Type Tool","Lead Time Assigned Item Type Reference","Lead Time Assigned Item Status Obsolete","Lead Time Assigned Item Status Phase Out","Standard Costs Assigned Item Type Resource","Standard Costs Assigned Item Type Tool","Standard Costs Assigned Item Type Reference","Release Order Shop Days Early","Release Order Shop Days Late","Planned Shipments Calendar Days Late","On-Time Shipments Calendar Days Early","On-Time Shipments Calendar Days Late","Number of Equivalent Full Time Buyers","Practical Number of Messages/Buyer/Day","Number of Equivalent Full Time Planners","Practical Number of Messages/Planner/Day","Current Month","Current Year"

41 3 N Inventory Accuracy (5) N/A

42 3 N Bill of Material Accuracy (5) N/A

43 3 N Item Responsibility Assigned (5)

N/A

44 3 N Lead Times Assigned (5) N/A

45 3 N Standard Costs Assigned (5) N/A

46 3 N Practical Schedules Planned (5)

N/A

47 3 N Rel Orders Sched When Needed (5)

N/A

48 3 N Planned Shipments Not Past Due (5)

N/A

49 3 N Inventory Accuracy (6) N/A

50 3 N Bill of Material Accuracy (6) N/A

51 3 N Item Responsibility Assigned (6)

N/A

52 3 N Lead Times Assigned (6) N/A

53 3 N Standard Costs Assigned (6) N/A

54 3 N Practical Schedules Planned (6)

N/A

55 3 N Rel Orders Sched When Needed (6)

N/A

56 3 N Planned Shipments Not Past Due (6)

N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 460

Page 461: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 N ABC Item Class Field N/A

8 1 A Measurement Type N/A

9 5 N BOM Material Usage Toler-ance Percentage

N/A

10 1 A Lead Time Assigned Item Type Resource

N/A

11 1 A Lead Time Assigned Item Type Tool

N/A

12 1 A Lead Time Assigned Item Type Reference

N/A

13 1 A Lead Time Assigned Item Status Obsolete

N/A

14 1 A Lead Time Assigned Item Status Phase Out

N/A

15 1 A Standard Costs Assigned Item Type Resource

N/A

16 1 A Standard Costs Assigned Item Type Tool

N/A

17 1 A Standard Costs Assigned Item Type Reference

N/A

18 3 N Release Order Shop Days Early

N/A

19 3 N Release Order Shop Days Late

N/A

20 3 N Planned Shipments Calen-dar Days Late

N/A

21 3 N On-Time Shipments Calen-dar Days Early

N/A

22 3 N On-Time Shipments Calen-dar Days Late

N/A

23 4 N Number of Equivalent Full Time Buyers

N/A

24 3 N Practical Number of Mes-sages/Buyer/Day

N/A

25 4 N Number of Equivalent Full Time Planners

N/A

26 3 N Practical Number of Mes-sages/Planner/Day

N/A

27 2 A Current Month N/A

Data Import Macros and Data Dictionary 461

Page 462: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

Note: Field #27 and 28 are in reverse order (year, month) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

OPMA – Operations Performance Configuration

OPMA Transactions

OPMA01Change Operations Performance Monthly Analysis Data

Archive Record Layout"OPMA01","","","","","","Monthly Analysis Date","Class A NBR of Counts","Class A Counts in Tolerance","Class B NBR of Counts","Class B Counts in Tolerance","Class C NBR of Counts","Class C Counts in Tolerance","Bill of Material Accuracy Percentage","Net Sales","Cost of Sales","Operating Expenses","Inventory Balance"

Required Transaction Fields

28 2 A Current Year N/A

Macro Id DescriptionMacro File

Name

OPMA01 Change Operations Performance Monthly Analysis Data OPFM

OPMA02 Operations Performance Monthly Analysis OPFM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 D Monthly Analysis Date N/A

8 7 N Class A NBR of Counts N/A

9 7 N Class A Counts in Tolerance N/A

10 7 N Class B NBR of Counts N/A

11 7 N Class B Counts in Tolerance N/A

12 7 N Class C NBR of Counts N/A

13 7 N Class C Counts in Tolerance N/A

14 3 N Bill of Material Accuracy Per-centage

N/A

15 14 N Net Sales N/A

16 14 N Cost of Sales N/A

17 14 N Operating Expenses N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 462

Page 463: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 O – Data Import Macros

OPMA02Operations Performance Monthly Analysis

Archive Record Layout"OPMA02","","","","","","Monthly Analysis Date","Close Current Month Y/N?"

Required Transaction Fields

OPSL – Option Selection

OPSL Transactions

OPSL00Use the CPMT02 transaction to perform option selection transactions.

OPSL01Transactions created by the OPSL01 transaction are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not needed. Use the CPMT02 transaction to perform option selection transactions.

OVAR – Close Order Analysis/Order VarianceTransactions created by the OVAR task are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available.

18 14 N Inventory Balance N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 6 D Monthly Analysis Date N/A

8 1 A Close Current Month Y/N? N/A

Macro Id DescriptionMacro File

Name

OPSL00 Select Option for Custom Configuration CPMM

OPSL01 Complete Custom Configuration (CTRL+ENTER) CPMM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 463

Page 464: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

P – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

PASS – Password MaintenanceTransactions created by the PASS screen are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available.

PBCF – Advanced Price Book Configuration

PBCF Transactions

PBCF01Change Price Book Configuration

Archive Record Layout"PBCF01","","","","","","Decimal Places","Display Within Days","Selectable Within Days","Deselect Expedite Fee","Any Price Break","Match Price Book Preference","Base Price Book Effectivity On","Disable Customer In-Effectivity","Disable Customer Out-Effectivity"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

PBCF01 Change Price Book Configuration APBM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 N Decimal Places N/A

8 2 N Display Within Days N/A

9 2 N Selectable Within Days N/A

10 1 A Deselect Expedite Fee N/A

11 1 A Any Price Break N/A

12 1 A Match Price Book Preference N/A

13 1 A Base Price Book Effectivity On

N/A

14 1 A Disable Customer In-Effectiv-ity

N/A

15 1 A Disable Customer Out-Effec-tivity

N/A

Data Import Macros and Data Dictionary 464

Page 465: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PBMT – Price Book Master

PBMT Transactions

PBMT00Add Price Book

Archive Record Layout"PBMT00","","","","","","Price Book","","","Description","Effectivity In","Effectivity Out","Pb Typ"

Required Transaction Fields

PBMT01Change Price Book

Archive Record Layout"PBMT01","","","","","","Price Book","","","Description","Effectivity In","Effectivity Out"

Macro Id DescriptionMacro File

Name

PBMT00 Add Price Book

PBMT01 Change Price Book

PBMT02 Delete Price Book

PBMT03 Add Breakpoint

PBMT04 Change Breakpoint

PBMT05 Delete Breakpoint

PBMT06 Add Price Book Content

PBMT07 Delete Price Book Content

PBMT08 Add Breakpoint on Content Line

PBMT09 Change Breakpoint on Content Line

PBMT10 Delete Breakpoint on Content Line

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 15 A Price Book Price_Book

10 35 A Description Price_Desc

11 6 D Effectivity In Pb_Ineff

12 6 D Effectivity Out Pb_Outeff

13 15 A Pb Typ Pb_Type

Data Import Macros and Data Dictionary 465

Page 466: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

PBMT02Delete Price Book

Archive Record Layout"PBMT02","","","","","","Price Book"

Required Transaction Fields

PBMT03Add Breakpoint

Archive Record Layout"PBMT03","","","","","","Price Book","","","Breakpoint From","Breakpoint Thru","Price","Price Basis","Lead Time","Expedite Price","Expedite Basis"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

10 35 A Description Price_Desc

11 6 D Effectivity In Pb_Ineff

12 6 D Effectivity Out Pb_Outeff

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

10 10 N Breakpoint From Qty_From

11 10 N Breakpoint Thru Qty_To

12 16 N Price Price

13 1 A Price Basis Pric_Basis; Multi-ple

14 3 N Lead Time Lead_Time

15 16 N Expedite Price Exp_Price; Exp_Multip

16 1 A Expedite Basis Exp_Type

Data Import Macros and Data Dictionary 466

Page 467: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PBMT04Change Breakpoint

Archive Record Layout"PBMT04","","","","","","Price Book","","","Breakpoint From","Breakpoint Thru","Price","Price Basis","Lead Time","Expedite Price","Expedite Basis"

Required Transaction Fields

PBMT05Delete Breakpoint

Archive Record Layout"PBMT05","","","","","","Price Book","","","Breakpoint From","Breakpoint Thru"

Required Transaction Fields

PBMT06Add Price Book Content

Archive Record Layout"PBMT06","","","","","","Price Book","Item/Cust Item","Cust Id"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

10* 10 N Breakpoint From Qty_From

11* 10 N Breakpoint Thru Qty_To

12 16 N Price Price

13 1 A Price Basis Pric_Basis; Multi-ple

14 3 N Lead Time Lead_Time

15 16 N Expedite Price Exp_Price; Exp_Multip

16 1 A Expedite Basis Exp_Type

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

10* 10 N Breakpoint From Qty_From

11* 10 N Breakpoint Thru Qty_To

Data Import Macros and Data Dictionary 467

Page 468: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

PBMT07Delete Price Book Content

Archive Record Layout"PBMT07","","","","","","Price Book","Item/Cust Item","Cust Id"

Required Transaction Fields

Note: Fld# 9 is required only for type Q price books

PBMT08Add Breakpoint on Content Line

Archive Record Layout"PBMT08","","","","","","Price Book","Item/Cust Item","Cust Id","Breakpoint From","Breakpoint Thru","Price","Price Basis","Lead Time","Expedite Price","Expedite Basis"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8 30 A Item/Cust Item Item

9 13 A Cust Id Cust_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8* 30 A Item/Cust Item Item

9* 13 A Cust Id Cust_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8* 30 A Item/Cust Item Item

9* 13 A Cust Id Cust_Id

10 10 N Breakpoint From Qty_From

11 10 N Breakpoint Thru Qty_To

12 16 N Price Price

13 1 A Price Basis Pric_Basis; Multi-ple

Data Import Macros and Data Dictionary 468

Page 469: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Note: Fld# 9 is required only for type Q price books

PBMT09Change Breakpoint on Content Line

Archive Record Layout"PBMT09","","","","","","Price Book","Item/Cust Item","Cust Id","Breakpoint From","Breakpoint Thru","Price","Price Basis","Lead Time","Expedite Price","Expedite Basis"

Required Transaction Fields

Note: Fld# 9 is required only for type Q price books

PBMT10Delete Breakpoint on Content Line

Archive Record Layout"PBMT10","","","","","","Price Book","Item/Cust Item","Cust Id","Breakpoint From","Breakpoint Thru"

14 3 N Lead Time Lead_Time

15 16 N Expedite Price Exp_Price; Exp_Multip

16 1 A Expedite Basis Exp_Type

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8* 30 A Item/Cust Item Item

9* 13 A Cust Id Cust_Id

10* 10 N Breakpoint From Qty_From

11* 10 N Breakpoint Thru Qty_To

12 16 N Price Price

13 1 A Price Basis Pric_Basis; Multi-ple

14 3 N Lead Time Lead_Time

15 16 N Expedite Price Exp_Price; Exp_Multip

16 1 A Expedite Basis Exp_Type

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 469

Page 470: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

Note: Fld# 9 is required only for type Q price books

PCST – Purchase Order Cost AnalysisTransactions created by the PCST screen are added to the ARCHIVE.FIL file for audit trail purposes. These transactions can be recovered but require some internal tracking information available only after the transaction is completed. Import transactions should not be created for these transactions.

PCST Transactions

PCST01Change Purchase Order CostsThe PCST01 transaction is added to the ARCHIVE.FIL file for audit trail purposes. This transaction contains system generated fields that can not be entered through the user interface. Therefore, this transaction is used in system recovery but can not be included in data import.

PFMC – Performance Data UpdateThe performance data update process uses one of several screens based on the data you wish to update. The following screens are used based on performance information you wish to modify:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 15 A Price Book Price_Book

8* 30 A Item/Cust Item Item

9* 13 A Cust Id Cust_Id

10* 10 N Breakpoint From Qty_From

11* 10 N Breakpoint Thru Qty_To

Macro Id DescriptionMacro File

Name

PCST01 Change Purchase Order Costs PRCM

Data to Update Screen/Window Used

Contract Contract Header Detail

Contract item Contract Header Detail

Vendor Vendor Configuration

Vendor item Vendor/Item Detail

Data Import Macros and Data Dictionary 470

Page 471: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Two sets of performance data can be modified for vendors and vendor items.

PFMC Transactions

PFMC01Change Performance Data—Vendor

Archive Record Layout"PFMC01","","","","","","Vendor Id","","","",Total Deliveries (date 1),Late Deliveries (date 1),Early Deliveries (date 1),Over Tol (date 1),Under Tol (date 1),Overall Del (date 1),Qty Rcvd (date 1),Qty Rejected (date 1),Total Deliveries (date 2),Late Deliveries (date 2),Early Deliveries (date 2),Over Tol (date 2),Under Tol (date 2),Overall Del (date 2),Qty Rcvd (date 2),Qty Rejected (date 2)

Required Transaction Fields

Macro Id DescriptionMacro File

Name

PFMC01 Change Performance Data—Vendor PURM1

PFMC02 Change Performance Data—Vendor Item PURM1

PFMC03 Change Performance Data—Contract PURM1

PFMC04 Change Performance Data—Contract Item PURM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

11 6 N Total Deliveries (date 1) V_CumDlv1

12 6 N Late Deliveries (date 1) V_DlvLat1

13 6 N Early Deliveries (date 1) V_DlvErl1

14 6 N Over Tol (date 1) V_DlvOvr1

15 6 N Under Tol (date 1) V_DlvUnd1

16 6 N Overall Del (date 1) V_OvrDlv1

17 10 N Qty Rcvd (date 1) Qty_Recvd

18 10 N Qty Rejected (date 1) V_TotRej1

19 6 N Total Deliveries (date 2) V_CumDlv2

20 6 N Late Deliveries (date 2) V_DlvLat2

21 6 N Early Deliveries (date 2) V_DlvErl2

22 6 N Over Tol (date 2) V_DlvOvr2

23 6 N Under Tol (date 2) V_DlvUnd2

24 6 N Overall Del (date 2) V_OvrDlv2

25 10 N Qty Rcvd (date 2) Qty_Recvd

Data Import Macros and Data Dictionary 471

Page 472: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PFMC02Change Performance Data — Vendor Item

Archive Record Layout"PFMC02","","","","","","Vendor Id","Item","","",Total Deliveries (date 1),Late Deliveries (date 1),Early Deliveries (date 1),Over Tol (date 1),Under Tol (date 1),Overall Del (date 1),Qty Rcvd (date 1),Qty Rejected (date 1),Total Deliveries (date 2),Late Deliveries (date 2),Early Deliveries (date 2),Over Tol (date 2),Under Tol (date 2),Overall Del (date 2),Qty Rcvd (date 2),Qty Rejected (date 2)

Required Transaction Fields

PFMC03Change Performance Data — Contract

Archive Record Layout"PFMC03","","","","","","Vendor Id","","Contract","",Total Deliveries,Late Deliveries,Early Deliveries,Over Tol,Under Tol,Overall Del,Qty Rcvd,Qty Rejected

26 10 N Qty Rejected (date 2) V_TotRej2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 30 A Item Item

11 6 N Total Deliveries (date 1) VI_CumDlv1

12 6 N Late Deliveries (date 1) VI_DlvLat1

13 6 N Early Deliveries (date 1) VI_DlvErl1

14 6 N Over Tol (date 1) VI_DlvOvr1

15 6 N Under Tol (date 1) VI_DlvUnd1

16 6 N Overall Del (date 1) VI_OvrDlv1

17 10 N Qty Rcvd (date 1) Qty_Recvd

18 10 N Qty Rejected (date 1) VI_TotRej1

19 6 N Total Deliveries (date 2) VI_CumDlv2

20 6 N Late Deliveries (date 2) VI_DlvLat2

21 6 N Early Deliveries (date 2) VI_DlvErl2

22 6 N Over Tol (date 2) VI_DlvOvr2

23 6 N Under Tol (date 2) VI_DlvUnd2

24 6 N Overall Del (date 2) VI_OvrDlv2

25 10 N Qty Rcvd (date 2) Qty_Recvd

26 10 N Qty Rejected (date 2) VI_TotRej2

Data Import Macros and Data Dictionary 472

Page 473: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

PFMC04Change Performance Data—Contract Item

Archive Record Layout"PFMC04","","","","","","Vendor Id","","Contract","Item",Total Deliveries,Late Deliveries,Early Deliveries,Over Tol,Under Tol,Overall Del,Qty Rcvd,Qty Rejected

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

11 6 N Total Deliveries Ct_Cum_Dlv

12 6 N Late Deliveries Ct_Dlv_Lat

13 6 N Early Deliveries Ct_Dlv_Erl

14 6 N Over Tol Ct_Dlv_Ovr

15 6 N Under Tol Ct_Dlv_Und

16 6 N Overall Del Ct_Ovr_Dlv

17 10 N Qty Rcvd Qty_Recvd

18 10 N Qty Rejected Ct_Tot_Rej

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

11 6 N Total Deliveries CI_Cum_Dlv

12 6 N Late Deliveries CI_Dlv_Lat

13 6 N Early Deliveries CI_Dlv_Erl

14 6 N Over Tol CI_Dlv_Ovr

15 6 N Under Tol CI_Dlv_Und

16 6 N Overall Del CI_Ovr_Dlv

17 10 N Qty Rcvd Qty_Recvd

18 10 N Qty Rejected CI_Tot_Rej

Data Import Macros and Data Dictionary 473

Page 474: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK – PicklistThe PICK transactions use the following screens:

• PICK (Picklist)

• Pick Detail

The PICK and Pick Detail screens vary based on Order Source and Issue Type.

Note: The PICK screens vary based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed, the Lot field is displayed.

Transactions vary based on several values. The Component Type, Resource Component and On Hand Qty values modify the entry fields available and the operation of the screen.

Note: Resource items (Component Type = R) usually create the same transactions as normal items (Component Type = N). When there is no on-hand quantity of the item (On Hand Qty = 0) and Resource Component = 2 or 3, a unique transaction is created for the issue or reverse issue of the resource item.

PICK Transactions

Macro Id DescriptionMacro File

Name

PICK00 Add Component to Order-Dependent Bill; CP Order PICK

Add Component to Order-Dependent Bill; M Order

Add Component to Order-Dependent Bill; P Order

PICK01 Delete Component from Order-Dependent Bill; CP Order PICK

Delete Component from Order-Dependent Bill; M Order

Delete Component from Order-Dependent Bill; P Order

PICK02 Issue End Item; CP Order—Backflush Components PICK

PICK04 Issue Component; M Order—Component Type = R (On Hand Qty = 0 and Resource Component = 2 or 3)

PICK

Issue Component; P Order—Component Type = R (On Hand Qty = 0 and Resource Component = 2 or 3)

Issue Component; CP Order—Component Type = R

Issue Component; CP Order—Component Type = V

Issue Component; CP Order—Component Type = W

PICK05 Reverse Issue Component; CP Order—Component Type = V (On Hand Qty > 0)

PICK

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty > 0)

Reverse Issue End Item; CP Order (On Hand Qty > 0)

PICK08 Issue End Item; C Order PICK

Issue End Item; CP Order

Data Import Macros and Data Dictionary 474

Page 475: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Picklist Detail Transactions

Issue Component; M Order

Issue Component; P Order

Issue Component; CP Order—Component Type = N

Issue Component; CP Order—Component Type = X

Issue Component; CP Order—Component Type = T

PICK09 Reverse Issue Component; CP Order—Component Type = V (On Hand Qty = 0)

PICK

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty = 0)

Reverse Issue End Item; CP Order (On Hand Qty = 0)

PICK12 Issue Component; M Order—Ln# Typ = R (Rework Order) PICK

PICK13 Reverse Issue Component; CP Order—Component Type = N PICK

Reverse Issue Component; CP Order—Component Type = X

Reverse Issue Component; CP Order—Component Type = T

Reverse Issue Component; CP Order—Component Type = R (On Hand Qty = 0 and Resource Component = 2 or 3)

Reverse Issue End Item; C Order

Reverse Issue Component; M Order

Reverse Issue Component; P Order

PICK14 Issue End Item to Shipping Location; CP Order (Backflush Components)

PICK

PICK17 Reverse Issue End Item from Shipping Location; CP Order (On Hand Qty > 0)

PICK

PICK18 Issue End Item to Shipping Location; C Order PICK

Issue End Item to Shipping Location; CP Order

PICK19 Reverse Issue End Item from Shipping Location; CP Order (On Hand Qty = 0)

PICK

PICK20 Reverse Issue End Item from Shipping Location; C Order PICK

PICK60 Delete Planner Action Message—PPL (Print Picklist) PICK

Macro Id DescriptionMacro File

Name

PICK30 Add New Text—End Item; CP Order (Backflush transactions) PICK

PICK31 Add New Text—End Item; C Order (Issue or Reverse Issue transactions)

PICK

Add New Text—End Item; CP Order (Issue or Reverse Issue transactions)

Data Import Macros and Data Dictionary 475

Page 476: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Add New Text—Component (first-level); CP Order—Compo-nent Type = V or W (Issue transactions)

PICK32 Add New Text—Component (first-level); CP Order—Compo-nent Type = R and Resource Component = 2 or 3 (Issue trans-actions)

PICK

PICK33 Add New Text—Component (first-level); CP Order—Compo-nent Type = N, X or T (Issue transactions)

PICK

PICK34 Add New Text—Component (first-level); CP Order—Compo-nent Type = V or W (Reverse Issue transactions)

PICK

PICK36 Add New Text—Component (first-level); CP Order—Compo-nent Type = N, X or T (Reverse Issue transactions)

PICK

PICK37 Add New Text—Component; M Order (Issue or Reverse Issue transactions)

PICK

Add New Text—Component; P Order (Issue or Reverse Issue transactions)

Add New Text—Component (phantom); CP Order (Issue or Reverse Issue transactions)

PICK38 Add New Text—Component (phantom); CP Order—Compo-nent Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

PICK

Add New Text—Component; M Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Add New Text—Component; P Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

PICK40 Attach Existing Text—End Item; CP Order (Backflush transac-tions)

PICK

Change Pick Detail—End Item; CP Order (Backflush transac-tions)

PICK41 Attach Existing Text—End Item; C Order (Issue or Reverse Issue transactions)

PICK

Attach Existing Text—End Item; CP Order (Issue or Reverse Issue transactions)

Attach Existing Text—Component (first-level); CP Order—Component Type = V or W (Issue transactions)

Change Pick Detail—End Item; C Order (Issue or Reverse Issue transactions)

Change Pick Detail—End Item; CP Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component (first-level); CP Order—Component Type = V or W (Issue transactions)

PICK42 Attach Existing Text—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

PICK

Data Import Macros and Data Dictionary 476

Page 477: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Change Pick Detail—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

PICK43 Attach Existing Text—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

PICK

Change Pick Detail—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

PICK44 Attach Existing Text—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

PICK

Change Pick Detail—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

PICK46 Attach Existing Text—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

PICK

Change Pick Detail—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

PICK47 Attach Existing Text—Component; M Order (Issue or Reverse Issue transactions)

PICK

Attach Existing Text—Component; P Order (Issue or Reverse Issue transactions)

Attach Existing Text—Component (phantom); CP Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component; M Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component; P Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component (phantom); CP Order (Issue or Reverse Issue transactions)

PICK48 Attach Existing Text—Component (phantom); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

PICK

Attach Existing Text—Component; M or P Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Change Pick Detail—Component (phantom); CP Order—Com-ponent Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Change Pick Detail—Component; M or P Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

PICK50 Delete Text—End Item; CP Order (Backflush transactions) PICK

PICK51 Delete Text—End Item; C Order (Issue or Reverse Issue transactions)

PICK

Delete Text—End Item; CP Order (Issue or Reverse Issue transactions)

Data Import Macros and Data Dictionary 477

Page 478: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK00Add Component to Order-Dependent Bill; CP Order

Add Component to Order-Dependent Bill; M Order

Add Component to Order-Dependent Bill; P Order

Archive Record Layout"PICK00","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ","Pt Use","Seq","Component","Remaining Required Quantity","","","","",,,"","","","","","",,"","","","","Prom Dock"

Required Transaction Fields

Delete Text—Component (first-level); CP Order—Component Type = V or W (Issue transactions)

PICK52 Delete Text—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transac-tions)

PICK

PICK53 Delete Text—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

PICK

PICK54 Delete Text—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

PICK

PICK56 Delete Text—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

PICK

PICK57 Delete Text—Component; M Order (Issue or Reverse Issue transactions)

PICK

Delete Text—Component; P Order (Issue or Reverse Issue transactions)

Delete Text—Component (phantom); CP Order (Issue or Reverse Issue transactions)

PICK58 Delete Text—Component; M Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

PICK

Delete Text—Component; P Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Delete Text—Component (phantom); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9 30 A MO/CO/PO Number Order_No

10 3 A Ln# Ln_No

12* 1 A Com Typ Com_Typ

Data Import Macros and Data Dictionary 478

Page 479: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Note: The Com Typ, Pt Use, Seq and Component fields are required if the add transaction is for a resource item that is part of a phantom set.

PICK01Delete Component from Order-Dependent Bill; CP Order

Delete Component from Order-Dependent Bill; M Order

Delete Component from Order-Dependent Bill; P Order

Archive Record Layout"PICK01","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ","Pt Use","Seq","Component","","","","",,,"","","","","","",,"","Resource Component","","QT","Prom Dock"

Required Transaction Fields

PICK02Issue End Item; CP Order—Backflush Components

Note: Use PICK14 backflush components for CP Order end items when SHPM is installed.

Archive Record Layout

13* 5 A Pt Use Pt_Use

14* 3 A Seq Seqn

15* 15 A Component Component

16 10 N Remaining Required Quantity Rm_Req_Qty

34 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12 1 A Com Typ Com_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq Seqn

15* 15 A Component Component

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

34 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 479

Page 480: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"PICK02","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","","",,"Issue Qty","","","","","","",,"","Resource Component","","QT",""

Required Transaction Fields

PICK04Issue Component; M Order—Component Type = R (On Hand Qty = Ø and Resource Component = 2 or 3)

Issue Component; P Order—Component Type = R (On Hand Qty = Ø and Resource Component = 2 or 3)

Issue Component; CP Order—Component Type = R

Issue Component; CP Order—Component Type = V

Issue Component; CP Order—Component Type = W

Archive Record Layout"PICK04","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","","",,"Issue Qty","","","","","","",,"", "Resource Component","","QT","Prom Dock","(Transaction Date)","(Transaction Time)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17* 6 A Stk Stk

18* 12 A Bin Bin

22* 10 N Issue Qty Qty_Issued

31 1 A Resource Component (CNFG)

Rsrc_Plcy

33 1 A QT (PIC1) Qty_Typ

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

Data Import Macros and Data Dictionary 480

Page 481: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Field 36, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

PICK05Reverse Issue Component; CP Order—Component Type = V (On Hand Qty > Ø)

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty > Ø)

Reverse Issue End Item; CP Order (On Hand Qty > Ø)

Note: Use PICK19 to reverse issue CP order end items when the On Hand Qty > 0 when SHPM is installed (CUSM order entry only).

Archive Record Layout"PICK05","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","","",,"Reverse Qty","","","","","","",,"","Resource Component", "","QT","Prom Dock"

Required Transaction Fields

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17* 6 A Stk Stk

18* 12 A Bin Bin

22* 10 N Issue Qty Qty_Issued

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

34 6 D Prom Dock Prom_Dock

35 6 D (Transaction Date) N/A

36 12 A (Transaction Time) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

Data Import Macros and Data Dictionary 481

Page 482: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK08Issue End Item; C Order

Issue End Item; CP Order

Issue Component; M Order

Issue Component; P Order

Issue Component; CP Order—Component Type = N

Issue Component; CP Order—Component Type = X

Issue Component; CP Order—Component Type = T

Note: Use PICK18 to issue C/CP order end items when SHPM is installed (CUSM-Order Entry only).

Archive Record Layout"PICK08","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","","Lot",,"Issue Qty","","","","","","",,"", "Resource Component","","QT","Prom Dock","(Transaction Date)","(Transaction Time)"

Required Transaction Fields

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17* 6 A Stk Stk

18* 12 A Bin Bin

22 10 N Reverse Qty Qty_2_Rvrs

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

34 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

Data Import Macros and Data Dictionary 482

Page 483: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Field 36, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

PICK09Reverse Issue Component; CP Order—Component Type = V (On Hand Qty = Ø)

Reverse Issue Component; CP Order—Component Type = W (On Hand Qty = Ø)

Reverse Issue End Item; CP Order (On Hand Qty = Ø)

Note: Use PICK09 to reverse issue CP order end items when the On Hand Qty = 0 when SHPM is installed (CUSM-Order Entry only).

Archive Record Layout"PICK09","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","","Lot",,"Reverse Qty","","","","","","",,"","Resource Component","","QT","Prom Dock"

Required Transaction Fields

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17* 6 A Stk Stk

18* 12 A Bin Bin

20 20 A Lot Lot

22* 10 N Issue Qty Qty_Issued

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

34 6 D Prom Dock Prom_Dock

35 6 D (Transaction Date) N/A

36 12 A (Transaction Time) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

Data Import Macros and Data Dictionary 483

Page 484: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK12Issue Component; M Order—Ln# Typ = R (Rework Order)

Archive Record Layout"PICK12","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","IC","Lot",,"Issue Qty","","","","","","",,"","Resource Component","","QT","Prom Dock"

Required Transaction Fields

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 6 A Stk Stk

18 12 A Bin Bin

20 10 A Lot Lot

22 10 N Reverse Qty Qty_2_Rvrs

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

34 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17* 6 A Stk Stk

18* 12 A Bin Bin

19 1 A IC Inv_Code

20 20 A Lot Lot

22* 10 N Issue Qty Qty_Issued

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

Data Import Macros and Data Dictionary 484

Page 485: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK13Reverse Issue Component; CP Order—Component Type = N

Reverse Issue Component; CP Order—Component Type = X

Reverse Issue Component; CP Order—Component Type = T

Reverse Issue Component; CP Order—Component Type = R (On Hand Qty = Ø and Resource Component = 2 or 3)

Reverse Issue End Item; C Order

Reverse Issue Component; M Order

Reverse Issue Component; P Order

Note: When SHPM is installed, this transaction can not be used to Reverse Issue C order end items.

Archive Record Layout"PICK13","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item",,"Stk","Bin","IC","Lot",,"Reverse Qty","","","","","","",,"", "Resource Component (CNFG)","","QT (PIC1)","Prom Dock","(Transaction Date)","(Transaction Time)"

Required Transaction Fields

34 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

10* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 6 A Stk Stk

18 12 A Bin Bin

19 1 A IC Inv_Code

20 20 A Lot Lot

22 10 N Reverse Qty Qty_2_Rvrs

Data Import Macros and Data Dictionary 485

Page 486: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Field 36, (Transaction Time), indicates the time when Intrastat transaction history is created if applicable. The format of the field is HH:MM:SS.mmm and all the hour, minute, second, and millisecond components are required. The valid values of the last digit in mmm or millisecond portion of the time are 0, 3, 7 only.

PICK14Issue End Item to Shipping Location; CP Order (Backflush Components)

Archive Record Layout"PICK14","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","","Pt Use","Seq/Ln#","Item",,"","","","",,"Issue Qty","Shipping Stk","Shipping Bin","",,"","",,"","","","",""

Required Transaction Fields

PICK17Reverse Issue End Item from Shipping Location; CP Order (On Hand Qty > Ø)

Note: CUSM-Order Entry only.

Archive Record Layout"PICK17","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","","Pt Use","Seq/Ln#","Item",,"","","","",,"Issue Qty","Shipping Stk","Shipping Bin","",,"","",,"","","","",""

31* 1 A Resource Component (CNFG)

Rsrc_Plcy

33* 1 A QT (PIC1) Qty_Typ

34 6 D Prom Dock Prom_Dock

35 6 D (Transaction Date) N/A

36 12 A (Transaction Time) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Item Item

22 10 N Issue Qty Qty_Issued

23* 6 A Shipping Stk Shp_Stk

24* 12 A Shipping Bin Shp_Bin

Data Import Macros and Data Dictionary 486

Page 487: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

PICK18Issue End Item to Shipping Location; C Order

Issue End Item to Shipping Location; CP Order

Archive Record Layout"PICK18","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","","Pt Use","Ln#","Item",,"Stk","Bin","","Lot",,"Issue Qty","Shipping Stk","Shipping Bin","",,"","",,"","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Item Item

22 10 N Issue Qty Qty_Issued

23 6 A Shipping Stk Shp_Stk

24 12 A Shipping Bin Shp_Bin

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Ln# Ln_No

15* 30 A Item Item

17* 6 A Stk Stk

18* 12 A Bin Bin

20 20 A Lot Lot

22 10 N Issue Qty Qty_Issued

23 6 A Shipping Stk Shp_Stk

24 12 A Shipping Bin Shp_Bin

Data Import Macros and Data Dictionary 487

Page 488: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK19Reverse Issue End Item from Shipping Location; CP Order (On Hand Qty = Ø)

Archive Record Layout"PICK19","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","","Pt Use","Ln#","Item",,"Stk","Bin","","Lot",,"Issue Qty","Shipping Stk","Shipping Bin","",,"","",,"","","","",""

Required Transaction Fields

PICK20Reverse Issue End Item from Shipping Location; C Order

Archive Record Layout"PICK20","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","","Pt Use","Ln#","Item",,"Stk","Bin","IC","Lot",,"Issue Qty","Shipping Stk","Shipping Bin","",,"","",,"","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Ln# Ln_No

15* 30 A Item Item

17 6 A Stk Stk

18 12 A Bin Bin

20 20 A Lot Lot

22 10 N Issue Qty Qty_Issued

23 6 A Shipping Stk Shp_Stk

24 12 A Shipping Bin Shp_Bin

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Order Source Ord_Source

8* 1 A Issue Type Issue_Type

9* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Ln# Ln_No

Data Import Macros and Data Dictionary 488

Page 489: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK30Add New Text—End Item; CP Order (Backflush transactions)

Archive Record Layout"PICK30","","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","Pt Use","Seq/Ln#","Component/Item","","","","",,"",,"","","","","","","(text line1)","(text line2)","(text line3)","(text line4)",""

Required Transaction Fields

PICK31Add New Text—End Item; C Order (Issue or Reverse Issue transactions)

Add New Text—End Item; CP Order (Issue or Reverse Issue transactions)

Add New Text—Component (first-level); CP Order—Component Type = V or W (Issue transactions)

Archive Record Layout

15* 30 A Item Item

17* 6 A Stk Stk

18* 12 A Bin Bin

19 1 A IC Inv_Code

20 20 A Lot Lot

22 10 N Issue Qty Qty_Issued

23* 6 A Shipping Stk Shp_Stk

24* 12 A Shipping Bin Shp_Bin

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

Data Import Macros and Data Dictionary 489

Page 490: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"PICK31","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

PICK32Add New Text—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Note: This transaction assumes the RPTM (Repetitive Manufacturing) Module is installed.

Archive Record Layout"PICK32","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","CT","",,"Backflush",Equiv Qty,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

Data Import Macros and Data Dictionary 490

Page 491: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK33Add New Text—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

Archive Record Layout"PICK33","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","CT","",,"",,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 1 A CT Com_Typ

20 1 A Backflush Backflush

21 10 N Equiv Qty Eqv_Qty

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 1 A CT Com_Typ

22 6 A Backflush Location: Stk Bkflsh_Stk

Data Import Macros and Data Dictionary 491

Page 492: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK34Add New Text—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

Archive Record Layout"PICK34","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

PICK36Add New Text—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

Archive Record Layout

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 492

Page 493: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"PICK36","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","CT","",,"",,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

PICK37Add New Text—Component; M Order (Issue or Reverse Issue transactions)

Add New Text—Component; P Order (Issue or Reverse Issue transactions)

Add New Text—Component (phantom); CP Order (Issue or Reverse Issue transactions)

Archive Record Layout"PICK37","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","Reqd Date","CT","QT",Required Quantity,"",,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 1 A CT Com_Typ

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 493

Page 494: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK38Add New Text—Component (phantom); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Add New Text—Component; M Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Add New Text—Component; P Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Note: This transaction assumes the RPTM (Repetitive Manufacturing) Module is installed.

Archive Record Layout"PICK38","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","(text line1)","(text line2)","(text line3)","(text line4)","Prom Dock"

Required Transaction Fields

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

16 6 D Reqd Date Reqd_Date

17 1 A CT Com_Typ

18 1 A QT Qty_Typ

19 10 N Required Quantity Reqd_Qty

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 494

Page 495: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK40Attach Existing Text—End Item; CP Order (Backflush transactions)

Change Pick Detail—End Item; CP Order (Backflush transactions)

Archive Record Layout"PICK40","","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","Text No","","","","",""

Required Transaction Fields

PICK41Attach Existing Text—End Item; C Order (Issue or Reverse Issue transactions)

Attach Existing Text—End Item; CP Order (Issue or Reverse Issue transactions)

Attach Existing Text—Component (first-level); CP Order—Component Type = V or

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

29 60 A (text line1) Text_Line1

30 60 A (text line2) Text_Line2

31 60 A (text line3) Text_Line3

32 60 A (text line4) Text_Line4

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

28 6 A Text No Text_No

Data Import Macros and Data Dictionary 495

Page 496: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

W (Issue transactions)

Change Pick Detail—End Item; C Order (Issue or Reverse Issue transactions)

Change Pick Detail—End Item; CP Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component (first-level); CP Order—Component Type = V or W (Issue transactions)

Archive Record Layout"PICK41","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","Text No","","","","","Prom Dock"

Required Transaction Fields

PICK42Attach Existing Text—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Change Pick Detail—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Note: This transaction assumes the RPTM (Repetitive Manufacturing) Module is installed.

Archive Record Layout"PICK42","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","CT","",,"Backflush",Equiv Qty,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","Text No","","","","","Prom Dock"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

Data Import Macros and Data Dictionary 496

Page 497: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK43Attach Existing Text—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

Change Pick Detail—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

Archive Record Layout"PICK43","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","CT","",,"",,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","Text No","","","","","Prom Dock"

Required Transaction Fields

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Type

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 1 A CT CT

20 1 A Backflush Backflush

21 10 N Equiv Qty Eqv_Qty

22 6 A Backflush Location:Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Type

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

Data Import Macros and Data Dictionary 497

Page 498: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK44Attach Existing Text—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

Change Pick Detail—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

Archive Record Layout"PICK44","","","","","","","Order Source","Issue Type","MO/CO/PO Number", "Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","Text No","","","","","Prom Dock"

Required Transaction Fields

PICK46Attach Existing Text—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

Change Pick Detail—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

15* 30 A Component/Item Component; Item

17 1 A CT CT

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 498

Page 499: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"PICK46","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","CT","",,"",,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","Text No","","","","","Prom Dock"

Required Transaction Fields

PICK47Attach Existing Text—Component; M Order (Issue or Reverse Issue transactions)

Attach Existing Text—Component; P Order (Issue or Reverse Issue transactions)

Attach Existing Text—Component (phantom); CP Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component; M Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component; P Order (Issue or Reverse Issue transactions)

Change Pick Detail—Component (phantom); CP Order (Issue or Reverse Issue transactions)

Archive Record Layout"PICK47","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","Reqd Date/Ship Date","CT","QT (new)",Required Qty,"",,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","Text No","","","","","Prom Dock"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Type

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

17 1 A CT CT

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 499

Page 500: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

PICK48Attach Existing Text—Component (phantom); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Attach Existing Text—Component; M Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Attach Existing Text—Component; P Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Change Pick Detail—Component (phantom); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Change Pick Detail—Component; M Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Change Pick Detail—Component; P Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Note: This transaction assumes the RPTM (Repetitive Manufacturing) Module is installed.

Archive Record Layout

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

16 6 D Reqd Date/Ship Date Reqd_Date; Ship_Date

17 1 A CT CT

18 1 A QT (new) Qty_Typ

19 10 N Required Qty Reqd_Qty

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 500

Page 501: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"PICK48","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","Reqd Date/Ship Date","CT","QT (new)",Required Qty,"Backflush",Equiv Qty,"Backflush Location: Stk","Backflush Location: Bin","Backflush Scrap","","","","Text No","","","","","Prom Dock"

Required Transaction Fields

PICK50Delete Text—End Item; CP Order (Backflush transactions)

Archive Record Layout"PICK50","","","","","","","Order Source","Issue Type","MO/CO/PO Number","","","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

16 6 D Reqd Date/Ship Date Reqd_Date; Ship_Date

17 1 A CT CT

18 1 A QT (new) Qty_Typ

19 10 N Required Qty Reqd_Qty

20 1 A Backflush Backflush

21 10 N Equiv Qty Eqv_Qty

22 6 A Backflush Location: Stk Bkflsh_Stk

23 12 A Backflush Location: Bin Bkflsh_Bin

24 1 A Backflush Scrap Bkfl_Scrap

28 6 A Text No Text_No

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 501

Page 502: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK51Delete Text—End Item; C Order (Issue or Reverse Issue transactions)

Delete Text—End Item; CP Order (Issue or Reverse Issue transactions)

Delete Text—Component (first-level); CP Order—Component Type = V or W (Issue transactions)

Archive Record Layout"PICK51","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Required Transaction Fields

PICK52Delete Text—Component (first-level); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Archive Record Layout"PICK52","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Note: This transaction assumes the RPTM (Repetitive Manufacturing) Module is installed.

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 502

Page 503: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

PICK53Delete Text—Component (first-level); CP Order—Component Type = N, X or T (Issue transactions)

Archive Record Layout"PICK53","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Required Transaction Fields

PICK54Delete Text—Component (first-level); CP Order—Component Type = V or W (Reverse Issue transactions)

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 503

Page 504: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"PICK54","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Required Transaction Fields

PICK56Delete Text—Component (first-level); CP Order—Component Type = N, X or T (Reverse Issue transactions)

Archive Record Layout"PICK56","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Required Transaction Fields

PICK57

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Data Import Macros and Data Dictionary 504

Page 505: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Delete Text—Component; M Order (Issue or Reverse Issue transactions)

Delete Text—Component; P Order (Issue or Reverse Issue transactions)

Delete Text—Component (phantom); CP Order (Issue or Reverse Issue transactions)

Archive Record Layout"PICK57","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Required Transaction Fields

PICK58Delete Text—Component; M Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Delete Text—Component; P Order—Component Type = R and Resource Component = 2 or 3 (Issue transactions)

Delete Text—Component (phantom); CP Order—Component Type = R and Resource Component = 2 or 3 (Issue or Reverse Issue transactions)

Archive Record Layout"PICK58","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#","Com Typ/Ln# Typ","Pt Use","Seq/Ln#","Component/Item","","","",,"",,"","","","","","","","","","","","Prom Dock"

Note: This transaction assumes the RPTM (Repetitive Manufacturing) Module is installed.

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

Data Import Macros and Data Dictionary 505

Page 506: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

PICK60Delete Planner Action Message—PPL (Print Picklist)The PICK60 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"PICK60","","","","","","","Order Source","Issue Type","MO/CO/PO Number","Ln#",""

Required Transaction Fields

POAN – Buyer Action by Item

POAN Transactions

POAN01Change Buyer Action Message

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

12* 1 A Com Typ/Ln# Typ Com_Typ; Ln_Typ

13* 5 A Pt Use Pt_Use

14* 3 A Seq/Ln# Seqn; Ln_No

15* 30 A Component/Item Component; Item

33 6 D Prom Dock Prom_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Order Source Ord_Source

9* 1 A Issue Type Issue_Type

10* 30 A MO/CO/PO Number Order_No

11* 3 A Ln# Ln_No

Macro Id DescriptionMacro File

Name

POAN01 Change Buyer Action Message PURM1

POAN02 Delete Buyer Action Message PURM1

POAN03 Add Scheduled Delivery to Purchase Order PURM1

Data Import Macros and Data Dictionary 506

Page 507: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"POAN01","","","","","","Buyr","Msg Code (old)","","Item,MO,Partl Acct No","PO Number (old)","PO Number (new)","Ln# (old)","Ln# (new)","","Vendor Id (new)","Ln# Sta (old)","Ln# Sta (new)","Ln# Typ (old)","Ln# Typ (new)",Open/Suggested Order Qty (old),Open/Suggested Order Qty (new),"Prom Dock (old)","Prom Dock (new)","Contract","Need Dock (new)","(order number from mask)"

Required Transaction Fields

POAN02Delete Buyer Action Message

Archive Record Layout"POAN02","","","","","","Buyr","Msg Code (old)","", "Item,MO,Partl Acct No","PO Number (old)","","Ln# (old)","","","","Ln# Sta (old)","","Ln# Typ (old)","",Open/Suggested Order Qty (old),,"Prom Dock (old)","","","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Buyr Buyr

8* 3 A Msg Code (old) Old_Msg

10* 30 A Item,MO,Partl Acct No Itm_GLMOCO

11* 30 A PO Number (old) Old_PO_No

12 30 A PO Number (new) New_PO_No

13* 3 A Ln# (old) Old_Ln

14* 3 A Ln# (new) Ln_No

16 13 A Vendor Id (new) New_Vendor

17* 1 A Ln# Sta (old) Old_Ln_Sta

18 1 A Ln# Sta (new) New_Ln_Sta

19* 1 A Ln# Typ (old) Old_Ln_Typ

20 1 A Ln# Typ (new) New_Ln_Typ

21* 10 N Open/Suggested Order Qty (old)

Old_Qty

22 10 N Open/Suggested Order Qty (new)

New_Qty

23* 6 D Prom Dock (old) Old_Dock

24 6 D Prom Dock (new) Prom_Dock

25 21 A Contract Contract

26 6 D Need Dock (new) Need_Dock

27 1 A (order number from mask) N/A

Data Import Macros and Data Dictionary 507

Page 508: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

POAN03Add Scheduled Delivery to Purchase Order

Archive Record Layout"POAN03","","","","","","Buyr","Msg Code (old)","","Item,MO,Partl Acct No","PO Number (old)","PO Number (new)","Ln# (old)","Ln# (new)","","Vendor Id (new)","Ln# Sta (old)","Ln# Sta (new)","Ln# Typ (old)","Ln# Typ (new)",Open/Suggested Order Qty (old),Open/Suggested Order Qty (new),"Prom Dock (old)","Prom Dock (new)","Contract","Need Dock"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Buyr Buyr

8* 3 A Msg Code (old) Old_Msg

10* 30 A Item,MO,Partl Acct No Itm_GLMOCO

11* 30 A PO Number (old) Old_PO_No

13* 3 A Ln# (old) Old_Ln

17* 1 A Ln# Sta (old) Old_Ln_Sta

19* 1 A Ln# Typ (old) Old_Ln_Typ

21* 10 N Open/Suggested Order Qty (old)

Old_Qty

23* 6 D Prom Dock (old) Old_Dock

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Buyr Buyr

8* 3 A Msg Code (old) Old_Msg

10* 30 A Item,MO,Partl Acct No Itm_GLMOCO

11* 30 A PO Number (old) Old_PO_No

12 30 A PO Number (new) New_PO_No

13* 3 A Ln# (old) Old_Ln

14* 3 A Ln# (new) Ln_No

16 13 A Vendor Id (new) New_Vendor

17* 1 A Ln# Sta (old) Old_Ln_Sta

18 1 A Ln# Sta (new) New_Ln_Sta

19* 1 A Ln# Typ (old) Old_Ln_Typ

20 1 A Ln# Typ (new) New_Ln_Typ

Data Import Macros and Data Dictionary 508

Page 509: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POAS – Buyer Action by Vendor IdSee POAN for buyer action message transactions.

POCF – Purchasing Configuration

POCF Transactions

21* 10 N Open/Suggested Order Qty (old)

Old_Qty

22 10 N Open/Suggested Order Qty (new)

New_Qty

23* 6 D Prom Dock (old) Old_Dock

24 6 D Prom Dock (new) Prom_Dock

25 21 A Contract Contract

26 6 D Need Dock (new) Need_Dock

Macro Id DescriptionMacro File

Name

POCF01 Change Purchasing Configuration PURM1

Data Import Macros and Data Dictionary 509

Page 510: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCF01Change Purchasing Configuration

Archive Record Layout"POCF01","","","","","","Unvouchered A/P Account","Print Company Name and Address On Ext Documents","Print Extended Text on Ext Documents","Print Standard Text on Ext Documents","Print Sub-Contract Components","On-Time Delivery Days Early","On-Time Delivery Days Late","Receipt Variance Allowed Under","Receipt Variance Allowed Over","Contract Review Message Days","Contract Review Message Value/Quantity Tolerance","Autoclose Purchase Orders","Purchase Orders Autoclose Tolerance","Inspection Required","Allow Cascading Receipts","Blanket Order Firm Fence","Issue Enforcement for S-Type PO Receipts","Obsolete Item Enforcement for Po Receipts","Po Standard Cost Enforcement for No Standard Cost Exists","Po Standard Cost Enforcement for Standard Cost Equals Zero","Po Receipts Standard Cost Enforcement for No Standard Cost Exists","Po Receipts Standard Cost Enforcement for Standard Cost Equals Zero","Over Receipt Enforcement for PO","PO Over Receipt Tolerance"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 20 A Unvouchered A/P Account N/A

8 1 A Print Company Name and Address On Ext Documents

N/A

9 1 A Print Extended Text on Ext Documents N/A

10 1 A Print Standard Text on Ext Documents N/A

11 1 A Print Sub-Contract Components N/A

12 3 N On-Time Delivery Days Early N/A

13 3 N On-Time Delivery Days Late N/A

14 5 N Receipt Variance Allowed Under N/A

15 5 N Receipt Variance Allowed Over N/A

16 3 N Contract Review Message Days N/A

17 5 N Contract Review Message Value/Quantity Tol-erance

N/A

18 1 A Autoclose Purchase Orders N/A

19 5 N Purchase Orders Autoclose Tolerance N/A

20 1 A Inspection Required Insp_Reqd

21 1 A Allow Cascading Receipts N/A

22 1 A Blanket Order Firm Fence N/A

23 1 A Issue Enforcement for S-Type PO Receipts N/A

24 1 A Obsolete Item Enforcement for Po Receipts N/A

25 1 A Po Standard Cost Enforcement for No Stan-dard Cost Exists

N/A

Data Import Macros and Data Dictionary 510

Page 511: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT – Purchase Order Contract/Price QuoteThe POCT transactions use the following screens and windows:

• POCT (Purchase Order Contract/Price Quote)

• Contract Header Detail

• Contract Header Detail

• Extended Text

POCT Transactions

Purchase Order Contract/Price Quote Transactions

Contract Item Detail/Pricing Transactions

26 1 A Po Standard Cost Enforcement for Standard Cost Equals Zero

N/A

27 1 A Po Receipts Standard Cost Enforcement for No Standard Cost Exists

N/A

28 1 A Po Receipts Standard Cost Enforcement for Standard Cost Equals Zero

N/A

29* 1 A Over Receipt Enforcement for PO N/A

30 5 A PO Over Receipt Tolerance N/A

Macro Id DescriptionMacro File

Name

POCT01 Add Contract/Price Quote PURM2

POCT02 Change Contract/Price Quote PURM2

POCT03 Delete Contract/Price Quote PURM2

POCT17 Add New Text—Contract Header PURM2

POCT19 Delete Text—Contract Header PURM2

Macro Id DescriptionMacro File

Name

POCT04 Add Contract Item PURM2

POCT05 Change Contract Item PURM2

POCT06 Delete Contract Item PURM2

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 511

Page 512: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Extended Text Transactions

POCT01Add Contract/Price Quote

Archive Record Layout"POCT01","","","","","","","Vendor Id","Contract","Desc","Ctrt Status","Start Date","End Date","Buyr","Rev",Minimum Qty,Maximum Qty,"UM",On-time Delivery Days Early,On-time Delivery Days Late,Receipt Variance Under,Receipt Variance Over,"Specified Items Only","Contact","Phone","Fax #",Cash #1 %,Cash#1 Days,Cash #2 %,Cash #2 Days,Net Days,Minimum Value,Maximum Value,"Text No","Ctrl Curr","Ex Rate","Terms",Day,Cutoff,Delay,"Ex Rate (for triangulation)"

Required Transaction Fields

POCT07 Change Contract Item Detail PURM2

POCT08 Add Contract Item Pricing PURM2

POCT09 Change Contract Item Pricing PURM2

POCT10 Delete Contract Item Pricing PURM2

POCT18 Add New Text—Contract Item PURM2

POCT20 Delete Text—Contract Item PURM2

Macro Id DescriptionMacro File

Name

POCT11 Add Extended Text—Contract PURM2

POCT12 Change Extended Text—Contract PURM2

POCT13 Delete Extended Text—Contract PURM2

POCT14 Add Extended Text—Contract Item PURM2

POCT15 Change Extended Text—Contract Item PURM2

POCT16 Delete Extended Text—Contract Item PURM2

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10 35 A Desc Ctrt_Desc

11 1 A Ctrt Status Ct_Status

12 6 D Start Date Ct_Strt_Dt

13 6 D Expir Date Ct_Expr_Dt

Data Import Macros and Data Dictionary 512

Page 513: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT02Change Contract/Price Quote

Archive Record Layout"POCT02","","","","","","","Vendor Id","Contract","Desc","Ctrt Status","Start Date","End Date","Buyr","Rev",Minimum Qty,Maximum Qty,"UM",On-time Delivery Days Early,On-time Delivery Days Late,Receipt Variance Under,Receipt Variance Over,"Specified Items

14 3 A Buyr Buyr

15 2 A Rev Ctrt_Rev

16 10 N Minimum Qty Ct_Min_Qty

17 10 N Maximum Qty Ct_Max_Qty

18 4 A UM UM

19 3 N On-time Delivery Days Early Ct_Day_Erl

20 3 N On-time Delivery Days Late Ct_Day_Lat

21 5 N Receipt Variance Allowed Under

Ct_Und_Var

22 5 N Receipt Variance Allowed Over

Ct_Ovr_Var

23 1 A Specified Items Only Ct_Itm_Sp

24 40 A Contact Contact

25 20 A Phone Phone

26 20 A FAX # FAX_Number

27 5 N Cash #1 % Disc_Pcnt1

28 3 N Cash #1 Days Disc_Days1

29 5 N Cash #2 % Disc_Pcnt2

30 3 N Cash #2 Days Disc_Days2

31 3 N Net Days Net_Days

32 10 N Minimum Contract Value Ct_Min_Val

33 10 N Maximum Contract Value Ct_Max_Val

34 6 A Text No Text_No

35 1 A Ctrl Curr Ctrl_Curr

36 11 A Ex Rate Ex_Rate1

37 1 A Terms Std_Terms

38 2 N Day Mon_PayWen

39 2 N Cutoff Mon_Cutoff

40 2 N Delay Mon_Delay

41 11 A Ex Rate (for triangulation) Ex_Rate2

Data Import Macros and Data Dictionary 513

Page 514: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Only","Contact","Phone","Fax #",Cash #1 %,Cash#1 Days,Cash #2 %,Cash #2 Days,Net Days,Minimum Value,Maximum Value,"Text No","Ctrl Curr","Ex Rate","Terms",Day,Cutoff,Delay

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10 35 A Desc Ctrt_Desc

11 1 A Ctrt Status Ct_Status

12 6 D Start Date Ct_Strt_Dt

13 6 D Expir Date Ct_Expr_Dt

14 3 A Buyr Buyr

15 2 A Rev Ctrt_Rev

16 10 N Minimum Qty Ct_Min_Qty

17 10 N Maximum Qty Ct_Max_Qty

18 4 A UM UM

19 3 N On-time Delivery Days Early Ct_Day_Erl

20 3 N On-time Delivery Days Late Ct_Day_Lat

21 5 N Receipt Variance Allowed Under

Ct_Und_Var

22 5 N Receipt Variance Allowed Over

Ct_Ovr_Var

23 1 A Specified Items Only Ct_Itm_Sp

24 40 A Contact Contact

25 20 A Phone Phone

26 20 A FAX # FAX_Number

27 5 N Cash #1 % Disc_Pcnt1

28 3 N Cash #1 Days Disc_Days1

29 5 N Cash #2 % Disc_Pcnt2

30 3 N Cash #2 Days Disc_Days2

31 3 N Net Days Net_Days

32 10 N Minimum Contract Value Ct_Min_Val

33 10 N Maximum Contract Value Ct_Max_Val

34 6 A Text No Text_No

35 1 A Ctrl Curr Ctrl_Curr

36 11 A Ex Rate Ex_Rate

Data Import Macros and Data Dictionary 514

Page 515: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT03Delete Contract/Price Quote

Archive Record Layout"POCT03","","","","","","","Vendor Id","Contract","","","","","","",,,"",,,,,"","","","",,,,,,,,"","","","",,,

Required Transaction Fields

POCT04Add Contract Item

Archive Record Layout"POCT04","","","","","","","Vendor Id","Contract","Item","Start Date","Expir Date",Minimum Contract Value,Maximum Contract Value,Minimum Quantity,Maximum Quantity,"Ctrl Curr","Ex Rate"

Required Transaction Fields

37 1 A Terms Std_Terms

38 2 N Day Mon_PayWen

39 2 N Cutoff Mon_Cutoff

40 2 N Delay Mon_Delay

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10 30 A Item Item

11 6 D Start Date CI_Strt_Dt

12 6 D Expir Date CI_Expr_Dt

13 10 N Minimum Contract Value CI_Min_Val

14 10 N Maximum Contract Value CI_Max_Val

15 10 N Minimum Quantity CI_Min_Qty

16 10 N Maximum Quantity CI_Max_Qty

17 1 A Ctrl Curr Ctrl_Curr

18 11 A Ex Rate Ex_Rate

Data Import Macros and Data Dictionary 515

Page 516: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT05Change Contract Item

Archive Record Layout"POCT05","","","","","","","Vendor Id","Contract","Item","Start Date","Expir Date",Minimum Contract Value,Maximum Contract Value,Minimum Quantity,Maximum Quantity,"Ctrl Curr","Ex Rate"

Required Transaction Fields

POCT06Delete Contract Item

Archive Record Layout"POCT06","","","","","","","Vendor Id","Contract","Item","","",,,,,"",""

Required Transaction Fields

POCT07Change Contract Item Detail

Archive Record Layout

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

11 6 D Start Date CI_Strt_Dt

12 6 D Expir Date CI_Expr_Dt

13 10 N Minimum Contract Value CI_Min_Val

14 10 N Maximum Contract Value CI_Max_Val

15 10 N Minimum Quantity CI_Min_Qty

16 10 N Maximum Quantity CI_Max_Qty

17 1 A Ctrl Curr Ctrl_Curr

18 11 A Ex Rate Ex_Rate

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

Data Import Macros and Data Dictionary 516

Page 517: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"POCT07","","","","","","","Vendor Id","Contract","Item",Dflt Price,On-time Delivery Days Early,On-time Delivery Days Late,Receipt Variance Allowed Under,Receipt Variance Allowed Over,"Text No","Ctrl Curr","Ex Rate"

Required Transaction Fields

POCT08Add Contract Item Pricing

Archive Record Layout"POCT08","","","","","","","Vendor Id","Contract","Item","Seqn",Qty From,Qty Thru,"DM","Date From","Date Thru",Unit Price,"Ctrl Curr","Ex Rate"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

11 10 N Dflt Price CI_Dfl_Prc

12 3 N On-time Delivery Days Early Ct_Day_Erl

13 3 N On-time Delivery Days Late Ct_Day_Lat

14 5 N Receipt Variance Allowed Under

Ct_Und_Var

15 5 N Receipt Variance Allowed Over

Ct_Ovr_Var

16 6 A Text No Text_No

17 1 A Ctrl Curr Ctrl_Curr

18 11 A Ex Rate Ex_Rate

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

11 4 A Seqn CX_Seqn_No

12 10 N Qty From CX_Frm_Qty

13 10 N Qty Thru CX_to_Qty

14 1 A DM CI_Dt_Meth

15 6 D Date From CX_From_Dt

Data Import Macros and Data Dictionary 517

Page 518: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT09Change Contract Item Pricing

Archive Record Layout"POCT09","","","","","","","Vendor Id","Contract","Item","Seqn",Qty From,Qty Thru,"DM","Date From","Date Thru",Unit Price,"Ctrl Curr","Ex Rate"

Required Transaction Fields

POCT10Delete Contract Item Pricing

Archive Record Layout"POCT10","","","","","","","Vendor Id","Contract","Item","Seqn",,,"","","",,"",""

Required Transaction Fields

16 6 D Date Thru CX_to_Date

17 17 N Unit Price Unit_Price

18 1 A Ctrl Curr Ctrl_Curr

19 11 A Ex Rate Ex_Rate

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

11* 4 A Seqn CX_Seqn_No

12 10 N Qty From CX_Frm_Qty

13 10 N Qty Thru CX_to_Qty

14 1 A DM CI_Dt_Meth

15 6 D Date From CX_From_Dt

16 6 D Date Thru CX_to_Date

17 17 N Unit Price Unit_Price

18 1 A Ctrl Curr Ctrl_Curr

19 11 A Ex Rate Ex_Rate

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor Id

9* 21 A Contract Contract

Data Import Macros and Data Dictionary 518

Page 519: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT11Add Extended Text—Contract

Archive Record Layout"POCT11","","","","","","","(text entry type)","(page number)","","Contract","Vendor Id",”","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

POCT12Change Extended Text—Contract

10* 30 A Item Item

11* 4 A Seqn CX_Seqn_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 21 A Contract Contract

12* 13 A Vendor Id Vendor_Id

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Data Import Macros and Data Dictionary 519

Page 520: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"POCT12","","","","","","","(text entry type)","(page number)","","Contract","Vendor Id",”","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

POCT13Delete Extended Text—Contract

Archive Record Layout"POCT13","","","","","","","(text entry type)","(page number)","","Contract","Vendor Id","","Text Message"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 21 A Contract Contract

12* 13 A Vendor Id Vendor_Id

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 520

Page 521: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

POCT14Add Extended Text—Contract Item

Archive Record Layout"POCT14","","","","","","","(text entry type)","(page number)","","Contract","Vendor Id","Item","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 21 A Contract Contract

12* 13 A Vendor Id Vendor_Id

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 21 A Contract Contract

12* 13 A Vendor Id Vendor_Id

13* 30 A Item Item

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

Data Import Macros and Data Dictionary 521

Page 522: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

POCT15Change Extended Text—Contract Item

Archive Record Layout"POCT15","","","","","","","(text entry type)","(page number)","","Contract","Vendor Id","Item","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 21 A Contract Contract

12* 13 A Vendor Id Vendor_Id

13* 30 A Item Item

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Data Import Macros and Data Dictionary 522

Page 523: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Several codes are used when importing text with special characters.

POCT16Delete Extended Text—Contract Item

Archive Record Layout"POCT16","","","","","","","(text entry type)","(page number)","","Contract","Vendor Id","Item","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered.

(page number) identifies the page number associated with the text message.

POCT17Add New Text—Contract Header

Archive Record Layout"POCT17","","","","","","","Vendor Id","Contract","","(text line1)","(text line2)","(text line3)","(text line4)"

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 21 A Contract Contract

12* 13 A Vendor Id Vendor_Id

13* 30 A Item Item

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Data Import Macros and Data Dictionary 523

Page 524: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

POCT18Add New Text—Contract Item

Archive Record Layout"POCT18","","","","","","","Vendor Id","Contract","Item","","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

POCT19Delete Text—Contract Header

Archive Record Layout"POCT19","","","","","","","Vendor Id","Contract","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

11 60 A (text line1) Text_Line1

12 60 A (text line2) Text_Line2

13 60 A (text line3) Text_Line3

14 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

12 60 A (text line1) Text_Line1

13 60 A (text line2) Text_Line2

14 60 A (text line3) Text_Line3

15 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 524

Page 525: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POCT20Delete Text—Contract Item

Archive Record Layout"POCT20","","","","","","","Vendor Id","Contract","Item","","","","",""

Required Transaction Fields

POMI – Purchase Order InquiryThe POMI transactions are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not needed.

POMT – Purchase OrderThe POMT transactions use the following screens and windows:

• POMT (Purchase Order)

• Purchase Order Header Detail window

• Purchase Order Line Item Detail window

• Extended Text window

POMT Transactions

9* 21 A Contract Contract

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 13 A Vendor Id Vendor_Id

9* 21 A Contract Contract

10* 30 A Item Item

Macro Id DescriptionMacro File

Name

POMT04 Delete Purchase Order PURM3

POMT10 Add PO Line Item PURM3

POMT11 Add PO Blanket Order Scheduled Delivery PURM3

Add PO Multiple Delivery Schedule

POMT12 Change PO Line Item PURM3

POMT13 Delete Buyer Action Message—PPO (Print Purchase Order) PURM3

POMT15 Delete PO Line Item PURM3

Data Import Macros and Data Dictionary 525

Page 526: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Purchase Order Header Detail Transactions

Purchase Order Line Item Detail Transactions

Delete PO Blanket Order Scheduled Delivery

Delete PO Multiple Delivery Schedule

POMT16 Delete PO Blanket Order Summary Line PURM3

Delete PO Multiple Delivery Summary Line

Macro Id DescriptionMacro File

Name

POMT00 Add PO Header PURM3

POMT01 Attach Existing Text—PO Header Without Line Items PURM3

Change PO Header—No Line Items Exist

POMT02 Attach Existing Text—PO Header With Line Items PURM3

Change PO Header—Line Items Exist

POMT03 Delete Text—PO Header PURM3

POMT05 Add New Text—PO Header PURM3

Macro Id DescriptionMacro File

Name

POMT20 Attach Existing Text—PO Blanket Order Summary Line; Ln# Typ = P or S; Ln# Sta = 3 or 4

PURM3

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = P; Ln# Sta = 3

Attach Existing Text—PO Single Delivery Line; Ln# Typ = P or S; Ln# Sta = 2

Change PO Blanket Order Summary Line Detail; Ln# Typ = P or S; Ln# Sta = 3 or 4

Change PO Multiple Delivery Order Summary Line Detail; Ln# Typ = P; Ln# Sta = 3

Change PO Single Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 2

POMT21 Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = P or S; Ln# Sta = 3

PURM3

Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = P; Ln# Sta = 3 or 4

Attach Existing Text—PO Single Delivery Line; Ln# Typ = P or S; Ln# Sta = 3

Data Import Macros and Data Dictionary 526

Page 527: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 3

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = P; Ln# Sta = 3 or 4

Change PO Single Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 3

POMT22 Attach Existing Text—PO Single Delivery Line; Ln# Typ = P or S; Ln# Sta = 4

PURM3

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = P or S; Ln# Sta = 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 4

Change PO Single Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 4

POMT23 Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = P; Ln# Sta = 4

PURM3

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = P; Ln# Sta = 4

POMT31 Attach Existing Text—PO Blanket Order Summary Line; Ln# Typ = M; Ln# Sta = 3 or 4

PURM3

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Blanket Order Summary Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

POMT32 Attach Existing Text—PO Single Delivery Line; Ln# Typ = M; Ln# Sta = 3 or 4

PURM3

Change PO Single Delivery Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

POMT33 Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = M; Ln# Sta = 3 or 4

PURM3

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

POMT41 Attach Existing Text—PO Blanket Order Summary Line; Ln# Typ = G; Ln# Sta = 3 or 4

PURM3

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Blanket Order Summary Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

Data Import Macros and Data Dictionary 527

Page 528: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

POMT42 Attach Existing Text—PO Single Delivery Line; Ln# Typ = G; Ln# Sta = 3 or 4

PURM3

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Single Delivery Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

POMT43 Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = G; Ln# Sta = 3 or 4

PURM3

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

POMT50 Attach Existing Text—PO Blanket Summary Line; Ln# Typ = B or U; Ln# Sta = 2 or 3

PURM3

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = B or U; Ln# Sta = 2 or 3

Attach Existing Text—PO Single Delivery Line; Ln# Typ = B or U; Ln# Sta = 2 or 3

Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = B or U; Ln# Sta = 3 or 4

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = B or U; Ln# Sta = 3 or 4

Change PO Blanket Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 2 or 3

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 2 or 3

Change PO Single Delivery Line Detail; Ln# Typ = B or U; Ln# Sta = 2 or 3

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = B or U; Ln# Sta = 3 or 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = B or U; Ln# Sta = 3 or 4

POMT51 Attach Existing Text—PO Blanket Summary Line; Ln# Typ = B or U; Ln# Sta = 4

PURM3

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = B or U; Ln# Sta = 4

Attach Existing Text—PO Single Delivery Line; Ln# Typ = B or U; Ln# Sta = 4

Change PO Blanket Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 4

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 4

Data Import Macros and Data Dictionary 528

Page 529: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Extended Text Transactions

POMT00Add PO Header

Archive Record Layout"POMT00","","","","","","","PO Number","Buyr","","Vendor Id","Ship to","Addr","(addr2)","City","St","Zip","C",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Transport Via","FOB Point","Text No","Blanket Order","Contact","Phone","Original PO Date","PO Rev","Contract","Print PO","Ctrl Curr","Terms",Day,Cutoff,Delay,"(order number from mask)","PO Ref"

Required Transaction Fields

Change PO Single Delivery Line Detail; Ln# Typ = B or U; Ln# Sta = 4

POMT61 Attach Existing Text—PO Line; Ln# Typ = V; Ln# Sta = 3 or 4 PURM3

Change PO Line Detail; Ln# Typ = V; Ln# Sta = 3 or 4

POMT62 Attach Existing Text—PO Line; Ln# Typ = W; Ln# Sta = 3 or 4 PURM3

Change PO Line Detail; Ln# Typ = W; Ln# Sta = 3 or 4

POMT66 Add New Text—PO Line Detail PURM3

Delete Text—PO Line Detail

Macro Id DescriptionMacro File

Name

POMT70 Add Extended Text—Purchase Order Header PURM3

POMT71 Change Extended Text—Purchase Order Header PURM3

POMT72 Delete Extended Text—Purchase Order Header PURM3

POMT73 Add Extended Text—Purchase Order Line Item PURM3

POMT74 Change Extended Text—Purchase Order Line Item PURM3

POMT75 Delete Extended Text—Purchase Order Line Item PURM3

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9 3 A Buyr Buyr

11 13 A Vendor Id Vendor_Id

12 30 A Ship to Ship_to_Nm

13 60 A Addr Vend_Addr1

14 60 A (addr2) Vend_Addr2

Data Import Macros and Data Dictionary 529

Page 530: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POMT01Attach Existing Text—PO Header Without Line Items

Change PO Header—No Line Items Exist

Archive Record Layout"POMT01","","","","","","","PO Number","Buyr","","Vendor Id","Ship to","Addr","(addr2)","City","St","Zip","C",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Transport Via","FOB Point","Text No","Blanket Order","Contact","Phone","Original PO Date","PO Rev","Contract","Print PO","Ctrl Curr","Terms",Day,Cutoff,Delay,"","PO Ref"

15 15 A City Vend_City

16 10 A St Vend_State

17 12 A Zip Vend_Zip

18 15 A C Vend_Cntry

19 5 N Cash #1% Disc_Pcnt1

20 3 N Cash #1 Days Disc_Days1

21 5 N Cash #2% Disc_Pcnt2

22 3 N Cash #2 Days Disc_Days2

23 3 N Net Days Net_Days

24 20 A Transport Via Trans_Via

25 20 A FOB Point FOB_Point

26 6 A Text No Text_No

27 1 A Blanket Order Blkt_Flag

28 40 A Contact Contact

29 20 A Phone Phone

30 6 D Original PO Date Org_PO_Dt

31 2 A PO Rev Ord_Rev

32 21 A Contract Contract

33 1 A Print PO Print_PO

34 1 A Ctrl Curr Ctrl_Curr

35* 1 A Terms Std_Terms

36 2 N Day Mon_PayWen

37 2 N Cutoff Mon_Cutoff

38 2 N Delay Mon_Delay

39 1 A (order number from mask) N/A - Archive only, not to be included in the Data Import Dictionary

40 30 A PO Ref Po_Ref

Data Import Macros and Data Dictionary 530

Page 531: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9 3 A Buyr Buyr

11 13 A Vendor Id Vendor_Id

12 30 A Ship to Ship_to_Nm

13 60 A Addr Vend_Addr1

14 60 A (addr2) Vend_Addr2

15 15 A City Vend_City

16 10 A St Vend_State

17 12 A Zip Vend_Zip

18 15 A C Vend_Cntry

19 5 N Cash #1% Disc_Pcnt1

20 3 N Cash #1 Days Disc_Days1

21 5 N Cash #2% Disc_Pcnt2

22 3 N Cash #2 Days Disc_Days2

23 3 N Net Days Net_Days

24 20 A Transport Via Trans_Via

25 20 A FOB Point FOB_Point

26 6 A Text No Text_No

27 1 A Blanket Order Blkt_Flag

28 40 A Contact Contact

29 20 A Phone Phone

30 6 D Original PO Date Org_PO_Dt

31 2 A PO Rev Ord_Rev

32 21 A Contract Contract

33 1 A Print PO Print_PO

34 1 A Ctrl Curr Ctrl_Curr

35* 1 A Terms Std_Terms

36 2 N Day Mon_PayWen

37 2 N Cutoff Mon_Cutoff

38 2 N Delay Mon_Delay

40 30 A PO Ref Po_Ref

Data Import Macros and Data Dictionary 531

Page 532: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POMT02Attach Existing Text—PO Header With Line Items

Change PO Header—Line Items Exist

Archive Record Layout"POMT02","","","","","","","PO Number","Buyr","","Vendor Id","Ship to","Addr","(addr2)","City","St","Zip","C",Cash #1%,Cash #1 Days,Cash #2%,Cash #2 Days,Net Days,"Transport Via","FOB Point","Text No","Blanket Order","Contact","Phone","Original PO Date","PO Rev","Contract","Print PO","Ctrl Curr","Terms",Day,Cutoff,Delay,"","PO Ref"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9 3 A Buyr Buyr

11 13 A Vendor Id Vendor_Id

12 30 A Ship to Ship_to_Nm

13 60 A Addr Vend_Addr1

14 60 A (addr2) Vend_Addr2

15 15 A City Vend_City

16 10 A St Vend_State

17 12 A Zip Vend_Zip

18 15 A C Vend_Cntry

19 5 N Cash #1% Disc_Pcnt1

20 3 N Cash #1 Days Disc_Days1

21 5 N Cash #2% Disc_Pcnt2

22 3 N Cash #2 Days Disc_Days2

23 3 N Net Days Net_Days

24 20 A Transport Via Trans_Via

25 20 A FOB Point FOB_Point

26 6 A Text No Text_No

27 1 A Blanket Order Blkt_Flag

28 40 A Contact Contact

29 20 A Phone Phone

30 6 D Original PO Date Org_PO_Dt

31 1 A PO Rev Ord_Rev

32 21 A Contract Contract

33 1 A Print PO Print_PO

Data Import Macros and Data Dictionary 532

Page 533: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POMT03Delete Text—PO Header

Archive Record Layout"POMT03","","","","","","","PO Number","","","","","","","","","","",,"",,"","","","","","","","","","","","","","",,,

Required Transaction Fields

POMT04Delete Purchase Order

Archive Record Layout"POMT04","","","","","","","PO Number","","","","","","","","","","",,"",,"","","","","","","","","","","","","","","",,,

Required Transaction Fields

POMT05Add New Text—PO Header

Archive Record Layout"POMT05","","","","","","","PO Number","","","","","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

34 1 A Ctrl Curr Ctrl_Curr

35* 1 A Terms Std_Terms

36 2 N Day Mon_PayWen

37 2 N Cutoff Mon_Cutoff

38 2 N Delay Mon_Delay

40 30 A PO Ref Po_Ref

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 533

Page 534: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POMT10Add PO Line Item

Archive Record Layout"POMT10","","","","","","","PO Number","",Order Qty,"UM","Ln# Sta","","Ln# Typ","Item,Acct No,MO,CO","Start Date","Prom Dock/End Date",Unit Price,,"","","","Blanket Order","Lt","Ex Rate","",""

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

8* 30 A PO Number PO_Number

13 60 A (text line1) Text_Line1

14 60 A (text line2) Text_Line2

15 60 A (text line3) Text_Line3

16 0 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

10 10 N Order Qty Order_Qty

11 4 A UM UM

12 1 A Ln# Sta Ln_Sta

14 1 A Ln# Typ Ln_Typ

15 30 A Item,Acct No,MO,CO Itm_GLMOCO

16 6 D Start Date Need_Dock

17 6 D Prom Dock Prom_Dock

18 16 N Unit Price Unit_Price

23 1 A Blanket Order Blkt_Flag

24* 1 A Lt LineType

25 11 A Ex Rate Ex_Rate

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

Data Import Macros and Data Dictionary 534

Page 535: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Note: Field# 25 is used only when Ctrl Curr = R for the purchase order.

POMT11Add PO Blanket Order Scheduled Delivery

Add PO Multiple Delivery Schedule

Archive Record Layout"POMT11","","","","","","","PO Number","Ln#",Order Qty,"","Ln# Sta","","","Item,Acct No,MO,CO","Start Date","Prom Dock/End Date",Unit Price,,"","Prom Dock (old)/End Date (old)","","","Lt","","",""

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

POMT12

S blanket order; scheduled delivery line

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

10 10 N Order Qty Order_Qty

12 1 A Ln# Sta Ln_Sta

15* 30 A Item,Acct No,MO,CO Itm_GLMOCO

16 6 D Start Date Need_Dock

17 6 D Prom Dock/End Date Prom_Dock

18 16 N Unit Price Unit_Price

21* 6 D Prom Dock (old)/ End Date (old)

Prom_Dock

24* 1 A Lt LineType

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 535

Page 536: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Change PO Line Item

Archive Record Layout"POMT12","","","","","","","PO Number","Ln#",Order Qty,"","Ln# Sta","","","Item,Acct No,MO,CO","Start Date","Prom Dock/End Date","Unit Price","","Prom Dock (old)/End Date (old)","","","Lt",""

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

POMT13Delete Buyer Action Message—PPO (Print Purchase Order)The POMT13 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"POMT13","","","","","","","PO Number","","(action indicator)",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

10 10 N Order Qty Order_Qty

12 1 A Ln# Sta Ln_Sta

15* 30 A Item,Acct No,MO,CO Itm_GLMOCO

16 6 D Start Date Need_Dock

17 6 D Prom Dock/End Date Prom_Dock

18 16 N Unit Price Unit_Price

21* 6 D Prom Dock (old)/End Date (old)

Prom_Dock

24* 1 A Lt LineType

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 536

Page 537: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

Note: (action indicator) identifies the option selected when the report was generated. The only action currently available is (action indicator) = O (purchase order printed).

POMT15Delete PO Line Item

Delete PO Blanket Order Scheduled Delivery

Delete PO Multiple Delivery Schedule

Archive Record Layout"POMT15","","","","","","","PO Number","Ln#",,"","","","","Item,Acct No,MO,CO","","",,,"","Prom Dock (old)/End Date (old)","","","Lt","","",""

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

10* 1 A (action indicator) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

15* 30 A Item,Acct No,MO,CO Itm_GLMOCO

21* 6 D Prom Dock (old)/ End Date (old)

Prom_Dock

24* 1 A Lt LineType

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 537

Page 538: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POMT16Delete PO Blanket Order Summary Line

Delete PO Multiple Delivery Summary Line

Archive Record Layout"POMT16","","","","","","","PO Number","Ln#",,"","","","","Item,Acct No,MO,CO","","",,,"","Prom Dock (old)/End Date (old)","","","Lt","","",""

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

POMT20Attach Existing Text—PO Blanket Order Summary Line; Ln# Typ = P or S; Ln# Sta = 3 or 4

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = P; Ln# Sta = 3

Attach Existing Text—PO Single Delivery Line; Ln# Typ = P or S; Ln# Sta = 2

Change PO Blanket Order Summary Line Detail; Ln# Typ = P or S; Ln# Sta = 3 or 4

Change PO Multiple Delivery Order Summary Line Detail; Ln# Typ = P; Ln# Sta = 3

Change PO Single Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 2

Archive Record Layout

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

15* 30 A Item,Acct No,MO,CO Itm_GLMOCO

21* 6 D Prom Dock (old)/End Date (old)

Prom_Dock

24* 1 A Lt LineType

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 538

Page 539: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"POMT20","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO",Reference Vendor Conv,Reference Vendor Order Qty,"Reference Vendor UM",Reference Vendor Unit Price,"Reference Vendor Item","Reference Vendor Description","Start Date","","Text No","","","Prom Dock/End Date","Item Rev","Tx",,,"Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 8 N Reference Vendor Conv VI_UM_Cnvt

13 10 N Reference Vendor Order Qty N/A

14 4 A Reference Vendor UM VI_UM

15 16 N Reference Vendor Unit Price CI_Dfl_Prc

16 30 A Reference Vendor Item Vend_Item

17 70 A Reference Vendor Descrip-tion

VI_Desc

18 6 D Start Date Start_Date

20 6 A Text No Text_No

23* 6 D Prom Dock/End Date Prom_Dock

24 2 A Item Rev Item_Rev

25 1 A Tx N/A

28* 1 A Lt LineType

29 11 A Ex Rate Ex_Rate

30* 1 A Ctrl Curr Ctrl_Curr

31 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 539

Page 540: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Field 31, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT21Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = P or S; Ln# Sta = 3

Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = P; Ln# Sta = 3 or 4

Attach Existing Text—PO Single Delivery Line; Ln# Typ = P or S; Ln# Sta = 3

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 3

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = P; Ln# Sta = 3 or 4

Change PO Single Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 3

Archive Record Layout"POMT21","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","Reference Vendor Conv","Reference Vendor Order Qty","Reference Vendor UM","Reference Vendor Unit Price","Reference Vendor Item","Reference Vendor Description","Start Date","Original Prom","Text No","","","Prom Dock/End Date","Item Rev","Tx","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 8 N Reference Vendor Conv VI_UM_Cnvt

13 10 N Reference Vendor Order Qty N/A

14 4 A Reference Vendor UM VI_UM

15 16 N Reference Vendor Unit Price CI_Dfl_Prc

16 30 A Reference Vendor Item Vend_Item

17 70 A Reference Vendor Descrip-tion

VI_Desc

Data Import Macros and Data Dictionary 540

Page 541: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 31, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT22Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = P or S; Ln# Sta = 4

Attach Existing Text—PO Single Delivery Line; Ln# Typ = P or S; Ln# Sta = 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 4

Change PO Single Delivery Line Detail; Ln# Typ = P or S; Ln# Sta = 4

18 6 D Start Date Start_Date

19 6 D Original Prom Org_Prom

20 6 A Text No Text_No

23* 6 D Prom Dock/End Date Prom_Dock

24 2 A Item Rev Item_Rev

25 1 A Tx N/A

28* 1 A Lt LineType

29 11 A Ex Rate Ex_Rate

30* 1 A Ctrl Curr Ctrl_Curr

31 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 541

Page 542: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"POMT22","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO",Reference Vendor Conv,Reference Vendor Order Qty,"Reference Vendor UM",Reference Vendor Unit Price,"Reference Vendor Item","Reference Vendor Description","Start Date","Original Prom","Text No","","","Prom Dock/End Date","Item Rev","Tx",Insp Qty,"On Hold","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 8 N Reference Vendor Conv VI_UM_Cnvt

13 10 N Reference Vendor Order Qty N/A

14 4 A Reference Vendor UM VI_UM

15 16 N Reference Vendor Unit Price CI_Dfl_Prc

16 30 A Reference Vendor Item Vend_Item

17 70 A Reference Vendor Descrip-tion

VI_Desc

18 6 D Start Date Start_Date

19 6 D Original Prom Org_Prom

20 6 A Text No Text_No

23* 6 D Prom Dock/End Date Prom_Dock

24 2 A Item Rev Item_Rev

25 1 A Tx N/A

26 10 N Insp Qty Insp_Qty

27 10 N On Hold Hold_Qty

28* 1 A Lt LineType

29 11 A Ex Rate Ex_Rate

30* 1 A Ctrl Curr Ctrl_Curr

31 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

Data Import Macros and Data Dictionary 542

Page 543: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Field 31, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT23Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = P; Ln# Sta = 4

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = P; Ln# Sta = 4

Archive Record Layout"POMT23","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","Reference Vendor Conv","Reference Vendor Order Qty","Reference Vendor UM","Reference Vendor Unit Price","Reference Vendor Item","Reference Vendor Description","Start Date","","Text No","","","Prom Dock/End Date","Item Rev","Tx","Insp Qty","On Hold","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 8 N Reference Vendor Conv VI_UM_Cnvt

13 10 N Reference Vendor Order Qty N/A

14 4 A Reference Vendor UM VI_UM

15 16 N Reference Vendor Unit Price CI_Dfl_Prc

16 30 A Reference Vendor Item Vend_Item

17 70 A Reference Vendor Descrip-tion

VI_Desc

18 6 D Start Date Start_Date

Data Import Macros and Data Dictionary 543

Page 544: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 31, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT31Attach Existing Text—PO Blanket Order Summary Line; Ln# Typ = M; Ln# Sta = 3 or 4

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Blanket Order Summary Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

20 6 A Text No Text_No

23* 6 D Prom Dock/End Date Prom_Dock

24 2 A Item Rev Item_Rev

25 1 A Tx N/A

26 10 N Insp Qty Insp_Qty

27 10 N On Hold Hold_Qty

28* 1 A Lt LineType

29 11 A Ex Rate Ex_Rate

30* 1 A Ctrl Curr Ctrl_Curr

31 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 544

Page 545: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

Archive Record Layout"POMT31","","","","","","","PO Number","Ln#","Item,Acct No,MO,CO","","MO-Ln#","Seq","","","","Text No"," ","","Prom Dock/End Date","Item Rev","Tx","Delivery Loc","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 27, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 3 A MO-Ln# MO_Ln_No

13 3 A Seq Seq

17 6 A Text No Text_No

20* 6 D Prom Dock/End Date Prom_Dock

21 2 A Item Rev Item_Rev

22 1 A Tx N/A

23 25 A Delivery Loc Deliv_to

24* 1 A Lt LineType

25 11 A Ex Rate Ex_Rate

26* 1 A Ctrl Curr Ctrl_Curr

27 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 545

Page 546: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT32Attach Existing Text—PO Single Delivery Line; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Single Delivery Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

Archive Record Layout"POMT32","","","","","","","PO Number","Ln#","Item,Acct No,MO,CO","","MO-Ln#","Seq","","","Original Prom","Text No"," ","","Prom Dock","Item Rev","Tx","Delivery Loc","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 3 A MO-Ln# MO_Ln_No

13 3 A Seq Seq

16 6 D Original Prom Org_Prom

17 6 A Text No Text_No

20* 6 D Prom Dock Prom_Dock

21 2 A Item Rev Item_Rev

22 1 A Tx N/A

23 25 A Delivery Loc Deliv_Loc

24* 1 A Lt LineType

25 11 A Ex Rate Ex_Rate

26 1 A Ctrl Curr Ctrl_Curr

27 1 A (exhcange rate toggle flag) N/A

Data Import Macros and Data Dictionary 546

Page 547: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 27, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT33Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = M; Ln# Sta = 3 or 4

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = M; Ln# Sta = 3 or 4

Archive Record Layout"POMT33","","","","","","","PO Number","Ln#","Item,Acct No,MO,CO","","","","","","Original Prom","Text No"," ","","","Item Rev""Tx","Delivery Loc","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

Data Import Macros and Data Dictionary 547

Page 548: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 27, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT41Attach Existing Text—PO Blanket Order Summary Line; Ln# Typ = G; Ln# Sta = 3 or 4

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Blanket Order Summary Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

16 6 D Original Prom Org_Prom

17 6 A Text No Text_No

21 2 A Item Rev Item_Rev

22 1 A Tx N/A

23 25 A Delivery Loc Deliv_Loc

24* 1 A Lt LineType

25 11 A Ex Rate Ex_Rate

26* 1 A Ctrl Curr Ctrl_Curr

27 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 548

Page 549: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"POMT41","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","No. Identifier","Description","","Text No","","","Prom Dock/End Date","Item Rev","Tx","Delivery Loc","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 25, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 15 A No. Identifier No_Ident

13 30 A Description Desc

15 6 A Text No Text_No

18* 6 D Prom Dock/End Date Prom_Dock

19 2 A Item Rev Item_Rev

20 1 A Tx N/A

21 25 A Delivery Loc Deliv_Loc

22* 1 A Lt LineType

23 11 A Ex Rate Ex_Rate

24* 1 A Ctrl Curr Ctrl_Curr

25 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 549

Page 550: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT42Attach Existing Text—PO Single Delivery Line; Ln# Typ = G; Ln# Sta = 3 or 4

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Single Delivery Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

Archive Record Layout"POMT42","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","No. Identifier","Description","Original Prom","Text No","","","Prom Dock/End Date","Item Rev","Tx","Delivery Loc","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 15 A No. Identifier No_Ident

13 30 A Description Desc

14 6 D Original Prom Org_Prom

15 6 A Text No Text_No

18* 6 D Prom Dock/End Date Prom_Dock

19 2 A Item Rev Item_Rev

20 1 A Tx N/A

21 25 A Delivery Loc Deliv_to

22* 1 A Lt LineType

23 11 A Ex Rate Ex_Rate

24* 1 A Ctrl Curr Ctrl_Curr

25 1 A (exchange rate toggle flag) N/A

Data Import Macros and Data Dictionary 550

Page 551: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 25, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT43Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = G; Ln# Sta = 3 or 4

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = G; Ln# Sta = 3 or 4

Archive Record Layout"POMT43","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","","","Original Prom","Text No","","","Prom Dock/End Date","Item Rev","Tx","Delivery Loc","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

14 6 D Original Prom Org_Prom

15 6 A Text No Text_No

18* 6 D Prom Dock/End Date Prom_Dock

Data Import Macros and Data Dictionary 551

Page 552: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 23 is used only when Ctrl Curr = R.

Field 25, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT50Attach Existing Text—PO Blanket Summary Line; Ln# Typ = B or U; Ln# Sta = 3 or 4

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = B or U; Ln# Sta = 3

Attach Existing Text—PO Single Delivery Line; Ln# Typ = B or U; Ln# Sta = 3

Attach Existing Text—PO Multiple Delivery Schedule Line; Ln# Typ = B or U; Ln# Sta = 3 or 4

Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = B or U; Ln#

19 2 A Item Rev Item_Rev

20 1 A Tx N/A

21 25 A Delivery Loc Deliv_to

22* 1 A Lt LineType

23 11 A Ex Rate Ex_Rate

24* 1 A Ctrl Curr Ctrl_Curr

25 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 552

Page 553: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Sta = 3

Change PO Blanket Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 3 or 4

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 3

Change PO Single Delivery Line Detail; Ln# Typ = B or U; Ln# Sta = 3

Change PO Multiple Delivery Schedule Line Detail; Ln# Typ = B or U; Ln# Sta = 3 or 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = B or U; Ln# Sta = 3

Archive Record Layout"POMT50","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","","Text No","","","Prom Dock/End Date","Item Rev","Tx","","","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

13 6 A Text No Text_No

16* 6 D Prom Dock/End Date Prom_Dock

17 2 A Item Rev Item_Rev

18 1 A Tx N/A

21* 1 A Lt LineType

22 11 A Ex Rate Ex_Rate

23* 1 A Ctrl Curr Ctrl_Curr

24 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 553

Page 554: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Field 24, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT51Attach Existing Text—PO Blanket Scheduled Delivery Line; Ln# Typ = B or U; Ln# Sta = 4

Attach Existing Text—PO Multiple Delivery Summary Line; Ln# Typ = B or U; Ln# Sta = 4

Attach Existing Text—PO Single Delivery Line; Ln# Typ = B or U; Ln# Sta = 4

Change PO Blanket Scheduled Delivery Line Detail; Ln# Typ = B or U; Ln# Sta = 4

Change PO Multiple Delivery Summary Line Detail; Ln# Typ = B or U; Ln# Sta = 4

Change PO Single Delivery Line Detail; Ln# Typ = B or U;Ln# Sta = 4

Archive Record Layout"POMT51","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","","Text No","","","Prom Dock","Item Rev","Tx",Insp Qty,Hold Qty,"Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

13 6 A Text No Text_No

16* 6 D Prom Dock/End Date Prom_Dock

17 2 A Item Rev Item_Rev

18 1 A Tx N/A

19 10 N Insp Qty Insp_Qty

20 10 N Hold Qty Hold_Qty

21* 1 A Lt LineType

22 11 A Ex Rate Ex_Rate

23* 1 A Ctrl Curr Ctrl_Curr

Data Import Macros and Data Dictionary 554

Page 555: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 24, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT61Attach Existing Text—PO Line; Ln# Typ = V; Ln# Sta = 3 or 4

Change PO Line Detail; Ln# Typ = V; Ln# Sta = 3 or 4

Archive Record Layout"POMT61","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","Description","Stk","Bin","Pt Use","Original Prom","Text No","","","Prom Dock","Item Rev","Tx","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

24 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 35 A Description Desc

13 6 A Stk Stk

Data Import Macros and Data Dictionary 555

Page 556: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 26, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T" indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT62Attach Existing Text—PO Line; Ln# Typ = W; Ln# Sta = 3 or 4

Change PO Line Detail; Ln# Typ = W; Ln# Sta = 3 or 4

Archive Record Layout

14 12 A Bin Bin

15 5 A Pt Use Pt_Use

16 6 D Original Prom Org_Prom

17 6 A Text No Text_No

20* 6 D Prom Dock/End Date Prom_Dock

21 2 A Item Rev Item_Rev

22 1 A Tx N/A

23* 1 A Lt LineType

24 11 A Ex Rate Ex_Rate

25* 1 A Ctrl Curr Ctrl_Curr

26 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Data Import Macros and Data Dictionary 556

Page 557: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

"POMT62","","","","","","","PO Number","Ln#","","Item,Acct No,MO,CO","Description","Stk","Bin","","Original Prom Dock","Text No","","","Prom Dock","Item Rev","Tx","Lt","Ex Rate","Ctrl Curr","(exchange rate toggle flag)"

Required Transaction Fields

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

Field 26, (exchange rate toggle flag), is for EMU triangulation transactions that involve a member (fixed exchange rate) currency and a non-member (floating exchange rate) currency. The "T"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12 35 A Description Desc

13 6 A Stk Stk

14 12 A Bin Bin

16 6 D Original Prom Dock Org_Prom

17 6 A Text No Text_No

20* 6 D Prom Dock/End Date Prom_Dock

21 2 A Item Rev Item_Rev

22 1 A Tx N/A

23* 1 A Lt LineType

24 11 A Ex Rate Ex_Rate

25* 1 A Ctrl Curr Ctrl_Curr

26 1 A (exchange rate toggle flag) N/A

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Data Import Macros and Data Dictionary 557

Page 558: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

indicates the screen must toggle to the non-controlling exchange rate before the floating exchange rate can be changed.

POMT66Add New Text—PO Line Detail

Delete Text—PO Line Detail

Archive Record Layout"POMT66","","","","","(action code T/D)","","PO Number","Ln#","Ln# Typ","Item,Acct No,MO,CO","","","Prom Dock","","(text line1)","(text line2)","(text line3)","(text line4)","Lt","",""

Required Transaction Fields

(action code T/D) field is not displayed on the screen but is used during data import processing. The (action code T/D) values include:

Setting Description

T The exchange rate is a floating rate. The field is open for edit-ing and the screen toggles to the non-controlling currency.

"" No change has been made to the exchange rate and the screen toggle is not required.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action code T/D) N/A

8* 30 A PO Number PO_Number

9* 3 A Ln# Ln_No

10* 1 A Ln# Typ Ln_Typ

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

14* 6 D Prom Dock/End Date Prom_Dock

16 60 A (text line1) Text_Line1

17 60 A (text line2) Text_Line2

18 60 A (text line3) Text_Line3

19 60 A (text line4) Text_Line4

20* 1 A Lt LineType

Action Code Description

T Add text

D Delete text

Data Import Macros and Data Dictionary 558

Page 559: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The Lt field is used to identify the type of purchase order line item. The Lt field is hidden on the screen during normal processing but is displayed when the data import process is used. The Lt values include:

POMT70Add Extended Text—Purchase Order Header

Archive Record Layout"POMT70","","","","","","","(text entry type)","(page number)","PO Number","","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

Line Type Description

B blanket order; summary line

L single delivery line

M multiple delivery; summary line

R multiple delivery; scheduled delivery line

S blanket order; scheduled delivery line

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A PO Number PO_Number

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

Data Import Macros and Data Dictionary 559

Page 560: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POMT71Change Extended Text—Purchase Order Header

Archive Record Layout"POMT71","","","","","","","(text entry type)","(page number)","PO Number","","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

POMT72Delete Extended Text—Purchase Order Header

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A PO Number PO_Number

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Data Import Macros and Data Dictionary 560

Page 561: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Archive Record Layout"POMT72","","","","","","","(text entry type)","(page number)","PO Number","","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

POMT73Add Extended Text—Purchase Order Line Item

Archive Record Layout"POMT73","","","","","","","(text entry type)","(page number)","PO Number","Item,Acct No,MO,CO","Ln#","Prom Dock/End Date","Text Message"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A PO Number PO_Number

14 890 A Text Message Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 20 A PO Number PO_Number

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12* 3 A Ln# Ln_No

13* 6 D Prom Dock/End Date Prom_Dock

14 890 A Text Message Text

Data Import Macros and Data Dictionary 561

Page 562: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

POMT74Change Extended Text—Purchase Order Line Item

Archive Record Layout"POMT74","","","","","","","(text entry type)","(page number)","PO Number","Item,Acct No,MO,CO","Ln#","Prom Dock/End Date","Text Message"

Required Transaction Fields

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A PO Number PO_Number

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12* 3 A Ln# Ln_No

13* 6 D Prom Dock/End Date Prom_Dock

14 890 A Text Message Text

Data Import Macros and Data Dictionary 562

Page 563: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

POMT75Delete Extended Text—Purchase Order Line Item

Archive Record Layout"POMT75","","","","","","","(text entry type)","(page number)","PO Number","Item,Acct No,MO,CO","Ln#","Prom Dock/End Date","Text Message"

Required Transaction Fields

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

10* 30 A PO Number PO_Number

11* 30 A Item,Acct No,MO,CO Itm_GLMOCO

12* 3 A Ln# Ln_No

13* 6 D Prom Dock/End Date Prom_Dock

14 890 A Text Message Text

Data Import Macros and Data Dictionary 563

Page 564: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

PORV – Purchase Order Receipt/Reverse/ReturnThe PORV transactions use three versions of the screen and the Item Lot Receipt window. Each version is presented here along with its corresponding transactions.

The PORV screens vary based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed, the Lot field is displayed.

PORV TransactionsReceipt Transactions

Reverse Receipt Transactions

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Macro Id DescriptionMacro File

Name

PORV01 Receive PO Line Item; Ln# Typ = B PURM2

Receive PO Line Item; Ln# Typ = P

Receive PO Line Item; Ln# Typ = S

Receive PO Line Item; Ln# Typ = U

PORV03 Receive PO Line Item; Ln# Typ = V (location open) PURM2

Receive PO Line Item; Ln# Typ = W (location open)

PORV04 Receive PO Line Item; Ln# Typ = G PURM2

Receive PO Line Item; Ln# Typ = M

Receive PO Line Item; Ln# Typ = V (location closed)

Receive PO Line Item; Ln# Typ = W (location closed)

PORV10 Receive PO Line Item; Ln# Typ = B, P, S or U (no prior receipts exist and exact order quantity)

PURM2

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 564

Page 565: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Return Transactions

When the LOTM (Lot Trace/Serialization) Module is installed, the Item Lot Receipt window is used to record additional receipt information for the transaction.

PORV01Receive PO Line Item; Ln# Typ = B

Receive PO Line Item; Ln# Typ = P

Receive PO Line Item; Ln# Typ = S

Receive PO Line Item; Ln# Typ = U

Archive Record Layout"PORV01","","","","","","PO Number","Ln#","Receiving Type","Transport Via","Freight Bill No","Packing List No",Receipt Total,"UM",Quantity Received,"Stk","Bin","IC","Insp Code",,Quantity Received,"Stk","Bin","IC","Insp Code",,Quantity Received,"Stk","Bin","IC","Insp Code",,"Line Item Closure Requested","","Ln# Typ",,,"","Remark",,"Item/CO Number/MO Number/Master Account No","",,,"",,"(new lot y/n)","Lot Assign Policy (ITM5)","Dflt Lot (ITM5)","Lot","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev",Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)","","Prom Dock","Receipt Date","","",,,,,,,,,,""

PORV02 Reverse Receive PO Line Item; Ln# Typ = B PURM2

Reverse Receive PO Line Item; Ln# Typ = P

Reverse Receive PO Line Item; Ln# Typ = S

Reverse Receive PO Line Item; Ln# Typ = U

PORV05 Reverse Receive PO Line Item; Ln# Typ = G PURM2

Reverse Receive PO Line Item; Ln# Typ = M

Reverse Receive PO Line Item; Ln# Typ = V

Reverse Receive PO Line Item; Ln# Typ = W

Macro Id DescriptionMacro File

Name

PORV06 Return PO Line Item; Ln# Typ = G PURM2

Return PO Line Item; Ln# Typ = M

Return PO Line Item; Ln# Typ = P

Return PO Line Item; Ln# Typ = S

Return PO Line Item; Ln# Typ = V

Return PO Line Item; Ln# Typ = W

Data Import Macros and Data Dictionary 565

Page 566: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 15 A Transport Via Trans_Via

11 15 A Freight Bill No Frt_Bil_No

12 15 A Packing List No Pck_Lst_No

13 10 N Receipt Total Qty_Recvd

14 4 A UM UM

15 10 N Quantity Received Move_Qty1

16 6 A Stk Stk1

17 12 A Bin Bin1

18 1 A IC Inv_Code

19 1 A Insp Code Insp_Code1

21 10 N Quantity Received Move_Qty2

22 6 A Stk Stk2

23 12 A Bin Bin2

24 1 A IC Inv_Code

25 1 A Insp Code Insp_Code2

27 10 N Quantity Received Move_Qty3

28 6 A Stk Stk3

29 12 A Bin Bin3

30 1 A IC Inv_Code

31 1 A Insp Code Insp_Code3

33 1 A Line Item Closure Requested Close_Rqst

35* 1 A Ln# Typ Ln_Typ

39 59 A Remark Remark

41* 30 A Item/CO Number/ MO Num-ber/ Master Account No

Item; CO_Number; MO_Number; Mst_Act_No

47 1 A (new lot Y/N) N/A

48* 1 A Lot Assign Policy (ITM5) Assign_Pol

49 20 A Dflt Lot (ITM5) Dflt_Lot

50 20 A Lot Lot

Data Import Macros and Data Dictionary 566

Page 567: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The (new lot Y/N) field is required if the LOTM Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

51 35 A Lot Description Lot_Desc

52 20 A Vendor Lot Vend_Lot

53 6 D Mfg Date Mfg_Date

54 6 D Availability Date Avail_Date

55 6 D Retest Date Retest_Dt

56 6 D Expiration Date Expir_Date

57 2 A Rev Rev

58 10 N Current Potency % N/A

59 1 A Usr Def 1 D_Usr_Df1

60 1 A Usr Def 2 D_Usr_Df2

61 1 A Usr Def 3 D_Usr_Df3

62 1 A Usr Def 4 D_Usr_Df4

63 10 A Usr Def 5 D_Usr_Df5

64 10 A Usr Def 6 D_Usr_Df6

65 10 A Usr Def 7 D_Usr_Df7

66 10 A Usr Def 8 D_Usr_Df8

67 20 A Usr Def 9 D_Usr_Df9

68 20 A Usr Def 10 D_Usr_Df10

69 20 A Usr Def 11 D_Usr_Df11

70 20 A Usr Def 12 D_Usr_Df12

71 6 A Text No Text_No

72 60 A (text line1) Text_Line1

73 60 A (text line2) Text_Line2

74 60 A (text line3) Text_Line3

75 60 A (text line4) Text_Line4

77* 6 D Prom Dock Prom_Dock

78* 6 D Receipt Date Receipt_Dt

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

null item is not lot-traced

Data Import Macros and Data Dictionary 567

Page 568: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Also consider the following when using this macro:

• It is recommended that you enter the desired Stk-Bin location. If no location is entered, the preferred location is used by default.

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

PORV02Reverse Receive PO Line Item; Ln# Typ = B

Reverse Receive PO Line Item; Ln# Typ = P

Reverse Receive PO Line Item; Ln# Typ = S

Reverse Receive PO Line Item; Ln# Typ = U

Archive Record Layout"PORV02","","","","","","PO Number","Ln#","Receiving Type",Quantity to Reverse,"UM",Qty by Loc,"Stk","Bin","IC","RC",,Qty by Loc,"Stk","Bin","IC","RC",,Qty by Loc,"Stk","Bin","IC","RC",,"Line Item Closure Requested","Lot","(new lot y/n)","","Ln# Typ",,,"","Remark",,"Item/CO Number/MO Number/Master Account No",,,"",,"","Prom Dock","Receipt Date","","",,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity to Reverse Qty_2_Rvrs

11 4 A UM UM

12 10 N Qty by Loc Rvrsd_Qty1

13 6 A Stk Stk1

14 12 A Bin Bin1

15 1 A IC Inv_Code

16 1 A RC Reason_Cd1

18 10 N Qty by Loc Rvrsd_Qty2

19 6 A Stk Stk2

20 12 A Bin Bin2

21 1 A IC Inv_Code

22 1 A RC Reason_Cd2

24 10 N Qty by Loc Rvrsd_Qty3

25 6 A Stk Stk3

Data Import Macros and Data Dictionary 568

Page 569: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The (new lot Y/N) field is required if the LOTM Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

Also consider the following when using this macro:

• It is recommended that you enter the desired Stk-Bin location. If no location is entered, the preferred location is used by default.

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

PORV03Receive PO Line Item; Ln# Typ = V (location open)

Receive PO Line Item; Ln# Typ = W (location open)

Archive Record Layout"PORV03","","","","","","PO Number","Ln#","Receiving Type","Transport Via","Freight Bill No","Packing List No",Quantity Recvd,"UM",,"Stk","Bin","","",,,"","","","",,,"","","","",,"Line Item Closure Requested","","Ln# Typ",,,"","Remark",,"Item/CO Number/MO Number/Master Account No","",,,"",,"","","","","","","","","","","",,"","","","","","","","","","","","","","","","","","","Prom Dock","Receipt Date","","",,,,,,,,,,""

26 12 A Bin Bin3

27 1 A IC Inv_Code

28 1 A RC Reason_Cd3

30 1 A Line Item Closure Requested Close_Rqst

31 20 A Lot Lot

32 1 A (new lot Y/N) N/A

34* 1 A Ln# Typ Ln_Typ

38 59 A Remark Remark

40* 30 A Item/ CO Number/ MO Num-ber/ Master Account No

Item; CO_Number; MO_Number; Mst_Act_No

46* 6 D Prom Dock Prom_Dock

47 6 D Receipt Date Receipt_Dt

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

null item is not lot-traced

Data Import Macros and Data Dictionary 569

Page 570: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

Also consider the following when using this macro:

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

PORV04Receive PO Line Item; Ln# Typ = G

Receive PO Line Item; Ln# Typ = M

Receive PO Line Item; Ln# Typ = V (location closed)

Receive PO Line Item; Ln# Typ = W (location closed)

Archive Record Layout"PORV04","","","","","","PO Number","Ln#","Receiving Type","Transport Via","Freight Bill No","Packing List No",Quantity Recvd,"UM",,"","","","",,,"","","","",,,"","","","",,"Line Item Closure Requested","","Ln# Typ",,,"","Remark",,"Item/CO Number/MO Number/Master Account No","",,,"",,"","","","","","","","","","","",,"","","","","","","","","","","","","","","","","","","Prom Dock","Receipt Date","","",,,,,,,,,,""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 15 A Transport Via Trans_Via

11 15 A Freight Bill No Frt_Bil_No

12 15 A Packing List No Pck_Lst_No

13 10 N Quantity Recvd Qty_Recvd

14 4 A UM UM

16 6 A Stk Stk1

17 12 A Bin Bin1

33 1 A Line Item Closure Requested Close_Rqst

35* 1 A Ln# Typ Ln_Typ

39 59 A Remark Remark

41* 30 A Item/ CO Number/ MO Num-ber/ Master Account No

Item; CO_Number; MO_Number; Mst_Act_No

77* 6 D Prom Dock Prom_Dock

78 6 D Receipt Date Receipt_Dt

Data Import Macros and Data Dictionary 570

Page 571: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Required Transaction Fields

Also consider the following when using this macro:

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

PORV05Reverse Receive PO Line Item; Ln# Typ = G

Reverse Receive PO Line Item; Ln# Typ = M

Reverse Receive PO Line Item; Ln# Typ = V

Reverse Receive PO Line Item; Ln# Typ = W

Archive Record Layout"PORV05","","","","","","PO Number","Ln#","Receiving Type",Quantity to Reverse,"UM",,"","","","",,,"","","","",,,"","","","",,"Line Item Closure Requested","","","","Ln# Typ",,,"","Remark",,"Item/CO Number/MO Number/Master Account No",,,"",,"","Prom Dock","Receipt Date","","",,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 15 A Transport Via Trans_Via

11 15 A Freight Bill No Frt_Bil_No

12 15 A Packing List No Pck_Lst_No

13 10 N Quantity Recvd Qty_Recvd

14 4 A UM UM

33 1 A Line Item Closure Requested Close_Rqst

35* 1 A Ln# Typ Ln_Typ

39 59 A Remark Remark

41* 30 A Item/ CO Number/MO Number/ Master Account No

Item; CO_Number; MO_Number; Mst_Act_No

77* 6 D Prom Dock Prom_Dock

78 6 D Receipt Date Receipt_Dt

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 571

Page 572: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Also consider the following when using this macro:

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

PORV06Return PO Line Item; Ln# Typ = G

Return PO Line Item; Ln# Typ = M

Return PO Line Item; Ln# Typ = P

Return PO Line Item; Ln# Typ = S

Return PO Line Item; Ln# Typ = V

Return PO Line Item; Ln# Typ = W

Archive Record Layout"PORV06","","","","","","PO Number","Ln#","Receiving Type","Transport Via",Quantity to Return,"UM","Stk","Bin","IC","RC",,Scrap Qty,"Stk","Bin","IC","RC",,Vendor to Replace Qty,"(vendor to replace UM)",Total Credit Amount,"Line Item Closure Requested","Ln# Sta","Ln# Typ",,,"","Remark",,"Item/MO Number/CO Number/Master Account No",,,"Lot","(create new lot Y/N/blank)","","Prom Dock","Receipt Date","","",,""

Required Transaction Fields

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 10 N Quantity to Reverse Qty_2_Rvrs

11 4 A UM UM

30 1 A Line Item Closure Requested Close_Rqst

34* 1 A Ln# Typ Ln_Typ

38 59 A Remark Remark

40* 30 A Item/ CO Number/ MO Num-ber/ Master Account No

Item; CO_Number; MO_Number; Mst_Act_No

46* 6 D Prom Dock Prom_Dock

47 6 D Receipt Date Receipt_Dt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

Data Import Macros and Data Dictionary 572

Page 573: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The (new lot Y/N) field is required if the LOTM Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

Also consider the following when using this macro:

10 15 A Transport Via Trans_Via

11 10 N Quantity to Return Return_Qty

12 4 A UM UM

13 6 A Stk Stk1

14 12 A Bin Bin1

15 1 A IC Inv_Code

16 1 A RC Reason_Cd1

18 10 N Scrap Qty Scrap_Qty

19 6 A Stk Stk2

20 12 A Bin Bin2

21 1 A IC Inv_Code

22 1 A RC Reason_Cd2

24 10 N Vendor to Replace Qty Repl_Qty

25 4 A (vendor to replace um) UM

26 10 N Total Credit Amount Tot_Cr_Amt

27 1 A Line Item Closure Requested Close_Rqst

28* 1 A Ln# Sta Ln_Sta

29* 1 A Ln# Typ Ln_Typ

33 59 A Remark Remark

35* 30 A Item/ MO Number/ CO Num-ber/ Master Account No

Item; MO_Number; CO_Number; Mst_Act_No

38 20 A Lot Lot

39* 1 A (create new lot Y/N/blank) N/A

41* 6 D Prom Dock Prom_Dock

42 6 D Receipt Date Receipt_Dt

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

null item is not lot-traced

Data Import Macros and Data Dictionary 573

Page 574: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

PORV10Receive PO Line Item; Ln# Typ = B, P, S or U (no prior receipts exist and exact order quantity)The PORV10 transactions create PORV01 archive records after importing the data.

Archive Record Layout"PORV10","","","","","","PO Number","Ln#","Receiving Type","Transport Via","Freight Bill No","Packing List No",Receipt Total,"UM",Quantity Received,"Stk","Bin","IC","Insp Code",,,"","","","",,,"","","","",,"Line Item Closure Requested","","Ln# Typ",,,"","Remark",,"Item/CO Number/MO Number/Master Account No","",,,"",,"(new lot y/n)","Lot Assign Policy (ITM5)","Dflt Lot (ITM5)","Lot","Lot Description","Vendor Lot","Mfg Date","Availability Date","Retest Date","Expiration Date","Rev",Current Potency %,"Usr Def 1","Usr Def 2","Usr Def 3","Usr Def 4","Usr Def 5","Usr Def 6","Usr Def 7","Usr Def 8","Usr Def 9","Usr Def 10","Usr Def 11","Usr Def 12","Text No","(text line1)","(text line2)","(text line3)","(text line4)","","Prom Dock","Receipt Date","","",,,,,,,,,,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A PO Number PO_Number

8* 3 A Ln# Ln_No

9* 1 A Receiving Type Recv_Type

10 15 A Transport Via Trans_Via

11 15 A Freight Bill No Frt_Bil_No

12 15 A Packing List No Pck_Lst_No

13 10 N Receipt Total Qty_Recvd

14 4 A UM UM

15* 10 N Quantity Received Move_Qty1

16 6 A Stk Stk1

17 12 A Bin Bin1

18 1 A IC Inv_Code

19 1 A Insp Code Insp_Code1

33 1 A Line Item Closure Requested Close_Rqst

35* 1 A Ln# Typ Ln_Typ

39 59 A Remark Remark

41* 30 A Item/CO Number/ MO Num-ber/ Master Account No

Item; CO_Number; MO_Number; Mst_Act_No

Data Import Macros and Data Dictionary 574

Page 575: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

Note: Field 15 (Quantity Received) must be equal to the purchase order line item quantity. Use the PORV01 transaction to complete partial receipts against a purchase order line item.

47 1 A (new lot Y/N) N/A

48* 1 A Lot Assign Policy (ITM5) Assign_Pol

49 20 A Dflt Lot (ITM5) Dflt_Lot

50 20 A Lot Lot

51 35 A Lot Description Lot_Desc

52 20 A Vendor Lot Vend_Lot

53 6 D Mfg Date Mfg_Date

54 6 D Availability Date Avail_Date

55 6 D Retest Date Retest_Dt

56 6 D Expiration Date Expir_Date

57 2 A Rev Rev

58 10 N Current Potency % N/A

59 1 A Usr Def 1 D_Usr_Df1

60 1 A Usr Def 2 D_Usr_Df2

61 1 A Usr Def 3 D_Usr_Df3

62 1 A Usr Def 4 D_Usr_Df4

63 10 A Usr Def 5 D_Usr_Df5

64 10 A Usr Def 6 D_Usr_Df6

65 10 A Usr Def 7 D_Usr_Df7

66 10 A Usr Def 8 D_Usr_Df8

67 20 A Usr Def 9 D_Usr_Df9

68 20 A Usr Def 10 D_Usr_Df10

69 20 A Usr Def 11 D_Usr_Df11

70 20 A Usr Def 12 D_Usr_Df12

71 6 A Text No Text_No

72 60 A (text line1) Text_Line1

73 60 A (text line2) Text_Line2

74 60 A (text line3) Text_Line3

75 60 A (text line4) Text_Line4

77* 6 D Prom Dock Prom_Dock

78* 6 D Receipt Date Receipt_Dt

Data Import Macros and Data Dictionary 575

Page 576: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

The (new lot Y/N) field is required if the LOTM Module is installed. (new lot Y/N) indicates the type of lot created by the transaction. (new lot Y/N) is a null when the item is not lot-traced.

Also consider the following when using this macro:

• It is recommended that you enter the desired Stk-Bin location. If no location is entered, the preferred location is used by default.

• If you wish to use the cascading receipts feature for blanket orders or multiple scheduled lines, include the Prom Dock field but leave the value blank. This causes the macro to assume Cascade = Y for data entry purposes. Otherwise, the system assumes that the Prom Dock is a valid date and Cascade = N.

POSV – PO Split by Vendors

POSV Transactions

POSV00Add a New Vendor and Related Information

Archive Record Layout"POSV00","","","","","","Item","Seq Num","Vendor Id",Percent

Required Transaction Fields

(new lot Y/N) Description

Y a new lot was created

N an existing lot was changed

null item is not lot-traced

Macro Id DescriptionMacro File

Name

POSV00 Add a New Vendor and Related Infomation PURM1

POSV01 Change a Vendor’s Related Information PURM1

POSV02 Delete a Vendor and Related Infomation PURM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 3 A Seq Num Seq_No

9 13 A Vendor Id Vendor_Id

10 5 N Percent Percent

Data Import Macros and Data Dictionary 576

Page 577: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 P – Data Import Macros

POSV01Change a Vendor’s Related Information

Archive Record Layout"POSV01","","","","","","Item","Seq Num","Vendor Id",Percent

Required Transaction Fields

POSV02Delete a Vendor and Related Information

Archive Record Layout"POSV02","","","","","","Item","","Vendor Id"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8 3 A Seq Num Seq_No

9 13 A Vendor Id Vendor_Id

10 5 N Percent Percent

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

9 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 577

Page 578: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 R – Data Import Macros

R – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

RTCF – G/L Restructuring Configuration

RTCF Transactions

RTCF00Add G/L Restructuring Revision Information

Archive Record Layout"RTCF00","","","","","","Rev Number","","","","","","","","","","","",""

Required Transaction Fields

RTCF01Change G/L Restructuring Options

Archive Record Layout"RTCF01","","","","","","Rev Number","","Changes Permitted–Org Portion of Master Acct Mask","Changes Permitted–Acct Portion of Master Acct Mask","Changes Permitted–Org Portion via Default Trans Table","Changes Permitted–Acct Portion via Default Trans Table","Changes Permitted–Org Portion via Custom Trans Table","Changes Permitted–Acct Portion via Custom Trans Table","Changes Permitted–Org Portion of Consol No Mask","Changes Permitted–Acct Portion of Consol No Mask","Changes Permitted–Org Portion to Consolidation Numbers via Default Trans Table","Changes Permitted–Acct Portion to Consolidation Numbers via Default Trans Table","Permit Master Acct Merging"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

RTCF00 Add G/L Restructuring Revision Information RTSM

RTCF01 Change G/L Restructuring Options RTSM

RTCF02 Change Error Flag RTSM

RTCF03 Complete Retained Earnings Verification (ALT+M) RTSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 3 A Rev Number N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 578

Page 579: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 R – Data Import Macros

RTCF02Change Error Flag

Archive Record Layout"RTCF02","","","","","","Rev Number","Reset Error Flag","","","","","","","","","","",""

Required Transaction Fields

1* 6 A (macro id) N/A

7* 3 A Rev Number N/A

9 1 A Changes Permitted– Org Portion of Master Acct Mask

N/A

10 1 A Changes Permitted– Acct Portion of Master Acct Mask

N/A

11 1 A Changes Permitted– Org Portion via Default Trans Table

N/A

12 1 A Changes Permitted– Acct Portion via Default Trans Table

N/A

13 1 A Changes Permitted– Org Portion via Custom Trans Table

N/A

14 1 A Changes Permitted– Acct Portion via Custom Trans Table

N/A

15 1 A Changes Permitted– Org Portion of Consol No Mask

N/A

16 1 A Changes Permitted– Acct Portion of Consol No Mask

N/A

17 1 A Changes Permitted– Org Portion to Consolidation Numbers via Default Trans Table

N/A

18 1 A Changes Permitted– Acct Portion to Consolidation Numbers via Default Trans Table

N/A

19 1 A Permit Master Acct Merging N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Rev Number N/A

8 1 A Reset Error Flag N/A

Data Import Macros and Data Dictionary 579

Page 580: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 R – Data Import Macros

Note: The Reset Error Flag label on the RTCF screen only displays when the field opens. RTCI never displays the label.

RTCF03Complete Retained Earnings Verification (ALT+M)

Archive Record Layout"RTCF03","","","","","","Rev Number","","","","","","","","","","","",""

Required Transaction Fields

RTCT – G/L Restructuring Consolidation Translation

RTCT Transactions

RTCT01Change Consolidation Translation Mask

Archive Record Layout"RTCT01","","","","","","","New Consolidation Number Mask","Default Translation Table"

Required Transaction Fields

RTMT – G/L Restructuring Master Acct Translation

RTMT Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 3 A Rev Number N/A

Macro Id DescriptionMacro File

Name

RTCT01 Change Consolidation Translation Mask RTSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 20 A New Consolidation Number Mask

N/A

9 20 A Default Translation Table N/A

Macro Id DescriptionMacro File

Name

Data Import Macros and Data Dictionary 580

Page 581: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 R – Data Import Macros

Note: The RTMT07 and RTMT08 transactions are uniquely identified for troubleshooting purposes only. The archive layouts and macros are identical to the RTMT03 and RTMT05 transactions.

RTMT01Change Default Master Account Translation Table

Archive Record Layout"RTMT01","","","","","","","","New Master Account Mask","Default Translation Table"

Required Transaction Fields

RTMT03Add Custom Master Account Translation Table

Archive Record Layout"RTMT03","","","","","","","From Master Acct No","Thru Master Acct No","Custom Translation Table for Range"

Required Transaction Fields

RTMT01 Change Default Master Account Translation Table RTSM

RTMT03 Add Custom Master Account Translation Table RTSM

RTMT04 Change Custom Master Account Translation Table—Thru Value

RTSM

RTMT05 Delete Custom Master Account Translation Table RTSM

RTMT07 Delete Custom Master Account Translation Table (trouble-shooting only)

RTSM

RTMT08 Add Custom Master Account Translation Table (troubleshoot-ing only)

RTSM

RTMT09 Complete Translation Table Verification RTSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9 20 A New Master Account Mask N/A

10 20 A Default Translation Table N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A From Master Acct No N/A

9 20 A Thru Master Acct No N/A

10 20 A Custom Translation Table for Range

N/A

Data Import Macros and Data Dictionary 581

Page 582: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 R – Data Import Macros

RTMT04Change Custom Master Account Translation Table—Thru Value

Archive Record Layout"RTMT04","","","","","","","From Master Acct No","Thru Master Acct No","Custom Translation Table for Range"

Required Transaction Fields

RTMT05Delete Custom Master Account Translation Table

Archive Record Layout"RTMT05","","","","","","","From Master Acct No","Thru Master Acct No",""

Required Transaction Fields

RTMT07Delete Custom Master Account Translation TableThis transaction is uniquely identified for troubleshooting purposes only. The archive layouts and macros are identical to the RTMT05 transaction.

Archive Record Layout"RTMT07","","","","","","","From Master Acct No","Thru Master Acct No",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A From Master Acct No N/A

9 20 A Thru Master Acct No N/A

10 20 A Custom Translation Table for Range

N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A From Master Acct No N/A

9 20 A Thru Master Acct No N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A From Master Acct No N/A

9 20 A Thru Master Acct No N/A

Data Import Macros and Data Dictionary 582

Page 583: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 R – Data Import Macros

RTMT08Add Custom Master Account Translation TableThis transaction is uniquely identified for troubleshooting purposes only. The archive layouts and macros are identical to the RTMT03 transaction.

Archive Record Layout"RTMT08","","","","","","","From Master Acct No","Thru Master Acct No","Custom Translation Table for Range"

Required Transaction Fields

RTMT09Complete Translation Table Verification

Archive Record Layout"RTMT09","","","","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 20 A From Master Acct No N/A

9 20 A Thru Master Acct No N/A

10 20 A Custom Translation Table for Range

N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 583

Page 584: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

S – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

SBOL – Bill of Lading

SBOL Transactions

Extended Text Transactions

SBOL00Add Shipment

Archive Record Layout"SBOL00","","","","","","","Shpmt No","(manual shipment flag)","Cust Id","Ship to Id","","","","","","","","","","",,"","","","","","","","",,"","","","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

SBOL00 Add Shipment SHPM

SBOL01 Change Bill of Lading Header SHPM

Attach Existing Text—Bill of Lading

SBOL02 Add New Text—Bill of Lading SHPM

SBOL03 Delete Text—Bill of Lading SHPM

SBOL04 Add Package SHPM

SBOL05 Change Package SHPM

SBOL06 Delete Package SHPM

Macro Id DescriptionMacro File

Name

SBOL90 Add Extended Text—Shipment SHPM

SBOL91 Change Extended Text—Shipment SHPM

SBOL92 Delete Extended Text—Shipment SHPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

Data Import Macros and Data Dictionary 584

Page 585: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(manual shipment flag) indicates if the shipment used a manual shipment number or if a system-generated identifier was assigned.

SBOL01Change Bill of Lading Header

Attach Existing Text—Bill of Lading

Archive Record Layout"SBOL01","","","","","","","Shpmt No","Shpmt Ref","","Ship to Id","Shipment Status","Shipment Date","Shipment TL","Cons to","Addr","(addr2)","City","St","Zip","C",COD Amount,"COD Charge Paid By","FAK","FAK Item","Sub","Carrier Id","Carrier Name","Pro Number","Route",Total Plt,"Misc #1","Misc #2","Text No","(orders on shipment Y/N)",""

Required Transaction Fields

9* 1 A (manual shipment flag) N/A

10* 13 A Cust Id Cust_Id

11* 13 A Ship to Id Ship_to_Id

Manual Shipment Flag Description

M manual shipment number was assigned; use shipment number in Field 8

Null use automatic shipment number assignment

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

9 30 A Shpmt Ref Shpmt_Ref

11 13 A Ship to Id Ship_to_Id

12 1 A Shipment Status Shpmt_Sta

13 6 D Shipment Date Shpmt_Date

14 1 A Shipment TL TL_Flag –

15 30 A Cons to Ship_to_Nm

16 60 A Addr Ship_Addr1

17 60 A (addr2) Ship_Addr2

18 15 A City Ship_City

19 10 A St Ship_State

20 12 A Zip Ship_Zip

21 15 A C Ship_Cntry

22 10 N COD Amount COD_Amount

Data Import Macros and Data Dictionary 585

Page 586: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(orders on shipment Y/N) indicates if any orders are currently associated with this shipment.

SBOL02Add New Text—Bill of Lading

Archive Record Layout"SBOL02","","","","","","","Shpmt No","","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

SBOL03

23 1 A COD Charge Paid By CODPdBy

24 1 A FAK FAK_Flag

25 6 A FAK Item FAK_Item

26 2 A Sub FAK_Sub –

27 6 A Carrier Id Carrier_Id

28 30 A Carrier Name Carrier –

29 30 A Pro Number Pro_Number

30 60 A Route Route –

31 8 N Total Plt Tot_Palets

32 10 A Misc #1 Misc1 –

33 10 A Misc #2 Misc2 –

34 6 A Text No Shpmnt_Txt

35 1 A (orders on shipment Y/N) N/A

Orders on Shipment Y/N Description

Y orders are associated with this shipment

N no orders associated with this shipment

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

10 60 A (text line1) Text_Line1

11 60 A (text line2) Text_Line2

12 60 A (text line3) Text_Line3

13 60 A (text line4) Text_Line4

Data Import Macros and Data Dictionary 586

Page 587: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Delete Text—Bill of Lading

Archive Record Layout"SBOL03","","","","","","","Shpmt No","","","","","","","","","","","","","","",, "","","","","","","","",,"","","",""

Required Transaction Fields

SBOL04Add Package

Archive Record Layout"SBOL04","","","","","","","Shpmt No","Pkg No",Total Pcs,"Pkg Typ","","NMFC Item","Sb","",Weight,Volume,Value,""

Required Transaction Fields

SBOL05Change Package

Archive Record Layout"SBOL05","","","","","","","Shpmt No","Pkg No",Total Pcs,"Pkg Typ","","NMFC Item","Sb","",Weight,Volume,Value,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

9 6 A Pkg No Package_No

10 6 N Total Pcs Unit_Total

11 3 A Pkg Typ Pkg_Typ –

13 6 A NMFC Item NMFC_Item

14 2 A Sb NMFC_Sub

16 10 N Weight Pkg_Weight

17 10 N Volume Pkg_Volume

18 10 N Value Pkg_Value

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

Data Import Macros and Data Dictionary 587

Page 588: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SBOL06Delete Package

Archive Record Layout"SBOL06","","","","","","","Shpmt No","Pkg No",,"","","","","",,,,""

Required Transaction Fields

SBOL90Add Extended Text—Shipment

Archive Record Layout"SBOL90","","","","","","","(text entry type)","(page number)","","Shpmt No","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

9* 6 A Pkg No Package_No

10 6 N Total Pcs Unit_Total

11 3 A Pkg Typ Pkg_Typ –

13 6 A NMFC Item NMFC_Item

14 2 A Sb NMFC_Sub

16 10 N Weight Pkg_Weight

17 10 N Volume Pkg_Volume

18 10 N Value Pkg_Value

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 9 A Shpmt No Shpmnt_No

9* 6 A Pkg No Package_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 9 A Shpmt No Shipmnt_No

14 890 A Text Message Ext_Text

Text Entry Types Description

Data Import Macros and Data Dictionary 588

Page 589: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(page number) identifies the page number associated with the text message.

Several codes are used when importing text with special characters.

SBOL91Change Extended Text—Shipment

Archive Record Layout"SBOL91","","","","","","","(text entry type)","(page number)","","Shpmt No","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 9 A Shpmt No Shipmnt_No

14 890 A Text Message Ext_Text

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Data Import Macros and Data Dictionary 589

Page 590: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Several codes are used when importing text with special characters.

SBOL92Delete Extended Text—Shipment

Archive Record Layout"SBOL92","","","","","","","(text entry type)","(page number)","","Shpmt No","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

(page number) identifies the page number associated with the text message.

SHCF – Shipping Configuration

SHCF Transactions

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) Page_No

11* 9 A Shpmt No Shipmnt_No

Text Entry Types Description

I Insert new page of text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete page of text

Macro Id DescriptionMacro File

Name

SHCF01 Change Shipping Configuration SHPM

Data Import Macros and Data Dictionary 590

Page 591: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SHCF01Change Shipping Configuration

Archive Record Layout"SHCF01","","","","","","Include Company Name on Shipping List (y/n)", "Include Company Name on Packing List (y/n)","Include Company Name on Box Labels (y/n)","Include Company Name on Bill of Lading (y/n)","Include Custom Product Consisting of Information (y/n)","Include Customer Order Text (y/n)",Activate Autoclose Capability (y/n)","Sender's Federal Express Account Number","UPS Shipper Number","Convert to Metric (y/n)","Include Extended Text on Shipping Documents (y/n)","Include Text on Packing List (y/n)","Include Text on Box Labels (y/n)","Include Text on Bill of Lading (y/n)","Starting Manual Shipment Number","Freight","Summarized Cost of Goods Sold Accounts",”Over Ship Enforcement For Customer Order”,”Customer Order Over Ship Tolerance”

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Include Company Name on Shipping List (y/n)

N/A

8 1 A Include Company Name on Packing List (y/n)

N/A

9 1 A Include Company Name on Box Labels (y/n)

N/A

10 1 A Include Company Name on Bill of Lading (y/n)

N/A

11 1 A Include Custom Product Con-sisting of Information (y/n)

N/A

12 1 A Include Customer Order Text (y/n) –

N/A

13 1 A Activate Autoclose Capability (y/n)

N/A

14 11 A Sender’s Federal Express Account Number

N/A

15 8 A UPS Shipper Number N/A

16 1 A Convert to Metric (y/n) N/A

17 1 A Include Extended Text on Shipping Documents (y/n)

N/A

18 1 A Include Text on Packing List (y/n)

N/A

19 1 A Include Text on Box Labels (y/n)

N/A

20 1 A Include Text on Bill of Lading (y/n)

N/A

21 9 A Starting Manual Shipment Number

N/A

Data Import Macros and Data Dictionary 591

Page 592: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Note: The Activate Autoclose Capability field is displayed only before the SOPM Module is installed. The import macro ignores this field if the field is not available on the screen.

SHIP – ShipThe SHIP transactions use the following screens and windows:

• SHIP (Ship)

• Packaging Detail

• Serial Numbers Shipped window

• Mass Maintenance window

The SHIP screens vary based on the modules you have installed. If the LOTM (Lot Trace/Serialization) Module is installed:

• the Lot field is displayed on the SHIP screen

• the Serial Numbers Shipped and Mass Maintenance windows are available

Several fields are included in the layout to identify information needed during transaction processing.

SHIP Transactions

22 20 A Freight FRGHT_ACCT

23 1 A Summarized Cost of Goods Sold Accounts

N/A

24 1 A Over Ship Enforcement For Customer Order

25 Customer Order Over Ship Tolerance

Macro Id DescriptionMacro File

Name

SHIP01 Change Shipment Header SHPM

SHIP02 Ship Customer Order Line Item SHPM

Reverse Ship Customer Order Line Item

Backflush Customer Order Line Item

SHIP03 Print Picklist SHPM

SHIP04 Add New Text—Order/Shipment SHPM

SHIP05 Delete Text—Order/Shipment SHPM

SHIP15 Ship Custmer Order Line Item (ascending order) SHPM

Reverse Ship Customer Order Line Item (ascending order)

Backflush Customer Order Line Item (ascending order)

Data Import Macros and Data Dictionary 592

Page 593: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Packaging Detail Transactions

Serial Numbers Shipped Transactions

Mass Maintenance Transactions

SHIP01Change Shipment Header

Archive Record Layout"SHIP01","","","","","","","Issue Type","CO Number", "Shipment No","Shipment Ref","","(packaging exists y/n/m)",Pcs,Frt,Wgt,"Ord/Ship Sta","Carrier",Vol,"Text No",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

SHIP06 Add Package to a Shipment SHPM

SHIP07 Change Package SHPM

SHIP08 Attach Existing Text—Order/Shipment SHPM

SHIP09 Delete Package SHPM

SHIP10 Delete Text—Order/Shipment SHPM

SHIP11 Add New Text—Order Line Item SHPM

SHIP12 Add New Text—Package SHPM

Macro Id DescriptionMacro File

Name

SHIP13 Add Serial Number Range SHPM

Remove Serial Numbers SHPM

Delete Serial Numbers SHPM

Macro Id DescriptionMacro File

Name

SHIP14 Delete Serial Numbers—Mass Maintenance SHPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Issue Type Issue_Type

9* 30 A CO Number CO_Number

10* 9 A Shipment No Shpmnt_No

Data Import Macros and Data Dictionary 593

Page 594: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(packaging exists Y/N) identifies the shipment type.

SHIP02Ship Customer Order Line Item

Reverse Ship Customer Order Line Item

Backflush Customer Order Line Item

Archive Record Layout"SHIP02","","","","","","","","Issue Type","(first transaction y/n/m)","CO Number","Shipment No","Shipment Ref","","","","Ln#","Ln# Typ","",Shipment Quantity,"Stk","Bin","IC","Lot","Clo Req",,,"",,"",""

Required Transaction Fields

11 30 A Shipment Ref Shpmt_Ref

13* 1 A (packaging exists y/n) N/A

14 8 N Pcs Tot_Units

15 10 N Frt Tot_Frght

16 10 N Wgt Tot_Weight

17 1 A Ord/Ship Sta Ord_Sp_Sta

18 30 A Carrier Carrier

19 10 N Vol Tot_Volume

20 6 A Text No Ord_Text

Packaging Exists Y/N Shipment Type

Y packaging completed on the related Packaging Detail screen and the packaging-related fields cannot be updated by the macro

N no packaging completed

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

10* 9 A (first transaction y/n/m) N/A

11* 30 A CO Number CO_Number

12 9 A Shipment No Shpmnt_No

13 30 A Shipment Ref Shpmt_Ref

17* 3 A Ln# Ln_No

18* 1 A Ln# Typ Ln_Typ

20 10 N Shipment Quantity Quantity

Data Import Macros and Data Dictionary 594

Page 595: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(first transaction Y/N/M) identifies the shipment type.

SHIP03Print PicklistThe SHIP03 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"SHIP03","","","","","","","","CO Number","",""

Required Transaction Fields

SHIP04Add New Text—Order/Shipment

Archive Record Layout"SHIP04","","","","","","","Issue Type","CO Number","Shipment No","","","","(text line1)","(text line2)","(text line3)","(text line4)",""

Required Transaction Fields

21* 6 A Stk Stk

22* 12 A Bin Bin

23 1 A IC Inv_Cd

24 20 A Lot Lot

25 1 A Clo Req Close_Rqst

First Transaction Y/N/M Shipment Type

Y new shipmentNOTE: When field 10 is set to Y, the Ship-ment Number in the incoming file is ignored and a system-assigned shipment number is used for the transaction

N existing shipment

M manual shipment number assigned

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 30 A CO Number CO_Number

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 595

Page 596: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SHIP05Delete Text—Order/Shipment

Archive Record Layout"SHIP05","","","","","","","Issue Type","CO Number","Shipment No","","","","","","","",""

Required Transaction Fields

SHIP06Add Package to a Shipment

Archive Record Layout"SHIP06","","","","","","","","Issue Type","(first transaction y/n/m)","CO Number","Shipment No","Ln#","Pkg No",Total Pcs,"Package Typ",Line Item Quantity,Package Weight,Package Volume,Package Freight,"Pkd By","",""

Required Transaction Fields

8* 1 A Issue Type Issue_Type

9* 30 A CO Number CO_Number

10* 9 A Shipment No Shpmnt_No

14 60 A (text line1) Text_Line1

15 60 A (text line2) Text_Line2

16 60 A (text line3) Text_Line3

17 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Issue Type Issue_Type

9* 30 A CO Number CO_Number

10* 9 A Shipment No Shpmnt_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

10* 1 A (first transaction y/n/m) N/A

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No

14 6 A Pkg No Package_No

15 6 N Total Pcs Unit_Total

Data Import Macros and Data Dictionary 596

Page 597: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(first transaction Y/N/M) identifies the shipment type.

SHIP07Change Package

Archive Record Layout"SHIP07","","","","","","","","Issue Type","","CO Number","Shipment No","Ln#","Pkg No",Total Pcs,"Package Typ",Line Item Quantity,Package Weight,Package Volume,Package Freight,"Pkd By","Text No",""

Required Transaction Fields

16 3 A Package Typ Pkg_Type

17 10 N Line Item Quantity N/A

18 10 N Package Weight Pkg_Weight

19 10 N Package Volume Pkg_Volume

20 10 N Package Freight Pkg_Frght

21 3 A Pkd By Packed_By

First Transaction Y/N/M Shipment Type

Y new shipmentNOTE: When field 10 is set to Y, the Ship-ment Number in the incoming file is ignored and a system-assigned shipment number is used for the transaction

N existing shipment

M manual shipment number assigned

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No –

14* 6 A Pkg No Package_No

15 6 N Total Pcs Unit_Total

16 3 A Package Typ Pkg_Type

17 10 N Line Item Quantity N/A

18 10 N Package Weight Pkg_Weight

19 10 N Package Volume Pkg_Volume

Data Import Macros and Data Dictionary 597

Page 598: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SHIP08Attach Existing Text—Order/Shipment

Archive Record Layout"SHIP08","","","","","","","","Issue Type","","CO Number","Shipment No","Ln#","Text No","","","","","","","","",""

Required Transaction Fields

SHIP09Delete Package

Archive Record Layout"SHIP09","","","","","","","","Issue Type","","CO Number","Shipment No","Ln#","Pkg No","","","","","","","","",""

Required Transaction Fields

SHIP10Delete Text—Order/Shipment

Archive Record Layout

20 10 N Package Freight Pkg_Frght

21 3 A Pkd By Packed_By

22 6 A Text No Text_No –

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No –

14 6 A Text No Text_No –

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No –

14* 6 A Pkg No Package_No

Data Import Macros and Data Dictionary 598

Page 599: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

"SHIP10","","","","","","","","Issue Type","","CO Number","Shipment No","Ln#","","","","","","","","","",""

Required Transaction Fields

SHIP11Add New Text—Order Line Item

Archive Record Layout"SHIP11","","","","","","","","Issue Type","","CO Number","Shipment No","Ln#","(text line1)","(text line2)","(text line3)","(text line4)","","","","","",""

Required Transaction Fields

SHIP12Add New Text—Package

Archive Record Layout"SHIP12","","","","","","","","Issue Type","","CO Number","Shipment No","Ln#","Pkg No","(text line1)","(text line2)","(text line3)","(text line4)","","","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No –

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No

14 60 A (text line1) Text_Line1

15 60 A (text line2) Text_Line2

16 60 A (text line3) Text_Line3

17 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 599

Page 600: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SHIP13Add Serial Number Range

Remove Serial Numbers

Delete Serial Numbers

Archive Record Layout"SHIP13","","","","","","(action identifier A/C/D)","","","CO Number","Shipment No","","","","","Ln#","","","From","Thru","Lot"

Required Transaction Fields

(action identifier A/C/D) indicates the type of transaction performed from the Serial Numbers Shipped window.

9* 1 A Issue Type Issue_Type

11* 30 A CO Number CO_Number

12* 9 A Shipment No Shpmnt_No

13* 3 A Ln# Ln_No

14* 6 A Pkg No Package_No

15 60 A (text line1) Text_Line1

16 60 A (text line2) Text_Line2

17 60 A (text line3) Text_Line3

18 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A (action identifier A/C/D) N/A

10* 30 A CO Number CO_Number

11* 9 A Shipment No Shipmnt_No

16* 3 A Ln# Ln_No

19 20 A From N/A

20 20 A Thru N/A

21 20 A Lot Lot

Action Identifier A/C/D Serial Number Transaction

A add a new range of serial numbers

C change a range of serial numbers

D delete a range of serial numbers

Data Import Macros and Data Dictionary 600

Page 601: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SHIP14Delete Serial Numbers—Mass Maintenance

Archive Record Layout"SHIP14","","","","","","","","","CO Number","Shipment No","","","","","Ln#","","","","",""

Required Transaction Fields

SHIP15Ship Customer Order Line Item (ascending order)

Reverse Ship Customer Order Line Item (ascending order)

Backflush Customer Order Line Item (ascending order)The SHIP15 transactions assume that the records are processed in ascending Ln# order. Transactions that are not in ascending order are treated as errors. Use the SHIP02 transaction to process transactions in any Ln# order.

Archive Record Layout"SHIP15","","","","","","","","Issue Type","(first transaction y/n/m)","CO Number","Shipment No","Shipment Ref","","","","Ln#","Ln# Typ","",Shipment Quantity,"Stk","Bin","IC","Lot","Clo Req",,,"",,"",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

10* 30 A CO Number CO_Number

11* 9 A Shipment No Shipmnt_No

16* 3 A Ln# Ln_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

9* 1 A Issue Type Issue_Type

10* 1 A (first transaction y/n/m) N/A

11* 30 A CO Number CO_Number

12 9 A Shipment No Shpmnt_No

13 30 A Shipment Ref Shpmt_Ref

17* 3 A Ln# Ln_No

18* 1 A Ln# Typ Ln_Typ

20 10 N Shipment Quantity Quantity

21* 6 A Stk Stk

22* 12 A Bin Bin

23 1 A IC Inv_Cd

Data Import Macros and Data Dictionary 601

Page 602: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(first transaction Y/N/M) identifies the shipment type.

SOPM – Sales Order Processing ModuleUse the Sales Order Processing online manual for detail information on the SOPM module-specific data import file layouts.

STAD – Stockroom Action by Date

STAD Transactions

STAD01Change Stockroom Action Message

Archive Record Layout"STAD01","","","","","","","Stockroom","Mark","Msg Code","CO Number", "","Ship Date"

Required Transaction Fields

24 20 A Lot Lot

25 1 A Clo Req Close_Rqst

First Transaction Y/N/M Shipment Type

Y new shipmentNOTE: When field 10 is set to Y, the Ship-ment Number in the incoming file is ignored and a system-assigned shipment number is used for the transaction

N existing shipment

M manual shipment number assigned

Macro Id DescriptionMacro File

Name

STAD01 Change Stockroom Action Message SHPM

STAD02 Print Picklist SHPM

STAD03 Delete Stockroom Action Message SHPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 6 A Stockroom Stk

9* 1 A Mark N/A

Data Import Macros and Data Dictionary 602

Page 603: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

STAD02Print PicklistThe STAD02 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"STAD02","","","","","","","Stockroom","(picklist type O/C)",""

Required Transaction Fields

(picklist type O/C) identifies the type of picklist printed. The picklist types are:

STAD03Delete Stockroom Action Message

Archive Record Layout"STAD03","","","","","","","Stockroom","","Msg Code","CO Number","","Ship Date"

Required Transaction Fields

10* 3 A Msg Code Msg

11* 30 A CO Number CO_Number

13* 6 D Ship Date Ship_Date

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 6 A Stockroom Stk

9* 1 A (picklist type O/C) N/A

Picklist Type Description

O order-based picklists

C consolidated picklists

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 6 A Stockroom Stk

10* 3 A Msg Code Msg

11* 30 A CO Number CO_Number

13* 6 D Ship Date Ship_Date

Data Import Macros and Data Dictionary 603

Page 604: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

STID – Stockroom Action by Customer

STID Transactions

STID01Change Stockroom Action Message

Archive Record Layout"STID01","","","","","","","Stockroom","Mark","Msg Code","CO Number", "Cust Id",""

Required Transaction Fields

STID02Print PicklistThe STID02 transaction does not generate the report. The transaction updates the system to remove the action message and record internal tracking information used when reprinting documents or used for further processing, if necessary. No report data is created to either the default print device or the reporting database.

Archive Record Layout"STID02","","","","","","","Stockroom","(picklist type O/C)",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

STID01 Change Stockroom Action Message SHPM

STID02 Print Picklist SHPM

STID03 Delete Stockroom Action Message SHPM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 6 A Stockroom Stk

9* 1 A Mark N/A

10* 3 A Msg Code Msg

11* 30 A CO Number CO_Number

12* 13 A Cust Id Cust_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8 6 A Stockroom Stk

9* 1 A (picklist type O/C) N/A

Data Import Macros and Data Dictionary 604

Page 605: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

(picklist type O/C) identifies the type of picklist printed. The picklist types are:

STID03Delete Stockroom Action Message

Archive Record Layout"STID03","","","","","","","Stockroom","","Msg Code","CO Number","Cust Id",""

Required Transaction Fields

SUND – Sundry DisbursementsThe SUND transactions use the following screens:

• SUND (Sundry Disbursements)

• G/L Distribution

Transactions created on the SUND screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

SUND Transactions

Picklist Type Description

O order-based picklists

C consolidated picklists

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 6 A Stockroom Stk

10* 3 A Msg Code Msg

11* 30 A CO Number CO_Number

12* 13 A Cust Id Cust_Id

Macro Id DescriptionMacro File

Name

SUND00 Select Cash Set CSHM

SUND01 Add Cash Set Header CSHM

SUND02 Change Cash Set Header CSHM

SUND03 Delete Cash Set CSHM

SUND04 Add Sundry Disbursement Reference Detail CSHM

SUND05 Change Sundry Disbursement Reference Detail CSHM

Data Import Macros and Data Dictionary 605

Page 606: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

G/L Distribution TransactionsThe SUND transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

SUND00Select Cash Set

Archive Record Layout"SUND00","","","","","","(action type)","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

SUND01Add Cash Set Header

Archive Record Layout"SUND01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)",,,"","","",""

Required Transaction Fields

SUND07 Delete Sundry Disbursement Reference Detail CSHM

SUND19 Record Last Transaction Completed—Reorganization Identi-fier

CSHM

Macro Id Description

SUND10 Distribute Disbursement to G/L

SUND12 Complete G/L Distribution

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type) N/A

8 1 A Cash Set (payment form) Rec_Form

9 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_No

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Data Import Macros and Data Dictionary 606

Page 607: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Note: Fields 14 and 15 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

SUND02Change Cash Set Header

Archive Record Layout"SUND02","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","","","","","","",Bank Chg,Bank Comm,"Comment","","",""

Required Transaction Fields

SUND03Delete Cash Set

Archive Record Layout"SUND03","","","","","","","Cash Set (payment form)","Cash Set (number)"," Bank No","","","","","","",,,"","","",""

Required Transaction Fields

Note: This transaction deactivates the cash set by changing the status.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

17 14 N Bank Chg Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

Data Import Macros and Data Dictionary 607

Page 608: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUND04Add Sundry Disbursement Reference Detail

Archive Record Layout"SUND04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","Type","","Date",Disburse Amount,"","Disburse Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

SUND05Change Sundry Disbursement Reference Detail

Archive Record Layout"SUND05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","Type","St","Date",Disburse Amount,"","Disburse Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11 13 A Source Id N/A

12 1 A Master Account No (payment form)

Pmt_Ref_F

13 20 A Master Account No (number) Pmt_Ref_No

14 8 A Seqn (optional) Pmt_Ref_S

15 2 A Type Pmt_Type

17 6 D Date Pmt_Date

18 14 N Disburse Amount Pmt_Total

20 50 A Disburse Comment Pmt_Comment

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt L_Pymt_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

Data Import Macros and Data Dictionary 608

Page 609: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUND07Delete Sundry Disbursement Reference Detail

Archive Record Layout"SUND07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","","","",,"","","",,"","",,"","",""

Required Transaction Fields

SUND10Distribute Disbursement to G/L

Archive Record Layout"SUND10","","","","","","Source Id","Master Account No-Seqn","","","Source Id","Receipt Reference No","Master Account No","Sequence No","Master Account No","Debit Amount","Credit Amount,"(exchange variance y/n)","Batch No","Batch Sequence No"

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Pmt_Ref_F

13* 20 A Master Account No (number) Pmt_Ref_No

14* 8 A Seqn Pmt_Ref_S

15 2 A Type Pmt_Type

17 6 D Date Pmt_Date

18 14 N Disburse Amount Pmt_Total

20 50 A Disburse Comment Pmt_Comment

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt L_Pymt_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Pmt_Ref_F

13* 20 A Master Account No (number) Pmt_Ref_No

14* 8 A Seqn Pmt_Ref_S

Data Import Macros and Data Dictionary 609

Page 610: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Required Transaction Fields

Note: (exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

SUND12Complete G/L Distribution

Archive Record Layout"SUND12","","","","","","Source Id","Master Account No-Seqn","",""

Required Transaction Fields

SUND19The SUND19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 30 A Master Account No-Seqn N/A

11* 13 A Source Id Source_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Master Account No Mst_Act_No

14* 8 A Sequence No Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

19 6 N Batch No N/A

20 8 N Batch Sequence No N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id

8* 30 A Master Account No-Seqn N/A

Data Import Macros and Data Dictionary 610

Page 611: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUNR – Sundry ReceiptsThe SUNR transactions use the following screens:

• SUNR (Sundry Receipts)

• G/L Distribution

Transactions created on the SUNR screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

SUNR Transactions

G/L Distribution TransactionsThe SUNR transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

SUNR00Select Cash Set

Archive Record Layout"SUNR00","","","","","","(action type)","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

SUNR00 Select Cash Set CSHM

SUNR01 Add Cash Set Header CSHM

SUNR02 Change Cash Set Header CSHM

SUNR03 Delete Cash Set CSHM

SUNR04 Add Sundry Receipt Reference Detail CSHM

SUNR05 Change Sundry Receipt Reference Detail CSHM

SUNR07 Delete Sundry Receipt Reference Detail CSHM

SUNR19 Record Last Transaction Completed—Reorganization Identi-fier

CSHM

Macro Id DescriptionMacro File

Name

SUNR10 Distribute Receipt to G/L CSHM

SUNR12 Complete G/L Distribution CSHM

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 611

Page 612: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUNR01Add Cash Set Header

Archive Record Layout"SUNR01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)",,,"","","",""

Required Transaction Fields

Note: Fields 14 and 15 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

SUNR02Change Cash Set Header

Archive Record Layout"SUNR02","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","","","","","","",Bank Chg,Bank Comm,"Comment","","",""

Required Transaction Fields

1* 6 A (macro id) N/A

6* 1 A (action type) N/A

8 1 A Cash Set (payment form) Rec_Form

9 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_No

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

17 14 N Bank Chg Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Data Import Macros and Data Dictionary 612

Page 613: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUNR03Delete Cash Set

Archive Record Layout"SUNR03","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","","","","","","",,,"","","",""

Required Transaction Fields

Note: This transaction deactivates the cash set by changing the status.

SUNR04Add Sundry Receipt Reference Detail

Archive Record Layout"SUNR04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Payment Reference No (number)","","Type","","Date",Receipt Amount,"","Receipt Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

"SUNR04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Payment Reference No (number)","Seqn","Type","","Date",Receipt Amount,"","Receipt Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11 13 A Source Id N/A

12 1 A Master Account No (payment form)

Cash_Form

13 20 A Master Account No (number) AR_Chk_No

14 8 A Seqn (optional) Rec_Ref_S

15 2 A Type CR_Type

17 6 D Date AR_Chk_Dat

Data Import Macros and Data Dictionary 613

Page 614: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUNR05Change Sundry Receipt Reference Detail

Archive Record Layout"SUNR05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","Type","St","Date",Receipt Amount,"","Receipt Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

SUNR07Delete Sundry Receipt Reference Detail

Archive Record Layout"SUNR07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","","","",,"","","",,"","",,"","",""

18 14 N Receipt Amount Bank_Amt

20 50 A Receipt Comment Pay_Comnts

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt Chk_Amount

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Cash_Form

13* 20 A Master Account No (number) AR_Chk_No

14* 8 A Seqn AR_Seq_No

15 2 A Type CR_Type

17 6 D Date AR_Chk_Dat

18 14 N Receipt Amount Bank_Amt

20 50 A Receipt Comment Pay_Comnts

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt Chk_Amount

Data Import Macros and Data Dictionary 614

Page 615: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Required Transaction Fields

SUNR10Distribute Receipt to G/L

Archive Record Layout"SUNR10","","","","","","Source Id","Bank No-Master Account No-Seqn","","","Source Id","Receipt Reference No","Master Account No","Sequence No","Master Account No","Debit Amount","Credit Amount,","(exchange variance y/n)"

Required Transaction Fields

Note: (exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Cash_Form

13* 20 A Master Account No (number) AR_Chk_No

14* 8 A Seqn Pmt_Ref_S

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 33 A Bank No-Master Account No-Seqn

N/A

11* 13 A Source Id Source_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Master Account No Mst_Act_No

14* 8 A Sequence No Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

Data Import Macros and Data Dictionary 615

Page 616: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

SUNR12Complete G/L Distribution

Archive Record Layout"SUNR12","","","","","","Source","Master Account No-Seqn","",""

Required Transaction Fields

SUNR19The SUNR19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

SUPD – Sundry Prior Period DisbursementsThe SUPD transactions use the following screens:

• SUPD (Sundry Prior Period Disbursements)

• G/L Distribution

Transactions created on the SUPD screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

SUPD Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 33 A Master Account No-Seqn N/A

Macro Id DescriptionMacro File

Name

SUPD00 Select Cash Set CSHM

SUPD01 Add Cash Set Header CSHM

SUPD02 Change Cash Set Header CSHM

SUPD03 Delete Cash Set CSHM

SUPD04 Add Sundry Disbursement Reference Detail—Prior Period CSHM

SUPD05 Change Sundry Disbursement Reference Detail—Prior Period CSHM

SUPD07 Delete Sundry Disbursement Reference Detail—Prior Period CSHM

SUPD19 Record Last Transaction Completed—Reorganization Identi-fier

CSHM

Data Import Macros and Data Dictionary 616

Page 617: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

G/L Distribution TransactionsThe SUPD transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

SUPD00Select Cash Set

Archive Record Layout"SUPD00","","","","","","(action type)","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

SUPD01Add Cash Set Header

Archive Record Layout"SUPD01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)",,,"","","",""

Required Transaction Fields

Note: Fields 14 and 15 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

SUPD02

Macro Id DescriptionMacro FIle

Name

SUPD10 Distribute Disbursement to G/L CSHM

SUPD12 Complete G/L Distribution CSHM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type) N/A

8 1 A Cash Set (payment form) Rec_Form

9 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_No

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Data Import Macros and Data Dictionary 617

Page 618: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Change Cash Set Header

Archive Record Layout"SUPD02","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","",Bank Chg,Bank Comm,"Comment","","",""

Required Transaction Fields

SUPD03Delete Cash Set

Archive Record Layout"SUPD03","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","",,,"","","",""

Required Transaction Fields

Note: This transaction deactivates the cash set by changing the status.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 N Cash Set (number) CashSet_No

17 14 A Bank Chg Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 N Cash Set (number) CashSet_No

Data Import Macros and Data Dictionary 618

Page 619: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUPD04Add Sundry Disbursement Reference Detail—Prior Period

Archive Record Layout"SUPD04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","","Type","","Date",Disburse Amount,"","Disburse Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

SUPD05Change Sundry Disbursement Reference Detail—Prior Period

Archive Record Layout"SUPD05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","Type","St","Date",Disburse Amount,"","Disburse Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11 13 A Source Id N/A

12 1 A Master Account No (payment form)

Pmt_Ref_F

13 20 A Master Account No (number) Pmt_Ref_No

14 8 A Seqn (optional) Pmt_Ref_S

15 2 A Type Pmt_Type

17 6 D Date Pmt_Date

18 14 N Disburse Amount Pmt_Total

20 50 A Disburse Comment Pmt_Comment

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt L_Pymt_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

Data Import Macros and Data Dictionary 619

Page 620: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUPD07Delete Sundry Disbursement Reference Detail—Prior Period

Archive Record Layout"SUPD07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","","","",,"","","",,"","",,"","",""

Required Transaction Fields

SUPD10Distribute Disbursement to G/L

Archive Record Layout"SUPD10","","","","","","Source Id","Bank No-Master Account No-Seqn","","","Source Id","Pymt Reference No","Master Account No","Sequence No","Master Account No","Debit Amount","Credit Amount,"(exchange variance y/n)","",""

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Pmt_Ref_F

13* 20 A Master Account No (number) Pmt_Ref_No

14* 8 A Seqn Pmt_Ref_S

15 2 A Type Pmt_Type

17 6 D Date Pmt_Date

18 14 N Disburse Amount Pmt_Total

20 50 A Disburse Comment Pmt_Comment

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt L_Pymt_Amt

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Pmt_Ref_F

13* 20 A Master Account No (number) Pmt_Ref_No

14* 8 A Seqn Pmt_Ref_S

Data Import Macros and Data Dictionary 620

Page 621: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Required Transaction Fields

Note: (exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

SUPD12Complete G/L Distribution

Archive Record Layout"SUPD12","","","","","","Source Id","Master Account No-Seqn","",""

Required Transaction Fields

SUPD19The SUPD19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

SUPR – Sundry Prior Period ReceiptsThe SUPR transactions use the following screens:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 33 A Bank No-Master Account No-Seqn

N/A

11* 13 A Source Id Source_Id

12* 1 A Pymt Reference No (payment form)

Pymt_Form

13* 20 A Master Account No Mst_Act_No

14* 8 A Sequence No Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 30 A Master Account No-Seqn N/A

Data Import Macros and Data Dictionary 621

Page 622: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

• SUPR (Sundry Prior Period Receipts)

• G/L Distribution

Transactions created on the SUPR screen consist of a set of interdependent archive records. Each archive record in the set is required to complete the transaction. See "Interdependent Transactions" for more information on the set of transactions required.

SUPR Transactions

G/L Distribution TransactionsThe SUPR transactions defined to distribute amounts to the general ledger use the G/L Distribution screen.

SUPR00Select Cash Set

Archive Record Layout"SUPR00","","","","","","(action type)","Cash Set (payment form)","Cash Set (number)","","","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

SUPR00 Select Cash Set CSHM

SUPR01 Add Cash Set Header CSHM

SUPR02 Change Cash Set Header CSHM

SUPR03 Delete Cash Set CSHM

SUPR04 Add Sundry Receipt Reference Detail—Prior Period CSHM

SUPR05 Change Sundry Receipt Reference Detail—Prior Period CSHM

SUPR07 Delete Sundry Receipt Reference Detail—Prior Period CSHM

SUPR19 Record Last Transaction Completed—Reorganization Identi-fier

CSHM

Macro Id DescriptionMacro File

Name

SUPR10 Distribute Receipt to G/L CSHM

SUPR12 Complete G/L Distribution CSHM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

6* 1 A (action type) N/A

8 1 A Cash Set (payment form) Rec_Form

Data Import Macros and Data Dictionary 622

Page 623: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUPR01Add Cash Set Header

Archive Record Layout"SUPR01","","","","","","","Cash Set (payment form)","","Bank No","","","","","Acctg Period (period)","Acctg Period (year)",,,"","","",""

Required Transaction Fields

Note: Fields 14 and 15 are in reverse order (year, period) when Date and Number Format = C or S on the CNFG (System Installation Setup) screen.

SUPR02Change Cash Set Header

Archive Record Layout"SUPR02","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","",Bank Chg,Bank Comm,"Comment","","",""

Required Transaction Fields

SUPR03Delete Cash Set

Archive Record Layout"SUPR03","","","","","","","Cash Set (payment form)","Cash Set (number)","","","","","","","",,,"","","",""

9 20 A Cash Set (number) Csh_Set_No

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_No

10 2 A Bank No Bank_No

15 2 A Acctg Period (period) Acctg_Prd

16 2 A Acctg Period (year) Acctg_Prd

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

17 14 N Bank Chg Bnk_Chrg

18 14 N Bank Comm GL_Com_Chg

19 50 A Comment Csh_Commnt

Data Import Macros and Data Dictionary 623

Page 624: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Required Transaction Fields

Note: This transaction deactivates the cash set by changing the status.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

Data Import Macros and Data Dictionary 624

Page 625: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUPR04Add Sundry Receipt Reference Detail—Prior Period

Archive Record Layout"SUPR04","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Payment Reference No (number)","Seqn","Type","","Date",Receipt Amount,"","Receipt Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

SUPR05Change Sundry Receipt Reference Detail—Prior Period

Archive Record Layout"SUPR05","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","Type","St","Date",Receipt Amount,"","Receipt Comment","Local to Bank Exch Rate",Local Amt,"","",,"","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) Rec_Form

9* 20 A Cash Set (number) Csh_Set_No

10* 2 A Bank No Bank_No

11 13 A Source Id N/A

12 1 A Master Account No (payment form)

Cash_Form

13 20 A Master Account No (number) AR_Chk_No

14 8 A Seqn (optional) Rec_Ref_S

15 2 A Type CR_Type

17 6 D Date AR_Chk_Dat

18 14 N Receipt Amount Bank_Amt

20 50 A Receipt Comment Pay_Comnts

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt Chk_Amount

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

Data Import Macros and Data Dictionary 625

Page 626: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SUPR07Delete Sundry Receipt Reference Detail—Prior Period

Archive Record Layout"SUPR07","","","","","","","Cash Set (payment form)","Cash Set (number)","Bank No","Source Id","Master Account No (payment form)","Master Account No (number)","Seqn","","","",,"","","",,"","",,"","",""

Required Transaction Fields

SUPR10Distribute Receipt to G/L

Archive Record Layout"SUPR10","","","","","","Source Id","Bank No-Master Account No-Seqn","","","Source Id","Receipt Reference No","Master Account No","Sequence No","Master Account No","Debit Amount","Credit Amount,"(exchange variance y/n)","",""

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Cash_Form

13* 20 A Master Account No (number) AR_Chk_No

14* 8 A Seqn AR_Seq_No

15 2 A Type CR_Type

17 6 D Date AR_Chk_Dat

18 14 N Receipt Amount Bank_Amt

20 50 A Receipt Comment Pay_Comnts

21 11 A Local to Bank Exch Rate B_Ex_Rate

22 14 N Local Amt Chk_Amount

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A Cash Set (payment form) CashSet_Fm

9* 20 A Cash Set (number) CashSet_No

10* 2 A Bank No Bank_No

11* 13 A Source Id N/A

12* 1 A Master Account No (payment form)

Cash_Form

13* 20 A Master Account No (number) AR_Chk_No

14* 8 A Seqn Pmt_Ref_S

Data Import Macros and Data Dictionary 626

Page 627: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

Required Transaction Fields

Note: (exchange variance y/n) indicates whether exchange variance transactions were previously generated for this transaction. For data import processing, use (exchange variance y/n) = N. Transactions recovered should be the only transactions using (exchange variance y/n) = Y.

SUPR12Complete G/L Distribution

Archive Record Layout"SUPR12","","","","","","Source","Master Account No-Seqn","",""

Required Transaction Fields

SUPR19The SUPR19 transaction is used for ARCHIVE.FIL file reorganization only. Import transactions are not needed.

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 33 A Bank No-Master Account No-Seqn

N/A

11* 13 A Source Id Source_Id

12* 1 A Receipt Reference No (pay-ment form)

Cash_Form

13* 20 A Master Account No Mst_Act_No

14* 8 A Sequence No Seq_No

15 20 A Master Account No Mst_Act_No

16 14 N Debit Amount Trans_Amt

17 14 N Credit Amount Trans_Amt

18 1 A (exchange variance y/n) N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Source Id N/A

8* 33 A Master Account No-Seqn N/A

Data Import Macros and Data Dictionary 627

Page 628: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 S – Data Import Macros

SYST – System TransactionsTransactions created by system transactions are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available. See "SYST Transactions" under "The Archive File" in the System Operations section of the System Administration manual.

Data Import Macros and Data Dictionary 628

Page 629: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

T – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

TEXT – Text Review

TEXT Transactions

TEXT00Add New TextThe TEXT transactions are used for Text Type = M and F. Global extended text (Text Type = G) uses XTXT transactions.

Archive Record Layout"TEXT00","","","","","","Text Type","","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

TEXT01Change Existing TextThe TEXT transactions are used for Text Type = M and F. Global extended text (Text Type = G) uses XTXT transactions.

Archive Record Layout"TEXT01","","","","","","Text Type","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Macro Id DescriptionMacro File

Name

TEXT00 Add New Text SYSM

TEXT01 Change Existing Text SYSM

TEXT02 Delete Existing Text SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Text Type Text_Type

9 60 A (text line1) Text_Line1

10 60 A (text line2) Text_Line2

11 60 A (text line3) Text_Line3

12 60 A (text line4) Text_Line4

Data Import Macros and Data Dictionary 629

Page 630: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

Required Transaction Fields

TEXT02Delete Existing TextThe TEXT transactions are used for Text Type = M and F. Global extended text (Text Type = G) uses XTXT transactions.

Archive Record Layout"TEXT02","","","","","","Text Type","Text No","","","",""

Required Transaction Fields

TRUD – Transaction UpdateTransactions created by the TRUD task are added to the ARCHIVE.FIL file for audit trail purposes. Import transactions are not available. See "BATCHUPD.FIL File" under "History File Layouts" in the Administration Reference section of the System Administration manual.

TXCF – Tax ConfigurationThe TXCF screen varies based on which tax system you are using. When a one-level VAT (Value-Added Tax) system is selected, the following fields are available:

• Taxing Authority Levels

• Default VAT Code

• VAT Id

TXCF Transactions

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Text Type Text_Type

8* 6 A Text No Text_No

9 60 A (text line1) Text_Line1

10 60 A (text line2) Text_Line2

11 60 A (text line3) Text_Line3

12 60 A (text line4) Text_Line4

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Text Type Text_Type

8* 6 A Text No Text_No

Data Import Macros and Data Dictionary 630

Page 631: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

One-Level VAT System Transactions

Two-Level VAT System TransactionsSeveral additional fields are available when a two-level VAT system is used:

• Primary Authority Level

• Secondary Authority Level

• Secondary VAT Code

TXCF01Change Tax Configuration—One-Level VAT System

Archive Record Layout"TXCF01","","","","","","Taxing Authority Levels","VAT Id","","Default VAT Code","",""

Required Transaction Fields

TXCF02Change Tax Configuration—Two-Level VAT System

Archive Record Layout"TXCF02","","","","","","","VAT Id","Primary Authority Label","Primary Default VAT Code","Secondary Authority Label","Secondary Default VAT Code"

Required Transaction Fields

Macro Id DescriptionMacro File

Name

TXCF01 Change Tax Configuration—One-Level VAT System SYSM

TXCF03 Complete Tax Level Configuration (CTRL+ENTER) SYSM

Macro Id DescriptionMacro File

Name

TXCF02 Change Tax Configuration—Two-Level VAT System SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Taxing Authority Levels Tax_Level

8 20 A VAT Id VAT_Id

10 2 A Default VAT Code P_VAT_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

Data Import Macros and Data Dictionary 631

Page 632: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

TXCF03Complete Tax Level Configuration (CTRL+ENTER)

Archive Record Layout"TXCF03","","","","","","Taxing Authority Level","","","","",""

Required Transaction Fields

TXTA – Tax Code TableThe TXTA transactions use the following screens:

• TXTA (Tax Code Table)

• Tax Base Calculation Mask window

The TXTA screen and Tax Base Calculation Mask window vary based on the tax system you are using.

TXTA Transactions

8 20 A VAT Id VAT_Id

9 2 A Primary Authority Label P_Label

10 2 A Primary Default VAT Code P_VAT_Code

11 2 A Secondary Authority Label S_Label

12 2 A Secondary Default VAT Code S_VAT_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Taxing Authority Level Tax_Level

8 20 A VAT Id VAT_Id

10 2 A Default VAT Code P_VAT_Code

Macro Id DescriptionMacro File

Name

TXTA00 Add Sales Tax Code SYSM

TXTA00 Add VAT Code SYSM

TXTA01 Change Sales Tax Code—Federal or State SYSM

TXTA01 Change Sales Tax Code—County or Municipal SYSM

TXTA01 Change VAT Code SYSM

Data Import Macros and Data Dictionary 632

Page 633: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

Tax Base Calculation Mask Transactions

TXTA00Add Sales Tax Code

Archive Record Layout"TXTA00","","","","","","Tax Type","Tax Code (federal or state)","","Tax Description",Tax Rate,"Tax Liability Master Account No","Tax Accrual Master Account No","User Code","Tax Code (county or municipal)",""

Required Transaction Fields

TXTA00Add VAT Code

Archive Record Layout"TXTA00","","","","","","VAT Auth","VAT Code", "","Tax Description",Tax Rate,"A/R Liability Master Account No","A/P Liability Master Account No","User Code","",""

Required Transaction Fields

Macro Id DescriptionMacro File

Name

TXTA02 Change Tax Base Calculation Mask—Sales Tax System SYSM

TXTA02 Change Tax Base Calculation Mask—VAT System SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Tax Type N/A

8 2 A Tax Code (federal or state) Tax_Code_F; Tax_Code_S

10 20 A Tax Description Tax_Desc

11 6 N Tax Rate Tax_Rate_C, Tax_Rate_F; Tax_Rate_M; Tax_Rate_S

12 20 A Tax Liability Master Account No

Tax_LiabNo

13 20 A Tax Accrual Master Account No

N/A

14 1 A User Code Tx_Dist_Fl

15 3 A Tax Code (county or munici-pal)

Tax_Code_C; Tax_Code_M

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 633

Page 634: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

TXTA01Change Sales Tax Code—Federal or State

Archive Record Layout"TXTA01","","","","","","Tax Type","Tax Code","","Tax Description",Tax Rate,"Tax Liability Master Account No","Tax Accrual Master Account No","User Code",""

Required Transaction Fields

TXTA01Change Sales Tax Code—County or Municipal

Archive Record Layout"TXTA01","","","","","","Tax Type","","","Tax Description",Tax Rate,"Tax Liability Master Account No","Tax Accrual Master Account No","User Code","Tax Code"

1* 6 A (macro id) N/A

7* 1 A VAT Auth VAT_Auth

8 2 A VAT Code VAT_C

10 20 A Tax Description Tax_Desc

11 6 N Tax Rate Tax_Rate

12 20 A A/R Liability Master Account No

Tax_Acc_No

13 20 A A/P Liability Master Account No

Tax_Acc_No

14 1 A User Code Tx_Dist_Fl

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Tax Type N/A

8* 2 A Tax Code Tax_Code_F; Tax_Code_S

10 20 A Tax Description Tax_Desc

11 6 N Tax Rate Tax_Rate_F; Tax_Rate_S

12 20 A Tax Liability Master Account No

Tax_LiabNo

13 20 A Tax Accrual Master Account No

N/A

14 1 A User Code Tax_Dist_Fl

Data Import Macros and Data Dictionary 634

Page 635: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

Required Transaction Fields

TXTA01Change VAT Code

Archive Record Layout"TXTA01","","","","","","VAT Auth","VAT Code","","Tax Description",Tax Rate,"A/R Liability Master Account No","A/P Liability Master Account No","User Code","",""

Required Transaction Fields

TXTA02Change Tax Base Calculation Mask—Sales Tax System

Archive Record Layout"TXTA02","","","","","","Tax Type","Tax Code","Tax Base Calculation Mask","",""

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Tax Type N/A

10 20 A Tax Description Tax_Desc

11 6 N Tax Rate Tax_Rate_C; Tax_Rate_M

12 20 A Tax Liability Master Account No

Tax_LiabNo

13 20 A Tax Accrual Master Account No

N/A

14 1 A User Code Tax_Dist_Fl

15* 3 A Tax Code Tax_Code_C; Tax_Code_M

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A VAT Auth VAT_Auth

8* 3 A VAT Code Tax_Auth1-2

10 20 A Tax Description Tax_Desc

11 6 N Tax Rate Tax_Rate

12 20 A A/R Liability Master Account No

Tax_Acc_No

13 20 A A/P Liability Master Account No

Tax_Acc_No

14 1 A User Code Tax_Dist_Fl

Data Import Macros and Data Dictionary 635

Page 636: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

Required Transaction Fields

TXTA02Change Tax Base Calculation Mask—VAT System

Archive Record Layout"TXTA02","","","","","","VAT Auth","VAT Code","Tax Base Calculation Mask","",""

Required Transaction Fields

TXWU – Text Where Used

TXWU Transactions

TXWU01Change Existing Text

Archive Record Layout"TXWU01","","","","","","Text Type","Text No","(text line1)","(text line2)","(text line3)","(text line4)"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Tax Type N/A

8 3 A Tax Code Tax_Code

9 50 A Tax Base Calculation Mask Tax_Mask

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 1 A Vat Auth VAT_Auth

8 2 A VAT Code VAT_C

9 50 A Tax Base Calculation Mask Tax_Mask

Macro Id DescriptionMacro File

Name

TXWU01 Change Existing Text SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 1 A Text Type Text_Type

Data Import Macros and Data Dictionary 636

Page 637: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 T – Data Import Macros

8* 6 A Text No Text_No

9 60 A (text line1) Text_Line1

10 60 A (text line2) Text_Line2

11 60 A (text line3) Text_Line3

12 60 A (text line4) Text_Line4

Data Import Macros and Data Dictionary 637

Page 638: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

V – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

VATT – Value Added Tax Code Table

VATT Transactions

VATT00Add Product Code

Archive Record Layout"VATT00","","","","","","Product Code","",""

Required Transaction Fields

VATT01Add Customer Code

Archive Record Layout"VATT01","","","","","","Customer Code","",""

Required Transaction Fields

VATT02

Macro Id DescriptionMacro File

Name

VATT00 Add Product Code SYSM

VATT01 Add Customer Code SYSM

VATT02 Change VAT Code SYSM

VATT03 Delete Product Code SYSM

VATT04 Delete Customer Code SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 12 A Product Code VAT_Prd_Co

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 5 A Customer Code Shp_to_VAT

Data Import Macros and Data Dictionary 638

Page 639: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

Change VAT Code

Archive Record Layout"VATT02","","","","","","Product Code","Customer Code","Primary VAT Code","Secondary VAT Code"

Required Transaction Fields

VATT03Delete Product Code

Archive Record Layout"VATT03","","","","","","Product Code"

Required Transaction Fields

VATT04Delete Customer Code

Archive Record Layout"VATT04","","","","","","Customer Code"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 12 A Product Code VAT_Prd_Co

8* 5 A Customer Code Shp_to_VAT

9 2 A Primary VAT Code P_VAT_Code

10 2 A Secondary VAT Code S_VAT_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 12 A Product Code VAT_Prd_Co

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 5 A Customer Code Shp_to_VAT

Data Import Macros and Data Dictionary 639

Page 640: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VCOT - Vendor Contact

VCOT Transactions

VCOT00Add Vendor Contact Required field entries for VCOT00 transactions depend on the method used to add a vendor contact. If "New Contact Y/N" is "N," a vendor contact is added by selecting an existing contact. If "New Contact Y/N" is "Y", Contact Id is ignored, and a vendor contact is added by creating a brand-new contact. Use the following table to determine which fields are required when adding a vendor contact record according to "(New Contact Y/N)":

Archive Record Layout"VCOT00","","","","","","Vendor Id","Contact Id","Contact Name","Title","Email Address","Phone Number 1","Phone Type 1","New Contact Y/N”

Required Transaction Fields

Macro Id DescriptionMacro File

Name

VCOT00 Add Vendor Contact PURM1

VCOT01 Change Vendor Contact PURM1

VCOT02 Delete Vendor Contact PURM1

VCOT03 Change Vendor Contact Detail PURM1

VCOT04 Change Vendor Report Send As PURM1

VCOT05 Change Contact Notes PURM1

New Contact Y/N Customer Id Contact Id Contact Name

Y = Add a brand new contact record Required Not Required Required

N = Select an existing contact record Required Required Not Required

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id N/A

8* 10 A Contact Id N/A

9* 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 20 A Phone Number 1 N/A

Data Import Macros and Data Dictionary 640

Page 641: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VCOT01Change Vendor Contact

Archive Record Layout

"VCOT01","","","","","","Vendor Id","Contact Id","Contact Name","Title","Email Address","Phone Number 1","Phone Type 1"

Required Transaction Fields

VCOT02Delete Vendor Contact

Archive Record Layout

"VCOT02","","","","","","Vendor Id","Contact Id"

Required Transaction Fields

VCOT03Change Vendor Contact Detail

Archive Record Layout

13 1 A Phone Type 1 N/A

14* 1 A New Contact Y/N N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id N/A

8* 10 A Contact Id N/A

9 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 20 A Phone Number 1 N/A

13 1 A Phone Type 1 N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id N/A

8* 10 A Contact Id N/A

Data Import Macros and Data Dictionary 641

Page 642: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

"VCOT03","","","","","","Vendor Id","Contact Id","Contact Name","Title","Email Address","Phone Type 1","Phone Number 1","Phone Type 2","Phone Number 2","Phone Type 3","Phone Num-ber 3","Facebook","Twitter","User Defined 1","User Defined 2","User Defined 3"

Required Transaction Fields

VCOT04Change Vendor Report Send As

Archive Record Layout

"VCOT04","","","","","","Vendor Id","Contact Id","Report Type","Send As","","","","",” Vendor Id on Vendor Contact Screen”

Required Transaction Fields

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id N/A

8* 10 A Contact Id N/A

9 40 A Contact Name N/A

10 70 A Title N/A

11 128 A Email Address N/A

12 1 A Phone Type 1 N/A

13 20 A Phone Number 1 N/A

14 1 A Phone Type 2 N/A

15 20 A Phone Number 2 N/A

16 1 A Phone Type 3 N/A

17 20 A Phone Number 3 N/A

18 128 A Facebook N/A

19 20 A Twitter N/A

20 128 A User Defined 1 N/A

21 128 A User Defined 2 N/A

22 128 A User Defined 3 N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id N/A

Data Import Macros and Data Dictionary 642

Page 643: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VCOT05Change Contact Notes

Archive Record Layout

"VCOT05","","","","","","Vendor Id","Contact Id","Notes"

Required Transaction Fields

VDIT – Vendors That Supply an ItemThe VDIT transactions use the following screen and window:

• VDIT (Vendors That Supply an Item)

• Vendor/Item Detail window

VDIT Transactions

Vendor Item Detail Transactions

8* 10 A Contact Id N/A

9* 20 A Report Type N/A

10 1 A Send As N/A

Field# Length Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id N/A

8* 10 A Contact Id N/A

9 2499 A Notes N/A

Macro Id DescriptionMacro File

Name

VDIT00 Add Vendor Item PURM1

VDIT01 Change Vendor Item PURM1

VDIT02 Delete Vendor Item PURM1

Macro Id DescriptionMacro File

Name

VDIT03 Add New Text—Vendor Item Configuration PURM1

VDIT04 Attach Existing Text—Vendor Item Configuration PURM1

Data Import Macros and Data Dictionary 643

Page 644: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VDIT00Add Vendor Item

Archive Record Layout"VDIT00","","","","","","Item","Vendor Id","Reference Vendor Item", "Reference Vendor Description",Reference Vendor Conv,"Reference Vendor UM",Reference Vendor LT,,,,"","","","",,,,,"",””,””,””,””,””,”Vendor Item Status”

Required Transaction Fields

VDIT01Change Vendor Item

Archive Record Layout"VDIT01","","","","","","Item","Vendor Id","Reference Vendor Item", "Reference Vendor Description",Reference Vendor Conv,"Reference Vendor UM", Reference Vendor LT,,,,"","","","",,,,,"","","","","","","Vendor Item Status"

Required Transaction Fields

Change Vendor Item Configuration

VDIT05 Delete Text—Vendor Item Configuration PURM1

VDIT06 Restore Inherited Value—Vendor Item Configuration PURM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

10 70 A Reference Vendor Descrip-tion

VI_Desc

11 8 N Reference Vendor Conv VI_UM_Cnvt

12 4 A Reference Vendor UM VI_UM

13 3 N Reference Vendor LT VI_LeadTim

31 1 A Vendor Item Status VI_Status

Fld# Lgth Type Screen Name Export Name

1 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

Data Import Macros and Data Dictionary 644

Page 645: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VDIT02Delete Vendor Item

Archive Record Layout"VDIT02","","","","","","Item","Vendor Id","Reference Vendor Item","",,"",,,,,"","","","",,,,,"","","","","","",""

Required Transaction Fields

VDIT03Add New Text—Vendor Item Configuration

Archive Record Layout"VDIT03","","","","","","Item","Vendor Id","Reference Vendor Item","(text line 1)", "(text line 2)","(text line 3)","(text line 4)"

Required Transaction Fields

10 70 A Reference Vendor Descrip-tion

VI_Desc

11 8 N Reference Vendor Conv VI_UM_Cnvt

12 4 A Reference Vendor UM VI_UM

13 3 N Reference Vendor LT VI_LeadTim

31 1 A Vendor Item Status VI_Status

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

11 60 A (text line 1) Text_Line1

12 60 A (text line 2) Text_Line2

13 60 A (text line 3) Text_Line3

14 60 A (text line 4) Text_Line4

Data Import Macros and Data Dictionary 645

Page 646: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VDIT04Attach Existing Text—Vendor Item Configuration

Change Vendor Item Configuration

Archive Record Layout"VDIT04","","","","","","Item","Vendor Id","Reference Vendor Item","",,"",, Vendor Priority,Blanket Order Firm Fence, Supplied %,"Inspection Required","Print Sub-Contract Components","Print Extended Text on Ext Documents","Print Standard Text on Ext Documents",On-Time Delivery Days Early,On-Time Delivery Days Late,Receipt Variance Allowed Under,Receipt Variance Allowed Over,"Text No","Document","Rev Date","Status","EDI Item"

Required Transaction Fields

VDIT05

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

14 2 N Vendor Priority VI_Priorty

15 3 N Blanket Order Firm Fence VI_BlktFen

16 3 N Supplied % VI_Ord_Pct

17 1 A Inspection Required Insp_Reqd

18 1 A Print Sub-Contract Compo-nents

VI_PrtSubC

19 1 A Print Extended Text on Ext Documents

VI_PrtExtT

20 1 A Print Standard Text on Ext Documents

VI_PrtStdT

21 3 N On-Time Delivery Days Early VI_Day_Erl

22 3 N On-Time Delivery Days Late VI_Day_Lat

23 5 N Receipt Variance Allowed Under

VI_Und_Var

24 5 N Receipt Variance Allowed Over

VI_Ovr_Var

25 6 A Text No Text_No

26 10 A Document Vi_Appdoc

27 6 D Rev Date Vi_Appdat

28 1 A Status Vi_Appsta

29 1 A EDI Item

Data Import Macros and Data Dictionary 646

Page 647: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

Delete Text—Vendor Item Configuration

Archive Record Layout"VDIT05","","","","","","Item","Vendor Id","Reference Vendor Item","",,"",,,,,"","","","",,,,,""

Required Transaction Fields

VDIT06Restore Inherited Value—Vendor Item Configuration

Archive Record Layout"VDIT06","","","","","","Item","Vendor Id","Reference Vendor Item","",,"",,, Blanket Order Firm Fence,,"Inspection Required","Print Sub-Contract Components","Print Extended Text on Ext Documents","Print Standard Text on Ext Documents",On-Time Delivery Days Early,On-Time Delivery Days Late,Receipt Variance Allowed Under,Receipt Variance Allowed Over,""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

Fld# Lgth Type Screen Name Export Name

1 6 A (macro id) N/A

7* 30 A Item Item

8* 13 A Vendor Id Vendor_Id

9* 30 A Reference Vendor Item Vend_Item

15 3 N Blanket Order Firm Fence VI_BlktFen

17 1 A Inspection Required Insp_Reqd

18 1 A Print Sub-Contract Compo-nents

VI_PrtSubC

19 1 A Print Extended Text on Ext Documents

VI_PrtExtT

20 1 A Print Standard Text on Ext Documents

VI_PrtStdT

21 3 N On-Time Delivery Days Early VI_Day_Erl

22 3 N On-Time Delivery Days Late VI_Day_Lat

23 5 N Receipt Variance Allowed Under

VI_Und_Var

24 5 N Receipt Variance Allowed Over

VI_Ovr_Var

Data Import Macros and Data Dictionary 647

Page 648: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VEID – Vendor Master by Vendor Id The VEID transactions use the following screens:

• VEID (Vendor Master by Vendor Id)

• Vendor Master Detail

• Vendor Configuration

Predetermined values for certain fields on these screens can be established and used for entering groups of vendors with similar characteristics. When adding a vendor using a Vendor Master screen, the default values are displayed and stored in the system until overridden. Set up default values for Vendor Id ØØØØØØ. See "Using Default Values" under "Suggestions for Using the Module" in the Setting Up the Module section of the Purchasing online manual for more information on the DEFAULT-VENDOR.

VEID Transactions

Vendor Master Detail Transactions

Vendor Configuration Transactions

Macro Id DescriptionMacro File

Name

VEID00 Add Vendor GLOBAL

VEID01 Change Vendor GLOBAL

VEID02 Delete Vendor GLOBAL

VEID08 Change Vendor Account Number GLOBAL

Macro Id DescriptionMacro File

Name

VEID03 Add New Text—Vendor Master GLOBAL

Attach Existing Text—Vendor Master GLOBAL

Change Vendor Master Detail GLOBAL

VEID04 Delete Text—Vendor Master GLOBAL

Macro Id DescriptionMacro File

Name

VEID05 Add New Text—Vendor Configuration GLOBAL

Attach Existing Text—Vendor Configuration GLOBAL

Change Vendor Configuration GLOBAL

VEID06 Delete Text—Vendor Configuration GLOBAL

VEID07 Restore Inherited Values—Vendor Configuration GLOBAL

Data Import Macros and Data Dictionary 648

Page 649: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

Vendor Intrastat Information Updates

VEID00Add Vendor

Archive Record Layout"VEID00","","","","","","Vendor Id","Vendor Name","Contact","Phone","App","Prt,"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","E-Mail","STA","Transport Via","FOB"

Required Transaction Fields

VEID01Change Vendor

Archive Record Layout"VEID00","","","","","","Vendor Id","Vendor Name","Contact","Phone","App","Prt,"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","E-Mail","STA","Transport Via","FOB"

Macro Id DescriptionMacro File

Name

VEID09 Change Intrastat Vendor Configuration GLOBAL

VEID20 Add Extended Text - Intrastat Vendor Configuration GLOBAL

VEID21 Change Extended Text - Intrastat Vendor Configuration GLOBAL

VEID22 Delete Extended Text - Intrastat Vendor Configuration GLOBAL

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 13 A Vendor Id Vendor_Id

8 60 A Vendor Name Vend_Name

9 40 A Contact Contact

10 20 A Phone Phone

11 1 A App App

12 1 A Prt Prt

67 20 A E-Mail Email

68 1 A STA Status

69 30 A Transport Via N/A

70 20 A FOB N/A

Data Import Macros and Data Dictionary 649

Page 650: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

Required Transaction Fields

VEID02Delete Vendor

Archive Record Layout"VEID02","","","","","","Vendor Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",,,,,,"","","","","","","","",,"","","","","",,,,,,,"","","","",""

Required Transaction Fields

VEID03Add New Text—Vendor Master

Attach Existing Text—Vendor Master

Change Vendor Master Detail

Archive Record Layout"VEID03","","","","","","Vendor Id","","","","","","Addr","(addr2)","City","St","Zip","C","Payee Name","(payee name2)","Addr","(addr2)","City","St","Zip","C","Acct Contact","Acct Phone","Vend Class 1","Vend Class 2","Vend Class 3","Vend Class 4","Vend Class 5","Vend Class 6","Vend Class 7","Vend Class 8",Cash #1 %,Cash #1 Days,Cash #2 %,Cash #2 Days,Net Days,"FAX #","D&B Ref#","D&B Class","D&B Rat'g","D&B Date","","1099","Tax Id Number",,"","","","","",,,,,,,"Text No","(text line1)","(text line2)","(text line3)","(text line4)","Ctrl Curr","Curr Code","Std Terms",Day,Cutoff,Delay,"Pay Form","Bank Name","Route Num","Bank Acct","Print Format","Print Language","VAT Id","Start Date","VAT Code"

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8 60 A Vendor Name Vend_Name

9 40 A Contact Contact

10 20 A Phone Phone

11 1 A App App

12 1 A Prt Prt

67 20 A E-Mail Email

68 1 A Sta Status

69 30 A Transport Via N/A

70 20 A FOB N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 650

Page 651: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

13 60 A Addr Vend_Addr1

14 60 A (addr2) Vend_Addr2

15 15 A City Vend_City

16 10 A St Vend_State

17 12 A Zip Vend_Zip

18 15 A C Vend_Cntry

19 30 A Payee Name Payee_Nam1

20 30 A (payee name2) Payee_Nam2

21 60 A Addr Pay_Addr1

22 60 A (addr2) Pay_Addr2

23 15 A City Pay_City

24 10 A St Pay_State

25 12 A Zip Pay_Zip

26 15 A C Pay_Cntry

27 40 A Acct Contact Acct_Cntct

28 20 A Acct Phone Acct_Phone

29 1 A Vend Class 1 Vend_Clas1

30 1 A Vend Class 2 Vend_Clas2

31 1 A Vend Class 3 Vend_Clas3

32 1 A Vend Class 4 Vend_Clas4

33 1 A Vend Class 5 Vend_Clas5

34 1 A Vend Class 6 Vend_Clas6

35 6 A Vend Class 7 Vend_Clas7

36 6 A Vend Class 8 Vend_Clas8

37 5 N Cash #1 % Disc_Pcnt1

38 3 N Cash #1 Days Disc_Days1

39 5 N Cash #2 % Disc_Pcnt2

40 3 N Cash #2 Days Disc_Days2

41 3 N Net Days Net_Days

42 20 A FAX # FAX_Number

43 11 A D&B Ref# DB_Ref_No

Data Import Macros and Data Dictionary 651

Page 652: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VEID04Delete Text—Vendor Master

Archive Record Layout"VEID04","","","","","","Vendor Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","", "",,,,,,"","","","","","","","",,"","","","","",,,,,,,"","","","",""

Required Transaction Fields

44 4 A D&B Class DB_Class

45 3 A D&B Rat'g DB_Ratg

46 6 A D&B Date DB_Date

48 1 A 1099 Tax_Flag

49 11 A Tax Id Number Tax_Id_No

62 6 A Text No Text_No

63 60 A (text line1) Text_Line1

64 60 A (text line2) Text_Line2

65 60 A (text line3) Text_Line3

66 60 A (text line4) Text_Line4

67 1 A Ctrl Curr Ctrl_Curr

68 5 A Curr Code Curr_Code

69* 1 A Std Terms Pay_Term

70 2 N Day Mon_PayWen

71 2 N Cutoff Mon_Cutoff

72 2 N Delay Mon_Delay

73 1 A Pay Form Pay_Form

74 30 A Bank Name PayBk_Name

75 30 A Route Num PayBk_Rout

76 30 A Bank Acct PayBk_Acct

77 1 A Print Format Po_Prt_Flag

78 12 A Print Language Po_Lang

79 20 A VAT Id Tax_Id_Num

80 6 D Start Date Start_Date

81 2 A VAT Code VAT_Code

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 652

Page 653: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VEID05Add New Text—Vendor Configuration

Attach Existing Text—Vendor Configuration

Change Vendor Configuration

Archive Record Layout"VEID05","","","","","","Vendor Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",,,,,,"","","","","","","","",Blanket Order Firm Fence,"Inspection Required","Print PO","Print Extended Text on Ext Documents","Print Standard Text on Ext Documents","Print Sub-Contract Components",On-time Delivery Days Early,On-time Delivery Days Late,Receipt Variance Allowed Under,Receipt Variance Allowed Over,Contract Review Message Value/Quantity Tolerance,Contract Review Message Days,"Text No","(text line1)","(text line2)","(text line3)","(text line4)","EDI Partner","Over Receipt Enforcement for PO","PO Over Receipt Tolerance"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

50 3 N Blanket Order Firm Fence V_BlktFen

51 1 A Inspection Required Insp_Reqd

52 1 A Print PO Print_PO

53 1 A Print Extended Text on Ext Documents V_PrtExtT

54 1 A Print Standard Text on Ext Documents V_PrtStdT

55 1 A Print Sub-Contract Components V_PrtSubC

56 3 N On-Time Delivery Days Early V_Day_Erl

57 3 N On-Time Delivery Days Late V_Day_Lat

58 5 N Receipt Variance Allowed Under V_Und_Var

59 5 N Receipt Variance Allowed Over V_Ovr_Var

60 5 N Contract Review Message Value/Quantity Tolerance

V_ContPct

61 3 N Contract Review Message Days V_ContRev

62 6 A Text No Text_No

63 60 A (text line 1) Text_Line1

64 60 A (text line 2) Text_Line2

65 60 A (text line 3) Text_Line3

66 60 A (text line 4) Text_Line4

67 1 A EDI Partner

68 1 A Over Receipt Enforcement for PO N/A

69 5 A PO Over Receipt Tolerance N/A

Data Import Macros and Data Dictionary 653

Page 654: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VEID06Delete Text—Vendor Configuration

Archive Record Layout"VEID06","","","","","","Vendor Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",,,,,,"","","","","","","","",,"","","","","",,,,,,,"","","","",""

Required Transaction Fields

VEID07Restore Inherited Values—Vendor Configuration

Archive Record Layout"VEID07","","","","","","Vendor Id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",,,,,,"","","","","","","","",Blanket Order Firm Fence,"Inspection Required","Print PO","Print Extended Text on Ext Documents","Print Standard Text on Ext Documents","Print Sub-Contract Components",On-Time Delivery Days Early,On-Time Delivery Days Late,Receipt Variance Allowed Under,Receipt Variance Allowed Over,Contract Review Message Value/Quantity Tolerance,Contract Review Message Days,"","","","",""

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

50 3 N Blanket Order Firm Fence V_BlktFen

51 1 A Inspection Required Insp_Reqd

52 1 A Print PO Print_PO

53 1 A Print Extended Text on Ext Documents

V_PrtExtT

54 1 A Print Standard Text on Ext Documents

V_PrtStdT

55 1 A Print Sub-Contract Compo-nents

V_PrtSubC

56 3 N On-Time Delivery Days Early V_Day_Erl

57 3 N On-Time Delivery Days Late V_Day_Lat

58 5 N Receipt Variance Allowed Under

V_Und_Var

Data Import Macros and Data Dictionary 654

Page 655: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VEID08Change Vendor Account Number

Archive Record Layout"VEID08","","","","","","Vendor Id","Unvouchered A/P Account","Vouchered A/P Account","Purchase Price Variance Account","PO/Inv Variance Account"

Required Transaction Fields

VEID09Change Intrastat Vendor Configuration

Archive Record Layout"VEID09","","","","","","Vendro Id","Automated Intrastat Transaction","EC Listing","Destination Member State","Origin Member State","Mode of Transportation","Delivery Terms","Reference #1","Reference #2","Reference #3","Reference #4","Reference #5"

Required Transaction Fields

59 5 N Receipt Variance Allowed Over

V_Ovr_Var

60 5 N Contract Review Message Value/Quantity Tolerance

V_ContPct

61 3 N Contract Review Message Days

V_ContRev

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8 20 A Unvouchered A/P Account Unv_Acct

9 20 A Vouchered A/P Account Vouch_Acct

10 20 A Purchase Price Variance Account

Ppvar_Acct

11 20 A PO/Inv Variance Account Poinv_Acct

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendro Id Vendor_Id

8 1 A Automated Intrastat Transac-tion

N/A

9 1 A EC Listing N/A

10 2 A Destination Member State N/A

11 2 A Origin Member State N/A

Data Import Macros and Data Dictionary 655

Page 656: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VEID20Add Extended Text - Intrastat Vendor Configuration

Archive Record Layout"VEID20","","","","","","","(text entry type)","(page number)","Vendor Id","","","","Text Message"

Required Transaction Fields

VEID21Change Extended Text - Intrastat Vendor Configuration

Archive Record Layout"VEID21","","","","","","","(text entry type)","(page number)","Vendor Id","","","","Text Message"

Required Transaction Fields

VEID22

12 2 A Mode of Transportation N/A

13 3 A Delivery Terms N/A

14 20 A Reference #1 N/A

15 20 A Reference #2 N/A

16 20 A Reference #3 N/A

17 20 A Reference #4 N/A

18 20 A Reference #5 N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 13 A Vendor Id Vendor_Id

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 13 A Vendor Id Vendor_Id

14 890 A Text Message N/A

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 656

Page 657: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

Delete Extended Text - Intrastat Vendor Configuration

Archive Record Layout"VEID22","","","","","","","(text entry type)","(page number)","Vendor Id","","","","Text Message"

Required Transaction Fields

VEIT – Items Supplied by a VendorAll VEIT transactions are imported using the VDIT macros. The resulting archive records are assigned the VDIT macro id even though the source transactions used the VEIT macro id. See VDIT for vendor item transactions.

VEND – Vendor Master by Vendor NameAll VEND transactions are imported using the VEID macros. The resulting archive records are assigned the VEID macro id even though the source transactions used the VEND macro id. See VEID for Vendor Master transactions.

VROP - Vendor Report Options

VROP Transactions

VROP01Change Vendor Report Option

Archive Record Layout

"VROP01","","","","","","Vendor Id","Report Type","Email Print Preference"

Required Transaction Fields

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 2 A (page number) N/A

10* 13 A Vendor Id Vendor_Id

14 890 A Text Message N/A

Macro Id DescriptionMacro File

Name

VROP01 Change Vendor Report Option PURM1

Field# Length Type Screen Name

Data Import Macros and Data Dictionary 657

Page 658: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VSDT – Vendor by Distributor

VSDT Transactions

VSDT00Add Vendor to Distributor

Archive Record Layout"VSDT00","","","","","","Vendor Id","Distributor Id","Sta"

Required Transaction Fields

VSDT01Change Vendor to Distributor

Archive Record Layout"VSDT01","","","","","","Vendor Id","Distributor Id","Sta"

Required Transaction Fields

1* 6 A (macro id)

7* 13 A Vendor Id

8* 20 A Report Type

9 1 A Email Print Preference

Macro Id DescriptionMacro File

Name

VSDT00 Add Vendor to Distributor PURM1

VSDT01 Change Vendor to Distributor PURM1

VSDT02 Delete Vendor to Distributor PURM1

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7 13 A Vendor Id Vendor_Id

8 13 A Distributor Id Dist_Id

9 1 A Sta Status

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

Data Import Macros and Data Dictionary 658

Page 659: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 V – Data Import Macros

VSDT02Delete Vendor to Distributor

Archive Record Layout"VSDT02","","","","","","Vendor Id","Distributor Id","Sta"

Required Transaction Fields

VSDT transactions are imported using DIST macros.

8* 13 A Distributor Id Dist_Id

9 1 A Sta Status

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

7* 13 A Vendor Id Vendor_Id

8* 13 A Distributor Id Dist_Id

9 1 A Sta Status

Fld# Lgth Type Screen Name Export Name

Data Import Macros and Data Dictionary 659

Page 660: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 X – Data Import Macros

X – Data Import MacrosThis section provides detail information for specific transactions. Transactions are provided alphabetically based on the screen used to complete the transaction.

XTXT – Global Extended TextThe Global Extended Text window is used to enter multiple line text messages. The Global Extended Text window can be accessed from several screens but uses the TEXT (Text Review) screen for data import processing.

XTXT Transactions

XTXT00Add Extended Text—Global

Archive Record Layout"XTXT00","","","","","","","(text entry type)","Ext Text Id","","","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

Macro Id DescriptionMacro File

Name

XTXT00 Add Extended Text—Global SYSM

XTXT01 Change Extended Text—Global SYSM

XTXT02 Delete Extended Text—Global SYSM

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 15 A Ext Text Id Text_Id

14 890 A Text Message Text

Text Entry Types Description

I Insert new text

Y Existing text message change

N Subsequent lines changed for an existing text mes-sage

D Delete text

Data Import Macros and Data Dictionary 660

Page 661: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 X – Data Import Macros

The following identifies the special ASCII codes than can be included in an extended text message:

XTXT01Change Extended Text—Global

Archive Record Layout"XTXT01","","","","","","","(text entry type)","Ext Text Id","","","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

The following identifies the special ASCII codes than can be included in an extended text message:

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 15 A Ext Text Id Text_Id

14 890 A Text Message Text

Text Entry Types Description

I Insert new text

Y Existing text message change

N Subsequent lines changed for an existing text mes-sage

D Delete text

ASCII Character Used For

016 Tab character

017 Carriage return (Enter key)

029 Blank space as the last character in the message line

031 Manual line break within text message

Data Import Macros and Data Dictionary 661

Page 662: Data Import Macros and Data Dictionary Fourth Shift Release 7worthen.xdatasync.com/support/PrintDoc/MACM.pdf · The Data Import Macros manual contains two sections: • Data Import

Fourth Shift Release 7.50 X – Data Import Macros

XTXT02Delete Extended Text—Global

Archive Record Layout"XTXT02","","","","","","","(text entry type)","Ext Text Id","","","","","Text Message"

Required Transaction Fields

(text entry type) identifies what type of text messages should be entered. The (text entry type) options include:

Fld# Lgth Type Screen Name Export Name

1* 6 A (macro id) N/A

8* 1 A (text entry type) N/A

9* 15 A Ext Text Id Text_Id

14 890 A Text Message (none) Text

Text Entry Types Description

I Insert new text

Y Existing text message change

N Subsequent lines changed for an existing text message

D Delete text

Data Import Macros and Data Dictionary 662