CREQ_1508 - Stoppage Annotation
Request Features
Product Group: | Protheus |
Industry: | Manufacture
|
Module: | SIGASFC - Shop Floor |
Routine: | Routine | Technical Name | SFCA310 | Production Annotation Model 1 | SFCA316 | Production Annotation Model 2 | SFCA311 | Stoppage Annotation | SFCA313 | Production Annotation Reversal | SFCA314 | Production Annotation | SFCA001 | Work Center | SFCA002 | Machine | SFCA100 | Production Order | SFCC101 | Item | MATA650 | Production Orders |
|
Initial Registration: |
|
Parameter(s): | Not Applicable.
|
Entry Point: | Not Applicable.
|
Related tickets | Not Applicable.
|
Requirement (ISSUE): | PCREQ-1508 |
Country(ies): | All |
Database: | Top Connect |
Tables | CYV, CYQ, CYB, CZ3, CY9 |
Operational system(s): | All |
Versions/Release: | 11.80
|
Corrected Version: | 11.80.14 |
Issued Version: | 11.80.14 |
Description
- Develop a production annotation method without needing to register all operations of the production order.
This modality aims at enabling the production for the cases in which there is an operation that does not need to be controlled or has a very little execution time; - Enabling the user to perform stoppage annotation, even if there are production annotations in the same period.
- Enabling the user to perform production annotation, even if there are production annotations in the same period.
- Remodel the annotation screen model 1 to improve performance.
Important
(Only for Microsiga Protheus, previous versions to version 12)
Before executing the compatibility tool, enter the U_UPSFC008 :
- Make a backup of the product database that will run the compatibility tool (directory PROTHEUS_DATA\DATA, if version 10, or \PROTHEUS11_DATA\DATA, if version 11) and from SXs data dictionaries ( PROTHEUS_DATA_SYSTEMdirectory, if version 10, or \PROTHEUS11_DATA\SYSTEM, if version 11).
- The directories mentioned above correspond to the standard installation of Protheus. Therefore, they must be changed according to the company installation environment.
- This routine must be run in exclusive mode, that is, no user must be using the system.
- If data dictionaries have customized indexes (created by the user), before running the compatibility tool, make sure they are identified by nickname. If the compatibility tool needs to create indexes, it adds from the original order installed in Protheus, which can cause overwriting if they are not identified by nickname.
- The compatibility tool must be run with the Referential Integrity deactivated*.
Attention
The procedure must be performed by a qualified professional as the Data Bank Administrator or equivalent!
The erroneous activation of the Referential Integrity drastically changes the relation among tables in the data bank. Therefore, before using it, note the procedures as follows:
- In the Configurator (SIGACFG), check if the company uses Referential Integrity by selecting the option Integrity/Checking (APCFG60A).
- If there is no active Referential Integrity, all the companies and branches registered for the system are listed in a new window and none of them is selected. In this case, AND ONLY IN THIS CASE, you do not need any other activation/deactivation integrity procedure; just finalize the checking the apply the compatibility tool according to instructions.
- If there is active Referential Integrity, a message in the Checking the relation among tables window is displayed in all companies and branches. Confirm message for checking conclusion or;
- If there is active Referential Integrity in one or more companies, not in its totality, all the companies and branches registered to the system are listed in a new window and only the one(s) that have integrity are selected. Note which company(ies) and/or branch(es) have activated integrity and reserve this note for later query in the reactivation (or, contact the Framework Help Desk for information in relation to a file that has this information).
- In the cases described in the items iii or iv, AND ONLY IN THESE CASES, you must deactivate such integrity by selecting option Integrity/ Deactivate (APCFG60D).
- When the Referential Integrity is deactivated, run the compatibility tool, according to instructions.
- After applying the compatibility tool, the Referential Integrity must be reactivated, IF AND ONLY IF it has been deactivated, through option Integrity/Activate (APCFG60). Keep information on company and/or branches that have integrity activation, by selecting and confirming the activation again.
Contact the Framework Help Desk IN CASE OF DOUBTS!
- In Microsiga Protheus TOTVS Smart Client (if version 10) or ByYou Smart Client (if version 11), enter U_UPSFC008 in the field Start Program. Important: For proper update of the data dictionary, ensure that the compatibility program date is equal or later to 9/30/2015.
- Click OK to continue.
- After the confirmation is shown on screen to select the company where the data dictionary is modified.
- Upon confirming, a warning message is displayed regarding backup and the need to run it under exclusive mode.
- Click Process to start the processing. The first step of the execution is file preparation.
A explanatory message is displayed on screen. - Afterwards, a Finished updating window is displayed with all the processed updating history (log). In this updating log, only the fields updated by the program are presented. The compatibility program creates fields that do not exist on the data dictionary yet.
- Click Save to save the log displayed.
- Click OK to complete processing.
Compatibility Tool Updates
(Only for Microsiga Protheus, previous versions to version 12)
- Creation or Change of Questions in the file SX1 – Register of Questions:
Question | Treatment Workforce |
Name | MV_PAR01 |
Group | SFCA310A |
Order | 02 |
Type | C |
Size | 1 |
Question | Treatment GGF |
Name | MV_PAR03 |
Group | SFCA310A |
Order | 03 |
Type | C |
Size | 1 |
Question | Scrap Treatment |
Name | MV_PAR04 |
Group | SFCA310A |
Order | 04 |
Type | C |
Size | 1 |
2. Creation or Change (only keep the corresponding instruction) of Fields in the file SX3 – Fields:
- Table BGD - Prod x Cob x Proc x Co-Part:
Field | CYQ_TPRPOR |
Type | |
Size | |
Decimal | |
Format | |
Title | |
Description | |
Level | |
Used | Yes |
Required | |
Browser | |
Options | 1=Order;2=Operation |
When | |
Relationship | |
Val. System | |
Help | |
Field | CYB_LGQBRP |
Type | L |
Size | 1 |
Decimal | 0 |
Format | |
Title | Break Annot |
Description | Break Annotation |
Level | |
Used | Yes |
Required | Yes |
Browser | No |
Options | |
When | |
Relationship | |
Val. System | |
Help | Defines whether the machine allows the break of production annotation records, when the executing of stoppage annotation in the same period. |
Field | CZ3_TPRPOR |
Type | C |
Size | 1 |
Decimal | 0 |
Format | 9 |
Title | Reports Prod |
Description | Reports Production |
Level | |
Used | Yes |
Required | Yes |
Browser | No |
Options | 1=Order;2=Operation |
When | |
Relationship | |
Val. System | |
Help | Production Annotation Type for Item. It can be Order of Operation |
Field | CYV_TPMOD |
Type | C |
Size | 1 |
Decimal | 0 |
Format | 9 |
Title | Workforce Tp |
Description | Workforce Type |
Level | |
Used | Yes |
Required | Yes |
Browser | No |
Options | |
When | |
Relationship | |
Val. System | |
Help | Workforce type used for the execution of production annotation |
Field | CYV_TPRF |
Type | C |
Size | 1 |
Decimal | 0 |
Format | 9 |
Title | Scrap Type |
Description | Scrap Type |
Level | |
Used | Yes |
Required | Yes |
Browser | No |
Options | |
When | |
Relationship | |
Val. System | |
Help | Scrap type used for the execution of production annotation |
Field | CYV_TPGGF |
Type | C |
Size | 1 |
Decimal | 0 |
Format | 9 |
Title | GGF Type |
Description | Manufacture General Expenses Type |
Level | |
Used | Yes |
Required | Yes |
Browser | No |
Options | |
When | |
Relationship | |
Val. System | |
Help | GGF Type (General Expenses of Manufacturing) used for the execution of production annotation |
Field | CY9_LGCERP |
Type | L |
Size | 1 |
Decimal | 0 |
Format | 9 |
Title | Reported |
Description | Reported |
Level | |
Used | Yes |
Required | Yes |
Browser | No |
Options | |
When | |
Relationship | |
Val. System | |
Help | Defines whether the operation is reported |
Field | CYV_NRRPOG |
Type | C |
Size | 20 |
Decimal | 0 |
Format | @E 99999999999999999999 |
Title | Origin Seq |
Description | Origin Sequence |
Level | |
Used | Yes |
Required | No |
Browse | Yes |
Options | |
When | |
Relationship | |
Val. System | |
Help | Enter the production annotation originating the record |
Field | CYV_LGCERP |
Type | L |
Size | 1 |
Decimal | 0 |
Format | 9 |
Title | Reported |
Description | Reported |
Level | |
Used | Yes |
Required | No |
Browse | Yes |
Options | |
When | |
Relationship | |
Val. System | |
Help | Defines whether the split is reported |
Important:
The size of the fields that have group can vary according to environment in use.
5. Creation or Change of Indexes in the file SIX – Indexes:
Index | CV1 |
Order | 7 |
Key | CYV_FILIAL+CYV_NRRPOG |
Description |
|
Owner | S |
Machine - SFCA002
To break the annotation, select the option "Break Annot" in the register of machine used by the script operation used in the production order.
Production Annotation - SFCA310/SFCA316
In the browser, the production annotation screen, both in model 1 and 2, when clicking F12, 3 new parameters will be displayed.
- Treatment Workforce: Defines how the workforce of the production annotation is broken. It can be:
- Does not interfere: The Workforce annotation is in the first annotation without break of stoppage.
- Keeps hours: The Workforce annotation is broken in two(or more) annotations, keeping the amount of hours of annotation before the break/interval generated by the stoppage.
- Reduces Workforce: The Workforce annotation is broken in two(or more) annotations, reducing the amount of hours of stoppage interval.
- Treatment GGF: Defines how the workforce of the production annotation is broken. It can be:
- Does not interfere: The GGF annotation is in the first annotation without break of stoppage.
- Keeps hours: The GGF annotation is broken in two(or more) annotations, keeping the amount of hours of annotation before the break/interval generated by the stoppage.
- Reduces GGF: The GGF annotation is broken in two(or more) annotations, reducing the amount of hours of stoppage interval.
- Scrap Treatment: Defines how the scrap of the production annotation is broken. It can be:
- Proportional: Divides the amount of scraps proportionally by the amount of hours executed per each new annotation generated by the break.
- Keeps first: The scraps are all entered in the first annotation.
- Keeps last: The scraps are all entered in the last annotation.
The production annotation must be regularly registered, if there is a stoppage between the start and end time of annotation, the break is automatically executed according to the rules of parameters above.
Stoppage Annotation - SFCA311
The stoppage annotation must be regularly registered, if there is a stoppage between the start and end time of annotation, the break is automatically executed according to the rules of parameters above the production annotation.
The break of Production Annotation only will happen if it overlaps all the stoppage annotation, that is, the start time of production must be earlier than the beginning of the stoppage and the end time of the production must be higher than the stoppage end. If the rule is not respected, a message informing that there is production/annotation production entered in this date.