RosettaNet Implementation

Step-by-step instructional guide for the RosettaNet implementation:

Implement RosettaNet standards for transaction sets involving Samsung as a partner in the DIODES SAS network.

Components:

  • Inbound Transactions: 3A4R (Purchase Order Request), 3C4 (Customization)

  • Outbound Transactions: 3A4C (Purchase Order Confirmation), 3C3 (Additional Outbound)

1. Network and Partner Configurations

  • Network: DIODES SAS

  • Partner: SAMSUNG (Non-EDI)

  • Target File Naming: Configured at the partner level to manage file names dynamically for each transaction set.

    • 3C3TargetFileName

    • 3C4TargetFileName

    • 3A4CTargetFileName

    • 3A4RTargetFileName


2. Inbound Events and Transactions:

  • Events:

    1. SAS_SAMSUNG_3A4R_IB_FileEvent: For 3A4R transaction.

    2. SAS_SAMSUNG_3C4_IB_FileEvent: For 3C4 transaction.

  • Inbound Transaction

a. SAS_SAMSUNG_3A4R_IB

b. SAS_SAMSUNG_3C4_IB

2.a. Inbound Transaction: SAS_SAMSUNG_3A4R_IB

  1. This transaction is to process Rosettanet Samsung 3A4R

image-20240830-061017.png
  1. The transaction is set to be used by a partner.

  • Select network "DIODES SAS".

  • select partner "SAS_SAMSUNG_RNIF".

  • These settings seem to be part of configuring a Rosettanet or similar business transaction. The partner configuration is associated with the network "DIODES SAS" and the partner "SAS_SAMSUNG_RNIF".

image-20240830-061527.png
  1. "Transaction Settings" configuration interface with the following details:

  • Contact User: This is the email address of the contact user for the transaction.

  • Notification Preference:

    • When to notify the contact user thru email?: The "Always" option is selected, meaning the contact user will be notified via email for all relevant events.

  • Email Notification Format: The format is set to "Default".

  • Data Encoding: This setting is displayed, but no specific encoding is selected in the visible part of the image.

These settings are part of the transaction configuration process, where the user specifies how and when notifications are sent and selects the data encoding format.

  1. Select Source “LAN”

  1. Select Yes for convert the source

  1. Select On File Created event trigger to transfer data.

  1. Select the File event “SAS_SAMSUNG_3A4R_IB_FileEvent”

  1. Select Source data format as XML and source data layout “SAS_SAMSUNG_3A4R_XMLLayout”

  1. Select the Destinations Type as “LAN”

Source Location for 3A4R: \\LexiCom\inbox\SAMSUNG_RNIF\3A4_V02.00

  1. Select “Create File” to deliver data to destination.

  1. Define the Intermediates Target as LAN File Target “Diodes_Intermediates_eVID_FileTarget”

Location for Inbound Intermediate: EDI_IB_INTERMEDIATE

12, Define target data format “Advanced Positional” and Define the target data layout

  1. Define and Select Mapping and Save and Exit

13.1 Data Mapping

Mapping Details

Source Structure

  • Source: w:pip (DI_XMSC_RosettaNet_3A4R)

    • This is the source data structure named w:pip with the schema DI_XMSC_RosettaNet_3A4R.

    • It contains several elements and attributes such as @actionType, @host, @mailbox, @pipCode, @pipInstanceId, @pipVersion, @test, and nested structures like w:serviceContent.

    • Nested Structure:

      • w:serviceContent:

        • Contains a Pip3A4PurchaseOrderRequest element that includes:

          • fromRole: Information about the sender.

          • PurchaseOrder: Details about the purchase order.

          • thisDocumentGenerationDateTime: Timestamp for document generation.

          • thisDocumentIdentifier: Unique identifier for the document.

          • toRole: Information about the receiver.

Destination Structure

  • Destination: Root (Oracle_POI)

    • The destination structure is named Root with a schema called Oracle_POI.

    • It consists of various required fields like RecordNumber_0010-0010, RecordNumber_1000-1000, RecordNumber_1010-1010, and so on, which are placeholders for different data points that need to be mapped from the source.

 

2.b. Inbound Tr4ansation: SAS_SAMSUNG_3C4_IB

  1. Inbound Transaction: SAS_SAMSUNG_3C4_IB

  1. Define Network and Partner

  1. "Transaction Settings" configuration interface with the following details:

  1. Define Source “LAN”

  1. Select Yes for convert the source

  1. On File Created event trigger to transfer data.

  1. Select the File event “SAS_SAMSUNG_3C4_IB_FileEvent”

  1. Select Source data format as XML and source data layout “SAS_SAMSUNG_3C4_XMLLayout

  1. Select the Destinations Type as “LAN

  1. Select “Create File” to deliver data to destination.

  1. Define the Intermediates Target as LAN File Target “Diodes_Intermediates_eVID_FileTarget

12, Define target data format “Advanced Positional” and Define the target data layout

13. Define and Select Mapping and Save and Exit // Connect with Rajat To take details as its not opening in Training Envirement

 

 

 

 


3. Inbound Post Process:

This workflow is designed to handle an inbound output file through a series of steps, including processing, archiving, and transferring the file to its final destination. The workflow ensures that the file is correctly processed and stored.

  • Process Name: DI_FE_Inbound_PostProcess

  • Function: Archives files from the intermediate location and transfers them to the EVIB location (Oracle).

Steps:

  1. Start Event

    • Purpose: Initiates the workflow process.

    • Details: The start event triggers the workflow to begin handling the inbound output file.

  2. Inbound Output File Intermediate Location on evib

    • Purpose: The inbound output file is first placed in an intermediate location on the evib system.

    • Details:

      • Input: The file that needs to be processed.

      • Action: The file is received and stored temporarily at a designated intermediate location.

      • Output: The file is ready for further processing in the next step.

  3. Diodes_CP_ExtensionRemoval

    • Purpose: This step processes the file by removing any file extension if present.

    • Details:

      • Input: The file from the intermediate location.

      • Action: The Diodes_CP_ExtensionRemoval service strips any extension from the file name, if applicable.

      • Output: The file, now without an extension, is prepared for archiving.

  4. Inbound Output Archival

    • Purpose: The processed file is archived for future reference or recovery.

    • Details:

      • Input: The file with the extension removed.

      • Action: The file is stored in an archival system. This ensures that a backup of the file is maintained.

      • Output: The file is securely archived and ready for the next step in the workflow.

  5. Inbound evib File Target

    • Purpose: The file is moved to its final target location within the evib system.

    • Details:

      • Input: The archived file.

      • Action: The file is transferred to its designated target location within the evib system.

      • Output: The file reaches its final destination.

  6. End Event

    • Purpose: The workflow concludes after the file has been successfully processed and moved to its target location.

    • Details: The end event signifies the successful completion of the workflow.

This workflow ensures that an inbound output file is carefully processed, archived, and delivered to its final location within the evib system. Each step in the process is critical for ensuring the integrity and availability of the file.


4. Outbound Transactions

Outbound Events and Transactions:

  • Events:

    • SAS_SAMSUNG_3A4C_FileEvent

    • SAS_SAMSUNG_3C3_FileEvent

  • Inbound Transaction

a. SAS_SAMSUNG_3A4C_OB

b. SAS_SAMSUNG_3C3_OB

4.a. Outbound Transaction : SAS_SAMSUNG_3A4C_OB

  1. This transaction is to process Rosettanet Samsung 3A4C

  1. Define Network and Partner

  1. "Transaction Settings" configuration interface with the following details with in below screenshots.

.4 Select Source “LAN”

  1. . Select Yes for convert the source

  1. Select On File Created event trigger to transfer data.

7. Select the File event “SAS_SAMSUNG_3A4C_FileEvent”

8. Select Source data format as Advance Positional and source data layout

  1. Select the Destinations Type as “Post Process”

  1. Select Post Process Type, Process Flow and Parameters.

  1. Define the Target Layout, Format as XML and Target data layout.

  1. Define and Select Mapping and Save and Exit

12.1 Data Mapping

4.b. Outbound Transaction : SAS_SAMSUNG_3C3_OB

  1. This transaction is to process Rosettanet Samsung 3C3

  1. Define and Select Network and Partner.

  1. "Transaction Settings" configuration interface with the following details shown below screenshot:

4. Select Source “LAN”

5. Select Yes for convert the source

  1. Select On File Created event trigger to transfer data.

  1. Select the File event “SAS_SAMSUNG_3C3_FileEvent”

  1. Select Source data format as Advance Positional and source data layout

  1. Select the Destinations Type as “Post Process”

  1. Select Post Process Type, Process Flow and Parameters.

  1. Define and Select Mapping and Save and Exit

12.1 Data Moping


5. Outbound Pre Process:

  • Process Name: DIODES_EDI_Outbound_Preprocess

  • Function: Archives the source file and moves it to the intermediate location. Handles file splitting based on the Purchase Order number (Key 1).


5.a. Outbound Post Process:

  • Process Name: SAS_PF_SAMSUNG_OB

  • Function: Removes XML Encoding Header from outbound files.

he process flow illustrates :

  1. Start Event: The process begins here, indicating the initiation of the workflow.

  2. Dummy LAN File Source: This step represents the source of the data. It is labeled as a "Dummy LAN File Source," suggesting that this is a placeholder or test data source in a Local Area Network (LAN) environment. The data is fetched or initiated from this source to proceed further in the flow.

  3. Custom Code to Remove XML Encoding Header: In this step, custom code is applied to modify the data. Specifically, the code removes the XML encoding header from the data. This is likely a necessary preprocessing step to ensure that the data is in the correct format or to comply with downstream system requirements.

  4. Samsung Outbound LAN File Target: After the data has been processed (i.e., the XML encoding header is removed), it is sent to the "Samsung Outbound LAN File Target." This step represents the destination where the processed data is stored or transmitted over the LAN to a Samsung-related system or endpoint.

  5. End Event: This marks the completion of the process flow. Once the data reaches the Samsung Outbound LAN File Target, the workflow is considered complete.

This process flow is part of a data transformation or transmission setup where data is prepared and formatted correctly for delivery to a specific target system.


6. Mail Notifications

  • Configuration: Mail notifications are set up at the transaction level.

  • Purpose: Provides alerts for any transaction failures to ensure timely responses and corrections.

Below is the snapshot of how a mail notification will be received in case of any failure.


7. Post-Deployment Actions

  • Adjust File Events: Update file events and source locations as needed.

  • Target Location Updates: Modify target location activities based on the requirements of each transaction set.

3A4R - INBOUND

3A4R is a purchase Order Request.

Transaction Name- SAS_SAMSUNG_3A4R_IB

Source Layout- SAS_SAMSUNG_3A4R_XMLLayout (XML)

Destination Layout- Oracle POI(Advanced Positional)

File Event- SAS_SAMSUNG_3A4R_IB_FileEvent

●      Create a new file Event with your Suitable source location

●      Create a new target location activity in transaction

3A4C - OUTBOUND

3A4C is purchase order confirmation. It is sent as a confirmation to 3A4R.

Transaction Name- SAS_SAMSUNG_3A4C_OB

Source Layout- Oracle_POAO

Destination Layout- SAS_SAMSUNG_3A4C_XMLLayout

File Event- SAS_SAMSUNG_3A4C_FileEvent

Mapping Name- SAS_SAMUSNG_3A4C_V2_Mapping

Create a new file Event with your Suitable source location

Create a new target location activity in transaction

Source file of 3A4C can contain multiple PO requests. To handle the scenario, the 3A4C source file gets splitted based on Key 1( Purchase order Number). It is implemented at the outbound preprocess level where we are splitting the source file based on the naming convention (*SS3A4C*) , archiving the source files and transferring the splitted files to EDI_OB_INTERMEDIATE location.

3C4 - INBOUND

Transaction Name- SAS_SAMSUNG_3C4_IB

Source Layout- SAS_SAMSUNG_3C4_XMLLayout

Destination Layout- SAS_SAMSUNG_3C4_ADPLayout

FileEvent- SAS_SAMSUNG_3C4_IB_FileEvent

●      Create a new file Event with your Suitable source location

●      Create a new target location activity in transaction

3C3 - OUTBOUND

Transaction Name- SAS_SAMSUNG_3C3_OB

Source Layout- SAS_SAMSUNG_3C3_ADPLLayout

Destination Layout- SAS_SAMSUNG_3C3_XMLLayout

FileEvent- SAS_SAMSUNG_3C3_FileEvent

Source file gets picked up from location- evob

Create a new file Event with your Suitable source location

Create a new target location activity in transaction

 File Include Criteria     

*SS3C3*