If your organization creates Nota Fiscal documents and has a need to be able to copy these objects using Gold Client, then deploy the changes outlined below.
Updated content (as of June 13, 2017) consists of: (A) newly added tables to data type FI - NOTA FISCAL DOCUMENTS, and (B) data types links so that Nota Fiscal documents can be included in the data copy in relation to MM Invoices, Material Docs, and SD Billing Docs.
Step 1: In your primary Source client (typically Production), go to ZGOLD > Configuration > Framework > Data Echo
Step 2: Create a new data type using the details that follow
Note: If your configuration already contains a data type named FI - NOTA FISCAL DOCUMENTS, skip ahead to step 4
Data Type: FI - NOTA FISCAL DOCUMENTS
Datatype Kind: 'T' (transactional)
File ID: FINOTA
Data Snap Rec Limit: 1,000
Step 3: Locate the data type at the end of the list of data types
Step 4: Open the data type and select the 'Tables' maintenance view
Step 5: Add the table relations visible in the following screen capture
![Name: Capture55.PNG
Views: 2
Size: 45.4 KB]()
Step 6: Add common fields for each table relation; all table relations use common fields DOCNUM - DOCNUM (screen capture below-left) with the exception of J_1BNFSTX - J_1BNFLIN as it uses common fields DOCNUM - DOCNUM and ITMNUM - ITMNUM (screen capture below-right)
![Name: Capture56.PNG
Views: 2
Size: 4.5 KB]()
Step 7: Create a new data type using the details in this screen capture
![Name: Capture57.PNG
Views: 2
Size: 5.3 KB]()
Step 8: Locate the data type at the end of the list of data typesStep 9: Open the data type and select the 'Tables' maintenance view
Step 10: Add the table relation and common fields visible in the following screen capture
![Name: Capture58.PNG
Views: 2
Size: 18.1 KB]()
Step 11: Within this same data type select the 'Linkages' maintenance viewStep 12: Add a link to FI - NOTA FISCAL DOCUMENTS and then add the linkage details consisting of the following: J_1BNFDOC DOCNUM = DOCNUM
![Name: Capture59.PNG
Views: 1
Size: 18.5 KB]()
Step 13: Open data type MM - INVOICE RECEIPTS and select the 'Linkages' maintenance view
Step 14: Add a link to LINK - DOCUMENT TO NOTA FISCAL and then add the linkage details consisting of the following: J_1BNFLIN REFTYP = 'LI' AND J_1BNFLIN REFKEY = *. Using an asterisk on this line informs Gold Client that concatenation is used. Double-click this line and then input two rows consisting of BELNR and GJAHR. For this data to be copied successfully, ensure that your configuration matches identically the details in this screen capture.
![Name: Capture60.PNG
Views: 1
Size: 27.9 KB]()
Step 15: Open data type MM - MATERIAL DOCUMENTS and select the 'Linkages' maintenance viewStep 16: Add a link to LINK - DOCUMENT TO NOTA FISCAL and then add the linkage details consisting of the following: J_1BNFLIN REFTYP = 'MD' AND J_1BNFLIN REFKEY = *. Using an asterisk on this line informs Gold Client that concatenation is used. Double-click this line and then input two rows consisting of MBLNR and MJAHR. For this data to be copied successfully, ensure that your configuration matches identically the details in this screen capture.
![Name: Capture61.PNG
Views: 1
Size: 28.6 KB]()
Step 17: Open data type SD - BILLING DOCUMENTS and select the 'Linkages' maintenance viewStep 18: Add a link to LINK - DOCUMENT TO NOTA FISCAL and then add the linkage details consisting of the following: J_1BNFLIN REFTYP = 'BI' AND J_1BNFLIN REFKEY = VBELN.
![Name: Capture 62.PNG
Views: 1
Size: 22.9 KB]()
Updated content (as of June 13, 2017) consists of: (A) newly added tables to data type FI - NOTA FISCAL DOCUMENTS, and (B) data types links so that Nota Fiscal documents can be included in the data copy in relation to MM Invoices, Material Docs, and SD Billing Docs.
Step 1: In your primary Source client (typically Production), go to ZGOLD > Configuration > Framework > Data Echo
Step 2: Create a new data type using the details that follow
Note: If your configuration already contains a data type named FI - NOTA FISCAL DOCUMENTS, skip ahead to step 4
Data Type: FI - NOTA FISCAL DOCUMENTS
Datatype Kind: 'T' (transactional)
File ID: FINOTA
Data Snap Rec Limit: 1,000
Step 3: Locate the data type at the end of the list of data types
Step 4: Open the data type and select the 'Tables' maintenance view
Step 5: Add the table relations visible in the following screen capture

Step 6: Add common fields for each table relation; all table relations use common fields DOCNUM - DOCNUM (screen capture below-left) with the exception of J_1BNFSTX - J_1BNFLIN as it uses common fields DOCNUM - DOCNUM and ITMNUM - ITMNUM (screen capture below-right)

Step 7: Create a new data type using the details in this screen capture

Step 8: Locate the data type at the end of the list of data typesStep 9: Open the data type and select the 'Tables' maintenance view
Step 10: Add the table relation and common fields visible in the following screen capture

Step 11: Within this same data type select the 'Linkages' maintenance viewStep 12: Add a link to FI - NOTA FISCAL DOCUMENTS and then add the linkage details consisting of the following: J_1BNFDOC DOCNUM = DOCNUM

Step 13: Open data type MM - INVOICE RECEIPTS and select the 'Linkages' maintenance view
Step 14: Add a link to LINK - DOCUMENT TO NOTA FISCAL and then add the linkage details consisting of the following: J_1BNFLIN REFTYP = 'LI' AND J_1BNFLIN REFKEY = *. Using an asterisk on this line informs Gold Client that concatenation is used. Double-click this line and then input two rows consisting of BELNR and GJAHR. For this data to be copied successfully, ensure that your configuration matches identically the details in this screen capture.

Step 15: Open data type MM - MATERIAL DOCUMENTS and select the 'Linkages' maintenance viewStep 16: Add a link to LINK - DOCUMENT TO NOTA FISCAL and then add the linkage details consisting of the following: J_1BNFLIN REFTYP = 'MD' AND J_1BNFLIN REFKEY = *. Using an asterisk on this line informs Gold Client that concatenation is used. Double-click this line and then input two rows consisting of MBLNR and MJAHR. For this data to be copied successfully, ensure that your configuration matches identically the details in this screen capture.

Step 17: Open data type SD - BILLING DOCUMENTS and select the 'Linkages' maintenance viewStep 18: Add a link to LINK - DOCUMENT TO NOTA FISCAL and then add the linkage details consisting of the following: J_1BNFLIN REFTYP = 'BI' AND J_1BNFLIN REFKEY = VBELN.
