﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://owl.unipharm.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sheilav</id>
	<title>uniWIKI - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://owl.unipharm.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sheilav"/>
	<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php/Special:Contributions/Sheilav"/>
	<updated>2026-09-01T08:21:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=6464</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=6464"/>
		<updated>2017-01-24T22:12:56Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
Because this application was originally written for TD, Chase transactions must be translated to use the same transaction types and card types.  If Chase sends a record with a new, unmapped type, it will have to be added to tables UX BEDICPCRDT or UX BEDICPTRNT.&lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R batch payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
When more than one card type is in a batch, this process is submitted to QBATCH for each type.  As each may take a moment to run, the next must wait to be submitted.  The user will see this screen - &lt;br /&gt;
&lt;br /&gt;
 *PL/480B*  A/R batch payment update                 11/30/16 11:53:49 FKR05101 &lt;br /&gt;
 -------------------------------------------------------------------------------&lt;br /&gt;
 Accounting period... 17  10                                                    &lt;br /&gt;
 Voucher type........ 75                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Document type....... MC                                                        &lt;br /&gt;
 Voucher date........ 113016                                                    &lt;br /&gt;
 Identity............ MC                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Remarks.............                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Printer queue....... PRT01                                                     &lt;br /&gt;
 Number of copies....  1                                                        &lt;br /&gt;
 Hold on spool file.. N                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 You cannot use this function now                                               &lt;br /&gt;
&lt;br /&gt;
They must wait a moment, then press enter to try again to submit the process.&lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
===Duplicate File Name===&lt;br /&gt;
&lt;br /&gt;
If you try to import a file with the same name as one that has already been imported, you will get a message.  You should cancel the process, and investigate it.  Using the 'RD' (raw data) option, look at the file that has already been uploaded.  A file with no transactions will have two records; a batch header and batch trailer (record types 10 and 99).&lt;br /&gt;
&lt;br /&gt;
  Columns . . . :    1 121                    Browse                              UWDASWPRDD/BECPRDP &lt;br /&gt;
  SEU==&amp;gt;                                                                          C170118018&lt;br /&gt;
  FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9   &lt;br /&gt;
         *************** Beginning of data *********************************************************   &lt;br /&gt;
 0001.00 1001191711440310946585  TRN &lt;br /&gt;
 0002.00 990000000020000000000000000000000000000000000000000000000000000TRN &lt;br /&gt;
 0003.00              &lt;br /&gt;
         ****************** End of data ************************************************************   &lt;br /&gt;
&lt;br /&gt;
If the new file to import has the same records as the original file, it can go straight to the archive (to keep a record of the fact it was received twice).  Change the name by, for example, adding 'dup' to end to make it clear it was a duplicate file.&lt;br /&gt;
&lt;br /&gt;
If the two files are different, I would question the bank - there is only supposed to be one file per day, and the date is part of the file name.  If the second file should also be uploaded, the file name should be changed; but using a different method than above.  The files are imported with the name 'C', six digit date (from the file name), then the file suffix; which is the Julian day.  To import a second file for the same date, change the file suffix to make the name unique.  &lt;br /&gt;
&lt;br /&gt;
Even though the import process will allow you to import a file with a duplicate name, it is best not to do it.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=6463</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=6463"/>
		<updated>2017-01-24T22:07:46Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
Because this application was originally written for TD, Chase transactions must be translated to use the same transaction types and card types.  If Chase sends a record with a new, unmapped type, it will have to be added to tables UX BEDICPCRDT or UX BEDICPTRNT.&lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R batch payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
When more than one card type is in a batch, this process is submitted to QBATCH for each type.  As each may take a moment to run, the next must wait to be submitted.  The user will see this screen - &lt;br /&gt;
&lt;br /&gt;
 *PL/480B*  A/R batch payment update                 11/30/16 11:53:49 FKR05101 &lt;br /&gt;
 -------------------------------------------------------------------------------&lt;br /&gt;
 Accounting period... 17  10                                                    &lt;br /&gt;
 Voucher type........ 75                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Document type....... MC                                                        &lt;br /&gt;
 Voucher date........ 113016                                                    &lt;br /&gt;
 Identity............ MC                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Remarks.............                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Printer queue....... PRT01                                                     &lt;br /&gt;
 Number of copies....  1                                                        &lt;br /&gt;
 Hold on spool file.. N                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 You cannot use this function now                                               &lt;br /&gt;
&lt;br /&gt;
They must wait a moment, then press enter to try again to submit the process.&lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
===Duplicate File Name===&lt;br /&gt;
&lt;br /&gt;
If you try to import file with the same name as one that has already been imported, you will get a message.  You should cancel the process, and investigate it.  Using the 'RD' (raw data) option, look at the file that has already been uploaded.  A file with no transactions will have two records; a batch header and batch trailer (record types 10 and 99).&lt;br /&gt;
&lt;br /&gt;
  Columns . . . :    1 121                    Browse                              UWDASWPRDD/BECPRDP &lt;br /&gt;
  SEU==&amp;gt;                                                                          C170118018&lt;br /&gt;
  FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9   &lt;br /&gt;
         *************** Beginning of data *********************************************************   &lt;br /&gt;
 0001.00 1001191711440310946585  TRN &lt;br /&gt;
 0002.00 990000000020000000000000000000000000000000000000000000000000000TRN &lt;br /&gt;
 0003.00              &lt;br /&gt;
         ****************** End of data ************************************************************   &lt;br /&gt;
&lt;br /&gt;
If the new file to import also looks like this, it can go straight to the archive (to keep a record of the fact it was received twice).  Change the name by, for example, adding a letter to end to make it clear it was a duplicate file.&lt;br /&gt;
&lt;br /&gt;
If the two files are different, I would question the bank - there is only supposed to be one file per day, and the date is part of the file name.  If the second file should also be uploaded, the file name should be changed; but using a different method than above.  The files are imported with the name 'C', six digit date, then the file suffix; which is the Julian day.  To import a second file for the same date, change the file suffix to make the name unique.  &lt;br /&gt;
&lt;br /&gt;
Even though the import process will allow you to import a file with a duplicate name, it is best not to do it.  &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=6462</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=6462"/>
		<updated>2017-01-24T21:55:27Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
Because this application was originally written for TD, Chase transactions must be translated to use the same transaction types and card types.  If Chase sends a record with a new, unmapped type, it will have to be added to tables UX BEDICPCRDT or UX BEDICPTRNT.&lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R batch payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
When more than one card type is in a batch, this process is submitted to QBATCH for each type.  As each may take a moment to run, the next must wait to be submitted.  The user will see this screen - &lt;br /&gt;
&lt;br /&gt;
 *PL/480B*  A/R batch payment update                 11/30/16 11:53:49 FKR05101 &lt;br /&gt;
 -------------------------------------------------------------------------------&lt;br /&gt;
 Accounting period... 17  10                                                    &lt;br /&gt;
 Voucher type........ 75                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Document type....... MC                                                        &lt;br /&gt;
 Voucher date........ 113016                                                    &lt;br /&gt;
 Identity............ MC                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Remarks.............                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Printer queue....... PRT01                                                     &lt;br /&gt;
 Number of copies....  1                                                        &lt;br /&gt;
 Hold on spool file.. N                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 You cannot use this function now                                               &lt;br /&gt;
&lt;br /&gt;
They must wait a moment, then press enter to try again to submit the process.&lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
===Duplicate File Name===&lt;br /&gt;
&lt;br /&gt;
If you try to import file with the same name as one that has already been imported, you will get a message.  You should cancel the process, and investigate it.  Using the 'RD' (raw data) option, look at the file that has already been uploaded.  A file with no transactions will have two records; a batch header and batch trailer (record types 10 and 99).&lt;br /&gt;
&lt;br /&gt;
  Columns . . . :    1 121                    Browse                              UWDASWPRDD/BECPRDP &lt;br /&gt;
  SEU==&amp;gt;                                                                          C170118018&lt;br /&gt;
  FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8 ...+... 9   &lt;br /&gt;
         *************** Beginning of data *********************************************************   &lt;br /&gt;
 0001.00 1001191711440310946585  TRN &lt;br /&gt;
 0002.00 990000000020000000000000000000000000000000000000000000000000000TRN &lt;br /&gt;
 0003.00 �              &lt;br /&gt;
         ****************** End of data ************************************************************   &lt;br /&gt;
&lt;br /&gt;
If the new file to import also looks like this, it can go straight to the archive (to keep a record of the fact it was received twice).  Change the name by, for example, adding a letter to end to make it clear it was a duplicate file.&lt;br /&gt;
&lt;br /&gt;
If the two files are different, I would question the bank - there is only supposed to be one file per day, and the date is part of the file name.  If the second file should also be uploaded, the file name should be changed; but using a different method.  &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                    &lt;br /&gt;
                                                                                                                                 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5947</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5947"/>
		<updated>2016-11-30T20:23:51Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Credit and Debit Card Transactions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
Because this application was originally written for TD, Chase transactions must be translated to use the same transaction types and card types.  If Chase sends a record with a new, unmapped type, it will have to be added to tables UX BEDICPCRDT or UX BEDICPTRNT.&lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R batch payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
When more than one card type is in a batch, this process is submitted to QBATCH for each type.  As each may take a moment to run, the next must wait to be submitted.  The user will see this screen - &lt;br /&gt;
&lt;br /&gt;
 *PL/480B*  A/R batch payment update                 11/30/16 11:53:49 FKR05101 &lt;br /&gt;
 -------------------------------------------------------------------------------&lt;br /&gt;
 Accounting period... 17  10                                                    &lt;br /&gt;
 Voucher type........ 75                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Document type....... MC                                                        &lt;br /&gt;
 Voucher date........ 113016                                                    &lt;br /&gt;
 Identity............ MC                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Remarks.............                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Printer queue....... PRT01                                                     &lt;br /&gt;
 Number of copies....  1                                                        &lt;br /&gt;
 Hold on spool file.. N                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 You cannot use this function now                                               &lt;br /&gt;
&lt;br /&gt;
They must wait a moment, then press enter to try again to submit the process.&lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5944</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5944"/>
		<updated>2016-11-30T20:19:30Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Bank EDI Does Not Post */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R batch payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
When more than one card type is in a batch, this process is submitted to QBATCH for each type.  As each may take a moment to run, the next must wait to be submitted.  The user will see this screen - &lt;br /&gt;
&lt;br /&gt;
 *PL/480B*  A/R batch payment update                 11/30/16 11:53:49 FKR05101 &lt;br /&gt;
 -------------------------------------------------------------------------------&lt;br /&gt;
 Accounting period... 17  10                                                    &lt;br /&gt;
 Voucher type........ 75                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Document type....... MC                                                        &lt;br /&gt;
 Voucher date........ 113016                                                    &lt;br /&gt;
 Identity............ MC                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Remarks.............                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Printer queue....... PRT01                                                     &lt;br /&gt;
 Number of copies....  1                                                        &lt;br /&gt;
 Hold on spool file.. N                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 You cannot use this function now                                               &lt;br /&gt;
&lt;br /&gt;
They must wait a moment, then press enter to try again to submit the process.&lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5940</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5940"/>
		<updated>2016-11-30T19:59:42Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Bank EDI Does Not Post */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R batch payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
When more than one card type is in a batch, this process submitted to QBATCH for each type.  As each may take a moment to run, the next must wait to be submitted.  The user will see this screen - &lt;br /&gt;
&lt;br /&gt;
 *PL/480B*  A/R batch payment update                 11/30/16 11:53:49 FKR05101 &lt;br /&gt;
 -------------------------------------------------------------------------------&lt;br /&gt;
 Accounting period... 17  10                                                    &lt;br /&gt;
 Voucher type........ 75                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Document type....... MC                                                        &lt;br /&gt;
 Voucher date........ 113016                                                    &lt;br /&gt;
 Identity............ MC                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Remarks.............                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Printer queue....... PRT01                                                     &lt;br /&gt;
 Number of copies....  1                                                        &lt;br /&gt;
 Hold on spool file.. N                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 You cannot use this function now                                               &lt;br /&gt;
&lt;br /&gt;
They must wait a moment, then press enter to try again to submit the process.&lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5873</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5873"/>
		<updated>2016-11-30T00:25:24Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one A/R payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extensions process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
Generate EFT from statements, and Bank EDI have been changed to check for other A/R payment batched running, but it apparently doesn't always work properly (or the A/R payment process is called from another extension).&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
====To Post Manually ==== &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5872</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5872"/>
		<updated>2016-11-30T00:19:13Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
As well as these A/R transactions, entries to the G/L are also made; ie. credit A/R and debit cash.&lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
The finance department has a card reader which they use to process accounts receivable payments from stores, using their credit cards.  These records can be identified by the fact that the merchant ID on them matches one of the uniPHARM merchant numbers in the configuration file.  The credit card account number, and card type is used to read the merchant file, and get the ASW customer number.  Then a payment to that account, and the underlying G/L entries, are created.&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Masked Credit Card Numbers===&lt;br /&gt;
&lt;br /&gt;
Credit card account numbers are now being sent masked; ie part of the number is replace with asterisks.  That makes it easier for us, as we don't have worry about having to keep them encrypted whenever we store them.  Records on the merchant file contain the masked number so that transactions can be matched.  The unmasked portion of the number seem to be enough to make them unique.  If it happens that they aren't, the user will be prompted by a list, and asked to select one. &lt;br /&gt;
&lt;br /&gt;
===Bank EDI Does Not Post===&lt;br /&gt;
&lt;br /&gt;
Only one payment process can be run at a time.  Base ASW makes sure this doesn't happen.  Several extension process payments without checking first to make sure another isn't currently running.  Originally this was okay, because QBATCH only ran one job at a time.  We changed it to allow two.  &lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5865</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5865"/>
		<updated>2016-11-29T23:56:53Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
===Store Payments to uniPHARM===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via their credit cards.  &lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5863</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5863"/>
		<updated>2016-11-29T22:28:11Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                             &lt;br /&gt;
                       &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
The 'folders' are the locations in the IFS where files are imported from, then archived to.  'uniPHARM Merchant' numbers are used to identify transactions where shareholders are making payments to uniPHARM via there crdit cards.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5862</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5862"/>
		<updated>2016-11-29T22:22:12Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
&lt;br /&gt;
Press F8 for configuration.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  Press page down to see the record.  Not all of the fields fit on one screen, so press enter to see the rest.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   22378885                                           &lt;br /&gt;
 uniPHARM CP Merchant:   6077431&lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
 Chase Payments Folder:  BankEDI2/Chase                                        &lt;br /&gt;
 Chase Archive Folder:   BankEDI2/Chase/Archive                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
 Printer:                LP05           &lt;br /&gt;
 Copies:                  1              &lt;br /&gt;
 Hold?:                  N              &lt;br /&gt;
 Save?:                  N               &lt;br /&gt;
 uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM CP-M Merchant: 6077431&lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                                           &lt;br /&gt;
   Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive                                                                                              &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
You can use Navigator to go into these directories, and copy files to your PC to look at.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5861</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5861"/>
		<updated>2016-11-29T22:14:01Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
&lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yet been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  Because of the combined volume, uniPHARM is able to get better rates than a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  &lt;br /&gt;
&lt;br /&gt;
Transactions are summarized by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT. &lt;br /&gt;
&lt;br /&gt;
==Cheque Clearing==&lt;br /&gt;
&lt;br /&gt;
These files are used to reconcile cheques, and update the cash book.  They used to be are picked up by ‘TumbleWeed’, but are now done manually by the finance department.&lt;br /&gt;
&lt;br /&gt;
  To see where, press F8 for configuration.  Press page down to see the record.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  &lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
                                         Printer:                LP05           &lt;br /&gt;
 Copies:                  1              Hold?:                  N              &lt;br /&gt;
 Save?:                  N               uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
You can use Navigator to go into these directories, and copy files to your PC to look at.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5860</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5860"/>
		<updated>2016-11-29T22:07:37Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
                                                                                &lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface name is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
'Files waiting' have been received from the bank and placed onto the IFS, but have not yes been imported.  'Files in error' have been imported, but something prevents them from being posted.&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to upload it an post it to ASW.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with the bank.  uniPHARM is able to get better rates than what a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  If a store makes less purchases than the amount collected, they are sent an EFT for the difference.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a screen shot of the main (70)Bank EDI menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As mentioned above, transactions from the debit/credit card machines in shareholder stores are not sent to them; they are sent to us.  We summarize them by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT.  These transactions come from TD.&lt;br /&gt;
&lt;br /&gt;
In addition to the credit / debit card processing the Bank EDI extension also allows CIBC to send us a cheque clearing file, which we use to reconcile cheques, and update the cash book.  &lt;br /&gt;
&lt;br /&gt;
These files are picked up by ‘TumbleWeed’, and placed on the IFS.  To see where, press F8 for configuration.  Press page down to see the record.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  &lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
                                         Printer:                LP05           &lt;br /&gt;
 Copies:                  1              Hold?:                  N              &lt;br /&gt;
 Save?:                  N               uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
You can use Navigator to go into these directories, and copy files to your PC to look at.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5859</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5859"/>
		<updated>2016-11-29T22:02:17Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Chase Paymentech&lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
                                                                                &lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
The interface type is passed as a parameter to all called programs, and controls the kind of processing done.  'CIBC' is cheque clearing; the others are debit and credit card processing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to A data file is downloaded from the bank and uploaded into the Bank EDI extension.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with TD Merchant Services.  uniPHARM is able to get better rates than what a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  If a store makes less purchases than the amount collected then are sent an EFT for the difference.  &lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a screen shot of the main (70)Bank EDI menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As mentioned above, transactions from the debit/credit card machines in shareholder stores are not sent to them; they are sent to us.  We summarize them by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT.  These transactions come from TD.&lt;br /&gt;
&lt;br /&gt;
In addition to the credit / debit card processing the Bank EDI extension also allows CIBC to send us a cheque clearing file, which we use to reconcile cheques, and update the cash book.  &lt;br /&gt;
&lt;br /&gt;
These files are picked up by ‘TumbleWeed’, and placed on the IFS.  To see where, press F8 for configuration.  Press page down to see the record.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  &lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
                                         Printer:                LP05           &lt;br /&gt;
 Copies:                  1              Hold?:                  N              &lt;br /&gt;
 Save?:                  N               uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
You can use Navigator to go into these directories, and copy files to your PC to look at.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;br /&gt;
[[Category: EDI]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5857</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5857"/>
		<updated>2016-11-29T21:37:17Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  Do not confuse this with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.  Bank files are not received automatically; The finance department uses secure services to manually get them from the banks.&lt;br /&gt;
&lt;br /&gt;
There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
                                                                                &lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, then put onto the IFS.  Bank EDI is used to A data file is downloaded from the bank and uploaded into the Bank EDI extension.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with TD Merchant Services.  uniPHARM is able to get better rates than what a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  If a store makes less purchases than the amount collected then are sent an EFT for the difference.  &lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a screen shot of the main (70)Bank EDI menu:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As mentioned above, transactions from the debit/credit card machines in shareholder stores are not sent to them; they are sent to us.  We summarize them by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT.  These transactions come from TD.&lt;br /&gt;
&lt;br /&gt;
In addition to the credit / debit card processing the Bank EDI extension also allows CIBC to send us a cheque clearing file, which we use to reconcile cheques, and update the cash book.  &lt;br /&gt;
&lt;br /&gt;
These files are picked up by ‘TumbleWeed’, and placed on the IFS.  To see where, press F8 for configuration.  Press page down to see the record.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  &lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
                                         Printer:                LP05           &lt;br /&gt;
 Copies:                  1              Hold?:                  N              &lt;br /&gt;
 Save?:                  N               uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
You can use Navigator to go into these directories, and copy files to your PC to look at.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5856</id>
		<title>Information Systems:Bank EDI</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Bank_EDI&amp;diff=5856"/>
		<updated>2016-11-29T21:18:20Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Bank EDI=&lt;br /&gt;
&lt;br /&gt;
Bank EDI is a custom extension for ASW that allows the system to automate the processing of files received from the banks.  There are two types of files; debit and credit card transactions from stores, and detail of the cheques clearing uniPHARM's accounts.&lt;br /&gt;
&lt;br /&gt;
==Credit and Debit Card Transactions==&lt;br /&gt;
&lt;br /&gt;
Up to November 2016, we have been using the TD Bank for all of the debit card and credit card processing.  After that, we will be switching to Chase Paymentech.  The files are downloaded from the bank website by the finance department, and put onto the IFS.  The Bank EDI extension is accessed from Mochasoft in the (1)UWD Extensions menu and then the (70)Bank EDI menu.  A data file is downloaded from the bank and uploaded into the Bank EDI extension.  &lt;br /&gt;
&lt;br /&gt;
At a high level the way this works is that our shareholders get debit and credit card terminals for processing payments at their store through uniPHARM's account with TD Merchant Services.  uniPHARM is able to get better rates than what a store could get on their own.  The terminals are set up to deposit all of the funds collected into uniPHARM bank accounts.  uniPHARM then uses the bank EDI extension process to move the funds back from the uniPHARM bank accounts onto the individual store accounts to offset their purchases.  If a store makes less purchases than the amount collected then are sent an EFT for the difference.  Do not confuse the Bank EDI extension with regular EDI (which is how we transmit and receive POs and invoices with our vendors) as this is a completely different and unrelated process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For technical details on this click on the following document:&lt;br /&gt;
 \\Superserver\Systemi Documentation\Extension Manuals\{{unc | \\superserver\Systemi Documentation\Extension Manuals\Bank EDI Technical Manual V1.0.doc | Bank EDI Technical Manual V1.0.doc}} &lt;br /&gt;
&lt;br /&gt;
Or you can go to:&lt;br /&gt;
 \\Superserver\Unity\S000- UNITY Project\P0300 - Phase III Implementation\P0350 - UNITY Subprojects\UP016 -- Bank EDI Interfaces\... &lt;br /&gt;
...to see all of the files associated with this extension project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a screen shot of the main (70)Bank EDI menu:&lt;br /&gt;
&lt;br /&gt;
 12/03/14 11:48:32       uniPHARM -- PRODUCTION                   BERIQ030/CTL  &lt;br /&gt;
                         Bank EDI Status                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    FI=Files imported   FW=Files waiting                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
                         ---------- Files ----------      Last        Last      &lt;br /&gt;
    Interface            Waiting  Imported  In error     Import       Post      &lt;br /&gt;
 __ TD                               2254              2014-12-03  2014-12-03   &lt;br /&gt;
 __ Global Payments                   577              2007-07-19  2007-07-19   &lt;br /&gt;
 __ CIBC                             2131              2014-12-03  2014-12-03   &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F7=Merchants   F8=Configuration         F12=Previous    &lt;br /&gt;
                                                                                &lt;br /&gt;
* note that Global Payments is no longer in use *&lt;br /&gt;
&lt;br /&gt;
As mentioned above, transactions from the debit/credit card machines in shareholder stores are not sent to them; they are sent to us.  We summarize them by card type, and put them into accounts receivable for the shareholder.  They will show on the next statement.  If they make their account go into credit, we put the amount into their bank account via EFT.  These transactions come from TD.&lt;br /&gt;
&lt;br /&gt;
In addition to the credit / debit card processing the Bank EDI extension also allows CIBC to send us a cheque clearing file, which we use to reconcile cheques, and update the cash book.  &lt;br /&gt;
&lt;br /&gt;
These files are picked up by ‘TumbleWeed’, and placed on the IFS.  To see where, press F8 for configuration.  Press page down to see the record.  Note that this is DFU, which is an uncontrolled update program.  Be very careful what you do.  &lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   BECONFR                     File . . . . :   BECONFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 *RECNBR:                       1        uniPHARM TD Merchant:   22378885       &lt;br /&gt;
 uniPHARM GP Merchant:   999999999999                                           &lt;br /&gt;
 TD Folder:              BankEDI2/TD                                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 TD Archive Folder:      BankEDI2/TD/Archive                                    &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Payments Folder: BankEDI2/Global                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Global Archive Folder:  BankEDI2/Global/Archive                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Folder:            BankEDI2/CIBC                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 CIBC Archive Folder:    BankEDI2/CIBC/Archive                                  &lt;br /&gt;
                                         Printer:                LP05           &lt;br /&gt;
 Copies:                  1              Hold?:                  N              &lt;br /&gt;
 Save?:                  N               uniPHARM TD-M Merchant: 23035553       &lt;br /&gt;
 uniPHARM GP-M Merchant: 999999999999                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
                                                                                &lt;br /&gt;
You can use Navigator to go into these directories, and copy files to your PC to look at.&lt;br /&gt;
&lt;br /&gt;
'''Bank EDI Does Not Post'''&lt;br /&gt;
&lt;br /&gt;
BERUP060 – writes transactions to SROKBP&lt;br /&gt;
&lt;br /&gt;
BERUP070 – updates payment batches from SROKBP (which posts 120000 and 730200), then writes transfers from 730200 to correct bank account into SROIBT&lt;br /&gt;
Sometimes these batches do not completely post to ASW, but instead sit in SROKBP.   (The function to update payment batch is locked by ASGR007.  See job name FKR051 in file SROJBN.  If status is ‘A’, the job is currently running, and cannot run again now.) &lt;br /&gt;
 &lt;br /&gt;
If there are records in SROKBP for the current batch with identity = ‘FI’, they will have to be changed to the correct identity.  For example – &lt;br /&gt;
&lt;br /&gt;
update srokbp set ptiden = 'VI' where ptiden = 'FI' and ptpadt = 20121207 and ptjono = 10006&lt;br /&gt;
&lt;br /&gt;
So far, when I have had to do this, the records with an identity of FI have all had to be changed to VI.&lt;br /&gt;
&lt;br /&gt;
'''To Post Manually –''' &lt;br /&gt;
&lt;br /&gt;
Select option 7 – Update A/R batch payments on menu ARPAY A/R Payment Tasks.&lt;br /&gt;
&lt;br /&gt;
Voucher type is 75.&lt;br /&gt;
&lt;br /&gt;
Document type / identity is AMX / AX, DBT / DB, DS / DS, MC / MC, VIS/ VI.&lt;br /&gt;
This will post to A/R and 730200.  Entries to move from 730200 to the correct bank accounts will not post, but will still be in SROIBT.  The next time bank EDI is posted, they will be included.  However one entry will be missing, so the journal will not be balanced.  See ‘Problems / Finance / Journal in Error / Out of Balance – Debit/Credit Card Transactions’ for an explanation and how to fix it.&lt;br /&gt;
&lt;br /&gt;
[[Category: Extensions]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2081</id>
		<title>Information Systems:TEMPORARY - things to add</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2081"/>
		<updated>2016-03-18T21:23:22Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- finish purge&lt;br /&gt;
&lt;br /&gt;
- add manual Atlas transmission&lt;br /&gt;
&lt;br /&gt;
- add list of overnight jobs that have to run, and how to do them manually&lt;br /&gt;
&lt;br /&gt;
- lost sales - comes from IOP and ASW; when and how are they combined?&lt;br /&gt;
&lt;br /&gt;
- add item availability checking&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EOMASW&amp;diff=2080</id>
		<title>Information Systems:EOMASW</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EOMASW&amp;diff=2080"/>
		<updated>2016-03-18T21:22:53Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; /* CALCULATE CLOSING PERIOD AS YESTERDAY'S PERIOD (TODAY MINUS 1)         */ &lt;br /&gt;
 /* ASW doesn't handle February 29 properly, so minus 2 instead            */&lt;br /&gt;
                                                                                &lt;br /&gt;
              CHGASWLDA  TYPE(*DATDZ) RELVAL(-2) STARTPOS(001)                  &lt;br /&gt;
              RTVDTAARA  DTAARA(*LDA (1 8)) RTNVAR(&amp;amp;DATEC)                      &lt;br /&gt;
              CHGVAR     VAR(&amp;amp;DATE) VALUE(&amp;amp;DATEC)                               &lt;br /&gt;
              GETPERIOD  DATE(&amp;amp;DATE) PERIOD(&amp;amp;PERIOD)                            &lt;br /&gt;
              CHGVAR     VAR(&amp;amp;PERIODC) VALUE(&amp;amp;PERIOD)                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* DO A 'DEMAND ADJUSTMENT' OF PROMO SALES FOR LAST MONTH                 */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'PXDEMAND'                                                */&lt;br /&gt;
                                                                                &lt;br /&gt;
              CALL       PGM(PXCIU356) PARM(&amp;amp;PERIODC &amp;amp;DATEC)                    &lt;br /&gt;
              PXDEMAND                                                          &lt;br /&gt;
                                                                                 &lt;br /&gt;
 /* CALCULATE CLOSING MONTH, AND 6 MONTHS AGO FOR ITEM SEGMENTATION        */  &lt;br /&gt;
                                                                                 &lt;br /&gt;
              CHGASWLDA  TYPE(*DATDZ) RELVAL(-1) STARTPOS(001)                   &lt;br /&gt;
              RTVDTAARA  DTAARA(*LDA (1 6)) RTNVAR(&amp;amp;CCYYMMA)                     &lt;br /&gt;
              RTVDTAARA  DTAARA(*LDA (5 2)) RTNVAR(&amp;amp;MONTH)                       &lt;br /&gt;
              RTVDTAARA  DTAARA(*LDA (1 4)) RTNVAR(&amp;amp;YEAR)                        &lt;br /&gt;
              CHGASWLDA  TYPE(*DATDZ) RELVAL(-170) STARTPOS(001)                 &lt;br /&gt;
              RTVDTAARA  DTAARA(*LDA (1 6)) RTNVAR(&amp;amp;CCYYMMB)                     &lt;br /&gt;
                                                                                 &lt;br /&gt;
 /* PERIOD ROLLOVER                                                        */  &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'ROLL OVER'                                               */&lt;br /&gt;
                                                                                 &lt;br /&gt;
              RTVASWPAR  PGM(ASGC032) PAID(MONTHROLL) USER(*ALL)                 &lt;br /&gt;
              EXCASWPGM  PGM(ASGC032) PARM(Y) DTA('N          +                  &lt;br /&gt;
                           NNY      *DEVTYPE  +                      &lt;br /&gt;
                           N                                           -       &lt;br /&gt;
        ')                                                                     &lt;br /&gt;
              CHGASWCOM  COMPANY(VA)                                           &lt;br /&gt;
 &lt;br /&gt;
 /* UNIQUELY IDENTIFY QUERY REPORT SO THAT CATAPULT POLLER CAN FILE IT ON   */ &lt;br /&gt;
 /* SUPERSERVER.                                                            */ &lt;br /&gt;
                                                                               &lt;br /&gt;
              OVRPRTF    FILE(QPQUPRFIL) OUTQ(FINANCE/FINTEMP) +               &lt;br /&gt;
                           USRDTA(REPORT1)                                     &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* PRINT INVENTORY VALUE                                                  */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'INV VALUE'                                               */&lt;br /&gt;
                                                                               &lt;br /&gt;
              RUNQRY     QRY(STOCKST03A)                                       &lt;br /&gt;
              DLTOVR     FILE(QPQUPRFIL)                                       &lt;br /&gt;
                                                 &lt;br /&gt;
 /* PRINT A/R RECONCILIATION                                               */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'A/R RECON'                                               */&lt;br /&gt;
                                                                                &lt;br /&gt;
              RTVASWPAR  PGM(FSC291) PAID(MONTHENDAR) USER(*ALL)                &lt;br /&gt;
              CHGASWLDA  VALUE(&amp;amp;PERIODC) TYPE(*CHAR) STARTPOS(091) +            &lt;br /&gt;
                           POSITIONS(6)                                         &lt;br /&gt;
              EXCASWPGM  PGM(FSC291) PARM(N)                                    &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* PRINT A/P RECONCILIATION                                               */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'A/P RECON'                                               */&lt;br /&gt;
                                                                                &lt;br /&gt;
              RTVASWPAR  PGM(FSC291) PAID(MONTHEND) USER(*ALL)                  &lt;br /&gt;
              CHGASWLDA  VALUE(&amp;amp;PERIODC) TYPE(*CHAR) STARTPOS(091) +            &lt;br /&gt;
                           POSITIONS(6)                                         &lt;br /&gt;
              EXCASWPGM  PGM(FSC291) PARM(N)                                    &lt;br /&gt;
                                                                                  &lt;br /&gt;
 /* Send both reconciliations to Catapult.  Run as a rule instead of      */     &lt;br /&gt;
 /* being polled, as they go into QPRINT.  We don't want the poller to    */    &lt;br /&gt;
 /* go through QPRINT;  it's 2300 spool files now, but will just keep     */    &lt;br /&gt;
 /* getting bigger.                                                       */    &lt;br /&gt;
                                                                                 &lt;br /&gt;
              ADDLIBLE   LIB(XL_CATAPLT)                                          &lt;br /&gt;
              ZRUNRULE   FILE(FSR297P) JOB(*) SPLNBR(*LAST) +                     &lt;br /&gt;
                           RULENBR(10397) TIMEOUT(20)                             &lt;br /&gt;
              ZRUNRULE   FILE(FSR297P) JOB(*) SPLNBR(*LAST) +                     &lt;br /&gt;
                           RULENBR(10397) TIMEOUT(20)                             &lt;br /&gt;
                                                                                                                               &lt;br /&gt;
 /* ACTIVE FORECAST PERIODS                                                */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'FORECAST'                                                */&lt;br /&gt;
                                                                                &lt;br /&gt;
              RTVASWPAR  PGM(INVC522) PAID(ACTFOREPER) USER(*ALL)               &lt;br /&gt;
              EXCASWPGM  PGM(INVC522) PARM(N)                                   &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* AVERAGE STOCK LEVEL                                                    */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'STOCK LEV'                                               */&lt;br /&gt;
                                                                               &lt;br /&gt;
              RTVASWPAR  PGM(INVC520) PAID(AVERSTOCK) USER(*ALL)               &lt;br /&gt;
              CHGASWLDA  VALUE(&amp;amp;PERIODC) TYPE(*CHAR) STARTPOS(226) +           &lt;br /&gt;
                           POSITIONS(6)                                        &lt;br /&gt;
              EXCASWPGM  PGM(INVC520) PARM(N)                                  &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* INVENTORY SEGMENTATION                                                 */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'INV SEG'                                                 */&lt;br /&gt;
                                                                               &lt;br /&gt;
              RTVASWPAR  PGM(INVC441) PAID(UPDSEGCODE) USER(*ALL)              &lt;br /&gt;
              CHGASWLDA  VALUE(&amp;amp;CCYYMMB) TYPE(*CHAR) STARTPOS(25) +            &lt;br /&gt;
                           POSITIONS(6)                                        &lt;br /&gt;
              CHGASWLDA  VALUE(&amp;amp;CCYYMMA) TYPE(*CHAR) STARTPOS(31) +            &lt;br /&gt;
                           POSITIONS(6)                                         &lt;br /&gt;
              EXCASWPGM  PGM(INVC441) PARM(N)   &lt;br /&gt;
                                  &lt;br /&gt;
 /* UNIQUELY IDENTIFY QUERY REPORT SO THAT CATAPULT POLLER CAN FILE IT ON   */&lt;br /&gt;
 /* SUPERSERVER.                                                            */&lt;br /&gt;
                                                                              &lt;br /&gt;
              OVRPRTF    FILE(QPQUPRFIL) OUTQ(FINANCE/FINTEMP) +              &lt;br /&gt;
                           USRDTA(REPORT2)                                        &lt;br /&gt;
                                                                            &lt;br /&gt;
 /* RUN QUERY OF ALL UNMATCHED (UNINVOICED) P.O. RECEIPTS                  */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'UNINV PO'                                                */&lt;br /&gt;
                                                                                &lt;br /&gt;
              RUNQRY     QRY(FINUNMATCX)                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* RUN 'TURN OF THE YEAR' FOR DIS IF THIS IS END OF JANUARY               */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'TURN YEAR'                                               */&lt;br /&gt;
                                                                                &lt;br /&gt;
              IF         COND(&amp;amp;MONTH = '01') THEN(DO)                           &lt;br /&gt;
                 RTVASWPAR  PGM(DMC971) PAID(ENDOFYEAR) USER(*ALL)              &lt;br /&gt;
                 EXCASWPGM  PGM(DMC971) PARM(N)                                 &lt;br /&gt;
               ENDDO                                                             &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* TAKE COPY OF SROSRO IF THIS IS CALENDAR YEAR END                       */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'SRO YEAR'                                                */&lt;br /&gt;
                                                                              &lt;br /&gt;
              IF         COND(&amp;amp;MONTH = '12') THEN(DO)                         &lt;br /&gt;
                 CHGVAR     VAR(&amp;amp;FILENAME) VALUE('SROSRO' || &amp;amp;YEAR)           &lt;br /&gt;
                 CPYF       FROMFILE(SROSRO) +                                 &lt;br /&gt;
                              TOFILE(UP1480BFVA/&amp;amp;FILENAME) CRTFILE(*YES)       &lt;br /&gt;
                 CHGVAR     VAR(&amp;amp;FILENAME) VALUE('SRBSRO' || &amp;amp;YEAR)           &lt;br /&gt;
                 CRTLF      FILE(UP1480BFVA/&amp;amp;FILENAME) +                      &lt;br /&gt;
                              SRCFILE(XX2480BP/QDDSSRC) SRCMBR(&amp;amp;FILENAME)     &lt;br /&gt;
               ENDDO                                                           &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* TAKE COPY OF SROSRO IF THIS IS FISCAL YEAR END                         */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'SRO FISC'                                                */&lt;br /&gt;
                                                                              &lt;br /&gt;
              IF         COND(&amp;amp;MONTH = '01') THEN(DO)                                                                     &lt;br /&gt;
                 CHGVAR     VAR(&amp;amp;FILENAME) VALUE('SROSROF' || +              &lt;br /&gt;
                             %SST(&amp;amp;YEAR 3 2))                                &lt;br /&gt;
                 CPYF       FROMFILE(SROSRO) +                               &lt;br /&gt;
                             TOFILE(UP1480BFVA/&amp;amp;FILENAME) CRTFILE(*YES)      &lt;br /&gt;
                 CHGVAR     VAR(&amp;amp;FILENAME) VALUE('SRBSROF' || +              &lt;br /&gt;
                             %SST(&amp;amp;YEAR 3 2))                                &lt;br /&gt;
                 CRTLF      FILE(UP1480BFVA/&amp;amp;FILENAME) +                     &lt;br /&gt;
                              SRCFILE(XX2480BP/QDDSSRC) SRCMBR(&amp;amp;FILENAME)    &lt;br /&gt;
               ENDDO                                                          &lt;br /&gt;
                                                                                   &lt;br /&gt;
 /* RUN PROGRAM TO CREATE WORK FILE OF OUT OF BALANCE PO'S               */   &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'OOB PO'                                                */&lt;br /&gt;
                                                                                &lt;br /&gt;
              CALL       PGM(BAL001CL)                                          &lt;br /&gt;
                                                                                 &lt;br /&gt;
 /*ADD ONHANDS TO STATISTICS FILE                                        */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'ONH2STATS'                                             */&lt;br /&gt;
                                                                                &lt;br /&gt;
              CALL       PGM(BLDPERONH) PARM('      ')  &lt;br /&gt;
                          &lt;br /&gt;
 /* UNIQUELY IDENTIFY QUERY REPORT SO THAT CATAPULT POLLER CAN FILE IT ON   */ &lt;br /&gt;
 /* SUPERSERVER.                                                            */ &lt;br /&gt;
                                                                               &lt;br /&gt;
              OVRPRTF    FILE(QPQUPRFIL) OUTQ(FINANCE/FINTEMP) +               &lt;br /&gt;
                           USRDTA(REPORT1)                                                   &lt;br /&gt;
                                                                  &lt;br /&gt;
 /* RUN SURPLUS STOCK REPORT                                            */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'SURP STOCK'                                           */&lt;br /&gt;
                                                                                &lt;br /&gt;
              RUNQRY     QRY(STOCKST06X) QRYFILE((*LIBL/SROPRG) +               &lt;br /&gt;
                           (*LIBL/SROSRO))                                      &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* FTP INVOICE DETAIL FOR ENDING MONTH TO PHARMASAVE                   */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'PHAFTP02CL'                                           */&lt;br /&gt;
                                                                                &lt;br /&gt;
              SBMJOB     CMD(CALL PGM(PHAFTP02CL) PARM('00000000' +             &lt;br /&gt;
                           '00000000')) USER(PHARMASAVE)                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* BUILD ORDER STATISTICS FILE (SUMORDCST) FOR IN_ORDER01              */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDSUMORD'                                            */&lt;br /&gt;
                                                                                &lt;br /&gt;
              SBMJOB     CMD(CALL PGM(BLDSUMORD) PARM(&amp;amp;CCYYMMA))                &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* FTP SALES FOR ENDING MONTH TO IMS                                   */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'TSADUMPA'                                             */&lt;br /&gt;
                                                                                &lt;br /&gt;
              SBMJOB     CMD(CALL PGM(TSADUMPA)) USER(IMSTSA)                   &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* DELETE OLD TRANSACTIONS                                             */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'PURGE'                                                */&lt;br /&gt;
                                                                                &lt;br /&gt;
              CALL       PGM([[Periodic-Purge|PURGE01]])                                           &lt;br /&gt;
              MONMSG     MSGID(CPF0000)                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* DELETE EDI SPOOL FILES OVER TWO MONTHS OLD                          */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'OUTQCLREDI'                                           */&lt;br /&gt;
                                                                                &lt;br /&gt;
              CALL       PGM(OUTQCLREDI)                                        &lt;br /&gt;
              MONMSG     MSGID(CPF0000)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODRPTW&amp;diff=2079</id>
		<title>Information Systems:EODRPTW</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODRPTW&amp;diff=2079"/>
		<updated>2016-03-18T21:10:58Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Runs report of inventory onhand, and validate that SROSRO (Warehouse Balance), SROITR (Inventory Transactions), WHOLOP (Location Occupancy), and WHOLTR (Location Transactions) all balance with each other.  It is called by [[EODWEEKLY]].&lt;br /&gt;
&lt;br /&gt;
 /* Uniquely identify Query report so that Catapult Poller can file it on   */&lt;br /&gt;
 /* SuperServer.                                                            */&lt;br /&gt;
                                                                              &lt;br /&gt;
             OVRPRTF    FILE(QPQUPRFIL) OUTQ(FINANCE/FINTEMP) USRDTA(REPORT3)   &lt;br /&gt;
                          &lt;br /&gt;
 /* Print onhand inventory at cost by item account group for MAI and RET.   */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'INV VAL 2'                                                */&lt;br /&gt;
  &lt;br /&gt;
             RUNQRY     QRY(STOCKST03A)                                       &lt;br /&gt;
             DLTOVR     FILE(QPQUPRFIL)&lt;br /&gt;
 &lt;br /&gt;
 /* Compare summary of WHOLTR to WHOLOP, and summary of SROITR to summary   */&lt;br /&gt;
 /* of WHOLTR.                                                              */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BAL TRANS'                                                */&lt;br /&gt;
                                                                              &lt;br /&gt;
              CALL       PGM(BALTRANS) PARM('UP1480BFVA')&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODUPDW&amp;diff=2078</id>
		<title>Information Systems:EODUPDW</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODUPDW&amp;diff=2078"/>
		<updated>2016-03-18T21:09:14Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This rebuilds ASW search files, and runs IC calcs (Inventory Control calculations).  It is called by [[EODWEEKLY]].&lt;br /&gt;
&lt;br /&gt;
 /* Calculate IC CALCS period as calendar year and month (not fiscal)      */&lt;br /&gt;
                                                                              &lt;br /&gt;
             CHGASWLDA  TYPE(*DATDZ) STARTPOS(001)                            &lt;br /&gt;
             RTVDTAARA  DTAARA(*LDA (1 6)) RTNVAR(&amp;amp;PERIOD)                    &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Periodic balance update                                                */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'PER BAL UP'                                              */&lt;br /&gt;
                                                                              &lt;br /&gt;
             RTVASWPAR  PGM(DIR345B) PAID(BALUPDATE) USER(*ALL)               &lt;br /&gt;
             CHGASWLDA  TYPE(*PERDZ) STARTPOS(001)                            &lt;br /&gt;
             CHGASWLDA  TYPE(*PERDZ) STARTPOS(007)                            &lt;br /&gt;
             EXCASWPGM  PGM(DIR345B) PARM(N)                                  &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Rebuild item search fields                                             */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'ITM SEARCH'                                              */&lt;br /&gt;
                                                                              &lt;br /&gt;
             RTVASWPAR  PGM(DMC981) PAID(ITEMSEARCH) USER(*ALL)               &lt;br /&gt;
             CHGASWLDA  TYPE(*PERDZ) STARTPOS(007)                            &lt;br /&gt;
             EXCASWPGM  PGM(DMC981) PARM(N)  &lt;br /&gt;
                                  &lt;br /&gt;
 /* Rebuild name search fields                                             */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'NAM SEARCH'                                              */&lt;br /&gt;
                                                                              &lt;br /&gt;
             RTVASWPAR  PGM(GDMC981) PAID(NAMESEARCH) USER(*ALL)               &lt;br /&gt;
             CHGASWLDA  TYPE(*PERDZ) STARTPOS(007)                             &lt;br /&gt;
             EXCASWPGM  PGM(GDMC981) PARM(N)                                   &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Inventory calculations                                                 */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'IC CALCS'                                                */&lt;br /&gt;
                                                                               &lt;br /&gt;
             RTVASWPAR  PGM(INVC401) PAID(ICCALCS) USER(*ALL)                  &lt;br /&gt;
             CHGASWLDA  VALUE(&amp;amp;PERIOD) TYPE(*CHAR) STARTPOS(226) +             &lt;br /&gt;
                          POSITIONS(6)                                         &lt;br /&gt;
             EXCASWPGM  PGM(INVC401) PARM(N)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODREBLD&amp;diff=2077</id>
		<title>Information Systems:EODREBLD</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODREBLD&amp;diff=2077"/>
		<updated>2016-03-18T21:04:52Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This rebuilds/updates master and statistic files used by Web Orders and InfoNet.  These are built as part of the overnight processing instead of when a user requests the information.  This also clears work files and spool files.  It is submitted to QBATCH by [[EOD]], to run after the restricted state has ended; about 5:00AM.&lt;br /&gt;
&lt;br /&gt;
 /* clear files and folders for Web Orders                                */ &lt;br /&gt;
 /* there are some Unix commands run in Qshell that sometimes fail, so    */ &lt;br /&gt;
 /* submit it to batch.  If it doesn't complete, it won't affect the end  */ &lt;br /&gt;
 /* of day - but the image and specification in Web Orders may not be     */ &lt;br /&gt;
 /* correct.                                                              */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'WSOVERNIT1'                                             */&lt;br /&gt;
                                                                              &lt;br /&gt;
             SBMJOB     CMD(CALL PGM([[WSOVERNIT1]])) JOBQ(QS36EVOKE)             &lt;br /&gt;
                                           &lt;br /&gt;
 /* Build consolidated item master file (XXITEMP).  This must run before */&lt;br /&gt;
 /* Web Order files are rebuilt.                                         */&lt;br /&gt;
  &lt;br /&gt;
 /* log entry is 'XXITEMP'                                               */&lt;br /&gt;
                                                                             &lt;br /&gt;
             CALL       PGM(ITEMINFOCA)                                      &lt;br /&gt;
                                                                                                                               &lt;br /&gt;
 /* rebuild files for Web Orders                                         */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'WSOVERNIT2'                                            */&lt;br /&gt;
                                                                              &lt;br /&gt;
             CALL       PGM([[WSOVERNIT2]]) &lt;br /&gt;
                                        &lt;br /&gt;
 /* Run End of Day housekeeping.                                         */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'EODCLR'                                                */&lt;br /&gt;
                                                                          &lt;br /&gt;
             CALL       PGM([[EODCLR]])                                          &lt;br /&gt;
                     &lt;br /&gt;
 /* Build summary file of lost sales                                      */       &lt;br /&gt;
 /* (ITEMSTAT uses this file, so this has to run first)                   */       &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'SUMVENLST'                                              */&lt;br /&gt;
                                                                             &lt;br /&gt;
             CLRPFM     FILE(SUMVENLST)                                      &lt;br /&gt;
             CALL       PGM(BLDSUMLST)                                       &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Rebuild item statistics file (XXSTATSP)                               */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'XXSTATSP'                                               */&lt;br /&gt;
                                                                             &lt;br /&gt;
             CLRPFM     FILE(XXSTATSP)                                      &lt;br /&gt;
             CALL       PGM(ITEMSTAT)                                       &lt;br /&gt;
                                                                            &lt;br /&gt;
 /* Rebuild promo results files (for InfoNet)                             */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'PXRESBUILD'                                             */&lt;br /&gt;
                                                                            &lt;br /&gt;
             CALL       PGM(PXRESBUILD)                                     &lt;br /&gt;
                                                                            &lt;br /&gt;
 /* Build summary file of sales (including brand) by customer             */&lt;br /&gt;
 /* (for IN_CUSTSLS)                                                      */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDCSTSL2'                                              */&lt;br /&gt;
                                                                            &lt;br /&gt;
             CALL       PGM(BLDCSTSL2) PARM('      ')   &lt;br /&gt;
                     &lt;br /&gt;
 /* Build summary file of freight vs sales (current and previous month)   */  &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDSUMFRT'                                              */&lt;br /&gt;
                                                                               &lt;br /&gt;
             CALL       PGM(BLDSUMFRT) PARM('      ')                         &lt;br /&gt;
             CALL       PGM(BLDSUMFRTP)                                       &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Build summary file to validate Analyser                               */  &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDANAWRK'                                              */&lt;br /&gt;
                                                                               &lt;br /&gt;
             CALL       PGM(BLDANAWRK)                                        &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Search for duplicate keys in ANOSTK                                   */  &lt;br /&gt;
                                                                               &lt;br /&gt;
             RUNQRY     QRY(ANOSTKCNT1) QRYFILE((*LIBL/ANOSTK))               &lt;br /&gt;
             RUNQRY     QRY(ANOSTKCNT2) QRYFILE((*LIBL/ANOCOUNT))             &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Build file of sales order pattern - sales by the hour                 */  &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDORDLIN'                                              */&lt;br /&gt;
                                                                               &lt;br /&gt;
             CALL       PGM(BLDORDLIN) PARM('        ')   &lt;br /&gt;
                     &lt;br /&gt;
 /* Build file of sales order statistics by day                           */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDDAYLINF'                                             */&lt;br /&gt;
                                                                            &lt;br /&gt;
             CALL       PGM(BLDDAYLINF)                                     &lt;br /&gt;
                                                                            &lt;br /&gt;
 /* Build file of PO fill rates                                           */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDPOFRT'                                               */&lt;br /&gt;
                                                                            &lt;br /&gt;
             CALL       PGM(BLDPOFRT) PARM('        ')                      &lt;br /&gt;
                                                                            &lt;br /&gt;
 /* Build file of sales and budget by item account group                  */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDSLSBUD'                                              */ &lt;br /&gt;
                                                                             &lt;br /&gt;
             CALL       PGM(BLDSLSBUD) PARM('      ')                       &lt;br /&gt;
                                                                            &lt;br /&gt;
 /* Build summary file of lost sales by warehouse                         */  &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'SUMWHSLST'                                              */    &lt;br /&gt;
                                                                            &lt;br /&gt;
             CLRPFM     FILE(SUMWHSLST)                                     &lt;br /&gt;
             CALL       PGM(BLDWHSLST)                                      &lt;br /&gt;
  &lt;br /&gt;
 /* Build file of VEBA by province by day                                 */    &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'BLDVEBA'                                                */&lt;br /&gt;
                                                                               &lt;br /&gt;
             CALL       PGM(BLDVEBA) PARM('        ')                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* send email that rebuild is complete                                   */&lt;br /&gt;
                                                                               &lt;br /&gt;
             CHGVAR     VAR(&amp;amp;SMSG) VALUE('Statistics files rebuild +           &lt;br /&gt;
                          is complete')                                        &lt;br /&gt;
             CHGVAR     VAR(&amp;amp;LMSG) VALUE(&amp;amp;SMSG)                                &lt;br /&gt;
             CALL       PGM(OPMSGSEND) PARM(&amp;amp;SMSG &amp;amp;LMSG)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2076</id>
		<title>Information Systems:TEMPORARY - things to add</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2076"/>
		<updated>2016-03-18T20:54:01Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- finish purge&lt;br /&gt;
&lt;br /&gt;
- add manual Atlas transmission&lt;br /&gt;
&lt;br /&gt;
- finish 'log entries' for overnight processing&lt;br /&gt;
&lt;br /&gt;
- add list of overnight jobs that have to run, and how to do them manually&lt;br /&gt;
&lt;br /&gt;
- lost sales - comes from IOP and ASW; when and how are they combined?&lt;br /&gt;
&lt;br /&gt;
- add item availability checking&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2075</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2075"/>
		<updated>2016-03-18T20:53:40Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==ECU Calendar==&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ010 -- Show Calendar.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  16:11:10    uniPHARM -- PRODUCTION               ECRIQ010/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Calendar Master File      PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 DATEA DATE AND TIME A                                                          &lt;br /&gt;
 Date Range             Week   Status      AND                                  &lt;br /&gt;
 ST MAR 10 16     00 00                    AND                                  &lt;br /&gt;
                               Period                                           &lt;br /&gt;
           RH=Run History      WK                                               &lt;br /&gt;
 MA=Main   TR=Transmissions    BA=Base File    CH=Changes   PR=Promo            &lt;br /&gt;
                                                                                &lt;br /&gt;
    Reference  Week St Start/End Dates      SCHED DATE PRICE DATE ADDED DATE    &lt;br /&gt;
    FU20160310 9725 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9726 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9727 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9728 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9729 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9730 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9731 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    MAR11 2016 1263 FI MAR 12 16  MAR 18 16 MAR 11 16  MAR 11 16  JUL 08 09     &lt;br /&gt;
    MAR18 2016 1264 NP MAR 19 16  MAR 25 16 MAR 18 16  MAR 18 16  JUL 08 09     &lt;br /&gt;
    MAR25 2016 1265 NP MAR 26 16  APR  1 16 MAR 25 16  MAR 25 16  JUL 08 09&lt;br /&gt;
    APR01 2016 1266 NP APR  2 16  APR  8 16 APR 01 16  APR 01 16  JUL 08 09  &lt;br /&gt;
    APR08 2016 1267 NP APR  9 16  APR 15 16 APR 08 16  APR 08 16  JUL 08 09  &lt;br /&gt;
    APR15 2016 1268 NP APR 16 16  APR 22 16 APR 15 16  APR 15 16  JUL 08 09  &lt;br /&gt;
  &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh                              F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
This shows two things.  Lines with a date formatted as MMMDD YYYY in the 'reference' column are [[Periodic-Calendar Year#Check ECU (Electronic Catalogue Update) Calendar|prebuilt]] to control the 'change' files that are created every week.  The 'Week' is the sequentially numbered week since the EOB started.  The last line shows, for example, that a file will be built using prices as of April 15th, to be in effect April 16th to April 22nd.  Although these dates are all Fridays, we actually build the files Thursday evenings (through the job scheduler), so they will be available no matter how early stores or POS vendors want them.  When command '''ECUREGULAR''' is run, it uses the first calendar record at status 'NP - not processed' - not the entry for the actual date.  Which means if it is not run at all, the entry will have to manually flagged as 'FI - Finished'.  Or if runs twice, another entry will have to added.&lt;br /&gt;
&lt;br /&gt;
When the command '''ECUFULLCAT''' is run, a record is added to this file, with a reference starting with 'FU', then the date formatted as YYYYMMDD.  The 'week' number is a sequential number that started at 7000.  Around December 2016 it should reach 10000.  This should not be a problem as the field is 5 digits long; but the 'Show Calendar' programs only uses 4, so may not work correctly.&lt;br /&gt;
&lt;br /&gt;
==Weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- '''Command ECUFULLCAT calling auto run ‘ECUFULLCAT’''' for each price list.&lt;br /&gt;
&lt;br /&gt;
- '''Program ECRUP385''' (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read base files (ECUIBAP and ECUIBPP) and change files (ECUCHGP and ECUCHPP), and write to ECUCHGLOG; which is used by the Web Orders program UW_CHG01 (Changed Item Inquiry).&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- send change files to FTP server)&lt;br /&gt;
&lt;br /&gt;
- Sets up temporary input and output FTP files, then calls ECRUP380.&lt;br /&gt;
&lt;br /&gt;
ECRUP380 (ECU -- Generate chg or full catalog files for FTP)&lt;br /&gt;
&lt;br /&gt;
- Reads ECUOMHP and ECUOMDP, then writes ECUFTP.  Then FTP's to our mail server for stores or POS vendors to pick up.&lt;br /&gt;
&lt;br /&gt;
ECRUP385 (ECU -- Generate and send full catalog files)&lt;br /&gt;
&lt;br /&gt;
- Calls ECCUP380 for the latest full catalogue files created.&lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- Reads data from ECUOMHP and ECUOMDP and writes it to the OMS files (OMSMHDP, OMSLINP, OMSADRP, and OMSQUEP) to be emailed.&lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGLOG (ECU -- Catalog Change Log File for Web Inquiry) contains all base and price changed, can be queried and displayed in Web Orders.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUFTP (ECU -- changes file to send to FTP server) temporary file of records to be FTP'ed.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
- File OMSADRP (OMS-Outbound Message Address File) the email address extracted from the catalogue distribution file, based on full or regular, and price list.&lt;br /&gt;
&lt;br /&gt;
- File OMSLINP (OMS-Outbound Message Lines File) &lt;br /&gt;
&lt;br /&gt;
- File OMSMHDP (OMS-Outbound Message Header File)&lt;br /&gt;
&lt;br /&gt;
- File OMSQUEP (OMS-Outbound Message Queue File) contains the status of the OMS email.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Overnight_Process_Problems&amp;diff=2071</id>
		<title>Information Systems:Overnight Process Problems</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Overnight_Process_Problems&amp;diff=2071"/>
		<updated>2016-03-18T19:46:45Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Overnight Processing Does not Complete]]&lt;br /&gt;
* [[Rebuild Time Axis Files Does not Complete]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2070</id>
		<title>Information Systems:TEMPORARY - things to add</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2070"/>
		<updated>2016-03-18T19:35:47Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- finish ECU&lt;br /&gt;
&lt;br /&gt;
- finish purge&lt;br /&gt;
&lt;br /&gt;
- add manual Atlas transmission&lt;br /&gt;
&lt;br /&gt;
- finish 'log entries' for overnight processing&lt;br /&gt;
&lt;br /&gt;
- add list of overnight jobs that have to run, and how to do them manually&lt;br /&gt;
&lt;br /&gt;
- lost sales - comes from IOP and ASW; when and how are they combined?&lt;br /&gt;
&lt;br /&gt;
- add item availability checking&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2069</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2069"/>
		<updated>2016-03-18T19:01:35Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==ECU Calendar==&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ010 -- Show Calendar.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  16:11:10    uniPHARM -- PRODUCTION               ECRIQ010/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Calendar Master File      PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 DATEA DATE AND TIME A                                                          &lt;br /&gt;
 Date Range             Week   Status      AND                                  &lt;br /&gt;
 ST MAR 10 16     00 00                    AND                                  &lt;br /&gt;
                               Period                                           &lt;br /&gt;
           RH=Run History      WK                                               &lt;br /&gt;
 MA=Main   TR=Transmissions    BA=Base File    CH=Changes   PR=Promo            &lt;br /&gt;
                                                                                &lt;br /&gt;
    Reference  Week St Start/End Dates      SCHED DATE PRICE DATE ADDED DATE    &lt;br /&gt;
    FU20160310 9725 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9726 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9727 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9728 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9729 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9730 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9731 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    MAR11 2016 1263 FI MAR 12 16  MAR 18 16 MAR 11 16  MAR 11 16  JUL 08 09     &lt;br /&gt;
    MAR18 2016 1264 NP MAR 19 16  MAR 25 16 MAR 18 16  MAR 18 16  JUL 08 09     &lt;br /&gt;
    MAR25 2016 1265 NP MAR 26 16  APR  1 16 MAR 25 16  MAR 25 16  JUL 08 09&lt;br /&gt;
    APR01 2016 1266 NP APR  2 16  APR  8 16 APR 01 16  APR 01 16  JUL 08 09  &lt;br /&gt;
    APR08 2016 1267 NP APR  9 16  APR 15 16 APR 08 16  APR 08 16  JUL 08 09  &lt;br /&gt;
    APR15 2016 1268 NP APR 16 16  APR 22 16 APR 15 16  APR 15 16  JUL 08 09  &lt;br /&gt;
  &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh                              F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
This shows two things.  Lines with a date formatted as MMMDD YYYY in the 'reference' column are [[Periodic-Calendar Year#Check ECU (Electronic Catalogue Update) Calendar|prebuilt]] to control the 'change' files that are created every week.  The 'Week' is the sequentially numbered week since the EOB started.  The last line shows, for example, that a file will be built using prices as of April 15th, to be in effect April 16th to April 22nd.  Although these dates are all Fridays, we actually build the files Thursday evenings (through the job scheduler), so they will be available no matter how early stores or POS vendors want them.  When command '''ECUREGULAR''' is run, it uses the first calendar record at status 'NP - not processed' - not the entry for the actual date.  Which means if it is not run at all, the entry will have to manually flagged as 'FI - Finished'.  Or if runs twice, another entry will have to added.&lt;br /&gt;
&lt;br /&gt;
When the command '''ECUFULLCAT''' is run, a record is added to this file, with a reference starting with 'FU', then the date formatted as YYYYMMDD.  The 'week' number is a sequential number that started at 7000.  Around December 2016 it should reach 10000.  This should not be a problem as the field is 5 digits long; but the 'Show Calendar' programs only uses 4, so may not work correctly.&lt;br /&gt;
&lt;br /&gt;
==Weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- '''Command ECUFULLCAT calling auto run ‘ECUFULLCAT’''' for each price list.&lt;br /&gt;
&lt;br /&gt;
- '''Program ECRUP385''' (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read base files (ECUIBAP and ECUIBPP) and change files (ECUCHGP and ECUCHPP), and write to ECUCHGLOG; which is used by the Web Orders program UW_CHG01 (Changed Item Inquiry).&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- send change files to FTP server)&lt;br /&gt;
&lt;br /&gt;
- Sets up temporary input and output FTP files, then calls ECRUP380.&lt;br /&gt;
&lt;br /&gt;
ECRUP380 (ECU -- Generate chg or full catalog files for FTP)&lt;br /&gt;
&lt;br /&gt;
- Reads ECUOMHP and ECUOMDP, then writes ECUFTP.  Then FTP's to our mail server for stores or POS vendors to pick up.&lt;br /&gt;
&lt;br /&gt;
ECRUP385 (ECU -- Generate and send full catalog files)&lt;br /&gt;
&lt;br /&gt;
- Calls ECCUP380 for the latest full catalogue files created.&lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- Reads data from ECUOMHP and ECUOMDP and writes it to the OMS files (OMSMHDP, OMSLINP, OMSADRP, and OMSQUEP) to be emailed.&lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2068</id>
		<title>Information Systems:TEMPORARY - things to add</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2068"/>
		<updated>2016-03-18T16:27:51Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;- finish ECU&lt;br /&gt;
&lt;br /&gt;
- finish purge&lt;br /&gt;
&lt;br /&gt;
- add manual Atlas transmission&lt;br /&gt;
&lt;br /&gt;
- finish 'log entries' for overnight processing&lt;br /&gt;
&lt;br /&gt;
- add list of overnight jobs that have to run, and how to do them manually&lt;br /&gt;
&lt;br /&gt;
- lost sales - comes from IOP and ASW; when and how are they combined?&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2066</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2066"/>
		<updated>2016-03-17T21:09:54Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==ECU Calendar==&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ010 -- Show Calendar.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  16:11:10    uniPHARM -- PRODUCTION               ECRIQ010/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Calendar Master File      PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 DATEA DATE AND TIME A                                                          &lt;br /&gt;
 Date Range             Week   Status      AND                                  &lt;br /&gt;
 ST MAR 10 16     00 00                    AND                                  &lt;br /&gt;
                               Period                                           &lt;br /&gt;
           RH=Run History      WK                                               &lt;br /&gt;
 MA=Main   TR=Transmissions    BA=Base File    CH=Changes   PR=Promo            &lt;br /&gt;
                                                                                &lt;br /&gt;
    Reference  Week St Start/End Dates      SCHED DATE PRICE DATE ADDED DATE    &lt;br /&gt;
    FU20160310 9725 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9726 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9727 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9728 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9729 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9730 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9731 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    MAR11 2016 1263 FI MAR 12 16  MAR 18 16 MAR 11 16  MAR 11 16  JUL 08 09     &lt;br /&gt;
    MAR18 2016 1264 NP MAR 19 16  MAR 25 16 MAR 18 16  MAR 18 16  JUL 08 09     &lt;br /&gt;
    MAR25 2016 1265 NP MAR 26 16  APR  1 16 MAR 25 16  MAR 25 16  JUL 08 09&lt;br /&gt;
    APR01 2016 1266 NP APR  2 16  APR  8 16 APR 01 16  APR 01 16  JUL 08 09  &lt;br /&gt;
    APR08 2016 1267 NP APR  9 16  APR 15 16 APR 08 16  APR 08 16  JUL 08 09  &lt;br /&gt;
    APR15 2016 1268 NP APR 16 16  APR 22 16 APR 15 16  APR 15 16  JUL 08 09  &lt;br /&gt;
&lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh                              F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
This shows two things.  Lines with a date formatted as MMMDD YYYY in the 'reference' column are [[Periodic-Calendar Year#Check ECU (Electronic Catalogue Update) Calendar|prebuilt]] to control the 'change' files that are created every week.  The 'Week' is the sequentially numbered week since the EOB started.  The last line shows, for example, that a file will be built using prices as of April 15th, to be in effect April 16th to April 22nd.  Although these dates are all Fridays, we actually build the files Thursday evenings (through the job scheduler), so they will be available no matter how early stores or POS vendors want them.  When command '''ECUREGULAR''' is run, it will use the first calendar record at status 'NP - not processed' - not the entry for the actual date.  Which means if it is not run at all, the entry will have to manually flagged as 'FI - Finished'.  Or if runs twice, another entry will have to added.&lt;br /&gt;
&lt;br /&gt;
When the command '''ECUFULLCAT''' is run, a record is added to this file, with a reference starting with 'FU', then the date formatted as YYYYMMDD.&lt;br /&gt;
&lt;br /&gt;
==Weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- '''Command ECUFULLCAT calling auto run ‘ECUFULLCAT’''' for each price list.&lt;br /&gt;
&lt;br /&gt;
- '''Program ECRUP385''' (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read base files (ECUIBAP and ECUIBPP) and change files (ECUCHGP and ECUCHPP), and write to ECUCHGLOG; which is used by the Web Orders program UW_CHG01 (Changed Item Inquiry).&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- send change files to FTP server)&lt;br /&gt;
&lt;br /&gt;
- Sets up temporary input and output FTP files, then calls ECRUP380.&lt;br /&gt;
&lt;br /&gt;
ECRUP380 (ECU -- Generate chg or full catalog files for FTP)&lt;br /&gt;
&lt;br /&gt;
- Reads ECUOMHP and ECUOMDP, then writes ECUFTP.&lt;br /&gt;
&lt;br /&gt;
ECRUP385 ()&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2065</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2065"/>
		<updated>2016-03-17T00:02:03Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==ECU Calendar==&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ010 -- Show Calendar.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  16:11:10    uniPHARM -- PRODUCTION               ECRIQ010/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Calendar Master File      PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 DATEA DATE AND TIME A                                                          &lt;br /&gt;
 Date Range             Week   Status      AND                                  &lt;br /&gt;
 ST MAR 10 16     00 00                    AND                                  &lt;br /&gt;
                               Period                                           &lt;br /&gt;
           RH=Run History      WK                                               &lt;br /&gt;
 MA=Main   TR=Transmissions    BA=Base File    CH=Changes   PR=Promo            &lt;br /&gt;
                                                                                &lt;br /&gt;
    Reference  Week St Start/End Dates      SCHED DATE PRICE DATE ADDED DATE    &lt;br /&gt;
    FU20160310 9725 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9726 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9727 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9728 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9729 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9730 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9731 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    MAR11 2016 1263 FI MAR 12 16  MAR 18 16 MAR 11 16  MAR 11 16  JUL 08 09     &lt;br /&gt;
    MAR18 2016 1264 NP MAR 19 16  MAR 25 16 MAR 18 16  MAR 18 16  JUL 08 09     &lt;br /&gt;
    MAR25 2016 1265 NP MAR 26 16  APR  1 16 MAR 25 16  MAR 25 16  JUL 08 09&lt;br /&gt;
    APR01 2016 1266 NP APR  2 16  APR  8 16 APR 01 16  APR 01 16  JUL 08 09  &lt;br /&gt;
    APR08 2016 1267 NP APR  9 16  APR 15 16 APR 08 16  APR 08 16  JUL 08 09  &lt;br /&gt;
    APR15 2016 1268 NP APR 16 16  APR 22 16 APR 15 16  APR 15 16  JUL 08 09  &lt;br /&gt;
&lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh                              F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
This shows two things.  Lines with a date formatted as MMMDD YYYY in the 'reference' column are [[Periodic-Calendar Year#Check ECU (Electronic Catalogue Update) Calendar|prebuilt]] to control the 'change' files that are created every week.  The 'Week' is the sequentially numbered week since the EOB started.  The last line shows, for example, that a file will be built using prices as of April 15th, to be in effect April 16th to April 22nd.  Although these dates are all Fridays, we actually build the files Thursday evenings, so they will be available no matter how early stores or POS vendors want them.  When command '''ECUREGULAR''' is run, it will use the first calendar record at status 'NP - not processed' - not the entry for the actual date.  Which means if it is not run at all, the entry will have to manually flagged as 'FI - Finished'.  Or if runs twice, another entry will have to added.&lt;br /&gt;
&lt;br /&gt;
When the command '''ECUFULLCAT''' is run, a record is added to this file, with a reference starting with 'FU', then the date formatted as YYYYMMDD.&lt;br /&gt;
&lt;br /&gt;
==Weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- '''Command ECUFULLCAT calling auto run ‘ECUFULLCAT’''' for each price list.&lt;br /&gt;
&lt;br /&gt;
- '''Program ECRUP385''' (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read base files (ECUIBAP and ECUIBPP) and change files (ECUCHGP and ECUCHPP), and write to ECUCHGLOG; which is used by the Web Orders program UW_CHG01 (Changed Item Inquiry).&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- send change files to FTP server)&lt;br /&gt;
&lt;br /&gt;
- Sets up temporary input and output FTP files, then calls ECRUP380.&lt;br /&gt;
&lt;br /&gt;
ECRUP380 (ECU -- Generate chg or full catalog files for FTP)&lt;br /&gt;
&lt;br /&gt;
- Reads ECUOMHP and ECUOMDP, then writes ECUFTP.&lt;br /&gt;
&lt;br /&gt;
ECRUP385 ()&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2064</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2064"/>
		<updated>2016-03-16T23:40:38Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==ECU Calendar==&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ010 -- Show Calendar.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  16:11:10    uniPHARM -- PRODUCTION               ECRIQ010/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Calendar Master File      PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 DATEA DATE AND TIME A                                                          &lt;br /&gt;
 Date Range             Week   Status      AND                                  &lt;br /&gt;
 ST MAR 10 16     00 00                    AND                                  &lt;br /&gt;
                               Period                                           &lt;br /&gt;
           RH=Run History      WK                                               &lt;br /&gt;
 MA=Main   TR=Transmissions    BA=Base File    CH=Changes   PR=Promo            &lt;br /&gt;
                                                                                &lt;br /&gt;
    Reference  Week St Start/End Dates      SCHED DATE PRICE DATE ADDED DATE    &lt;br /&gt;
    FU20160310 9725 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9726 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9727 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9728 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9729 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9730 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    FU20160310 9731 FI MAR 10 16  DEC 31 50 MAR 10 16  MAR 11 16  MAR 10 16     &lt;br /&gt;
    MAR11 2016 1263 FI MAR 12 16  MAR 18 16 MAR 11 16  MAR 11 16  JUL 08 09     &lt;br /&gt;
    MAR18 2016 1264 NP MAR 19 16  MAR 25 16 MAR 18 16  MAR 18 16  JUL 08 09     &lt;br /&gt;
    MAR25 2016 1265 NP MAR 26 16  APR  1 16 MAR 25 16  MAR 25 16  JUL 08 09&lt;br /&gt;
    APR01 2016 1266 NP APR  2 16  APR  8 16 APR 01 16  APR 01 16  JUL 08 09  &lt;br /&gt;
    APR08 2016 1267 NP APR  9 16  APR 15 16 APR 08 16  APR 08 16  JUL 08 09  &lt;br /&gt;
    APR15 2016 1268 NP APR 16 16  APR 22 16 APR 15 16  APR 15 16  JUL 08 09  &lt;br /&gt;
&lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh                              F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
This shows two things.  Lines with a date (formatted as MMMDD YYYY) in the 'reference' column are [[Periodic-Calendar Year#Check ECU (Electronic Catalogue Update) Calendar|prebuilt]] to control the 'change' files that are created every week.  The last line shows, for example, that a file will be built on April 15th, using prices as of that day, and will be in effect for April 16th to April 22nd.  Although these dates are all Fridays, we actually build the files Thursday evenings, so they will be available no matter how early stores or POS vendors want them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- '''Command ECUFULLCAT calling auto run ‘ECUFULLCAT’''' for each price list.&lt;br /&gt;
&lt;br /&gt;
- '''Program ECRUP385''' (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read base files (ECUIBAP and ECUIBPP) and change files (ECUCHGP and ECUCHPP), and write to ECUCHGLOG; which is used by the Web Orders program UW_CHG01 (Changed Item Inquiry).&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- send change files to FTP server)&lt;br /&gt;
&lt;br /&gt;
- Sets up temporary input and output FTP files, then calls ECRUP380.&lt;br /&gt;
&lt;br /&gt;
ECRUP380 (ECU -- Generate chg or full catalog files for FTP)&lt;br /&gt;
&lt;br /&gt;
- Reads ECUOMHP and ECUOMDP, then writes ECUFTP.&lt;br /&gt;
&lt;br /&gt;
ECRUP385 ()&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2063</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2063"/>
		<updated>2016-03-16T22:52:26Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- '''Command ECUFULLCAT calling auto run ‘ECUFULLCAT’''' for each price list.&lt;br /&gt;
&lt;br /&gt;
- '''Program ECRUP385''' (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read base files (ECUIBAP and ECUIBPP) and change files (ECUCHGP and ECUCHPP), and write to ECUCHGLOG; which is used by the Web Orders program UW_CHG01 (Changed Item Inquiry).&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- send change files to FTP server)&lt;br /&gt;
&lt;br /&gt;
- sets up temporary input and output FTP files, then calls ECRUP380.&lt;br /&gt;
&lt;br /&gt;
ECRUP380 ()&lt;br /&gt;
&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
ECRUP385 ()&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:A/P_Invoicing_-_Invoice_Line_Locked&amp;diff=2062</id>
		<title>Information Systems:A/P Invoicing - Invoice Line Locked</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:A/P_Invoicing_-_Invoice_Line_Locked&amp;diff=2062"/>
		<updated>2016-03-16T22:20:54Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: Created page with &amp;quot;Error number CF40206 (Order &amp;amp;1 line &amp;amp;2 is currently locked by &amp;amp;3) displayed by RPG program GCFR402(A/P invoice matching vs. goods rec trans).  This program calls GCFR434 (A/P...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Error number CF40206 (Order &amp;amp;1 line &amp;amp;2 is currently locked by &amp;amp;3) displayed by RPG program GCFR402(A/P invoice matching vs. goods rec trans).&lt;br /&gt;
&lt;br /&gt;
This program calls GCFR434 (A/P inv matching - check goods reception line lock), which reads SROGRT (Goods reception transactions) for the PO number, and line number selected by invoice matching.  If GWREFX (Reference number) is not either 0, or matching the A/P transaction in process, this error is issued.&lt;br /&gt;
&lt;br /&gt;
A/P invoicing allocates a reference number for the invoice, puts it into the reference number field of all the goods reception transactions that are matched, then at the end, writes the transaction to the A/P file (SROLTA).  If the process is interrupted, and the transaction is not written to SROLTA, GCFR434 will not allow the records in SROGRT to be selected again (they are locked).&lt;br /&gt;
&lt;br /&gt;
The field GWREFX (labelled 'Ref no:') must be manually cleared, using [[DFU]] on file SR15GRT in library UP1480bfVA.  (Press enter twice to get to the third page.)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Finance_Problems&amp;diff=2061</id>
		<title>Information Systems:Finance Problems</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Finance_Problems&amp;diff=2061"/>
		<updated>2016-03-16T21:39:32Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* [[Cannot Close Period]]&lt;br /&gt;
* [[A/R Reconciliation Not in Balance]]&lt;br /&gt;
* [[Cannot Use A/P Payment Proposal]]&lt;br /&gt;
* [[Journal in Error]]&lt;br /&gt;
* [[G/L Balances do Not Roll Over]]&lt;br /&gt;
* [[Cash Book Not in Balance]]&lt;br /&gt;
* [[Cannot Close Cash Book]]&lt;br /&gt;
* [[Change Document Date]]&lt;br /&gt;
* [[Rounding Error in Goods Receiving File]]&lt;br /&gt;
* [[Unmatched Purchase Orders Not in Balance]]&lt;br /&gt;
* [[Problem With EFT Batch]]&lt;br /&gt;
* [[Cannot Add to Standing Order]]&lt;br /&gt;
* [[FIN03FPMG Does Not Balance to FIN03]]&lt;br /&gt;
* [[A/P Invoicing - Invoice Line Locked]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2060</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2060"/>
		<updated>2016-03-16T20:30:37Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- Command ECUFULLCAT calling auto run ‘ECUFULLCAT’ for each price list.&lt;br /&gt;
&lt;br /&gt;
- Program ECRUP385 (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
===Detail Process===&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 (ECU -- Generate regular base files)&lt;br /&gt;
&lt;br /&gt;
- Read active items from the ASW files, write to ECUIBAP, then call ECRUP011.  (Note that this uses the status field in SROPRG; perhaps it should use XXITEMP?)&lt;br /&gt;
&lt;br /&gt;
ECRUP011 (ECU -- Generate base prices for base item)&lt;br /&gt;
&lt;br /&gt;
- Read CCP files to calculate current prices, and write to ECUIBPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP050 (ECU -- Generate weekly regular changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base file (ECUIBAP) to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 (ECU -- Generate weekly price changes file)&lt;br /&gt;
&lt;br /&gt;
- Compare current week base prices file (ECUIBPP) to previous week's; and write differences to ECUCHPP.&lt;br /&gt;
&lt;br /&gt;
ECRUP060 (ECU -- Defer records if transmit limit exceeded)&lt;br /&gt;
&lt;br /&gt;
- The limit is currently 30,000 (set up in table UX ECUTRMLIMI); so this is unlikely to happen. &lt;br /&gt;
&lt;br /&gt;
ECRUP350 (ECU -- Generate OMS data for a regular cat. chg)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUCHGLOG; which is used by the Web Orders program UW_&lt;br /&gt;
&lt;br /&gt;
ECRUP360 (ECU -- Generate item change file to display on WEB)&lt;br /&gt;
&lt;br /&gt;
- Read change files (ECUCHGP and ECUCHPP) and write to ECUOMHP and ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
ECCUP380 (ECU -- Generate chg or full catalog files for FTP)&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
ECRUP700 (ECU -- Transmit or retransmit a transmission)&lt;br /&gt;
&lt;br /&gt;
- &lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2059</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2059"/>
		<updated>2016-03-16T19:39:20Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
==weekly Electronic Catalog Update==&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
- Command ECUFULLCAT calling auto run ‘ECUFULLCAT’ for each price list.&lt;br /&gt;
&lt;br /&gt;
- Program ECRUP385 (ECU -- Generate and send full catalog files) calls ECCUP380 (ECU -- send change files to FTP server) for each catalogue built by ECUFULLCAT.  &lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description            Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE              REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGES FILE    REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE CHANGES   REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSMIT LIMITS REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES           REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES           REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES           REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES           REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES            REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES            REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES           REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC SH         REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC NS         REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB SH         REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB NS         REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC           REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1          REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT SH         REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE FOR WEB    REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FTP SERVER  REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Repeat for run 'ECUFULLCAT'.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  12:33:25    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            ECUFULLCAT                     AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description             Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
     10 CREATE WEEKLY CHANGES FILE     REGUL *ALL       ECUFULLCAT ECRUP050   EXTR        &lt;br /&gt;
     12 CREATE WEEKLY PRICE CHANGES    REGUL *ALL       ECUFULLCAT ECRUP055   PRICH       &lt;br /&gt;
     15 CREATE SHAREHOLDER PRICES      FULL  *RUN       ECUFULLCAT ECRUP350   TFORM       &lt;br /&gt;
     25 SEND OUT TO INTERNAL MAIL LIST FULL  *RUN       ECUFULLCAT ECRUP700   TRANS       &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
ECRUP010 ()&lt;br /&gt;
&lt;br /&gt;
ECRUP050 () - compare current week base file to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
ECRUP055 ()&lt;br /&gt;
&lt;br /&gt;
ECRUP060 ()&lt;br /&gt;
&lt;br /&gt;
ECRUP350 () - read changes file and write to ECUOMHP () and ECUOMDP ().&lt;br /&gt;
&lt;br /&gt;
ECRUP360 ()&lt;br /&gt;
&lt;br /&gt;
ECCUP380 ()&lt;br /&gt;
&lt;br /&gt;
ECRUP700 ()&lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Monitor_Pick_List_Numbers&amp;diff=2058</id>
		<title>Information Systems:Monitor Pick List Numbers</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Monitor_Pick_List_Numbers&amp;diff=2058"/>
		<updated>2016-03-16T19:32:26Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Pick List Numbers - estimated to Wrap in 2018==&lt;br /&gt;
&lt;br /&gt;
We started in 2005 with pick list number 5000000.  In July 2013, we reached 8999999 and went back to 3000001.  '''WE WILL HAVE A PROBLEM WHEN WE REACH 5000000 AGAIN.'''  &lt;br /&gt;
&lt;br /&gt;
Note - March 9, 2016 - picks list beginning with '5' were removed (using program PURGE05A).  This gives another 2.5 to 3 years.  March 16, 2016 - removed pick lists starting with '6' and '7'.&lt;br /&gt;
&lt;br /&gt;
'''Note that we cannot use pick list numbers starting with '1' or '2'.  Normally, a shipment number is pick list number appended with the three digit box number.  For a special box label, the shipment number is partner number appended with the 'day' part of the Julian date, and 2 digit sequential number from file CVUSDAP (CVU -- Customer/Vendor User Data Items), element 'WAYBILL#'.  These numbers must not duplicate.''' &lt;br /&gt;
&lt;br /&gt;
Here are the pick list numbers, and count, for each year.  The count has gone down over the last couple of years; we have used order minimums to make customers submit fewer but larger orders, and have encouraged shareholders to do the same thing.&lt;br /&gt;
&lt;br /&gt;
 year    starting      ending    starting      ending       used&lt;br /&gt;
 2005     5000306     5387235                             386,390&lt;br /&gt;
 2006     5387236     5803474                             416,239&lt;br /&gt;
 2007     5803475     6232140                             428,666&lt;br /&gt;
 2008     6232141     6710591                             478,451&lt;br /&gt;
 2009     6710592     7225729                             515,138&lt;br /&gt;
 2010     7225730     7739607                             513,878&lt;br /&gt;
 2011     7739608     8235828                             496,221&lt;br /&gt;
 2012     8235829     8754526                             518,698&lt;br /&gt;
 2013     8754527     8999999     3000001     3203810     449,283&lt;br /&gt;
 2014     3203811     3568043                             364,233&lt;br /&gt;
 2015     3568044     3904094                             336,051&lt;br /&gt;
&lt;br /&gt;
The sales order detail file (SROORSPL) has pick list number on it, and has a logical file using it.  Before pick list numbers wrap, we will have to start clearing this field.  Note that just the field should be cleared; the record should be left in the file.&lt;br /&gt;
&lt;br /&gt;
Custom files PLDETL, and UXSDOCP will have to be archived and purged.&lt;br /&gt;
&lt;br /&gt;
The shipment archive file (ATLARCHP) wasn't created until 2010, but will have to be purged when pick list numbers approach 7550000 again.&lt;br /&gt;
&lt;br /&gt;
I don't know what effect this will have on ASW, or what other files could be involved.  (2016Feb) Protelo has looked into the changes IBS made in later versions to deal with this, and had identified three programs - &lt;br /&gt;
&lt;br /&gt;
 DMR330      Pick list confirmation&lt;br /&gt;
 WMR910      Location confirmation - List (Pick/Rec)&lt;br /&gt;
 WMR960      Create pick suggestion&lt;br /&gt;
&lt;br /&gt;
I've found more without looking very hard - &lt;br /&gt;
&lt;br /&gt;
 DMR307   reads by pick list number to find the lowest unused line number.&lt;br /&gt;
 MDR344   (modification) reads by pick list to find if price tickets will be needed for any items on the invoice&lt;br /&gt;
 NCRUP001 selects items to include on narcotic control form&lt;br /&gt;
 RFHR512  (modification) only selects form PLDETLP if first pick list line in sales order file is status 30&lt;br /&gt;
 etc&lt;br /&gt;
 etc&lt;br /&gt;
&lt;br /&gt;
It's starting to seem like the only option is to purge old pick list numbers from the sales order line file...&lt;br /&gt;
&lt;br /&gt;
In order to monitor the process, get the current invoice number (series 2) from the [[Table Maintenance Programs|Number Series Table]], and periodically add it to this document.&lt;br /&gt;
&lt;br /&gt;
 2015 Dec 16     3890843&lt;br /&gt;
 2016 Mar  1     3957647    66804 used in 2.5 months.  At this rate, 39 months left (May 2019).&lt;br /&gt;
&lt;br /&gt;
===Purge Pick List Numbers===&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company (Production) / Work with UWD IT Tools / Purge Pick List Numbers.&lt;br /&gt;
&lt;br /&gt;
This will call command PURGEPICK, which will prompt for the leading digit of the range of numbers to be purged, then will call RPG program PURGE05A.  &lt;br /&gt;
&lt;br /&gt;
The files purged will be - &lt;br /&gt;
&lt;br /&gt;
 SROORSPL (sales order lines)      - clear pick list number and line number&lt;br /&gt;
 PLDETL   (pick list into)         - delete records                             &lt;br /&gt;
 ATLARCHP (Atlas shipment archive) - delete records                   &lt;br /&gt;
 UXSDOCP  (documents)              - delete records&lt;br /&gt;
&lt;br /&gt;
Before purging, the records that will be deleted are added to files PLDETLPURG, ATLARCHPRG, and UXSDOCPURG.  Records can therefore be added back to the original file if necessary.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2057</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2057"/>
		<updated>2016-03-16T19:01:49Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY (weekly Electronic Catalog Update) runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:53:08    uniPHARM -- PRODUCTION               ECRIQ030/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Master Records   PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NAME  By Auto Run Nam                                                          &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
                                           AND                                  &lt;br /&gt;
 Date Range             Status Timing                                           &lt;br /&gt;
 AD     00 00     00 00                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   ST=Steps   RU=Runs   EX=Execute  PU=Purge                 &lt;br /&gt;
                                                                                &lt;br /&gt;
    Run Name and Description               Ti PROGRAM    START DATE END DATE    &lt;br /&gt;
 __ ECUFULLCAT FULL CATALOG -- SPECIAL RUN OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ ECUPARTCAT PARTIAL CATALOG -- SPECIAL  OR ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
 __ PROMONITE  NIGHTLY PROMO EXTRACTS      DY ECREX002   JAN 01 04  DEC 31 50   &lt;br /&gt;
 ST WEEKLYCAT  WEEKLY  CATALOG             WK ECREX001   JAN 01 04  DEC 31 50   &lt;br /&gt;
                                           &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
Use option ST=Steps on run 'WEEKLYCAT'.  You will have to page down to see all the steps.&lt;br /&gt;
&lt;br /&gt;
  3/16/16  11:59:15    uniPHARM -- PRODUCTION               ECRIQ040/LISTCTL    &lt;br /&gt;
 ECU RUNNING           ECU - Show Auto Run Steps            PRODUCTION  1.00    &lt;br /&gt;
 Display Order                                 Field      Test Values           &lt;br /&gt;
 NASTP Name, Step #                                                             &lt;br /&gt;
 Limit to:  Name        Type    Status     AND                                  &lt;br /&gt;
            WEEKLYCAT                      AND                                  &lt;br /&gt;
            Catalog Type/Sub Type                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  MA=Main   CP=Copy   PU=Purge   RU=Runs                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
    Step # and Description   Type  Sub Type   RUN NAME   PROGRAM    STEP TYPE   &lt;br /&gt;
    100 CREATE BASE FILE     REGUL *ALL       WEEKLYCAT  ECRUP010   BASE        &lt;br /&gt;
    101 CREATE WEEKLY CHANGE REGUL *ALL       WEEKLYCAT  ECRUP050   EXTR        &lt;br /&gt;
    120 CREATE WEEKLY PRICE  REGUL *ALL       WEEKLYCAT  ECRUP055   PRICH       &lt;br /&gt;
    130 CHECK FOR ANY TRANSM REGUL *ALL       WEEKLYCAT  ECRUP060   TSIZE       &lt;br /&gt;
    150 CREATE BC SH PRICES  REGUL SHARE-BC   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    200 CREATE BC NS PRICES  REGUL NON-SH-BC  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    210 CREATE AB SH PRICES  REGUL SHARE-AB   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    220 CREATE AB NS PRICES  REGUL NON-SH-AB  WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    225 CREATE PSC  PRICES   REGUL SHARE-PSC  WEEKLYCAT  ECRUP350   TFORM      &lt;br /&gt;
    230 CREATE PSC1 PRICES   REGUL SHARE-PSC1 WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    235 CREATE YT SH PRICES  REGUL SHARE-YT   WEEKLYCAT  ECRUP350   TFORM       &lt;br /&gt;
    250 SEND OUT WEEKLY BC S REGUL SHARE-BC   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    300 SEND OUT WEEKLY BC N REGUL NON-SH-BC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    320 SEND OUT WEEKLY AB S REGUL SHARE-AB   WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    340 SEND OUT WEEKLY AB N REGUL NON-SH-AB  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    350 SEND OUT WEEKLY PSC  REGUL SHARE-PSC  WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    360 SEND OUT WEEKLY PSC1 REGUL SHARE-PSC1 WEEKLYCAT  ECRUP700   TRANS       &lt;br /&gt;
    370 SEND OUT WEEKLY YT S REGUL SHARE-YT   WEEKLYCAT  ECRUP700   TRANS      &lt;br /&gt;
    531 BUILD CHANGES FILE F REGUL *ALL       WEEKLYCAT  ECRUP360   BASE        &lt;br /&gt;
    601 COPY CHG FILES TO FT REGUL *ALL       WEEKLYCAT  ECCUP380   BASE        &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                 &lt;br /&gt;
                                                                  F21=Scrn Reset&lt;br /&gt;
  F3=Exit   F5=Refresh       F6=Add                 F12=Previous  F24=Scrn Save &lt;br /&gt;
&lt;br /&gt;
- Command ECUFULLCAT calling auto run ‘ECUFULLCAT’ for each price list.&lt;br /&gt;
&lt;br /&gt;
- Program ECRUP385 (ECU -- Generate and send full catalog files) calls ECCUP380 for each catalogue built by ECUFULLCAT.  ECCUP380 send these catalogues to the FTP server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECRUP050 () - compare current week base file to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
WCRUP350 () - read changes file and write to ECUOMHP () and ECUOMDP ().&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2056</id>
		<title>Information Systems:ECU - Electronic Catalog Update</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:ECU_-_Electronic_Catalog_Update&amp;diff=2056"/>
		<updated>2016-03-16T18:54:19Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;uniPHARM used to supply a PC program called EOB (Electronic Order Book) to customers.  Every week, ECU would build a file of changes to the item master file (one for each price list, as the prices would be different for each), and email them to ?.  We no longer have the EOB, but we continue building change files and full catalogues every week for the POS systems, and for Web Orders.&lt;br /&gt;
&lt;br /&gt;
CL program ECUWEEKLY (weekly Electronic Catalog Update) runs from the Job Scheduler every Thursday at 9:30PM. It runs – &lt;br /&gt;
&lt;br /&gt;
- '''Command ECUREGULAR calling auto run ‘WEEKLYCAT’'''.  It builds a file of changes the item file in the last week, for each price list (because they will each have different prices). These files are emailed to pre-set addresses,  and sent to our FTP server.  It also builds a change file that can be accessed by Web Orders.&lt;br /&gt;
&lt;br /&gt;
To see the details, go to Unity / Start uniPharm Extensions / VA Company / UWD Extensions / ECU -- Catalog Update / ECRIQ030 -- Show Auto Run Records.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Command ECUFULLCAT calling auto run ‘ECUFULLCAT’ for each price list.&lt;br /&gt;
&lt;br /&gt;
- Program ECRUP385 (ECU -- Generate and send full catalog files) calls ECCUP380 for each catalogue built by ECUFULLCAT.  ECCUP380 send these catalogues to the FTP server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- File ECUIBAP (ECU -- Item Base File) contains all the fields (except prices) included in the catalogue and change files, for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUIBPP (ECU -- Item Base Price File) contains all the item prices for every week this is run.  &lt;br /&gt;
&lt;br /&gt;
- File ECUCHGP (ECU -- Catalog Changes File) contains all the items that have had any changes in ECUIBAP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUCHPP (ECU -- Catalog Price Changes File) contains all the items that have had any changes in ECUIBPP, from one week to the next.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMDP (ECU -- Message Lines File) are the change and full catalogue files reformatted.&lt;br /&gt;
&lt;br /&gt;
- File ECUOMHP (ECU -- Message Headers) header for each change and full catalogue file that has been add to ECUOMDP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECRUP050 () - compare current week base file to previous week's; and write differences to ECUCHGP.&lt;br /&gt;
&lt;br /&gt;
WCRUP350 () - read changes file and write to ECUOMHP () and ECUOMDP ().&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Monitor_Pick_List_Numbers&amp;diff=2055</id>
		<title>Information Systems:Monitor Pick List Numbers</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Monitor_Pick_List_Numbers&amp;diff=2055"/>
		<updated>2016-03-16T16:40:32Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Pick List Numbers - estimated to Wrap in 2018 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Pick List Numbers - estimated to Wrap in 2018==&lt;br /&gt;
&lt;br /&gt;
We started in 2005 with pick list number 5000000.  In July 2013, we reached 8999999 and went back to 3000001.  '''WE WILL HAVE A PROBLEM WHEN WE REACH 5000000 AGAIN.'''  &lt;br /&gt;
&lt;br /&gt;
Note - March 9, 2016 - picks list beginning with '5' were removed (using program PURGE05A).  This gives another 2.5 to 3 years.  March 16, 2016 - removed pick lists starting with '6'.&lt;br /&gt;
&lt;br /&gt;
'''Note that we cannot use pick list numbers starting with '1' or '2'.  Normally, a shipment number is pick list number appended with the three digit box number.  For a special box label, the shipment number is partner number appended with the 'day' part of the Julian date, and 2 digit sequential number from file CVUSDAP (CVU -- Customer/Vendor User Data Items), element 'WAYBILL#'.  These numbers must not duplicate.''' &lt;br /&gt;
&lt;br /&gt;
Here are the pick list numbers, and count, for each year.  The count has gone down over the last couple of years; we have used order minimums to make customers submit fewer but larger orders, and have encouraged shareholders to do the same thing.&lt;br /&gt;
&lt;br /&gt;
 year    starting      ending    starting      ending       used&lt;br /&gt;
 2005     5000306     5387235                             386,390&lt;br /&gt;
 2006     5387236     5803474                             416,239&lt;br /&gt;
 2007     5803475     6232140                             428,666&lt;br /&gt;
 2008     6232141     6710591                             478,451&lt;br /&gt;
 2009     6710592     7225729                             515,138&lt;br /&gt;
 2010     7225730     7739607                             513,878&lt;br /&gt;
 2011     7739608     8235828                             496,221&lt;br /&gt;
 2012     8235829     8754526                             518,698&lt;br /&gt;
 2013     8754527     8999999     3000001     3203810     449,283&lt;br /&gt;
 2014     3203811     3568043                             364,233&lt;br /&gt;
 2015     3568044     3904094                             336,051&lt;br /&gt;
&lt;br /&gt;
The sales order detail file (SROORSPL) has pick list number on it, and has a logical file using it.  Before pick list numbers wrap, we will have to start clearing this field.  Note that just the field should be cleared; the record should be left in the file.&lt;br /&gt;
&lt;br /&gt;
Custom files PLDETL, and UXSDOCP will have to be archived and purged.&lt;br /&gt;
&lt;br /&gt;
The shipment archive file (ATLARCHP) wasn't created until 2010, but will have to be purged when pick list numbers approach 7550000 again.&lt;br /&gt;
&lt;br /&gt;
I don't know what effect this will have on ASW, or what other files could be involved.  (2016Feb) Protelo has looked into the changes IBS made in later versions to deal with this, and had identified three programs - &lt;br /&gt;
&lt;br /&gt;
 DMR330      Pick list confirmation&lt;br /&gt;
 WMR910      Location confirmation - List (Pick/Rec)&lt;br /&gt;
 WMR960      Create pick suggestion&lt;br /&gt;
&lt;br /&gt;
I've found more without looking very hard - &lt;br /&gt;
&lt;br /&gt;
 DMR307   reads by pick list number to find the lowest unused line number.&lt;br /&gt;
 MDR344   (modification) reads by pick list to find if price tickets will be needed for any items on the invoice&lt;br /&gt;
 NCRUP001 selects items to include on narcotic control form&lt;br /&gt;
 RFHR512  (modification) only selects form PLDETLP if first pick list line in sales order file is status 30&lt;br /&gt;
 etc&lt;br /&gt;
 etc&lt;br /&gt;
&lt;br /&gt;
It's starting to seem like the only option is to purge old pick list numbers from the sales order line file...&lt;br /&gt;
&lt;br /&gt;
In order to monitor the process, get the current invoice number (series 2) from the [[Table Maintenance Programs|Number Series Table]], and periodically add it to this document.&lt;br /&gt;
&lt;br /&gt;
 2015 Dec 16     3890843&lt;br /&gt;
 2016 Mar  1     3957647    66804 used in 2.5 months.  At this rate, 39 months left (May 2019).&lt;br /&gt;
&lt;br /&gt;
===Purge Pick List Numbers===&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company (Production) / Work with UWD IT Tools / Purge Pick List Numbers.&lt;br /&gt;
&lt;br /&gt;
This will call command PURGEPICK, which will prompt for the leading digit of the range of numbers to be purged, then will call RPG program PURGE05A.  &lt;br /&gt;
&lt;br /&gt;
The files purged will be - &lt;br /&gt;
&lt;br /&gt;
 SROORSPL (sales order lines)      - clear pick list number and line number&lt;br /&gt;
 PLDETL   (pick list into)         - delete records                             &lt;br /&gt;
 ATLARCHP (Atlas shipment archive) - delete records                   &lt;br /&gt;
 UXSDOCP  (documents)              - delete records&lt;br /&gt;
&lt;br /&gt;
Before purging, the records that will be deleted are added to files PLDETLPURG, ATLARCHPRG, and UXSDOCPURG.  Records can therefore be added back to the original file if necessary.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Monitor_Pick_List_Numbers&amp;diff=2054</id>
		<title>Information Systems:Monitor Pick List Numbers</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Monitor_Pick_List_Numbers&amp;diff=2054"/>
		<updated>2016-03-16T15:43:32Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Purge Pick List Numbers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Pick List Numbers - estimated to Wrap in 2018==&lt;br /&gt;
&lt;br /&gt;
We started in 2005 with pick list number 5000000.  In July 2013, we reached 8999999 and went back to 3000001.  '''WE WILL HAVE A PROBLEM WHEN WE REACH 5000000 AGAIN.'''  &lt;br /&gt;
&lt;br /&gt;
Note - March 9, 2016 - picks list beginning with '5' were removed (using program PURGE05A).  This gives another 2.5 to 3 years.&lt;br /&gt;
&lt;br /&gt;
'''Note that we cannot use pick list numbers starting with '1' or '2'.  Normally, a shipment number is pick list number appended with the three digit box number.  For a special box label, the shipment number is partner number appended with the 'day' part of the Julian date, and 2 digit sequential number from file CVUSDAP (CVU -- Customer/Vendor User Data Items), element 'WAYBILL#'.  These numbers must not duplicate.''' &lt;br /&gt;
&lt;br /&gt;
Here are the pick list numbers, and count, for each year.  The count has gone down over the last couple of years; we have used order minimums to make customers submit fewer but larger orders, and have encouraged shareholders to do the same thing.&lt;br /&gt;
&lt;br /&gt;
 year    starting      ending    starting      ending       used&lt;br /&gt;
 2005     5000306     5387235                             386,390&lt;br /&gt;
 2006     5387236     5803474                             416,239&lt;br /&gt;
 2007     5803475     6232140                             428,666&lt;br /&gt;
 2008     6232141     6710591                             478,451&lt;br /&gt;
 2009     6710592     7225729                             515,138&lt;br /&gt;
 2010     7225730     7739607                             513,878&lt;br /&gt;
 2011     7739608     8235828                             496,221&lt;br /&gt;
 2012     8235829     8754526                             518,698&lt;br /&gt;
 2013     8754527     8999999     3000001     3203810     449,283&lt;br /&gt;
 2014     3203811     3568043                             364,233&lt;br /&gt;
 2015     3568044     3904094                             336,051&lt;br /&gt;
&lt;br /&gt;
The sales order detail file (SROORSPL) has pick list number on it, and has a logical file using it.  Before pick list numbers wrap, we will have to start clearing this field.  Note that just the field should be cleared; the record should be left in the file.&lt;br /&gt;
&lt;br /&gt;
Custom files PLDETL, and UXSDOCP will have to be archived and purged.&lt;br /&gt;
&lt;br /&gt;
The shipment archive file (ATLARCHP) wasn't created until 2010, but will have to be purged when pick list numbers approach 7550000 again.&lt;br /&gt;
&lt;br /&gt;
I don't know what effect this will have on ASW, or what other files could be involved.  (2016Feb) Protelo has looked into the changes IBS made in later versions to deal with this, and had identified three programs - &lt;br /&gt;
&lt;br /&gt;
 DMR330      Pick list confirmation&lt;br /&gt;
 WMR910      Location confirmation - List (Pick/Rec)&lt;br /&gt;
 WMR960      Create pick suggestion&lt;br /&gt;
&lt;br /&gt;
I've found more without looking very hard - &lt;br /&gt;
&lt;br /&gt;
 DMR307   reads by pick list number to find the lowest unused line number.&lt;br /&gt;
 MDR344   (modification) reads by pick list to find if price tickets will be needed for any items on the invoice&lt;br /&gt;
 NCRUP001 selects items to include on narcotic control form&lt;br /&gt;
 RFHR512  (modification) only selects form PLDETLP if first pick list line in sales order file is status 30&lt;br /&gt;
 etc&lt;br /&gt;
 etc&lt;br /&gt;
&lt;br /&gt;
It's starting to seem like the only option is to purge old pick list numbers from the sales order line file...&lt;br /&gt;
&lt;br /&gt;
In order to monitor the process, get the current invoice number (series 2) from the [[Table Maintenance Programs|Number Series Table]], and periodically add it to this document.&lt;br /&gt;
&lt;br /&gt;
 2015 Dec 16     3890843&lt;br /&gt;
 2016 Mar  1     3957647    66804 used in 2.5 months.  At this rate, 39 months left (May 2019).&lt;br /&gt;
&lt;br /&gt;
===Purge Pick List Numbers===&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPharm Extensions / VA Company (Production) / Work with UWD IT Tools / Purge Pick List Numbers.&lt;br /&gt;
&lt;br /&gt;
This will call command PURGEPICK, which will prompt for the leading digit of the range of numbers to be purged, then will call RPG program PURGE05A.  &lt;br /&gt;
&lt;br /&gt;
The files purged will be - &lt;br /&gt;
&lt;br /&gt;
 SROORSPL (sales order lines)      - clear pick list number and line number&lt;br /&gt;
 PLDETL   (pick list into)         - delete records                             &lt;br /&gt;
 ATLARCHP (Atlas shipment archive) - delete records                   &lt;br /&gt;
 UXSDOCP  (documents)              - delete records&lt;br /&gt;
&lt;br /&gt;
Before purging, the records that will be deleted are added to files PLDETLPURG, ATLARCHPRG, and UXSDOCPURG.  Records can therefore be added back to the original file if necessary.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODRPT&amp;diff=2053</id>
		<title>Information Systems:EODRPT</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODRPT&amp;diff=2053"/>
		<updated>2016-03-16T00:25:09Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This generates reports.  It is called by [[EOD]].&lt;br /&gt;
&lt;br /&gt;
 /* DIS and WHM Integrity Reports - WHOLOP not balanced to SROSRO. For    */ &lt;br /&gt;
 /* both MAI and RET.                                                     */&lt;br /&gt;
                                                                               &lt;br /&gt;
 /* log entry is 'INTEG RPTS'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(WMC251S) PAID(MAIINT) USER(*ALL)                 &lt;br /&gt;
             EXCASWPGM  PGM(WMC251S) PARM(N)                                   &lt;br /&gt;
             RTVASWPAR  PGM(WMC251S) PAID(RETINT) USER(*ALL)                 &lt;br /&gt;
             EXCASWPGM  PGM(WMC251S) PARM(N)                                   &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Print onhand inventory at cost for both warehouses                    */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'STOCK STAT'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
             CHGJOB     OUTQ(ELAHO)                                           &lt;br /&gt;
             RUNQRY     QRY(STOCKST02A)                                       &lt;br /&gt;
                                                                                &lt;br /&gt;
 /* Print Lost Sales Report                                               */&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'LOST SALES'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
             LOSTSALES   &lt;br /&gt;
                      &lt;br /&gt;
 /* Reset out of stock code (or short code) of 'A', 'B', or 'N' for items */&lt;br /&gt;
 /* now back in stock.                                                    */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'OOS CODES'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
              CALL       PGM(PLZUP050)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODUPD&amp;diff=2052</id>
		<title>Information Systems:EODUPD</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:EODUPD&amp;diff=2052"/>
		<updated>2016-03-16T00:22:38Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This does all the updating that requires all users to be off the system.  It is called by EOD.&lt;br /&gt;
&lt;br /&gt;
 /* Generate bills to suppliers for COOP AND VEDI.  This has to run first */&lt;br /&gt;
 /* so that generated entries will be included in the updates.            */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'MISC BILL1'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
             CXBILL03C                                                        &lt;br /&gt;
             CALL       PGM(CXBILL06)                                         &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Run ASW command to put the current date minus 1 (as this job is       */&lt;br /&gt;
 /* running after midnight) into the LDA (local data area)                */&lt;br /&gt;
 &lt;br /&gt;
             CHGASWLDA  TYPE(*DATDZ) RELVAL(-1) STARTPOS(001)  &lt;br /&gt;
 &lt;br /&gt;
 /* Extract yesterday's date from the LDA and convert it to numeric       */&lt;br /&gt;
         &lt;br /&gt;
             RTVDTAARA  DTAARA(*LDA (1 8)) RTNVAR(&amp;amp;DATEC)                     &lt;br /&gt;
             CHGVAR     VAR(&amp;amp;DATE) VALUE(&amp;amp;DATEC)    &lt;br /&gt;
 &lt;br /&gt;
 /* Call ASW program to get yesterday's fiscal period, and convert to     */&lt;br /&gt;
 /* character.                                                            */&lt;br /&gt;
                             &lt;br /&gt;
             GETPERIOD  DATE(&amp;amp;DATE) PERIOD(&amp;amp;PERIOD)                           &lt;br /&gt;
             CHGVAR     VAR(&amp;amp;PERIODC) VALUE(&amp;amp;PERIOD)                          &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Print invoice journal.  This will be file DMR352P in WRKSPLF EDOJOB.  */&lt;br /&gt;
 /* There are saved parameters for this.  Just change the date and period.*/ &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'INV JOURN'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(DMC352) PAID(INVJOURNAL) USER(*ALL)               &lt;br /&gt;
             CHGASWLDA  TYPE(*DATDZ) RELVAL(-1) STARTPOS(082)                 &lt;br /&gt;
             CHGASWLDA  VALUE(&amp;amp;PERIODC) TYPE(*CHAR) STARTPOS(090) +           &lt;br /&gt;
                          POSITIONS(6)                                        &lt;br /&gt;
             EXCASWPGM  PGM(DMC352) PARM(N)     &lt;br /&gt;
 &lt;br /&gt;
 /* Send invoice journal to Catapult.  This is run as a rule instead of   */  &lt;br /&gt;
 /* being polled, as it goes into QPRINT.  We don't want the poller to    */  &lt;br /&gt;
 /* go through QPRINT;  it's 2300 spool files now, but will just keep     */  &lt;br /&gt;
 /* getting bigger.                                                       */  &lt;br /&gt;
                                                                              &lt;br /&gt;
            ADDLIBLE   LIB(XL_CATAPLT)                                        &lt;br /&gt;
            ZRUNRULE   FILE(DMR352P) JOB(*) SPLNBR(*LAST) +                   &lt;br /&gt;
                         RULENBR(10393) TIMEOUT(20)                           &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Run nightly DIS to FIN.  Again, there are saved parameters for this.   */&lt;br /&gt;
 /* Change the date and period.                                            */ &lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'DIS TO FIN'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(GCFC751) PAID(DIS2FIN) USER(*ALL)                 &lt;br /&gt;
             CHGASWLDA  TYPE(*DATDZ) RELVAL(-1) STARTPOS(082)                 &lt;br /&gt;
             CHGASWLDA  VALUE(&amp;amp;PERIODC) TYPE(*CHAR) STARTPOS(090) +           &lt;br /&gt;
                          POSITIONS(6)                                        &lt;br /&gt;
             EXCASWPGM  PGM(GCFC751) PARM(N)  &lt;br /&gt;
                                 &lt;br /&gt;
 /* Delete all generated spool file except for invoice register           */  &lt;br /&gt;
                                                                                &lt;br /&gt;
             DLTSPLF    FILE(GCFP752) SPLNBR(*LAST)                            &lt;br /&gt;
             DLTSPLF    FILE(FKR050P) SPLNBR(*LAST)                            &lt;br /&gt;
             DLTSPLF    FILE(FMR050P) SPLNBR(*LAST)                            &lt;br /&gt;
             DLTSPLF    FILE(FMR050P) SPLNBR(*LAST)                            &lt;br /&gt;
             DLTSPLF    FILE(FMR066P) SPLNBR(*LAST)                            &lt;br /&gt;
             DLTSPLF    FILE(FMR065P) SPLNBR(*LAST)                            &lt;br /&gt;
             DLTSPLF    FILE(FMR065P) SPLNBR(*LAST)  &lt;br /&gt;
             DLTSPLF    FILE(FMR056P) SPLNBR(*LAST)    &lt;br /&gt;
                           &lt;br /&gt;
 /* Clear intermediate purchase suggestions from yesterday.                */&lt;br /&gt;
                                                                               &lt;br /&gt;
 /* log entry is 'PURCH SUG'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(DIC801) PAID(CLRSUGPO) USER(*ALL)                 &lt;br /&gt;
             CHGASWLDA  TYPE(*DATDZ) STARTPOS(1)                              &lt;br /&gt;
             EXCASWPGM  PGM(DIC801) PARM(N)                                   &lt;br /&gt;
  &lt;br /&gt;
 /* Generate purchase suggestions.                                         */&lt;br /&gt;
                                                                             &lt;br /&gt;
             RTVASWPAR  PGM(INVC431) PAID(PURSUG2MAI) USER(*ALL)                             &lt;br /&gt;
             EXCASWPGM  PGM(INVC431) PARM(N)                                 &lt;br /&gt;
                                                                              &lt;br /&gt;
             RTVASWPAR  PGM(INVC431) PAID(PURSUG3MAI) USER(*ALL)             &lt;br /&gt;
             EXCASWPGM  PGM(INVC431) PARM(N)                                 &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Keep copy of purchase suggestions as there are sometimes questions     */&lt;br /&gt;
 /* about whether something was generated here, or manually.               */&lt;br /&gt;
                                                                              &lt;br /&gt;
             CPYF       FROMFILE(UP1480BFVA/SROPUH) +                        &lt;br /&gt;
                          TOFILE(UP1480BFVA/SROPUH.B1) MBROPT(*REPLACE)      &lt;br /&gt;
             CPYF       FROMFILE(UP1480BFVA/SROPUL) +                        &lt;br /&gt;
                          TOFILE(UP1480BFVA/SROPUL.B1) MBROPT(*REPLACE)      &lt;br /&gt;
 &lt;br /&gt;
 /* Update ASW Item Cost With Effective VEBA From CCP                      */&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'ASW COST'                                                */&lt;br /&gt;
                                             &lt;br /&gt;
              CALL       PGM(IXRUP880)     &lt;br /&gt;
                                                                     &lt;br /&gt;
 /* Note that we can operate if the following jobs are not run. There may  */&lt;br /&gt;
 /* be some 'unexpected results', but that will not stop us from receiving,*/&lt;br /&gt;
 /* picking, and shipping orders.                                          */           &lt;br /&gt;
 &lt;br /&gt;
 /* Rebuild the Time Axis File                                             */&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'TIME AXIS'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(DMC951) PAID(TIMEAXIS) USER(*ALL)                 &lt;br /&gt;
             CHGASWLDA  VALUE(&amp;amp;PERIODC) TYPE(*CHAR) STARTPOS(007) +           &lt;br /&gt;
                          POSITIONS(6)                                        &lt;br /&gt;
             EXCASWPGM  PGM(DMC951) PARM(N)                                   &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Rebuild A/R Credit Time Axis                                           */&lt;br /&gt;
 &lt;br /&gt;
 /* log entry is 'AR CRD AX'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(GDMC195) PAID(ARAXIS) USER(*ALL)                  &lt;br /&gt;
             EXCASWPGM  PGM(GDMC195) PARM(N)                                  &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Rebuild A/R and A/P Totals                                             */&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'AR AP TOT'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             RTVASWPAR  PGM(FSC880) PAID(ARAPREBLD) USER(*ALL)                &lt;br /&gt;
             EXCASWPGM  PGM(FSC880) PARM(N)                                   &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Calculate items that will have a 5% increase in cost or 5% decrease   */ &lt;br /&gt;
 /* in gross margin %, and email buyer.                                   */ &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'HI CST/GM'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
             CALL       PGM(IXRIQ405)  &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Send any 'READY' promos to ECU                                        */&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'PROMO2ECU'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
             ECUPROMO                                                         &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Adjust demand by items on promo.  This is so that purchase            */&lt;br /&gt;
 /* suggestions for regular stocked items are not inflated by promo sales.*/&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'ADJ DEMAND'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
             PXDEMAND                                                         &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* Use average purchase cost for warehouse MAI in SROSRO to update       */&lt;br /&gt;
 /* average purchase cost in SROSRO for RET, and average purchase cost    */&lt;br /&gt;
 /* in base item master file SROPRG.                                      */&lt;br /&gt;
 /* Do not share open data path, as SRBPRG may not be open for update.    */&lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'AVE COST'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             OVRDBF     FILE(SRBPRG) TOFILE(SRBPRG) SHARE(*NO)                &lt;br /&gt;
             CALL       PGM(AVGCST01)                                         &lt;br /&gt;
 &lt;br /&gt;
 /* Run miscellaneous billing - extract VEDI and COOP to be billed        */ &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'MISC BILL2'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
              CALL       PGM(CXBILL)                                           &lt;br /&gt;
                                                                               &lt;br /&gt;
 /* FTP Sales Orders with no invoiced lines.  Normally, the FTP'ed        */&lt;br /&gt;
 /* invoice file includes cancelled order lines.  This will send orders   */&lt;br /&gt;
 /* that haven't generated an invoice.                                    */ &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'FTP INV1'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             CALL       PGM(INVCUP300)                                        &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* For miscellaneous (VEDI &amp;amp; COOP) billing, settle invoice to transfers  */ &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* log entry is 'MISC BILL3'                                             */&lt;br /&gt;
                                             &lt;br /&gt;
             CALL       PGM(CXBILL07)                                         &lt;br /&gt;
 &lt;br /&gt;
 /* Cancel any held POS orders that are four days old or more             */&lt;br /&gt;
                                                                             &lt;br /&gt;
 /* log entry is 'HELD POS'                                               */&lt;br /&gt;
                                             &lt;br /&gt;
             CALL       PGM(IOPMIN04)                                        &lt;br /&gt;
 &lt;br /&gt;
 /* Delete item notes that have expired                                   */&lt;br /&gt;
                                                                             &lt;br /&gt;
 /* log entry is 'DEL NOTES'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
             CALL       PGM(DMRUP101)                                        &lt;br /&gt;
                                                                              &lt;br /&gt;
 /* Try to reorganize Carrier Interface File                              */&lt;br /&gt;
                                                                             &lt;br /&gt;
 /* log entry is 'REORG CAR'                                              */&lt;br /&gt;
                                             &lt;br /&gt;
             RGZPFM     FILE(ATLASPF)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Overnight_Logging&amp;diff=2051</id>
		<title>Information Systems:Overnight Logging</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Overnight_Logging&amp;diff=2051"/>
		<updated>2016-03-15T23:53:20Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The overnight jobs use our custom logging system.  Withing a program, insert the command (with parameters to identify the processing step) -&lt;br /&gt;
&lt;br /&gt;
 LOGENTRY   LEVEL1(OVERNIGHT) LEVEL2(EODDAILY) LEVEL3(START) +&lt;br /&gt;
            BEGEND(B) FROMPG(EODDAILY) CLASS(LOG)&lt;br /&gt;
&lt;br /&gt;
To see it, go to Unity / Start uniPharm Extensions / VA Company (Production) / Work with UWD IT Tools / Display Log.&lt;br /&gt;
&lt;br /&gt;
   3/03/16  08:47:01    uniPHARM -- PRODUCTION             LGRIQ100/USFUNCTL    &lt;br /&gt;
                        Logging Utilities - Show Entries   CSU Release:  6.0    &lt;br /&gt;
 Display Order                          Limit to:   Date Range           Err    &lt;br /&gt;
 DAT Date (Descending)                              ___ __ __  ___ __ __                            &lt;br /&gt;
 Level 1    Level 2    Level 3    Class Program     Error Id   B/E User         &lt;br /&gt;
 __________ __________ __________ _____ __________&lt;br /&gt;
   &lt;br /&gt;
 Date      Time     B Program     LEVEL 1    LEVEL 2    LEVEL 3    ERROR ID     &lt;br /&gt;
 MAR  3 16  1:00:00 B EODDAILY    ENDOFDAY   EODDAILY   START                   &lt;br /&gt;
 MAR  3 16  1:00:01 B EODDAILY    ENDOFDAY   EODEND2    CALLED                  &lt;br /&gt;
 MAR  3 16  1:00:01 B EODEND2     ENDOFDAY   EODEND2    START                   &lt;br /&gt;
 MAR  3 16  1:07:04 B EODEND2     ENDOFDAY   EODEND2    END                     &lt;br /&gt;
 MAR  3 16  1:07:04 B EODDAILY    ENDOFDAY   EOD        CALLED                  &lt;br /&gt;
 MAR  3 16  1:07:04 B EOD         ENDOFDAY   EOD        START                   &lt;br /&gt;
 MAR  3 16  1:07:04 B EOD         ENDOFDAY   EODBUTEMP  CALLED                  &lt;br /&gt;
 MAR  3 16  1:07:04 B EODBUTEMP   ENDOFDAY   EODBUTEMP  START                   &lt;br /&gt;
 MAR  3 16  1:57:32 B EODBUTEMP   ENDOFDAY   EODBUTEMP  END                     &lt;br /&gt;
 MAR  3 16  1:57:33 B EOD         ENDOFDAY   EODUPD     CALLED                  &lt;br /&gt;
 MAR  3 16  1:57:33 B EODUPD      ENDOFDAY   EODUPD     START                   &lt;br /&gt;
                                                                                 &lt;br /&gt;
  F3=Exit   F5=Refresh   F8=More   F12=Previous            F21=Scrn Reset       &lt;br /&gt;
                                                           F24=Scrn Save&lt;br /&gt;
&lt;br /&gt;
'''Program''' is the name of the program that wrote the log (with the LOGENTRY command).&lt;br /&gt;
&lt;br /&gt;
'''Level 1''' is the 'user data' of the job log spool file (QPJOBLOG) where you can find more details.  (They are all in WRKSPLF EODJOB.  Note that they will be automatically deleted after ten days.)&lt;br /&gt;
&lt;br /&gt;
'''Level 3''' is the action.&lt;br /&gt;
&lt;br /&gt;
'''Level 2''' is the object of the action.&lt;br /&gt;
&lt;br /&gt;
It would be best to have the ''''Display Order'''' set to DAT date (Descending).  If it isn't, set it to that, clear all other selection fields, and press F24 (upper-F12) to save it.&lt;br /&gt;
&lt;br /&gt;
You can use the ''''Date Range' selection''' to look at a particular day.  Be aware that because we are looking at records in descending order, the from and to date range works a little unexpectedly.  If you want to look at a particular day, for example March 2, 2016, you can do it in two ways - &lt;br /&gt;
&lt;br /&gt;
 Date Range                 or    Date Range                  NOT    Date Range&lt;br /&gt;
 ___  __ __  MAR  2 16            MAR   2 16  MAR  2 16              MAR  2 16  ___ __ __&lt;br /&gt;
&lt;br /&gt;
The third way will not work, as log entries from the requested date to today will show; with today at the top of the list, and March 2nd at the end.&lt;br /&gt;
&lt;br /&gt;
If you want further information on the meanings of the values in Program, Level1, Level 2, or Level 3, key a question mark into that selection field and press enter.  Also, you can select one of these 'actions' from the list, and display it only.  You will then be able to see how times are changing, and whether of not they are trending up.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:OMS_-_Outbound_Message_System&amp;diff=2050</id>
		<title>Information Systems:OMS - Outbound Message System</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:OMS_-_Outbound_Message_System&amp;diff=2050"/>
		<updated>2016-03-15T23:32:44Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Job OMSPOSTPRD, which is program OMSNEP01CL (OMS-Process Outbound Email Msgs), runs all day in subsystem OMSSUBPRD.  &lt;br /&gt;
&lt;br /&gt;
RPG program OMSNEP01 (OMS-Process The Outbound Email Msgs for OMS System) &lt;br /&gt;
&lt;br /&gt;
- Calls the Domino agent to run OMSMAIL.NSF&lt;br /&gt;
&lt;br /&gt;
Program OMSCRTFL (OMS-Create The IFS File For Domino Process)&lt;br /&gt;
&lt;br /&gt;
File OMSQUEP (OMS-Outbound Message Queue File)&lt;br /&gt;
&lt;br /&gt;
File OMSMHDP (OMS-Outbound Message Header File)&lt;br /&gt;
&lt;br /&gt;
File OMSLINP (OMS-Outbound Message Lines File)&lt;br /&gt;
&lt;br /&gt;
File OMSOUTP (OMS-Outbound Message Holding File)&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Miscellaneous_Billing&amp;diff=2048</id>
		<title>Information Systems:CCP - Miscellaneous Billing</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:CCP_-_Miscellaneous_Billing&amp;diff=2048"/>
		<updated>2016-03-15T23:23:58Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* CXBILL03 - Generate Bill */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In the 'contract' part of CCP (Customer/Contract Pricing), we can enter rebates from the vendor.  COOP, which are co-op fees as the contract level, or VEDI, which are vendor debits at the item level.&lt;br /&gt;
&lt;br /&gt;
Bills to the vendor or rep are generated automatically, based on the entered parameters.&lt;br /&gt;
&lt;br /&gt;
==Co-op Fees==&lt;br /&gt;
&lt;br /&gt;
These are entered at the contract level.&lt;br /&gt;
&lt;br /&gt;
  2/09/16  12:12:49    uniPHARM -- PRODUCTION               CXRIU410/UPDATE     &lt;br /&gt;
 UPDATE           UX - Enter/Update Contract Level Billing  PRODUCTION  1.00    &lt;br /&gt;
                                                                                &lt;br /&gt;
 '''Contract #'''                                                                     &lt;br /&gt;
 BNA007BLIS BLISTEX JULY MEMO                                                   &lt;br /&gt;
                                                                                &lt;br /&gt;
      '''Seq # Class  Timing                                     Billing Date'''      &lt;br /&gt;
         10 COOP   LAST SALE  Last day of the sale                00 00     &lt;br /&gt;
    &lt;br /&gt;
            '''For   Cust/Vend/Broker'''                                              &lt;br /&gt;
            BROK  10102       BLISTEX/ZARINA CONFECTIONER                &lt;br /&gt;
         &lt;br /&gt;
            '''Method  Bill Basis       $/Funds           %        $ per Unit'''      &lt;br /&gt;
            APDED   FIXEDAMT          250.00  CAD        .000          .000    &lt;br /&gt;
   &lt;br /&gt;
            '''Cost Centre      Project                          Acct Bypass'''       &lt;br /&gt;
            IFP              007                                   N            &lt;br /&gt;
                                                                                 &lt;br /&gt;
            '''Added by User/Date     Last Updated User/Dte  Posted Date'''           &lt;br /&gt;
            SHELLYL     JUN 12 14  SHELLYL     JUN 12 14  JUL 31 14&lt;br /&gt;
&lt;br /&gt;
==='''Timing''' determines when the bill is generated===&lt;br /&gt;
&lt;br /&gt;
 FIRST SALE    First day of the sale        uses sales start date on the contract header   &lt;br /&gt;
 LAST SALE     Last day of the sale         uses sales end date on the contract header&lt;br /&gt;
 PO RECEIPT    Receipt of the first PO      looks for PO's with the contract number in the shipment mark&lt;br /&gt;
 SPEC DATE     On billing date specified    uses the billing date on this record&lt;br /&gt;
&lt;br /&gt;
==='''Bill Basis''' determines how to calculate the amount of the fee===&lt;br /&gt;
&lt;br /&gt;
 AMTPURCH      % of Total amount purchased  unbilled PO receipts with this contract # in shipment mark&lt;br /&gt;
 AMTSOLD       % of Total amount sold       sales for all items on this contract, since last bill date&lt;br /&gt;
 FIXEDAMT      Fixed amount                 amount from this record&lt;br /&gt;
 UNITPURCH     $ per unit purchased         unbilled PO receipts with this contract # in shipment mark&lt;br /&gt;
 UNITSOLD      $ per unit sold              sales for all items on this contract, since last bill date&lt;br /&gt;
&lt;br /&gt;
Notice the difference in the way purchase orders and sales orders are described, even though they both look for the contract or promo number in the shipment mark.  The shipment mark on a sales order will always be populated when the store gets the special prices, but it is not unusual for us to get the special price on purchase orders ordered outside the order window. The buyer can then go in InfoNet and update the shipment mark.  Which means these programs have to look at more than just the last billed date.  File CXPORECP contains a record of every PO line that has had a bill generated. If a PO line has the correct shipment mark, but is not in this file, it will be billed, then added. &lt;br /&gt;
&lt;br /&gt;
The three fields that follow - $, %, and $ per unit - give the rates used to calculate the billing amount.&lt;br /&gt;
&lt;br /&gt;
 $              used when the billing basis is fixed amount&lt;br /&gt;
 %              used when the billing basis is amount purchased or amount sold&lt;br /&gt;
 $ per unit     used when the billing basis is units purchased or units sold&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''Method''' determines how the vendor or rep is to be billed===&lt;br /&gt;
&lt;br /&gt;
 APCRD         A/P credit                   will apply a credit against the vendor's A/P account&lt;br /&gt;
 APCS          A/P car stock                will get equivalent value in car stock&lt;br /&gt;
 APDED         A/P Deduction                will be deducted from the invoice for goods received&lt;br /&gt;
 ARCHQ         A/R Cheque   &lt;br /&gt;
 REPRT         Report only  &lt;br /&gt;
&lt;br /&gt;
This is defaulted from field 'User Defined Alpha Field 1' on file SROLMA (A/P supplier file).  &lt;br /&gt;
&lt;br /&gt;
===Cost Centre and Project===&lt;br /&gt;
&lt;br /&gt;
These are used in conjunction with the entry in the ‘Misc Billing Item and G/L’ (UX BILLITEM) table to build the account to which the billing will be posted.  The cost centre will normally be obtained from the first three characters of the contract code, and the project from the next three.&lt;br /&gt;
&lt;br /&gt;
==='''For Cust/Vend/Broker''' indicates to whom the bill is to be sent===&lt;br /&gt;
&lt;br /&gt;
This indicates to whom the sales order and A/R invoice will be sent.  It is defaulted from field 'User Defined Alpha Field 5' on file SROLMA (A/P supplier file).  &lt;br /&gt;
&lt;br /&gt;
If the 'Method' begins with 'AP', the vendor will be charged in A/P; even if the A/R charge is to the broker.&lt;br /&gt;
&lt;br /&gt;
==Vendor Debit==&lt;br /&gt;
&lt;br /&gt;
These are entered at the item level.&lt;br /&gt;
&lt;br /&gt;
  2/09/16  12:32:54    uniPHARM --Volume test               CXRIU330/UPDATE     &lt;br /&gt;
 UPDATE           UX - Enter Contract Item Further Details  VOLUME      1.00    &lt;br /&gt;
                                                                                &lt;br /&gt;
 '''Contract #                                 Vendor #     Broker #'''               &lt;br /&gt;
 SH-DL-0811 ZERO BARS                       22547        22547                  &lt;br /&gt;
                                                                                &lt;br /&gt;
 '''Item'''                                                                           &lt;br /&gt;
 R 00874529        ZERO BARS GOLD 50GM DARK                                     &lt;br /&gt;
                                                                                &lt;br /&gt;
 '''Seq # Type  For    Warehouse  Timing         $ or %          UOM   Margin %'''    &lt;br /&gt;
   22  VEDI  VEND   *ANY       PO REC            1.930 CAD   BX                 &lt;br /&gt;
                                                                                &lt;br /&gt;
               '''Applies to  Acct Effect  EDL Zone    Price List  Rebates?'''        &lt;br /&gt;
               NET VEND    APDED        *ANY        *ANY           N            &lt;br /&gt;
                                                                                &lt;br /&gt;
       '''Bill on Date  Send Bill to  Billing Line Description       Bill Backs?'''   &lt;br /&gt;
           00 00     10843                                            N         &lt;br /&gt;
                                                                                &lt;br /&gt;
                     '''Added by User/Date     Last Upd by User/Date Posted Date'''   &lt;br /&gt;
                     NORMAM      AUG 10 15  NORMAM      AUG 10 15   AUG 16 15&lt;br /&gt;
&lt;br /&gt;
==='''Timing''' determines when the bill is generated===&lt;br /&gt;
&lt;br /&gt;
 MONTHLY       At end of each month        on the first of the month    &lt;br /&gt;
 PO REC        On receipt of PO            receipt of this item with contract # in shipment mark, since last bill date&lt;br /&gt;
 SALE          At time of sale             sale for this item with contract # in shipment mark, since last bill date&lt;br /&gt;
 SLS END       At end of sales period      after sales end date on the contract header&lt;br /&gt;
 SPEC DT       On billing date specified   bill on date from this record&lt;br /&gt;
&lt;br /&gt;
==='''Timing''' also determines how the amount is calculated===&lt;br /&gt;
&lt;br /&gt;
 MONTHLY       At end of each month        unbilled receipts of this item with contract # in shipment mark    &lt;br /&gt;
 PO REC        On receipt of PO            unbilled receipts of this item with contract # in shipment mark &lt;br /&gt;
 SALE          At time of sale             sales for this item with contract # in shipment mark, since last bill date&lt;br /&gt;
 SLS END       At end of sales period      sales for this item with contract # in shipment mark&lt;br /&gt;
 SPEC DT       On billing date specified   receipts of this item with contract # in shipment mark&lt;br /&gt;
&lt;br /&gt;
Notice the difference in the way purchase orders and sales orders are described, even though they both look for the contract or promo number in the shipment mark.  The shipment mark on a sales order will always be populated when the store gets the special prices, but it is not unusual for us to get the special price on purchase orders ordered outside the order window. The buyer can then go in InfoNet and update the shipment mark.  Which means these programs have to look at more than just the last billed date.  File CXPORECP contains a record of every PO line that has had a bill generated. If a PO line has the correct shipment mark, but is not in this file, it will be billed, then added. &lt;br /&gt;
&lt;br /&gt;
==='''Applies to''' determines in which price calculation this is used===&lt;br /&gt;
&lt;br /&gt;
Note - be very careful in the use of this field.&lt;br /&gt;
&lt;br /&gt;
 MEMO          Memo                not used in any price calculation   &lt;br /&gt;
 NET SALE      Net Sales Price     affects our selling price&lt;br /&gt;
 NET VEND      Net Vendor Price    affects our purchase price&lt;br /&gt;
 PRICE TICK    Price Ticket        affects suggested retail price&lt;br /&gt;
&lt;br /&gt;
==='''Accounting Effect'''===&lt;br /&gt;
&lt;br /&gt;
 *NONE         No Accounting Effect &lt;br /&gt;
 APCRD         A/P Credit                 transaction will be transferred from A/R to A/P          &lt;br /&gt;
 APDED         A/P Deduction              transaction will be transferred from A/R to A/P       &lt;br /&gt;
 ARCHQ         A/R Cheque           &lt;br /&gt;
 PO PRICE      Purchase Order Price &lt;br /&gt;
 REDUCECOST    Reduce cost and print report&lt;br /&gt;
 REPORT        Report on  &lt;br /&gt;
&lt;br /&gt;
==='''Send Bill to'''===&lt;br /&gt;
&lt;br /&gt;
This is automatically filled in, but can be changed if necessary.  If the ‘For’ (for use) field is BROK, the broker number from the contract will be used.  If it is VEND, the vendor number will be.  If these fields are blank, the main supplier from the item master file will be used.&lt;br /&gt;
&lt;br /&gt;
==='''$ or %''' – How the Debit will be Calculated===&lt;br /&gt;
&lt;br /&gt;
 $     debit will be the dollar amount times the quantity received/sold, adjusted to the correct units of measure&lt;br /&gt;
 %     debit will be a percentage of the received/sold amount&lt;br /&gt;
&lt;br /&gt;
==='''For Use''' – who will get the invoice===&lt;br /&gt;
&lt;br /&gt;
 VEND     the vendor will be billed&lt;br /&gt;
 BROK     the broker will be billed&lt;br /&gt;
&lt;br /&gt;
==Programs==&lt;br /&gt;
&lt;br /&gt;
===CXBILL01 - Contract Header Level Billing (COOP Fees)===&lt;br /&gt;
&lt;br /&gt;
Using the values entered in 'Contract Level Billing', a bill is calculated and added to file CXBITMP (CCP - miscellaneous billing item work file).&lt;br /&gt;
&lt;br /&gt;
This will run every night as part of the end of day processing.  It will read the file CXBILLP (CONTRACTS – Miscellaneous Billings Master) and search for records that have not yet been billed, and are not flagged to bypass accounting.  The ‘timing’ field is used to determine whether or not this record should be billed.  ‘Spec Date’ will use the ‘billing date’ from the billing record;  ‘First Sale’ and ‘Last Sale’ will use the sales dates from the contract header;  ‘PO Receipt’ will bill as soon as an item with this contract number as a shipment mark is received.  (Note- as this will run after midnight, the dates to be billed are compared to yesterday’s date.)  &lt;br /&gt;
&lt;br /&gt;
The ‘bill basis’ field, and the three billing fields, are used to calculate the amount.  ‘Amtpurch’ and ‘Unitpurch’ will read the purchase order file for received items with this contract number as a shipment mark.  (Only purchase order types that update onhand stock will be included.)  ‘Amtsold’ and ‘Unitsold’ will read the sales order file for invoiced items with this contract number as a shipment mark.  (Only sales order types that affect demand will be included.)  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===CXBILL02 - Contract Detail Level Billing (VEDI)===&lt;br /&gt;
&lt;br /&gt;
Using the values entered in 'Contract Item Further Details', a bill is calculated and added to file CXBITMP (CCP - miscellaneous billing item work file).&lt;br /&gt;
&lt;br /&gt;
This will run every night as part of the end of day processing.  It will read the file CXITPRP (Contract Item Prices) and search for records that have not yet been billed, and that have an amount or percent (pricing records are added according to a template, whether or not they are going to be used).  The ‘timing’ field is used to determine whether or not this record should be billed.  ‘Spec Date’ will use the ‘billing date’ from the item details record;  ‘Sls End’ will use the sales dates from the contract header;  ‘PO Rec’ will bill as soon as this item with this contract number as a shipment mark is received.  (Note- as this will run after midnight, the dates to be billed are compared to yesterday’s date.)  &lt;br /&gt;
&lt;br /&gt;
Depending on the ‘timing’ field, this item with this contract as shipment mark will be read from either the purchase order file for received items, or the sales order file for invoiced items.  (Only purchase order types that update on hand stock, and sales order types that affect demand will be included.)  All quantities are converted to the same unit of measure as the billing record.&lt;br /&gt;
&lt;br /&gt;
The ‘timing’ field, and the '$ or %' field, are used to calculate the amount.  ‘MONTHLY’ and ‘PO Rec’ will read the purchase order file for this item with this contract number as a shipment mark.  (Only purchase order types that update onhand stock will be included.)  ‘SALE’ and ‘SLS END’ will read the sales order file for invoiced items with this contract number as a shipment mark.  (Only sales order types that affect demand will be included.)  &lt;br /&gt;
&lt;br /&gt;
===CXBILL03 - Generate Bill===&lt;br /&gt;
&lt;br /&gt;
Note that a bill is only created if the total is greater than $10.&lt;br /&gt;
&lt;br /&gt;
File CXBITMP (CCP - miscellaneous billing item work file) is read.  One bill is created for each contract number / bill type (COOP or VEDI) / bill to vendor / charge to vendor / accounting effect.  Each PO number and item number will build a separate line.  (The 'bill to' vendor gets the A/R charge, and the 'charge to' vendor gets the A/P one.)&lt;br /&gt;
&lt;br /&gt;
We have to show the item on the sales order (in the comments) for the vendor's information; but we must bill to a fictitious item.  Table UX BILLITEM indicates the number to use.&lt;br /&gt;
&lt;br /&gt;
Records are added to IOP files IOPHDRP (IOP - Order headers to be posted to ASW), IOPLINP (IOP - Order lines to be posted to ASW), IOPEXTP (IOP - Order line extension file).&lt;br /&gt;
&lt;br /&gt;
IOPPOS00 (IOP -- Run all prechecks and post to ASW) is called to move generated orders from IOP into ASW's EDI files, then use base programs to process them.&lt;br /&gt;
&lt;br /&gt;
The ‘method’ field indicates how the bill will be paid.  All miscellaneous billing will start as an A/R invoice to the person or company in the ‘for’ and ‘cust/vend/broker’ fields.  If method is ‘ARCHQ’, the bill will be left in A/R.  For the other methods, ‘APCRD’, ‘APCS’, and ‘APDED’, the transaction will be automatically transferred from A/R to A/P by adding a reversal to file SROKBA (A/R batch input file, invoices) and adding to file SROLBA (A/P Batch input file, invoices) to the account of this contract’s vendor.  For both, G/L transactions are added to file SROIBT (Interface accounting trans.from pre-system) to transfer amount from 120000 to 210000. &lt;br /&gt;
&lt;br /&gt;
The 'type' of the generated transaction depends on the 'Method' or 'Accounting Effect'&lt;br /&gt;
&lt;br /&gt;
 ACR    APCRD    A/P Credit&lt;br /&gt;
 ADU    APDED    A/P Deduction&lt;br /&gt;
&lt;br /&gt;
This billing record in CXBITMP (CCP - miscellaneous billing item work file) will be set to billed.  There can be two values; ‘Y’ meaning that it has been billed (no more changes can be made to this record), or ‘P’ meaning that it is partially billed.  This is applicable when the timing is ‘PO RECEIPT’ and billing basis in anything other than ‘FIXEDAMT’.  This would be used to bill either ‘AMTPURCH’ or UNITPURCH’ every time a purchase order is received.&lt;br /&gt;
&lt;br /&gt;
GCFC851 (Interface accounting transfer) is then called to post to the ASW transaction files.&lt;br /&gt;
&lt;br /&gt;
===CXBILL06 - Update Transaction Numbers in A/P and A/R to Match Invoice===&lt;br /&gt;
&lt;br /&gt;
When CXBILL03 created the transfer from A/R to A/P, the original bill had not yet been invoiced.  So the sales order number was used instead on invoice number.  That makes it difficult to match all the transactions together.  This program, which is run after the invoice has been generated, uses the sales order number to read the invoice header, and get the invoice number.  When it updates this, it places an 'X' in the very right of the text field to indicate this has been done.&lt;br /&gt;
&lt;br /&gt;
===CXBILL07 - AutoSettle A/R Invoice with Generated Transfer===&lt;br /&gt;
&lt;br /&gt;
Reads unsettles ACR and ADU transactions from file SRODTA (A/R Transaction file).  If an unsettled  record with document type INV, the same document number, and the same but reversed amount is found, settle them against each other.  Records are added to SROVPH (A/R Settlement path heading), SROVPX (A/R Settlement path index); and records in SRODTA (A/R Transaction file) are marked as settled.&lt;br /&gt;
&lt;br /&gt;
==Process==&lt;br /&gt;
&lt;br /&gt;
These programs cannot just run one after the other.  CXBILL07 cannot run until after DIS to FIN has posted transactions for the day.&lt;br /&gt;
&lt;br /&gt;
 EODUPD   CXBILL03&lt;br /&gt;
          CXBILL06&lt;br /&gt;
         DIS to FIN&lt;br /&gt;
          CXBILL01&lt;br /&gt;
          CXBILL02&lt;br /&gt;
          CXBILL07&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the above information, a sales order (order type MC - Miscellaneous Billing Credit, or MI - Miscellaneous Billing Invoice) is created.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 and added into IOP.  IOP then moves it into the EDI files, and posts to ASW.  Because both these order types are set up with direct invoicing, the invoices will automatically generated right away.  The A/R transaction that is generated will be posted during the overn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Generate Billing==&lt;br /&gt;
&lt;br /&gt;
Every night, [[CXBILL03C]], [[CXBILL06]], [[CXBILL]], and [[CXBILL07]] are called from [[EODUPD]].&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IMP_-_Inbound_Message_Parsing&amp;diff=2046</id>
		<title>Information Systems:IMP - Inbound Message Parsing</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IMP_-_Inbound_Message_Parsing&amp;diff=2046"/>
		<updated>2016-03-15T20:53:08Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Job IMPPOSTPRD, which is program IMPNEP01CL (IMP-Parse Inbound POP Email Msgs), runs all day in subsystem IMPSUBPRD.  &lt;br /&gt;
&lt;br /&gt;
RPG program IMPNEP01 does some validation of files IMSMHDP () and IMSLINP (), then calls IMPPAR01 () to extract order fields from the X12 format, and write IMPOHDP (IMP-Inbound Parsing Order Header File) and IMPLINP (IMP-Inbound Parsing Order Lines File).&lt;br /&gt;
&lt;br /&gt;
IMPNEP01 uses file IMPXRFP (IMP-EOB To Customer Code X-Ref File) to try to determine the ASW partner number of the store submitting the order.  See [[Electronic Sales Orders#History|History]] for an explanation of this file.  Some stores have their ASW partner number as the EOB number in this file.  Then in the beginning of 2016, we changed this program to check against SRONAM (Name file) if the number in the order is not in IMPXRFP.  &lt;br /&gt;
&lt;br /&gt;
In this example, the store has an EOB number of '504' (in the N1 segment).  &lt;br /&gt;
&lt;br /&gt;
  3/15/16  13:18:28    uniPHARM -- PRODUCTION               IMRIQ070/LISTCTL    &lt;br /&gt;
                       IMS -- Show message lines            PRODUCTION  1.00    &lt;br /&gt;
 Message #                                                                      &lt;br /&gt;
  598350   X12 PO                                                               &lt;br /&gt;
           OWL@UNIPHARM.COM                                                     &lt;br /&gt;
           66.183.181.88              Date Added         Date Sent              &lt;br /&gt;
                                      MAR 15 16 13:16:54 MAR 15 16 13:15:08     &lt;br /&gt;
    IMP Order#                                                                  &lt;br /&gt;
       596264       1         2         3         4         5                   &lt;br /&gt;
                    0         0         0         0         0                   &lt;br /&gt;
       6   ~REF*4A*1000                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
       7   ~DTM*010*160315                                                      &lt;br /&gt;
                                                                                &lt;br /&gt;
       8   ~N1*BS*OWL DRUGS*91*504                                              &lt;br /&gt;
                                                                                &lt;br /&gt;
       9   ~N2*KEN LEUNG*03921                                                  &lt;br /&gt;
                                                                                &lt;br /&gt;
      10   ~N3*199 EAST HASTINGS ST*KEN LEUNG(03921)                            &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
  F3=Exit   F5=Refresh   F7=Prev Message  F8=Next Message   F12=Previous&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IMP_-_Inbound_Message_Parsing&amp;diff=2045</id>
		<title>Information Systems:IMP - Inbound Message Parsing</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IMP_-_Inbound_Message_Parsing&amp;diff=2045"/>
		<updated>2016-03-15T20:34:09Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Job IMPPOSTPRD, which is program IMPNEP01CL (IMP-Parse Inbound POP Email Msgs), runs all day in subsystem IMPSUBPRD.  &lt;br /&gt;
&lt;br /&gt;
RPG program IMPNEP01 does some validation of files IMSMHDP () and IMSLINP (), then calls IMPPAR01 () to extract order fields from the X12 format, and write IMPOHDP (IMP-Inbound Parsing Order Header File) and IMPLINP (IMP-Inbound Parsing Order Lines File).&lt;br /&gt;
&lt;br /&gt;
IMPNEP01 uses file IMPXRFP (IMP-EOB To Customer Code X-Ref File) to try to determine the ASW partner number of the store submitting the order.  [[Electronic Sales Orders#History|EOB]]&lt;br /&gt;
&lt;br /&gt;
  3/15/16  13:18:28    uniPHARM -- PRODUCTION               IMRIQ070/LISTCTL    &lt;br /&gt;
                       IMS -- Show message lines            PRODUCTION  1.00    &lt;br /&gt;
 Message #                                                                      &lt;br /&gt;
  598350   X12 PO                                                               &lt;br /&gt;
           OWL@UNIPHARM.COM                                                     &lt;br /&gt;
           66.183.181.88              Date Added         Date Sent              &lt;br /&gt;
                                      MAR 15 16 13:16:54 MAR 15 16 13:15:08     &lt;br /&gt;
    IMP Order#                                                                  &lt;br /&gt;
       596264       1         2         3         4         5                   &lt;br /&gt;
                    0         0         0         0         0                   &lt;br /&gt;
       6   ~REF*4A*1000                                                         &lt;br /&gt;
                                                                                &lt;br /&gt;
       7   ~DTM*010*160315                                                      &lt;br /&gt;
                                                                                &lt;br /&gt;
       8   ~N1*BS*OWL DRUGS*91*504                                              &lt;br /&gt;
                                                                                &lt;br /&gt;
       9   ~N2*KEN LEUNG*03921                                                  &lt;br /&gt;
                                                                                &lt;br /&gt;
      10   ~N3*199 EAST HASTINGS ST*KEN LEUNG(03921)                            &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
  F3=Exit   F5=Refresh   F7=Prev Message  F8=Next Message   F12=Previous&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Test_or_Development_Environment&amp;diff=2040</id>
		<title>Information Systems:Test or Development Environment</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:Test_or_Development_Environment&amp;diff=2040"/>
		<updated>2016-03-14T17:53:24Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* Refresh Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Test or Development Environment==&lt;br /&gt;
&lt;br /&gt;
The production company in ASW is ‘VA’ for ‘Validation’.  The test company is ‘PL’ for ‘Pilot’.  Those names aren’t particularly apt descriptions, but that’s the way it worked out.  The conversion programs were all tested in ‘validation’ – by the time they were all working as well as we could get them, and all the parameter files were just right, we didn’t want to start changing company codes and risk breaking things.&lt;br /&gt;
&lt;br /&gt;
===Library List===&lt;br /&gt;
&lt;br /&gt;
In order to test new programs or changes, we need an environment that is separate from production.  That means duplicate copies of all data libraries, and program test libraries that are not in the production [[Library List|library list]].&lt;br /&gt;
&lt;br /&gt;
The operating system used to allow only 25 libraries in the user portion of the list (it now allows 250).  Because we are running an older version, the ASW program to build the library list is restricted to 25 user libraries.  That is fine for production, but when the development libraries are added, we go over, so two libraries are omitted.  It’s okay that UNIPHARMIT is missing, as it doesn’t usually affect test – if it does we will have to work around it.  Because we cannot have WEBPRDP (production web programs) in the list, all production programs must also be in WEBDEVP.&lt;br /&gt;
&lt;br /&gt;
'''Remember this.  The usual process is to delete programs from the test libraries when they are moved to production.  Except for programs in WEBDEVP - leave them!'''&lt;br /&gt;
&lt;br /&gt;
The following compares the library lists for ‘production’ and ‘development’ (sometimes we call this ‘test’; ASW calls it ‘quality control’).  Most of the libraries are used in both environments; they contain programs or objects that are not changed.  Data libraries are never used by both environments; each uses its own separate set of data files.  Programs being tested are in separate libraries that are never used by production.  They are in the test library list before the production program libraries so that they are found first. &lt;br /&gt;
&lt;br /&gt;
This is the system portion of the library list.  It is a system value, and is the same for all users.&lt;br /&gt;
&lt;br /&gt;
 UWDQSYS      prod     dev     uniPharm - Custom - System Objects&lt;br /&gt;
 QSYS         prod     dev     System Library&lt;br /&gt;
 QSYS2        prod     dev     System Library for CPI's&lt;br /&gt;
 QHLPSYS      prod     dev&lt;br /&gt;
 QUSRSYS      prod     dev     System Library for Users&lt;br /&gt;
 QTEMP        prod     dev&lt;br /&gt;
&lt;br /&gt;
Next is the ASW data file library; VA for validation (production), and PL for pilot (test).&lt;br /&gt;
&lt;br /&gt;
 UP1480BFVA   prod             ASW PRODUCTION DATA FILE LIBRARY&lt;br /&gt;
 UP1480BFPL            dev&lt;br /&gt;
&lt;br /&gt;
The next library is message files, objects need to do 'ASW Compiles', etc; and is the same for both environments.&lt;br /&gt;
&lt;br /&gt;
 UP1480BS     prod     dev     ASW system objects for environment UP14&lt;br /&gt;
&lt;br /&gt;
These are some customized objects; for example menus.  &lt;br /&gt;
&lt;br /&gt;
 XX1480BQ              dev&lt;br /&gt;
 XX1480BP     prod     dev     ASW rel XX1:480B UWD Extensions (non AS objects)&lt;br /&gt;
&lt;br /&gt;
These are modified ASW programs, and custom programs that use ASW files.  'Q' is quality control, and 'P' is production.  As the production program library is in the list, only programs currently being tested need to be in XX2480BP.&lt;br /&gt;
&lt;br /&gt;
 XX2480BQ              dev     ASW rel XX2:480B quality control librar&lt;br /&gt;
 XX2480BP     prod     dev     ASW rel XX2:480B object library&lt;br /&gt;
&lt;br /&gt;
This is a quality control library that we have not used.&lt;br /&gt;
&lt;br /&gt;
 UP1480BQ              dev     ASW rel UP1:480B quality control library&lt;br /&gt;
&lt;br /&gt;
These are program libraries, so can be in both environments.  Notice that each release of ASW has the modified programs in a separate library.&lt;br /&gt;
&lt;br /&gt;
 UP1480BP     prod     dev     Aldon/CMS IBS/ASW450/UP1480B (PDN)&lt;br /&gt;
 U480BP       prod     dev     Aldon/CMS IBS/ASW450/U480B (PDN)&lt;br /&gt;
 U480AP       prod     dev     Aldon/CMS IBS/ASW450/U480A (PDN)&lt;br /&gt;
 CVT454AP     prod     dev     ASW rel A:454A Appl CVT object library&lt;br /&gt;
 A454AP       prod     dev     ASW rel A:454A object library&lt;br /&gt;
 A453AP       prod     dev     ASW rel A:453A object library&lt;br /&gt;
 A452AP       prod     dev     ASW rel A:452A object library&lt;br /&gt;
 A450AP       prod     dev     ASW rel A:450A object library&lt;br /&gt;
 QGPL         prod     dev     General Purpose Library&lt;br /&gt;
&lt;br /&gt;
Each environment has its own version of these data libraries, for utilities, and for the extensions.  RCSUTILPRD contains programs, but as it also contains data files, it cannot be used in test.  All the programs, as well as the data files, have to be in RCSUTILVOL. &lt;br /&gt;
&lt;br /&gt;
 RCSUTILPRD   prod             RCS -- Utility Objects and Data -- Prod&lt;br /&gt;
 RCSUTILVOL            dev     RCS -- Utility Objects and Data &lt;br /&gt;
 UWDASWPRDD   prod             UWD -- Extensions - VA – Data&lt;br /&gt;
 UWDASWVOLD            dev     UWD -- Extensions - PL – Data&lt;br /&gt;
&lt;br /&gt;
These are programs for the extensions.  As the production program library is in the list, only programs currently being tested need to be in quality control.&lt;br /&gt;
&lt;br /&gt;
 UWDASWQUAP            dev     UWD -- Extensions - Quality Ctl - Objec&lt;br /&gt;
 UWDASWPRDP   prod     dev     UWD -- Extensions - Production -- Objec&lt;br /&gt;
&lt;br /&gt;
This is a program library, so can be used by both environments.&lt;br /&gt;
&lt;br /&gt;
 TLABARCODE   prod     dev     T.L. Ashford &amp;amp; Associates Barcode400&lt;br /&gt;
&lt;br /&gt;
Each environment has its own version of these data libraries that are used by Web Orders and InfoNet.&lt;br /&gt;
&lt;br /&gt;
 WEBPRDD      prod             Web -- Data – Production&lt;br /&gt;
 WEBDEVD               dev     Web -- Data&lt;br /&gt;
&lt;br /&gt;
These are programs for the Web Orders and InfoNet.  As this older version of ASW will only put 25 entries in the library list, WEBPRDP cannot be included for test.  Therefore all programs and objects must be included in WEBDEVP.&lt;br /&gt;
&lt;br /&gt;
 WEBDEVP               dev     Web -- Programs -- Development&lt;br /&gt;
 WEBPRDP      prod             Web -- Programs -- Production&lt;br /&gt;
&lt;br /&gt;
UWDUTILPRD contains programs, but as it also contains data files, it cannot be used in test.  All the programs, as well as the data files, have to be in UWDUTILVOL. &lt;br /&gt;
&lt;br /&gt;
 UWDUTILPRD   prod             UWD -- Extensions -- Common Utilities –&lt;br /&gt;
 UWDUTILVOL            dev     Volume Testing Utilities&lt;br /&gt;
&lt;br /&gt;
As this older version of ASW will only put 25 entries in the library list, UNIPHARMIT cannot be included for test. &lt;br /&gt;
&lt;br /&gt;
 UNIPHARMIT   prod             UniPHARM IT Tools -- Includes Source&lt;br /&gt;
&lt;br /&gt;
===Refresh Data===&lt;br /&gt;
&lt;br /&gt;
Eventually the data in ‘PL’ either gets so far out of date or corrupted by testing, that we need to get a fresh copy from production.  In order to copy the production data libraries from disk, all users would have to be off the system, and all applications would have to be ended (like when the overnight backups are being done).  To get around this, we refresh ‘PL’ from the temporary back up tape.  This is tape 999999 which is written to every night before the end of day processing is done, and which is never removed from the tape library.&lt;br /&gt;
&lt;br /&gt;
Make sure the development data libraries are not being used.  To do that, key in  WRKOBJLCK  OBJ(UP1480BFPL)  OBJTYPE(*LIB)  and press enter.&lt;br /&gt;
&lt;br /&gt;
                             Work with Object Locks                             &lt;br /&gt;
                                                             System:   BART     &lt;br /&gt;
 Object . . . . :   UP1480BFPL            Type . . . . . :   *LIB               &lt;br /&gt;
   Library  . . :     QSYS                ASP device . . :   *SYSBAS            &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type options, press Enter.                                                     &lt;br /&gt;
   4=End job   5=Work with job   8=Work with job locks                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 Opt   Job          User         Lock      Status          Scope     Thread     &lt;br /&gt;
  _    AMTRDR_PLA   ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    AMTRDR_PLT   ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    AMTRDR_PLT   ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    DPRQ1_PL     ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    DPRQ2_PL     ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    DPRQ3_PL     ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    ORDFLOW_PL   ASW4OWN      *SHRRD     HELD           *JOB                 &lt;br /&gt;
  _    WEBTEST      QTMHHTTP     *SHRRD     HELD           *JOB                 &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F5=Refresh   F12=Cancel                                              &lt;br /&gt;
&lt;br /&gt;
This library is being used by ASW direct jobs for PL (test), and by the test Web Server.  These can all be cancelled; unless of course there is testing currently going on.  I normally refresh the test libraries on Saturday, so don’t have this issue.&lt;br /&gt;
&lt;br /&gt;
From an ASW command line, in the production environment, key in   SBMJOB  and press F4 to prompt.&lt;br /&gt;
&lt;br /&gt;
                               Submit Job (SBMJOB)                              &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type choices, press Enter.                                                     &lt;br /&gt;
                                                                                &lt;br /&gt;
 Command to run . . . . . . . . .  CALL BLDTEST______________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
 _____________________________________________________________________________________&lt;br /&gt;
                                                                                &lt;br /&gt;
 Job name . . . . . . . . . . . .   *JOBD         Name, *JOBD                   &lt;br /&gt;
 Job description  . . . . . . . .   *USRPRF       Name, *USRPRF                 &lt;br /&gt;
   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB          &lt;br /&gt;
 Job queue  . . . . . . . . . . .   QS36EVOKE     Name, *JOBD                   &lt;br /&gt;
   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB          &lt;br /&gt;
 Job priority (on JOBQ) . . . . .   *JOBD         1-9, *JOBD                    &lt;br /&gt;
 Output priority (on OUTQ)  . . .   *JOBD         1-9, *JOBD                    &lt;br /&gt;
 Print device . . . . . . . . . .   *CURRENT      Name, *CURRENT, *USRPRF...    &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      &lt;br /&gt;
 F13=How to use this display        F24=More keys                               &lt;br /&gt;
&lt;br /&gt;
Key in ‘CALL  BLDTEST’ and change the job queue ‘QS36EVOKE’ (this means that this program will not interfere with production jobs).&lt;br /&gt;
&lt;br /&gt;
This must run in production not test, as the test libraries will be deleted.  Also because the programs used are in the library UNIPHARMIT, which isn’t in the library list for development.&lt;br /&gt;
&lt;br /&gt;
There may be errors while this is running; if there are locks on other libraries that are cleared.  If so, repeat the WRKOBJLCK command on that library, end those jobs, then Retry.&lt;br /&gt;
&lt;br /&gt;
===Testing Programs===&lt;br /&gt;
&lt;br /&gt;
====FTP Sales Orders and/or FTP Invoicing====&lt;br /&gt;
&lt;br /&gt;
This is not necessarily to test our programming, but to test that the store’s Point of Sale system is doing this correctly.&lt;br /&gt;
&lt;br /&gt;
'''Setup to Receive Orders and Send Invoices Via FTP'''&lt;br /&gt;
&lt;br /&gt;
There is more involved than this; the store has to be set up with access to the FTP server, and directories have to be build.  But I don’t know how to do that.&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPHARM Extensions / PL Company (VOLUME Testing) / Work with UWD IT Tools / FTP Connections / Sales Orders FTP Configuration.&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   AIINTFR                     File . . . . :   AIINTFP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Name:                   12305                                              &lt;br /&gt;
 Description:            Longevity                                           &lt;br /&gt;
 FTP Server:             mail.unipharm.com                                      &lt;br /&gt;
 FTP User ID:            ftporders                                              &lt;br /&gt;
 FTP Password:           visionit525                                            &lt;br /&gt;
 FTP Directory:          12305R/orders                                           &lt;br /&gt;
 FTP Archive Directory:  archive                                                &lt;br /&gt;
 M=Move D=Delete N=None: M                                                      &lt;br /&gt;
 Transmission Source:    FTP                                                    &lt;br /&gt;
 Customer # Type:        UWD                                                    &lt;br /&gt;
 Ext 1:                  X12                                                    &lt;br /&gt;
 Ext 2:                  ___                                                    &lt;br /&gt;
 Ext 3:                  ___                                                       &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
 &lt;br /&gt;
‘Name’ and ‘Description’ are just used to make it easier for us to identify the store sending the order (the program gets the store number from within the order file itself).  Make sure that all of the ‘FTP Directories’ in test are NOT used in production – otherwise real orders will be loaded into test instead of production!  The three extension types are very important – they tell program AIRUP020 (Post incoming FTP orders into IOP) the file structure of the incoming order.  Currently, we are only receiving X12 orders from Kroll (extension KRO); a new one has been added for miscellaneous X12 orders (extension X12).&lt;br /&gt;
&lt;br /&gt;
'''Select option Invoice FTP Configuration.'''&lt;br /&gt;
&lt;br /&gt;
 WORK WITH DATA IN A FILE                       Mode . . . . :   CHANGE         &lt;br /&gt;
 Format . . . . :   INVFTPR                     File . . . . :   INVFTPP        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Partner:       12305                                                           &lt;br /&gt;
 Order Source:  __________                                                                &lt;br /&gt;
 Description:   LONGEVITY COMPOUNDING PHARMACY                                  &lt;br /&gt;
 FTP Server:    ftp.unipharm.com                                                &lt;br /&gt;
 FTP User ID:   ftporders                                                       &lt;br /&gt;
 FTP Password:  visionit525                                                     &lt;br /&gt;
 FTP Directory: 12305R/invoices                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
 F3=Exit                 F5=Refresh               F6=Select format              &lt;br /&gt;
 F9=Insert               F10=Entry                F11=Change                    &lt;br /&gt;
&lt;br /&gt;
Add this record.&lt;br /&gt;
&lt;br /&gt;
'''Get Orders from FTP Server'''&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPHARM Extensions / PL Company (VOLUME Testing) / UWD Extensions / EDI – IMS, IMP, etc / FTP =-- FTP Order Retrieval.&lt;br /&gt;
&lt;br /&gt;
  3/10/15 13:06:13         AIP Orders Status                      AIRIU010/CTL  &lt;br /&gt;
                           uniPHARM --Volume test                               &lt;br /&gt;
                                                                                &lt;br /&gt;
  Monitor status:  Not running                                                  &lt;br /&gt;
    Last activity: 03/10/15 12:38:48               Poll interval:  60 minutes   &lt;br /&gt;
                                                                                &lt;br /&gt;
  _______          ___ &amp;lt;-- Order type - CAN/DAT/KRL                             &lt;br /&gt;
                                                                                &lt;br /&gt;
   Date     Time   Type         File                             Renamed   Recs &lt;br /&gt;
  3/10/15 12:38 PM KRO          ftp0075391b.kro                  FTP0075392   1 &lt;br /&gt;
  3/10/15 12:34 PM Simplicity   ftp0075390b.txt                  FTP0075391   0 &lt;br /&gt;
  3/10/15 12:07 PM Simplicity   ftp0075388b.txt                  FTP0075390   0 &lt;br /&gt;
  3/04/15 11:37 AM Simplicity   ftp0275385.txt                   FTP0075389   0 &lt;br /&gt;
  3/04/15 11:35 AM Simplicity   ftp0175387.txt                   FTP0075388   0 &lt;br /&gt;
  3/04/15 11:28 AM Simplicity   order030215030630.txt            FTP0075387   0 &lt;br /&gt;
  3/04/15 11:28 AM Simplicity   order030215015252.txt            FTP0075386   0 &lt;br /&gt;
  3/02/15 11:09 AM Simplicity   order022715113636.txt            FTP0075385   0 &lt;br /&gt;
  1/16/15  7:04 PM KRO          1836377.kro                      FTP0075384   3 &lt;br /&gt;
  1/16/15  7:00 PM KRO          618124384.kro                    FTP0075383   1 &lt;br /&gt;
  1/16/15  5:50 PM KRO          618124383.kro                    FTP0075382     &lt;br /&gt;
                                                                                &lt;br /&gt;
  F3=Exit   F5=Refresh   F7=Start Monitor                                       &lt;br /&gt;
  F13=Config    F14=Interfaces    F15=AIP Messages   F16=W/W Mon Job   F12=Exit &lt;br /&gt;
&lt;br /&gt;
This shows the status of the FTP interface (as this is test, it is ‘Not running’), and a list of the last sales orders received.&lt;br /&gt;
&lt;br /&gt;
Press F7 to start the monitor, and process orders from configured folders on the FTP server.  The status will change to ‘Running’.  Keep pressing F5 to refresh, until the status is ‘Running – waiting for next poll’.  Then press F8 to end, and F3 to exit.&lt;br /&gt;
&lt;br /&gt;
Go to IOP -- ASW Order Posting Fns / IOP -- List of Order Headers.  You should see the order you just loaded, and it should be at status 60 (posted to ASW).&lt;br /&gt;
&lt;br /&gt;
Go into ASW (test company), and look at sales orders.  This order should be at status 30 (dropped for picking).&lt;br /&gt;
&lt;br /&gt;
'''Pick Order'''&lt;br /&gt;
&lt;br /&gt;
Go to Unity / Start uniPHARM Extensions / PL Company (VOLUME Testing) / Warehouse Menu / Picking and shipping menu / Pick list Status.&lt;br /&gt;
&lt;br /&gt;
  3/10/15  15:56:49    uniPHARM --Volume test               PLRIQ040/LISTCTL    &lt;br /&gt;
                            PLZ - Pick List Status          VOLUME      1.00    &lt;br /&gt;
 Display Order                                  Field      Test Value           &lt;br /&gt;
 MAIN  By Priority, Sched Dte, S                __________ ____ _________________                               &lt;br /&gt;
 Limit to:                                  AND __________ ____ _________________                                &lt;br /&gt;
 Date Range                                 AND __________ ____ _________________                                 &lt;br /&gt;
 CU MAR 10 15 12:01 AM  MAR 10 15  3:56 PM                                      &lt;br /&gt;
 Carr Stat Zone Group Del Locn   Order   Handler    Customer    Whs Item #      &lt;br /&gt;
 ___   __  __________ __________ _______ __________ ___________ ___ ________&lt;br /&gt;
 DT=Details                                                                     &lt;br /&gt;
 SD=Shipping Documents                              S  #                        &lt;br /&gt;
   Carr Zone Group Del Locn   Schedule           Pr h Lin STAT DESC  CUST DESC  &lt;br /&gt;
 DT ATL HHCMEZZ    INTOWN     MAR 10 15  1:32 PM 50 Y   1 NOT START  LONGEVITY  &lt;br /&gt;
        * END *                                                                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                                                       F21=Srcn Reset           &lt;br /&gt;
  F3=Exit   F5=Refresh   F8=More Info   F12=Previous   F24=Srcn Save            &lt;br /&gt;
&lt;br /&gt;
Find the order (it is probably the only one that will show), and use option DT.  &lt;br /&gt;
&lt;br /&gt;
  3/10/15  16:00:18    uniPHARM --Volume test               PLRIU045/LISTCTL    &lt;br /&gt;
                          PLZ - Pick List Details           VOLUME      1.00    &lt;br /&gt;
                                                                                &lt;br /&gt;
 Pick List Batch     Consol PL# Customer                                        &lt;br /&gt;
 3583672                        12305       LONGEVITY COMPOUNDING PHARMACY      &lt;br /&gt;
 Warehouse Zone Group           Order No                                        &lt;br /&gt;
 MAI       HHCMEZZ              3254737     711 COLUMBIA ST                     &lt;br /&gt;
 Del Locn   Share? # Lines      Invoice     NEW WESTMINSTER                     &lt;br /&gt;
 INTOWN       Y         1                   BC V3M 1B2                          &lt;br /&gt;
                                            Order Date       Cutoff             &lt;br /&gt;
 Priority Scheduled Carrier                 TUE MAR 10 2015  TUE  1:05 PM       &lt;br /&gt;
    01    ATL Atlas Courier                 Pickup           Date Added         &lt;br /&gt;
 Scheduled Pickup   Status                   1:32 PM         MAR 10 15 12:38 PM &lt;br /&gt;
 MAR 10 15  1:32 PM NOT STARTED             Atlas Courier                       &lt;br /&gt;
                                                                         O/H  P &lt;br /&gt;
 Line  Zone/Locn   Qty   UOM  Item Desription                Size        Qty  k &lt;br /&gt;
    10 H1 F133        2 BX    COLOPLAST 0509                                  N &lt;br /&gt;
       **END**                                                                  &lt;br /&gt;
                                                                                 &lt;br /&gt;
 F3=Exit                                                                        &lt;br /&gt;
 F5=Refresh   F9=Show UPC    F10=Show Item #   F12=Previous                     &lt;br /&gt;
&lt;br /&gt;
Change the priority to ‘01’, so that you can pick this order – or at least go through the motions.&lt;br /&gt;
&lt;br /&gt;
Go into ASW.  Change to test, by keying 88 enter, then PL enter, enter.  You can tell that you are in the test company , because *PL/480B* is in the upper left corner of the display.  Key in  GO  RFH  and press enter.  Select option 4 – Process R/F instructions.&lt;br /&gt;
&lt;br /&gt;
 Hnd.. SHEILAV                              Select RF activity         USRD8001N&lt;br /&gt;
 Res.. 99 SHEILAV                                                               &lt;br /&gt;
 Whs MAI                                                                        &lt;br /&gt;
 _  Picking                                                                     &lt;br /&gt;
 _  Packing                                                                     &lt;br /&gt;
 _  PO reception                                                                &lt;br /&gt;
 _  Receiving put away                                                          &lt;br /&gt;
 _  Replenishment                                                               &lt;br /&gt;
 _  Cycle count                                                                 &lt;br /&gt;
 _  Location move                                                               &lt;br /&gt;
 _  Inventory transaction                                                       &lt;br /&gt;
 _  Reprint RF documents                                                        &lt;br /&gt;
 _  Get new zone group                                                          &lt;br /&gt;
 _  Inventory movement                                                          &lt;br /&gt;
 _  Shipping                                                                    &lt;br /&gt;
 F8=Select resource                                                             &lt;br /&gt;
&lt;br /&gt;
Go into ‘Get new zone group’, and select the one for the pick list; in this case, HHCMEZZ.  &lt;br /&gt;
&lt;br /&gt;
Go into ‘Picking’, and press F6 to get the next pick list – which should be for this test order, as the priority is 01.  Select it, and press enter.&lt;br /&gt;
&lt;br /&gt;
                                                                     RFHD8021N  &lt;br /&gt;
 Loc: H1 F133     PCK  50/BX                                                  &lt;br /&gt;
 Ord                   2.00  EA                                                 &lt;br /&gt;
 Rem                   2.00  EA                                                 &lt;br /&gt;
 00336610 COLOPLAST 0509                                                    &lt;br /&gt;
                                                                                 &lt;br /&gt;
 -PAR/LIC PICK-    H1-F133                                                      &lt;br /&gt;
                                                                                &lt;br /&gt;
 Loc: H1 F133                                                                          &lt;br /&gt;
 Itm: 00336610                                                                          &lt;br /&gt;
 Qty:      2                                                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 Lic: 30000111                                                                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 F9=Pick zero  F10=Pick partial                                                 &lt;br /&gt;
&lt;br /&gt;
You will have to key in the location, item number, and quantity – which is shown at the top of the screen, so just copy it.  Then key in a number starting with ‘3’ for the license.&lt;br /&gt;
&lt;br /&gt;
This will be repeated for every line on the order.&lt;br /&gt;
&lt;br /&gt;
 Hnd:  SHEILAV                                                                  &lt;br /&gt;
 Whse: MAI                                                                      &lt;br /&gt;
 Func: Print box labels                                                         &lt;br /&gt;
 -----------------------                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Enter number of box                                                            &lt;br /&gt;
 labels required:                                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
       1                                                                        &lt;br /&gt;
                                                                                &lt;br /&gt;
 Press Enter                                                                    &lt;br /&gt;
&lt;br /&gt;
Press enter.  The following screens will be repeated for all documents printed for this pick list.  Again, key in the number displayed at the top of the screen.&lt;br /&gt;
&lt;br /&gt;
 Hnd:  SHEILAV                                                                  &lt;br /&gt;
 Whse: MAI HHCMEZZ                                                              &lt;br /&gt;
 Func: Conf Box Labels                                                          &lt;br /&gt;
 -----------------------                                                        &lt;br /&gt;
 Box labels should                                                              &lt;br /&gt;
 be on the printer at                                                           &lt;br /&gt;
 the packing station.                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 The bar code will                                                              &lt;br /&gt;
 read 3583672                                                                   &lt;br /&gt;
                                                                                &lt;br /&gt;
 Scan the bar code on                                                           &lt;br /&gt;
 the label now:                                                                 &lt;br /&gt;
 3583672                                                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
 Press Enter.   F7=Reprint                                                      &lt;br /&gt;
&lt;br /&gt;
 Hnd:  SHEILAV                                                                  &lt;br /&gt;
 Whse: MAI HHCMEZZ                                                              &lt;br /&gt;
 Func: Confirm Invoice                                                          &lt;br /&gt;
 -----------------------                                                        &lt;br /&gt;
 Invoice 7758860 should                                                         &lt;br /&gt;
 be on the printer at                                                           &lt;br /&gt;
 the packing station.                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 Scan the bar code on                                                           &lt;br /&gt;
 the invoice now:                                                               &lt;br /&gt;
 7758860                                                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
 Press Enter.   F7=Reprint                                                      &lt;br /&gt;
&lt;br /&gt;
 Hnd:  SHEILAV                                                                  &lt;br /&gt;
 Whse: MAI HHCMEZZ                                                              &lt;br /&gt;
 Func: Conf Price Tkts                                                          &lt;br /&gt;
 -----------------------                                                        &lt;br /&gt;
 Price tickets should                                                           &lt;br /&gt;
 be on the printer at                                                           &lt;br /&gt;
 the packing station.                                                           &lt;br /&gt;
                                                                                &lt;br /&gt;
 The bar code will                                                              &lt;br /&gt;
 read 3583672                                                                   &lt;br /&gt;
                                                                                &lt;br /&gt;
 Scan the bar code on                                                           &lt;br /&gt;
 the price ticket now:                                                          &lt;br /&gt;
 3583672                                                                               &lt;br /&gt;
                                                                                &lt;br /&gt;
 Press Enter.   F7=Reprint                                                      &lt;br /&gt;
&lt;br /&gt;
Look on the FTP server; the invoice should be there.&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2039</id>
		<title>Information Systems:TEMPORARY - things to add</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:TEMPORARY_-_things_to_add&amp;diff=2039"/>
		<updated>2016-03-14T17:52:12Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: Created blank page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Category:Information_Systems&amp;diff=2038</id>
		<title>Category:Information Systems</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Category:Information_Systems&amp;diff=2038"/>
		<updated>2016-03-14T16:53:30Z</updated>

		<summary type="html">&lt;p&gt;Sheilav: /* System i Documentation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to the uniPHARM Information Systems Internal Wiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find access to documentation on just about everything related to I.T. at uniPHARM. Use the search bar for the best results.&lt;br /&gt;
&lt;br /&gt;
=IBM i=&lt;br /&gt;
===System i Documentation===&lt;br /&gt;
&lt;br /&gt;
UNITY ('''u'''niPharm’s '''n'''ew '''i'''nformation '''t'''echnolog'''y''') was the name of the project to completely replace the out dated and undependable technology used by uniPHARM, and to use technology to increase efficiency.&lt;br /&gt;
&lt;br /&gt;
* [[TEMPORARY - things to add]]&lt;br /&gt;
* [[System i Operations]]&lt;br /&gt;
* [[ASW (Application Soft Ware) by IBS (International Business Systems)]]&lt;br /&gt;
* [[Extensions]]&lt;br /&gt;
* [[Custom]]&lt;br /&gt;
* [[Problems]]&lt;br /&gt;
&lt;br /&gt;
* [[Alert Management]]&lt;br /&gt;
* [[Auditors]]&lt;br /&gt;
* [[B.C. PharmaCare]]&lt;br /&gt;
* [[Catapult]]&lt;br /&gt;
* [[Carrier Interface]]&lt;br /&gt;
* [[Cheque Master]]&lt;br /&gt;
* [[Definitions]]&lt;br /&gt;
* [[Disaster Recovery]]&lt;br /&gt;
* [[EDI]]&lt;br /&gt;
* [[FTP]]&lt;br /&gt;
* [[Health Canada]]&lt;br /&gt;
* [[MMBC - Multi Materials British Columbia]]&lt;br /&gt;
* [[Monitor for Problems]]&lt;br /&gt;
* [[Sales]]&lt;br /&gt;
* [[Sales Reporting to IMS]]&lt;br /&gt;
* [[Security]]&lt;br /&gt;
* [[Technical]]&lt;br /&gt;
* [[Utilities]]&lt;br /&gt;
* [[WebSmart|WebSmart - Browser Access to Data on System i]]&lt;br /&gt;
&lt;br /&gt;
===Hardware and System Configuration===&lt;br /&gt;
* [[Printing]]&lt;br /&gt;
* [[RF communication]]&lt;br /&gt;
* [[HMC Management]]&lt;br /&gt;
* [[BRMS]]&lt;br /&gt;
&lt;br /&gt;
===Administration===&lt;br /&gt;
* [[Periodic Tasks]]&lt;br /&gt;
* [[Logs]]&lt;br /&gt;
* [[System Issues History]]&lt;br /&gt;
&lt;br /&gt;
=The ''Darwin'' Pages: Sys/Net Admin=&lt;br /&gt;
* [[Quick how-tos]]&lt;br /&gt;
&lt;br /&gt;
===Hardware and Software Servers===&lt;br /&gt;
* [[IBM System x Servers]]&lt;br /&gt;
* [[Windows Server]]&lt;br /&gt;
* [[Microsoft Licensing]]&lt;br /&gt;
* [[Blackberry Enterprise Server (BES)]]&lt;br /&gt;
* [[Mail Server]]&lt;br /&gt;
&lt;br /&gt;
===Backups and Power===&lt;br /&gt;
* [[Tapes]]&lt;br /&gt;
* [[Building Power]]&lt;br /&gt;
* [[Alarms and Monitoring]]&lt;br /&gt;
&lt;br /&gt;
===Ordering===&lt;br /&gt;
* [[Web Orders]]&lt;br /&gt;
* [[POS Ordering]]&lt;br /&gt;
* [[Order confirmations]]&lt;br /&gt;
* [[Serv-U FTP]]&lt;br /&gt;
&lt;br /&gt;
===Mobile Computers (RF Guns)===&lt;br /&gt;
* [[General]]&lt;br /&gt;
* [[Administration]]&lt;br /&gt;
* [[MobiControl]]&lt;br /&gt;
&lt;br /&gt;
===Email===&lt;br /&gt;
* [[IBM/Lotus Notes and Domino]]&lt;br /&gt;
* [[M-Daemon Mail Server]]&lt;br /&gt;
* [[Barracuda Email Security Service]]&lt;br /&gt;
* [[Google Apps (Postini)]]&lt;br /&gt;
* [[Mail Server Framework (MSF)]]&lt;br /&gt;
&lt;br /&gt;
===Network===&lt;br /&gt;
* [[WAN]]&lt;br /&gt;
* [[Sophos UTM]]&lt;br /&gt;
* [[DNS]]&lt;br /&gt;
* [[Intranet/LAN]]&lt;br /&gt;
* [[Wireless/WiFi]]&lt;br /&gt;
&lt;br /&gt;
===Printers and Faxes===&lt;br /&gt;
* [[Xerox printers]]&lt;br /&gt;
* [[Lexmark printers]]&lt;br /&gt;
* [[Zebra Thermal printers]]&lt;br /&gt;
* [[Mobile belt printers]]&lt;br /&gt;
&lt;br /&gt;
===Misc.===&lt;br /&gt;
* [[Guide to this wiki]]&lt;br /&gt;
* [[Document Management System - Gauss]]&lt;br /&gt;
* [[Digital Signage]]&lt;br /&gt;
* [[Pitney Bowes Mail Machine]]&lt;br /&gt;
* [[Toshiba Digital Phone System]]&lt;br /&gt;
* [[Moodle eLearning]]&lt;br /&gt;
* [[Techinline Remote Support]]&lt;br /&gt;
* [[GMP Recalls]]&lt;br /&gt;
* [[Blackberry]]&lt;br /&gt;
* [[Norwin's Christmas 2015 Page]]&lt;br /&gt;
&lt;br /&gt;
=Research, Ideas, and Projects=&lt;br /&gt;
Items should be moved out of this section after they become implemented&lt;br /&gt;
* '''[[Project Timeline]]'''&lt;br /&gt;
* '''[[State of the Union]]'''&lt;br /&gt;
* [[Server Virtualization]]&lt;br /&gt;
* [[Secure WAMP stack for Moodle and MediaWiki]]&lt;br /&gt;
* [[IBM i Access for Mobile]]&lt;br /&gt;
* [[Networking projects]]&lt;br /&gt;
* [[Green screen modernization]]&lt;br /&gt;
* [[Catapult - extended functionality]]&lt;br /&gt;
* [[Web Filter optimization/implementation]]&lt;br /&gt;
* [[QSH and Python on IBM i]]&lt;br /&gt;
* [[BYOD]]&lt;br /&gt;
* [[Web Orders Features]]&lt;br /&gt;
* [[IBM Sametime]]&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
</feed>