Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Automated reloads in QMC now failing

Hi Folks!

Really hoping somebody out there can help me - we are running an Enterprise Edition Qlikview server, with certain automated jobs that are set and used to run in QMC. Now these are failing with error messages like the below - can anybody please help?. The document does have section access but was not amended recently

(2016-11-28 15:29:49) Information: Starting task 'Deploy/Sales/Sales.qvw'. Id:e65254bc-0ff9-409a-a275-e6f1c64ccccb. Triggered by 'ManualStartTrigger'. Id:00000001-0002-0003-0405-0607080a0b0c(2016-11-28 15:29:49) Information: Entering Task Execution.

(2016-11-28 15:29:49) Information: ClusterID=1(2016-11-28 15:29:49) Information: QDSID=572bd4a8-47ed-9e1a-31bb-cc09bb0ebc77

(2016-11-28 15:29:49) Information: TaskID=e65254bc-0ff9-409a-a275-e6f1c64ccccb(2016-11-28 15:29:49) Information: MaxRunTime=06:00:00

(2016-11-28 15:29:49) Information: MachineName=BICPT02(2016-11-28 15:29:49) Information: Max attempts:1

(2016-11-28 15:29:49) Information: Current Attempt=0

(2016-11-28 15:29:49) Information: Task Dependencies are OK

(2016-11-28 15:29:49) Information: Document is marked to be Reloaded with fresh data. Initializing Reload for Distribution.

(2016-11-28 15:29:49) Information: Opening "C:\QLIKVIEW\QVDEPLOY\Sales\Sales.qvw"

(2016-11-28 15:29:49) Information: Allocating new QlikView Engine. Current usage count=0 of 8 (of type non-reader).

(2016-11-28 15:29:49) Information: Max retries:5

(2016-11-28 15:29:49) Information: Attempt:01

(2016-11-28 15:29:51) Information: Opened the QlikView Engine successfully. ProcessID=3752

(2016-11-28 15:29:51) Information: Allocated QlikView Engine successfully. Current usage count=1 of 8 (of type non-reader). Ticket number=2.

(2016-11-28 15:29:51) Information: Loading document "C:\QLIKVIEW\QVDEPLOY\Sales\Sales.qvw" (1116.48 Mb)

(2016-11-28 15:29:52) Information: Loading. LoadTime=00:00:01.0156013

(2016-11-28 15:29:53) Error: Document open call failed. The document might require username and password.

(2016-11-28 15:29:53) Information: Attempted to load the document without data.(2016-11-28 15:29:53) Error: The document failed to open.

(2016-11-28 15:29:54) Information: Closed the QlikView Engine successfully. ProcessID=3752

(2016-11-28 15:29:54) Error: Document could not be opened

(2016-11-28 15:29:54) Information: Closed the QlikView Engine successfully. ProcessID=3752

(2016-11-28 15:29:54) Information: Failed to check in document: C:\QLIKVIEW\QVDEPLOY\Sales\Sales.qvw

(2016-11-28 15:29:54) Error: The task "Deploy/Sales/Sales.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.FailedDocumentCheckoutException: Failed to check out document with path: C:\QLIKVIEW\QVDEPLOY\Sales\Sales.qvw ||    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) ||    --- End of inner exception stack trace --- ||    at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage) ||    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) ||    --- End of inner exception stack trace --- ||    at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult) ||    at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)(2016-11-28 15:29:54) Information: Task Execute Duration=00:00:04.7811648

(2016-11-28 15:29:54) Information: Sending Alert mail

(2016-11-28 15:29:54) Warning: Failed to send mail to <emailaddress>@<domain.com>.com

(2016-11-28 15:29:54) Information: TaskResult.status=Finished

(2016-11-28 15:29:54) Information: Notifying all triggers of new state:FinishedWithErrors

(2016-11-28 15:29:54) Information: Notifying all triggers of new state:FinishedWithErrors - completed

(2016-11-28 15:29:54) Information: Saving Task Result

Any assistance would be greatly appreciated!

Thanks

Chris.

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

the log file won't help you

because the Qmc doesn't start the reload

which user is running the qlikview services

does he has security permissions to the folder the qv model is in

can you share the section access part of the script ?

View solution in original post

6 Replies
Gysbert_Wassenaar

Error: Document open call failed. The document might require username and password.

(2016-11-28 15:29:53) Information: Attempted to load the document without data.(2016-11-28 15:29:53) Error: The document failed to open.

Make sure the account that's used for the distribution service has rights to open the document.

There should be a log file C:\QLIKVIEW\QVDEPLOY\Sales\Sales.qvw.log with more information. If there isn't then enable the Generate Logfile option in that document and reload again.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert - Logfile attached, but judging by the timestamps on it, these are the reloads I executed manually in order to refresh the model;

I have checked and the service was listed to be able to access the document - unless I am missing something?

28/11/2016 11:21:58:      Execution started.
28/11/2016 11:21:58:      QlikView Version:11.20.12904.0
28/11/2016 11:21:58:      CPU Target                    x64
28/11/2016 11:21:58:      Operating System              Windows Server 2012 R2 Standard  (64 bit edition)
28/11/2016 11:21:58:      Wow64 mode                    Not using Wow64
28/11/2016 11:21:58:      MDAC Version                  6.3.9600.16384
28/11/2016 11:21:58:      MDAC Full Install Version     6.3.9600.16384
28/11/2016 11:21:58:      PreferredCompression          0
28/11/2016 11:21:58:      EnableParallelReload          1
28/11/2016 11:21:58:      ParallelizeQvdLoads           1
28/11/2016 11:21:58:      AutoSaveAfterReload           1
28/11/2016 11:21:58:      BackupBeforeReload            1
28/11/2016 11:21:58:      EnableFlushLog                0
28/11/2016 11:21:58:      SaveInfoWhenSavingFile        0
28/11/2016 11:21:58:      UserLogfileCharset            1200
28/11/2016 11:21:58:      OdbcLoginTimeout              -1
28/11/2016 11:21:58:      OdbcConnectionTimeout         -1
28/11/2016 11:21:58:      ScriptWantsDbWrite            false
28/11/2016 11:21:58:      ScriptWantsExe                false
28/11/2016 11:21:58:      LogFile CodePage Used:        1200
28/11/2016 11:21:58:       Reload Executed By RETAIL\admin-qlikview
28/11/2016 11:21:58:       Process Executing: QlikView Desktop
28/11/2016 11:21:58:       Process ID: 3120
28/11/2016 11:21:58: 0002  SET ThousandSep=','
28/11/2016 11:21:58: 0003  SET DecimalSep='.'
28/11/2016 11:21:58: 0004  SET MoneyThousandSep=' '
28/11/2016 11:21:58: 0005  SET MoneyDecimalSep=','
28/11/2016 11:21:58: 0006  SET MoneyFormat='R # ##0,00;-R# ##0,00'
28/11/2016 11:21:58: 0007  SET TimeFormat='HH:mm:ss'
28/11/2016 11:21:58: 0008  SET DateFormat='DD MM YYYY'
28/11/2016 11:21:58: 0009  SET TimestampFormat='DD/MM/YYYY hh:mm:ss'
28/11/2016 11:21:58: 0010  SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec'
28/11/2016 11:21:58: 0011  SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun'
28/11/2016 11:21:58: 0013  let zScriptBgn = num(now(1))
28/11/2016 11:21:58: 0014  let zModelName = 'Template App'
28/11/2016 11:21:58: 0016  Directory C:\QlikView\QVData\
28/11/2016 11:21:58: 0018  set zYearsToKeep = 3
28/11/2016 11:21:58: 0019  let zEndYear = year(today())
28/11/2016 11:21:58: 0020  let zStartYear = zEndYear + 1 - zYearsToKeep
28/11/2016 11:21:58: 0021  let zStartDate =num(makedate(2014,1,1))
28/11/2016 11:21:58: 0022  let zLimitDate =num(today())+60
28/11/2016 11:21:58: 0038  "Map Suppliers":
28/11/2016 11:21:58: 0039  mapping
28/11/2016 11:21:58: 0040  replace
28/11/2016 11:21:58: 0041  LOAD
28/11/2016 11:21:58: 0042    CF_SU_AccountCode,
28/11/2016 11:21:58: 0043    CF_SU_SupplierName
28/11/2016 11:21:58: 0044  FROM
28/11/2016 11:21:58: 0045  [QVD\Common\CF_00_SUPPL.qvd]
28/11/2016 11:21:58: 0046  (qvd)
28/11/2016 11:21:58:        2 fields found: CF_SU_AccountCode, CF_SU_SupplierName, 4 210 lines fetched
28/11/2016 11:21:58: 0048  "BR_PRODF":
28/11/2016 11:21:58: 0049  add
28/11/2016 11:21:58: 0050  LOAD
28/11/2016 11:21:58: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:21:58: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:21:58: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:21:58: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:21:58: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:21:58: 0056  FROM
28/11/2016 11:21:58: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:21:58: 0058  (qvd)
28/11/2016 11:21:59:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 5 742 lines fetched
28/11/2016 11:21:59: 0048  "BR_PRODF":
28/11/2016 11:21:59: 0049  add
28/11/2016 11:21:59: 0050  LOAD
28/11/2016 11:21:59: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:21:59: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:21:59: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:21:59: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:21:59: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:21:59: 0056  FROM
28/11/2016 11:21:59: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:21:59: 0058  (qvd)
28/11/2016 11:21:59:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 10 655 lines fetched
28/11/2016 11:21:59: 0048  "BR_PRODF":
28/11/2016 11:21:59: 0049  add
28/11/2016 11:21:59: 0050  LOAD
28/11/2016 11:21:59: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:21:59: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:21:59: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:21:59: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:21:59: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:21:59: 0056  FROM
28/11/2016 11:21:59: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:21:59: 0058  (qvd)
28/11/2016 11:21:59:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 14 955 lines fetched
28/11/2016 11:21:59: 0048  "BR_PRODF":
28/11/2016 11:21:59: 0049  add
28/11/2016 11:21:59: 0050  LOAD
28/11/2016 11:21:59: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:21:59: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:21:59: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:21:59: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:21:59: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:21:59: 0056  FROM
28/11/2016 11:21:59: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:21:59: 0058  (qvd)
28/11/2016 11:21:59:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 19 978 lines fetched
28/11/2016 11:21:59: 0048  "BR_PRODF":
28/11/2016 11:21:59: 0049  add
28/11/2016 11:21:59: 0050  LOAD
28/11/2016 11:21:59: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:21:59: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:21:59: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:21:59: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:21:59: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:21:59: 0056  FROM
28/11/2016 11:21:59: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:21:59: 0058  (qvd)
28/11/2016 11:21:59:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 24 186 lines fetched
28/11/2016 11:21:59: 0048  "BR_PRODF":
28/11/2016 11:21:59: 0049  add
28/11/2016 11:21:59: 0050  LOAD
28/11/2016 11:21:59: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:21:59: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:21:59: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:21:59: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:21:59: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:21:59: 0056  FROM
28/11/2016 11:21:59: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:21:59: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 27 538 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 32 241 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 36 910 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 42 414 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 46 627 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 52 293 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:00:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 56 999 lines fetched
28/11/2016 11:22:00: 0048  "BR_PRODF":
28/11/2016 11:22:00: 0049  add
28/11/2016 11:22:00: 0050  LOAD
28/11/2016 11:22:00: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:00: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:00: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:00: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:00: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:00: 0056  FROM
28/11/2016 11:22:00: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:00: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 61 503 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 67 952 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 72 532 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 76 312 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 76 312 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 79 843 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:01:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 83 659 lines fetched
28/11/2016 11:22:01: 0048  "BR_PRODF":
28/11/2016 11:22:01: 0049  add
28/11/2016 11:22:01: 0050  LOAD
28/11/2016 11:22:01: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:01: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:01: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:01: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:01: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:01: 0056  FROM
28/11/2016 11:22:01: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:01: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 87 656 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 91 065 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 94 632 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 94 632 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 94 632 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 94 632 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 100 943 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 104 726 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:02:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 111 383 lines fetched
28/11/2016 11:22:02: 0048  "BR_PRODF":
28/11/2016 11:22:02: 0049  add
28/11/2016 11:22:02: 0050  LOAD
28/11/2016 11:22:02: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:02: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:02: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:02: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:02: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:02: 0056  FROM
28/11/2016 11:22:02: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:02: 0058  (qvd)
28/11/2016 11:22:03:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 114 901 lines fetched
28/11/2016 11:22:03: 0048  "BR_PRODF":
28/11/2016 11:22:03: 0049  add
28/11/2016 11:22:03: 0050  LOAD
28/11/2016 11:22:03: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:03: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:03: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:03: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:03: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:03: 0056  FROM
28/11/2016 11:22:03: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:03: 0058  (qvd)
28/11/2016 11:22:03:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 123 861 lines fetched
28/11/2016 11:22:03: 0048  "BR_PRODF":
28/11/2016 11:22:03: 0049  add
28/11/2016 11:22:03: 0050  LOAD
28/11/2016 11:22:03: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:03: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:03: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:03: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:03: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:03: 0056  FROM
28/11/2016 11:22:03: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:03: 0058  (qvd)
28/11/2016 11:22:03:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 129 052 lines fetched
28/11/2016 11:22:03: 0048  "BR_PRODF":
28/11/2016 11:22:03: 0049  add
28/11/2016 11:22:03: 0050  LOAD
28/11/2016 11:22:03: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:03: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:03: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:03: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:03: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:03: 0056  FROM
28/11/2016 11:22:03: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:03: 0058  (qvd)
28/11/2016 11:22:03:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 146 227 lines fetched
28/11/2016 11:22:03: 0048  "BR_PRODF":
28/11/2016 11:22:03: 0049  add
28/11/2016 11:22:03: 0050  LOAD
28/11/2016 11:22:03: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:03: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:03: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:03: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:03: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:03: 0056  FROM
28/11/2016 11:22:03: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:03: 0058  (qvd)
28/11/2016 11:22:04:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 146 623 lines fetched
28/11/2016 11:22:04: 0048  "BR_PRODF":
28/11/2016 11:22:04: 0049  add
28/11/2016 11:22:04: 0050  LOAD
28/11/2016 11:22:04: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:04: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:04: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:04: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:04: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:04: 0056  FROM
28/11/2016 11:22:04: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:04: 0058  (qvd)
28/11/2016 11:22:04:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 163 947 lines fetched
28/11/2016 11:22:04: 0048  "BR_PRODF":
28/11/2016 11:22:04: 0049  add
28/11/2016 11:22:04: 0050  LOAD
28/11/2016 11:22:04: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:04: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:04: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:04: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:04: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:04: 0056  FROM
28/11/2016 11:22:04: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:04: 0058  (qvd)
28/11/2016 11:22:04:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 170 819 lines fetched
28/11/2016 11:22:04: 0048  "BR_PRODF":
28/11/2016 11:22:04: 0049  add
28/11/2016 11:22:04: 0050  LOAD
28/11/2016 11:22:04: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:04: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:04: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:04: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:04: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:04: 0056  FROM
28/11/2016 11:22:04: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:04: 0058  (qvd)
28/11/2016 11:22:04:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 185 280 lines fetched
28/11/2016 11:22:04: 0048  "BR_PRODF":
28/11/2016 11:22:04: 0049  add
28/11/2016 11:22:04: 0050  LOAD
28/11/2016 11:22:04: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:04: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:04: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:04: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:04: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:04: 0056  FROM
28/11/2016 11:22:04: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:04: 0058  (qvd)
28/11/2016 11:22:04:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 204 396 lines fetched
28/11/2016 11:22:05: 0048  "BR_PRODF":
28/11/2016 11:22:05: 0049  add
28/11/2016 11:22:05: 0050  LOAD
28/11/2016 11:22:05: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:05: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:05: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:05: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:05: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:05: 0056  FROM
28/11/2016 11:22:05: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:05: 0058  (qvd)
28/11/2016 11:22:05:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 223 288 lines fetched
28/11/2016 11:22:05: 0048  "BR_PRODF":
28/11/2016 11:22:05: 0049  add
28/11/2016 11:22:05: 0050  LOAD
28/11/2016 11:22:05: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:05: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:05: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:05: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:05: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:05: 0056  FROM
28/11/2016 11:22:05: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:05: 0058  (qvd)
28/11/2016 11:22:05:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 224 353 lines fetched
28/11/2016 11:22:05: 0048  "BR_PRODF":
28/11/2016 11:22:05: 0049  add
28/11/2016 11:22:05: 0050  LOAD
28/11/2016 11:22:05: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:05: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:05: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:05: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:05: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:05: 0056  FROM
28/11/2016 11:22:05: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:05: 0058  (qvd)
28/11/2016 11:22:05:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 240 757 lines fetched
28/11/2016 11:22:05: 0048  "BR_PRODF":
28/11/2016 11:22:05: 0049  add
28/11/2016 11:22:05: 0050  LOAD
28/11/2016 11:22:05: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:05: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:05: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:05: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:05: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:05: 0056  FROM
28/11/2016 11:22:05: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:05: 0058  (qvd)
28/11/2016 11:22:05:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 245 040 lines fetched
28/11/2016 11:22:05: 0048  "BR_PRODF":
28/11/2016 11:22:05: 0049  add
28/11/2016 11:22:05: 0050  LOAD
28/11/2016 11:22:05: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:05: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:05: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:05: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:05: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:05: 0056  FROM
28/11/2016 11:22:05: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:05: 0058  (qvd)
28/11/2016 11:22:05:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 245 096 lines fetched
28/11/2016 11:22:05: 0048  "BR_PRODF":
28/11/2016 11:22:05: 0049  add
28/11/2016 11:22:05: 0050  LOAD
28/11/2016 11:22:05: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:05: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:05: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:05: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:05: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:05: 0056  FROM
28/11/2016 11:22:05: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:05: 0058  (qvd)
28/11/2016 11:22:05:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 274 332 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 286 190 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 298 257 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 305 485 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 309 125 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 312 762 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 329 923 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:06:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 329 923 lines fetched
28/11/2016 11:22:06: 0048  "BR_PRODF":
28/11/2016 11:22:06: 0049  add
28/11/2016 11:22:06: 0050  LOAD
28/11/2016 11:22:06: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:06: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:06: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:06: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:06: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:06: 0056  FROM
28/11/2016 11:22:06: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:06: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 350 140 lines fetched
28/11/2016 11:22:07: 0048  "BR_PRODF":
28/11/2016 11:22:07: 0049  add
28/11/2016 11:22:07: 0050  LOAD
28/11/2016 11:22:07: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:07: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:07: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:07: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:07: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:07: 0056  FROM
28/11/2016 11:22:07: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:07: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 364 245 lines fetched
28/11/2016 11:22:07: 0048  "BR_PRODF":
28/11/2016 11:22:07: 0049  add
28/11/2016 11:22:07: 0050  LOAD
28/11/2016 11:22:07: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:07: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:07: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:07: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:07: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:07: 0056  FROM
28/11/2016 11:22:07: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:07: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 370 840 lines fetched
28/11/2016 11:22:07: 0048  "BR_PRODF":
28/11/2016 11:22:07: 0049  add
28/11/2016 11:22:07: 0050  LOAD
28/11/2016 11:22:07: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:07: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:07: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:07: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:07: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:07: 0056  FROM
28/11/2016 11:22:07: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:07: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 382 591 lines fetched
28/11/2016 11:22:07: 0048  "BR_PRODF":
28/11/2016 11:22:07: 0049  add
28/11/2016 11:22:07: 0050  LOAD
28/11/2016 11:22:07: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:07: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:07: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:07: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:07: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:07: 0056  FROM
28/11/2016 11:22:07: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:07: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 396 749 lines fetched
28/11/2016 11:22:07: 0048  "BR_PRODF":
28/11/2016 11:22:07: 0049  add
28/11/2016 11:22:07: 0050  LOAD
28/11/2016 11:22:07: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:07: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:07: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:07: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:07: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:07: 0056  FROM
28/11/2016 11:22:07: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:07: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 413 344 lines fetched
28/11/2016 11:22:07: 0048  "BR_PRODF":
28/11/2016 11:22:07: 0049  add
28/11/2016 11:22:07: 0050  LOAD
28/11/2016 11:22:07: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:07: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:07: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:07: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:07: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:07: 0056  FROM
28/11/2016 11:22:07: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:07: 0058  (qvd)
28/11/2016 11:22:07:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 431 398 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 434 947 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 445 609 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 460 584 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 463 173 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 475 078 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 475 925 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 479 604 lines fetched
28/11/2016 11:22:08: 0048  "BR_PRODF":
28/11/2016 11:22:08: 0049  add
28/11/2016 11:22:08: 0050  LOAD
28/11/2016 11:22:08: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:08: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:08: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:08: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:08: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:08: 0056  FROM
28/11/2016 11:22:08: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:08: 0058  (qvd)
28/11/2016 11:22:08:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 486 190 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 498 913 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 501 229 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 510 301 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 511 187 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 511 772 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 519 237 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:09:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 522 402 lines fetched
28/11/2016 11:22:09: 0048  "BR_PRODF":
28/11/2016 11:22:09: 0049  add
28/11/2016 11:22:09: 0050  LOAD
28/11/2016 11:22:09: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:09: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:09: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:09: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:09: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:09: 0056  FROM
28/11/2016 11:22:09: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:09: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 525 512 lines fetched
28/11/2016 11:22:10: 0048  "BR_PRODF":
28/11/2016 11:22:10: 0049  add
28/11/2016 11:22:10: 0050  LOAD
28/11/2016 11:22:10: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:10: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:10: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:10: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:10: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:10: 0056  FROM
28/11/2016 11:22:10: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:10: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 542 338 lines fetched
28/11/2016 11:22:10: 0048  "BR_PRODF":
28/11/2016 11:22:10: 0049  add
28/11/2016 11:22:10: 0050  LOAD
28/11/2016 11:22:10: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:10: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:10: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:10: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:10: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:10: 0056  FROM
28/11/2016 11:22:10: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:10: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 555 069 lines fetched
28/11/2016 11:22:10: 0048  "BR_PRODF":
28/11/2016 11:22:10: 0049  add
28/11/2016 11:22:10: 0050  LOAD
28/11/2016 11:22:10: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:10: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:10: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:10: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:10: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:10: 0056  FROM
28/11/2016 11:22:10: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:10: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 568 499 lines fetched
28/11/2016 11:22:10: 0048  "BR_PRODF":
28/11/2016 11:22:10: 0049  add
28/11/2016 11:22:10: 0050  LOAD
28/11/2016 11:22:10: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:10: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:10: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:10: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:10: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:10: 0056  FROM
28/11/2016 11:22:10: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:10: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 572 491 lines fetched
28/11/2016 11:22:10: 0048  "BR_PRODF":
28/11/2016 11:22:10: 0049  add
28/11/2016 11:22:10: 0050  LOAD
28/11/2016 11:22:10: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:10: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:10: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:10: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:10: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:10: 0056  FROM
28/11/2016 11:22:10: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:10: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 579 791 lines fetched
28/11/2016 11:22:10: 0048  "BR_PRODF":
28/11/2016 11:22:10: 0049  add
28/11/2016 11:22:10: 0050  LOAD
28/11/2016 11:22:10: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:10: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:10: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:10: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:10: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:10: 0056  FROM
28/11/2016 11:22:10: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:10: 0058  (qvd)
28/11/2016 11:22:10:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 597 434 lines fetched
28/11/2016 11:22:11: 0048  "BR_PRODF":
28/11/2016 11:22:11: 0049  add
28/11/2016 11:22:11: 0050  LOAD
28/11/2016 11:22:11: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:11: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:11: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:11: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:11: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:11: 0056  FROM
28/11/2016 11:22:11: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:11: 0058  (qvd)
28/11/2016 11:22:11:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 597 434 lines fetched
28/11/2016 11:22:11: 0048  "BR_PRODF":
28/11/2016 11:22:11: 0049  add
28/11/2016 11:22:11: 0050  LOAD
28/11/2016 11:22:11: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:11: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:11: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:11: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:11: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:11: 0056  FROM
28/11/2016 11:22:11: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:11: 0058  (qvd)
28/11/2016 11:22:11:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 597 434 lines fetched
28/11/2016 11:22:11: 0048  "BR_PRODF":
28/11/2016 11:22:11: 0049  add
28/11/2016 11:22:11: 0050  LOAD
28/11/2016 11:22:11: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:11: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:11: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:11: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:11: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:11: 0056  FROM
28/11/2016 11:22:11: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:11: 0058  (qvd)
28/11/2016 11:22:11:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 607 774 lines fetched
28/11/2016 11:22:11: 0048  "BR_PRODF":
28/11/2016 11:22:11: 0049  add
28/11/2016 11:22:11: 0050  LOAD
28/11/2016 11:22:11: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:11: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:11: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:11: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:11: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:11: 0056  FROM
28/11/2016 11:22:11: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:11: 0058  (qvd)
28/11/2016 11:22:11:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 607 774 lines fetched
28/11/2016 11:22:11: 0048  "BR_PRODF":
28/11/2016 11:22:11: 0049  add
28/11/2016 11:22:11: 0050  LOAD
28/11/2016 11:22:11: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:11: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:11: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:11: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:11: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:11: 0056  FROM
28/11/2016 11:22:11: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:11: 0058  (qvd)
28/11/2016 11:22:11:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 619 325 lines fetched
28/11/2016 11:22:11: 0048  "BR_PRODF":
28/11/2016 11:22:11: 0049  add
28/11/2016 11:22:11: 0050  LOAD
28/11/2016 11:22:11: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:11: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:11: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:11: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:11: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:11: 0056  FROM
28/11/2016 11:22:11: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:11: 0058  (qvd)
28/11/2016 11:22:11:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 633 715 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 644 268 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 654 000 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 654 478 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 655 319 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 657 456 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 659 536 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 659 536 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 659 536 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:12:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 659 536 lines fetched
28/11/2016 11:22:12: 0048  "BR_PRODF":
28/11/2016 11:22:12: 0049  add
28/11/2016 11:22:12: 0050  LOAD
28/11/2016 11:22:12: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:12: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:12: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:12: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:12: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:12: 0056  FROM
28/11/2016 11:22:12: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:12: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 660 472 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 660 472 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 660 472 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 660 472 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 666 391 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 668 648 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 678 762 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 683 323 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 683 323 lines fetched
28/11/2016 11:22:13: 0048  "BR_PRODF":
28/11/2016 11:22:13: 0049  add
28/11/2016 11:22:13: 0050  LOAD
28/11/2016 11:22:13: 0051    Co & '-' & num(Br)  & '-' & PartNo as CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0052    applymap('Map Suppliers',BRSUpplierPreferred) as SupplierPreferred,
28/11/2016 11:22:13: 0053    applymap('Map Suppliers',BRSUpplierAlternate) as SupplierAlternate,
28/11/2016 11:22:13: 0054    BRSUpplierPreferred as BRSupplierPreferred,
28/11/2016 11:22:13: 0055    BRSUpplierAlternate as BRSupplierAlternate
28/11/2016 11:22:13: 0056  FROM
28/11/2016 11:22:13: 0057  [QVD\Purchases\BR_*_PRODF_*.qvd]
28/11/2016 11:22:13: 0058  (qvd)
28/11/2016 11:22:13:        5 fields found: CompanyBranchPartNoKey, SupplierPreferred, SupplierAlternate, BRSupplierPreferred, BRSupplierAlternate, 683 323 lines fetched
28/11/2016 11:22:13: 0060  "Map SupplierPreferred":
28/11/2016 11:22:13: 0061  mapping
28/11/2016 11:22:13: 0062  load
28/11/2016 11:22:13: 0063    CompanyBranchPartNoKey,
28/11/2016 11:22:13: 0064    SupplierPreferred
28/11/2016 11:22:13: 0065  resident "BR_PRODF"
28/11/2016 11:22:13:        2 fields found: CompanyBranchPartNoKey, SupplierPreferred, 683 323 lines fetched
28/11/2016 11:22:16: 0067  "Map SupplierAlternate":
28/11/2016 11:22:16: 0068  mapping
28/11/2016 11:22:16: 0069  load
28/11/2016 11:22:16: 0070    CompanyBranchPartNoKey,
28/11/2016 11:22:16: 0071    SupplierAlternate
28/11/2016 11:22:16: 0072  resident "BR_PRODF"
28/11/2016 11:22:16:        2 fields found: CompanyBranchPartNoKey, SupplierAlternate, 683 323 lines fetched
28/11/2016 11:22:19: 0074  "Map Master PreferredSupplier":
28/11/2016 11:22:19: 0075  mapping
28/11/2016 11:22:19: 0076  LOAD
28/11/2016 11:22:19: 0077    PartNo,
28/11/2016 11:22:19: 0078    applymap('Map Suppliers',CF_PR_SupplierCod001) as MPS
28/11/2016 11:22:19: 0079  FROM
28/11/2016 11:22:19: 0080  [QVD\Common\CF_00_PRODF.qvd]
28/11/2016 11:22:19: 0081  (qvd)
28/11/2016 11:22:19:        2 fields found: PartNo, MPS, 93 763 lines fetched
28/11/2016 11:22:23: 0083  "Map Master AlternateSupplier":
28/11/2016 11:22:23: 0084  mapping
28/11/2016 11:22:23: 0085  LOAD
28/11/2016 11:22:23: 0086    PartNo,
28/11/2016 11:22:23: 0087    applymap('Map Suppliers',CF_PR_SupplierCod002) as MAS
28/11/2016 11:22:23: 0088  FROM
28/11/2016 11:22:23: 0089  [QVD\Common\CF_00_PRODF.qvd]
28/11/2016 11:22:23: 0090  (qvd)
28/11/2016 11:22:23:        2 fields found: PartNo, MAS, 93 763 lines fetched
28/11/2016 11:22:26: 0092  "NewStoreList":
28/11/2016 11:22:26: 0093  LOAD
28/11/2016 11:22:26: 0094    CompanyBranchKey as NewCompanyBranchKey
28/11/2016 11:22:26: 0095  FROM
28/11/2016 11:22:26: 0096  [xls\NewStores.xls]
28/11/2016 11:22:26: 0097  (biff, embedded labels, table is Sheet1$)
28/11/2016 11:22:26: 0098  where upper(New)='NEW'

28/11/2016 11:22:26:        1 fields found: NewCompanyBranchKey, 7 lines fetched
28/11/2016 11:22:26: 0102  "PROMOS":
28/11/2016 11:22:26: 0103  LOAD
28/11/2016 11:22:26: 0104    filename() as PromoFile,
28/11/2016 11:22:26: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:26: 0106  FROM
28/11/2016 11:22:26: 0107  [Promos\*.xls]
28/11/2016 11:22:26: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:26: 0109  where
28/11/2016 11:22:26: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 1 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 5 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 31 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 57 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 74 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 90 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 101 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 124 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 128 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 146 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:27:        2 fields found: PromoFile, PromoStoreKey, 151 lines fetched
28/11/2016 11:22:27: 0102  "PROMOS":
28/11/2016 11:22:27: 0103  LOAD
28/11/2016 11:22:27: 0104    filename() as PromoFile,
28/11/2016 11:22:27: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:27: 0106  FROM
28/11/2016 11:22:27: 0107  [Promos\*.xls]
28/11/2016 11:22:27: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:27: 0109  where
28/11/2016 11:22:27: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 177 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 203 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 204 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 227 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 231 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 249 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 263 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 280 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 294 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 308 lines fetched
28/11/2016 11:22:28: 0102  "PROMOS":
28/11/2016 11:22:28: 0103  LOAD
28/11/2016 11:22:28: 0104    filename() as PromoFile,
28/11/2016 11:22:28: 0105    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0106  FROM
28/11/2016 11:22:28: 0107  [Promos\*.xls]
28/11/2016 11:22:28: 0108  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:28: 0109  where
28/11/2016 11:22:28: 0110    not isnull([Store numbers]) 

28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 326 lines fetched
28/11/2016 11:22:28: 0112  concatenate("PROMOS")
28/11/2016 11:22:28: 0113  LOAD
28/11/2016 11:22:28: 0114    filename() as PromoFile,
28/11/2016 11:22:28: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0116  FROM
28/11/2016 11:22:28: 0117  [Promos\*.xlsm]
28/11/2016 11:22:28: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 644 lines fetched
28/11/2016 11:22:28: 0112  concatenate("PROMOS")
28/11/2016 11:22:28: 0113  LOAD
28/11/2016 11:22:28: 0114    filename() as PromoFile,
28/11/2016 11:22:28: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0116  FROM
28/11/2016 11:22:28: 0117  [Promos\*.xlsm]
28/11/2016 11:22:28: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 961 lines fetched
28/11/2016 11:22:28: 0112  concatenate("PROMOS")
28/11/2016 11:22:28: 0113  LOAD
28/11/2016 11:22:28: 0114    filename() as PromoFile,
28/11/2016 11:22:28: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0116  FROM
28/11/2016 11:22:28: 0117  [Promos\*.xlsm]
28/11/2016 11:22:28: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:28:        2 fields found: PromoFile, PromoStoreKey, 1 145 lines fetched
28/11/2016 11:22:28: 0112  concatenate("PROMOS")
28/11/2016 11:22:28: 0113  LOAD
28/11/2016 11:22:28: 0114    filename() as PromoFile,
28/11/2016 11:22:28: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:28: 0116  FROM
28/11/2016 11:22:28: 0117  [Promos\*.xlsm]
28/11/2016 11:22:28: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:29:        2 fields found: PromoFile, PromoStoreKey, 1 457 lines fetched
28/11/2016 11:22:29: 0112  concatenate("PROMOS")
28/11/2016 11:22:29: 0113  LOAD
28/11/2016 11:22:29: 0114    filename() as PromoFile,
28/11/2016 11:22:29: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:29: 0116  FROM
28/11/2016 11:22:29: 0117  [Promos\*.xlsm]
28/11/2016 11:22:29: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:30:        2 fields found: PromoFile, PromoStoreKey, 1 636 lines fetched
28/11/2016 11:22:30: 0112  concatenate("PROMOS")
28/11/2016 11:22:30: 0113  LOAD
28/11/2016 11:22:30: 0114    filename() as PromoFile,
28/11/2016 11:22:30: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:30: 0116  FROM
28/11/2016 11:22:30: 0117  [Promos\*.xlsm]
28/11/2016 11:22:30: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:30:        2 fields found: PromoFile, PromoStoreKey, 1 954 lines fetched
28/11/2016 11:22:30: 0112  concatenate("PROMOS")
28/11/2016 11:22:30: 0113  LOAD
28/11/2016 11:22:30: 0114    filename() as PromoFile,
28/11/2016 11:22:30: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:30: 0116  FROM
28/11/2016 11:22:30: 0117  [Promos\*.xlsm]
28/11/2016 11:22:30: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:30:        2 fields found: PromoFile, PromoStoreKey, 2 271 lines fetched
28/11/2016 11:22:30: 0112  concatenate("PROMOS")
28/11/2016 11:22:30: 0113  LOAD
28/11/2016 11:22:30: 0114    filename() as PromoFile,
28/11/2016 11:22:30: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:30: 0116  FROM
28/11/2016 11:22:30: 0117  [Promos\*.xlsm]
28/11/2016 11:22:30: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:30:        2 fields found: PromoFile, PromoStoreKey, 2 584 lines fetched
28/11/2016 11:22:30: 0112  concatenate("PROMOS")
28/11/2016 11:22:30: 0113  LOAD
28/11/2016 11:22:30: 0114    filename() as PromoFile,
28/11/2016 11:22:30: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:30: 0116  FROM
28/11/2016 11:22:30: 0117  [Promos\*.xlsm]
28/11/2016 11:22:30: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:31:        2 fields found: PromoFile, PromoStoreKey, 2 897 lines fetched
28/11/2016 11:22:31: 0112  concatenate("PROMOS")
28/11/2016 11:22:31: 0113  LOAD
28/11/2016 11:22:31: 0114    filename() as PromoFile,
28/11/2016 11:22:31: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:31: 0116  FROM
28/11/2016 11:22:31: 0117  [Promos\*.xlsm]
28/11/2016 11:22:31: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:32:        2 fields found: PromoFile, PromoStoreKey, 3 072 lines fetched
28/11/2016 11:22:32: 0112  concatenate("PROMOS")
28/11/2016 11:22:32: 0113  LOAD
28/11/2016 11:22:32: 0114    filename() as PromoFile,
28/11/2016 11:22:32: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:32: 0116  FROM
28/11/2016 11:22:32: 0117  [Promos\*.xlsm]
28/11/2016 11:22:32: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:32:        2 fields found: PromoFile, PromoStoreKey, 3 388 lines fetched
28/11/2016 11:22:32: 0112  concatenate("PROMOS")
28/11/2016 11:22:32: 0113  LOAD
28/11/2016 11:22:32: 0114    filename() as PromoFile,
28/11/2016 11:22:32: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:32: 0116  FROM
28/11/2016 11:22:32: 0117  [Promos\*.xlsm]
28/11/2016 11:22:32: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:32:        2 fields found: PromoFile, PromoStoreKey, 3 705 lines fetched
28/11/2016 11:22:32: 0112  concatenate("PROMOS")
28/11/2016 11:22:32: 0113  LOAD
28/11/2016 11:22:32: 0114    filename() as PromoFile,
28/11/2016 11:22:32: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:32: 0116  FROM
28/11/2016 11:22:32: 0117  [Promos\*.xlsm]
28/11/2016 11:22:32: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:32:        2 fields found: PromoFile, PromoStoreKey, 4 022 lines fetched
28/11/2016 11:22:32: 0112  concatenate("PROMOS")
28/11/2016 11:22:32: 0113  LOAD
28/11/2016 11:22:32: 0114    filename() as PromoFile,
28/11/2016 11:22:32: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:32: 0116  FROM
28/11/2016 11:22:32: 0117  [Promos\*.xlsm]
28/11/2016 11:22:32: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:32:        2 fields found: PromoFile, PromoStoreKey, 4 339 lines fetched
28/11/2016 11:22:32: 0112  concatenate("PROMOS")
28/11/2016 11:22:32: 0113  LOAD
28/11/2016 11:22:32: 0114    filename() as PromoFile,
28/11/2016 11:22:32: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:32: 0116  FROM
28/11/2016 11:22:32: 0117  [Promos\*.xlsm]
28/11/2016 11:22:32: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:32:        2 fields found: PromoFile, PromoStoreKey, 4 518 lines fetched
28/11/2016 11:22:32: 0112  concatenate("PROMOS")
28/11/2016 11:22:32: 0113  LOAD
28/11/2016 11:22:32: 0114    filename() as PromoFile,
28/11/2016 11:22:32: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:32: 0116  FROM
28/11/2016 11:22:32: 0117  [Promos\*.xlsm]
28/11/2016 11:22:32: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 4 835 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 5 153 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 5 471 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 5 789 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 6 107 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 6 425 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 6 743 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 7 061 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 7 379 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 7 697 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 8 015 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 8 332 lines fetched
28/11/2016 11:22:33: 0112  concatenate("PROMOS")
28/11/2016 11:22:33: 0113  LOAD
28/11/2016 11:22:33: 0114    filename() as PromoFile,
28/11/2016 11:22:33: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:33: 0116  FROM
28/11/2016 11:22:33: 0117  [Promos\*.xlsm]
28/11/2016 11:22:33: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:33:        2 fields found: PromoFile, PromoStoreKey, 8 499 lines fetched
28/11/2016 11:22:34: 0112  concatenate("PROMOS")
28/11/2016 11:22:34: 0113  LOAD
28/11/2016 11:22:34: 0114    filename() as PromoFile,
28/11/2016 11:22:34: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:34: 0116  FROM
28/11/2016 11:22:34: 0117  [Promos\*.xlsm]
28/11/2016 11:22:34: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:34:        2 fields found: PromoFile, PromoStoreKey, 8 813 lines fetched
28/11/2016 11:22:34: 0112  concatenate("PROMOS")
28/11/2016 11:22:34: 0113  LOAD
28/11/2016 11:22:34: 0114    filename() as PromoFile,
28/11/2016 11:22:34: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:34: 0116  FROM
28/11/2016 11:22:34: 0117  [Promos\*.xlsm]
28/11/2016 11:22:34: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:35:        2 fields found: PromoFile, PromoStoreKey, 8 980 lines fetched
28/11/2016 11:22:35: 0112  concatenate("PROMOS")
28/11/2016 11:22:35: 0113  LOAD
28/11/2016 11:22:35: 0114    filename() as PromoFile,
28/11/2016 11:22:35: 0115    right('0000' & [Store numbers],4) as PromoStoreKey 
28/11/2016 11:22:35: 0116  FROM
28/11/2016 11:22:35: 0117  [Promos\*.xlsm]
28/11/2016 11:22:35: 0118  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:35:        2 fields found: PromoFile, PromoStoreKey, 9 298 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 94 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 142 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 272 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 388 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 469 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 561 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 566 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 679 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 805 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 811 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 817 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 817 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 845 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 947 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 026 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 130 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 206 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 302 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 325 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 420 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 515 lines fetched
28/11/2016 11:22:35: 0120  "PROMO PARTS":
28/11/2016 11:22:35: 0121  LOAD
28/11/2016 11:22:35: 0122    filename() as PromoFile,
28/11/2016 11:22:35: 0123    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0124  FROM
28/11/2016 11:22:35: 0125  [Promos\*.xls]
28/11/2016 11:22:35: 0126  (biff, embedded labels, header is 1 lines, table is Input$)
28/11/2016 11:22:35: 0127  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 629 lines fetched
28/11/2016 11:22:35: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:35: 0130  LOAD
28/11/2016 11:22:35: 0131    filename() as PromoFile,
28/11/2016 11:22:35: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0133  FROM
28/11/2016 11:22:35: 0134  [Promos\*.xlsm]
28/11/2016 11:22:35: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:35: 0136  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 1 815 lines fetched
28/11/2016 11:22:35: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:35: 0130  LOAD
28/11/2016 11:22:35: 0131    filename() as PromoFile,
28/11/2016 11:22:35: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0133  FROM
28/11/2016 11:22:35: 0134  [Promos\*.xlsm]
28/11/2016 11:22:35: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:35: 0136  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 2 010 lines fetched
28/11/2016 11:22:35: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:35: 0130  LOAD
28/11/2016 11:22:35: 0131    filename() as PromoFile,
28/11/2016 11:22:35: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0133  FROM
28/11/2016 11:22:35: 0134  [Promos\*.xlsm]
28/11/2016 11:22:35: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:35: 0136  where not isnull([Product Code])

28/11/2016 11:22:35:        2 fields found: PromoFile, PromoPartNo, 2 194 lines fetched
28/11/2016 11:22:35: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:35: 0130  LOAD
28/11/2016 11:22:35: 0131    filename() as PromoFile,
28/11/2016 11:22:35: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:35: 0133  FROM
28/11/2016 11:22:35: 0134  [Promos\*.xlsm]
28/11/2016 11:22:35: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:35: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 2 382 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 2 558 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 2 735 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 2 927 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 3 081 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 3 269 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 3 423 lines fetched
28/11/2016 11:22:36: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:36: 0130  LOAD
28/11/2016 11:22:36: 0131    filename() as PromoFile,
28/11/2016 11:22:36: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:36: 0133  FROM
28/11/2016 11:22:36: 0134  [Promos\*.xlsm]
28/11/2016 11:22:36: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:36: 0136  where not isnull([Product Code])

28/11/2016 11:22:36:        2 fields found: PromoFile, PromoPartNo, 3 590 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 3 764 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 3 930 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 104 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 262 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 269 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 274 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 279 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 284 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 290 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 295 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 300 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 305 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 310 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 315 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 320 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 505 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:37:        2 fields found: PromoFile, PromoPartNo, 4 672 lines fetched
28/11/2016 11:22:37: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:37: 0130  LOAD
28/11/2016 11:22:37: 0131    filename() as PromoFile,
28/11/2016 11:22:37: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:37: 0133  FROM
28/11/2016 11:22:37: 0134  [Promos\*.xlsm]
28/11/2016 11:22:37: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:37: 0136  where not isnull([Product Code])

28/11/2016 11:22:38:        2 fields found: PromoFile, PromoPartNo, 4 854 lines fetched
28/11/2016 11:22:38: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:38: 0130  LOAD
28/11/2016 11:22:38: 0131    filename() as PromoFile,
28/11/2016 11:22:38: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:38: 0133  FROM
28/11/2016 11:22:38: 0134  [Promos\*.xlsm]
28/11/2016 11:22:38: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:38: 0136  where not isnull([Product Code])

28/11/2016 11:22:38:        2 fields found: PromoFile, PromoPartNo, 5 017 lines fetched
28/11/2016 11:22:38: 0129  concatenate("PROMO PARTS")
28/11/2016 11:22:38: 0130  LOAD
28/11/2016 11:22:38: 0131    filename() as PromoFile,
28/11/2016 11:22:38: 0132    [Product Code] as PromoPartNo
28/11/2016 11:22:38: 0133  FROM
28/11/2016 11:22:38: 0134  [Promos\*.xlsm]
28/11/2016 11:22:38: 0135  (ooxml, embedded labels, header is 1 lines, table is Input)
28/11/2016 11:22:38: 0136  where not isnull([Product Code])

28/11/2016 11:22:38:        2 fields found: PromoFile, PromoPartNo, 5 190 lines fetched
28/11/2016 11:22:38: 0139  left join ("PROMOS")
28/11/2016 11:22:38: 0140  load *
28/11/2016 11:22:38: 0141  resident "PROMO PARTS"
28/11/2016 11:22:38:        2 fields found: PromoFile, PromoPartNo, 5 190 lines fetched
28/11/2016 11:22:38:       Joining/Keeping
28/11/2016 11:22:38: 0142  drop table "PROMO PARTS"
28/11/2016 11:22:38: 0144  rename table "PROMOS" to "TPROMOS"
28/11/2016 11:22:38: 0145  "PROMOS":
28/11/2016 11:22:38: 0146  load
28/11/2016 11:22:38: 0147    PromoStoreKey & '-' & PromoPartNo as PromoBranchPartNoKey,
28/11/2016 11:22:38: 0148    *
28/11/2016 11:22:38: 0149  resident "TPROMOS"
28/11/2016 11:22:38:        4 fields found: PromoBranchPartNoKey, PromoFile, PromoStoreKey, PromoPartNo, 1 008 202 lines fetched
28/11/2016 11:22:40: 0150  drop table "TPROMOS"
28/11/2016 11:22:40: 0152  let zAllDateBgn=num(makedate(2015,01,01))
28/11/2016 11:22:40: 0153  let zAllDateEnd=num(floor(yearend(today())))
28/11/2016 11:22:40: 0154  let zAllDays=zAllDateEnd-zAllDateBgn+1
28/11/2016 11:22:40: 0156  "ALL DATES":
28/11/2016 11:22:40: 0157  load
28/11/2016 11:22:40: 0158    42005+RecNo()-1 as AllDate
28/11/2016 11:22:40: 0159  autogenerate(731)
28/11/2016 11:22:40:        1 fields found: AllDate, 731 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 1 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 2 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 3 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 4 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 5 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 6 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 7 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 8 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 9 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 10 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 11 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 12 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 13 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 14 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 15 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 16 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 17 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 18 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 19 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 20 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 21 lines fetched
28/11/2016 11:22:40: 0161  "TPROMO DATES":
28/11/2016 11:22:40: 0162  LOAD
28/11/2016 11:22:40: 0163    filename() as PromoFile,
28/11/2016 11:22:40: 0164    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0165    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0166    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0167    Descr as Promo
28/11/2016 11:22:40: 0168  FROM
28/11/2016 11:22:40: 0169  [Promos\*.xls]
28/11/2016 11:22:40: 0170  (biff, embedded labels, table is Input$)
28/11/2016 11:22:40: 0171  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 22 lines fetched
28/11/2016 11:22:40: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:40: 0174  LOAD
28/11/2016 11:22:40: 0175    filename() as PromoFile,
28/11/2016 11:22:40: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0179    Descr as Promo
28/11/2016 11:22:40: 0180  FROM
28/11/2016 11:22:40: 0181  [Promos\*.xlsm]
28/11/2016 11:22:40: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:40: 0183  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 23 lines fetched
28/11/2016 11:22:40: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:40: 0174  LOAD
28/11/2016 11:22:40: 0175    filename() as PromoFile,
28/11/2016 11:22:40: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0179    Descr as Promo
28/11/2016 11:22:40: 0180  FROM
28/11/2016 11:22:40: 0181  [Promos\*.xlsm]
28/11/2016 11:22:40: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:40: 0183  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 24 lines fetched
28/11/2016 11:22:40: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:40: 0174  LOAD
28/11/2016 11:22:40: 0175    filename() as PromoFile,
28/11/2016 11:22:40: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0179    Descr as Promo
28/11/2016 11:22:40: 0180  FROM
28/11/2016 11:22:40: 0181  [Promos\*.xlsm]
28/11/2016 11:22:40: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:40: 0183  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 25 lines fetched
28/11/2016 11:22:40: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:40: 0174  LOAD
28/11/2016 11:22:40: 0175    filename() as PromoFile,
28/11/2016 11:22:40: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0179    Descr as Promo
28/11/2016 11:22:40: 0180  FROM
28/11/2016 11:22:40: 0181  [Promos\*.xlsm]
28/11/2016 11:22:40: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:40: 0183  where isnum([Date From])

28/11/2016 11:22:40:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 26 lines fetched
28/11/2016 11:22:40: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:40: 0174  LOAD
28/11/2016 11:22:40: 0175    filename() as PromoFile,
28/11/2016 11:22:40: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:40: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:40: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:40: 0179    Descr as Promo
28/11/2016 11:22:40: 0180  FROM
28/11/2016 11:22:40: 0181  [Promos\*.xlsm]
28/11/2016 11:22:40: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:40: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 27 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 28 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 29 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 30 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 31 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 32 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 33 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 34 lines fetched
28/11/2016 11:22:41: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:41: 0174  LOAD
28/11/2016 11:22:41: 0175    filename() as PromoFile,
28/11/2016 11:22:41: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:41: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:41: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:41: 0179    Descr as Promo
28/11/2016 11:22:41: 0180  FROM
28/11/2016 11:22:41: 0181  [Promos\*.xlsm]
28/11/2016 11:22:41: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:41: 0183  where isnum([Date From])

28/11/2016 11:22:41:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 35 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 36 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 37 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 38 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 39 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 40 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 41 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 42 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 43 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 44 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 45 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 46 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 47 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 48 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 49 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 50 lines fetched
28/11/2016 11:22:42: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:42: 0174  LOAD
28/11/2016 11:22:42: 0175    filename() as PromoFile,
28/11/2016 11:22:42: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:42: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:42: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:42: 0179    Descr as Promo
28/11/2016 11:22:42: 0180  FROM
28/11/2016 11:22:42: 0181  [Promos\*.xlsm]
28/11/2016 11:22:42: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:42: 0183  where isnum([Date From])

28/11/2016 11:22:42:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 51 lines fetched
28/11/2016 11:22:43: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:43: 0174  LOAD
28/11/2016 11:22:43: 0175    filename() as PromoFile,
28/11/2016 11:22:43: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:43: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:43: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:43: 0179    Descr as Promo
28/11/2016 11:22:43: 0180  FROM
28/11/2016 11:22:43: 0181  [Promos\*.xlsm]
28/11/2016 11:22:43: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:43: 0183  where isnum([Date From])

28/11/2016 11:22:43:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 52 lines fetched
28/11/2016 11:22:43: 0173  concatenate("TPROMO DATES")
28/11/2016 11:22:43: 0174  LOAD
28/11/2016 11:22:43: 0175    filename() as PromoFile,
28/11/2016 11:22:43: 0176    num([Date From]) as [Date From],
28/11/2016 11:22:43: 0177    num([Date To]) as [Date To],
28/11/2016 11:22:43: 0178    [Campaign Letter] as PromoLetter,
28/11/2016 11:22:43: 0179    Descr as Promo
28/11/2016 11:22:43: 0180  FROM
28/11/2016 11:22:43: 0181  [Promos\*.xlsm]
28/11/2016 11:22:43: 0182  (ooxml, embedded labels, header is 0 lines, table is Input)
28/11/2016 11:22:43: 0183  where isnum([Date From])

28/11/2016 11:22:43:        5 fields found: PromoFile, Date From, Date To, PromoLetter, Promo, 53 lines fetched
28/11/2016 11:22:43: 0186  outer join ("TPROMO DATES")
28/11/2016 11:22:43: 0187  load
28/11/2016 11:22:43: 0188    *
28/11/2016 11:22:43: 0189  resident "ALL DATES"
28/11/2016 11:22:43:        1 fields found: AllDate, 731 lines fetched
28/11/2016 11:22:43:       Joining/Keeping
28/11/2016 11:22:43: 0190  drop table "ALL DATES"
28/11/2016 11:22:43: 0192  "PROMO DATES":
28/11/2016 11:22:43: 0193  load
28/11/2016 11:22:43: 0194    PromoFile, 
28/11/2016 11:22:43: 0195    PromoLetter,
28/11/2016 11:22:43: 0196    Promo,  
28/11/2016 11:22:43: 0197    AllDate as PromoDate
28/11/2016 11:22:43: 0198  resident "TPROMO DATES"
28/11/2016 11:22:43: 0199  where
28/11/2016 11:22:43: 0200      AllDate >= [Date From]
28/11/2016 11:22:43: 0201    and
28/11/2016 11:22:43: 0202      AllDate <= [Date To]

28/11/2016 11:22:43:        4 fields found: PromoFile, PromoLetter, Promo, PromoDate, 835 lines fetched
28/11/2016 11:22:43: 0204  drop table "TPROMO DATES"
28/11/2016 11:22:43: 0206  "PROMO DURATION":
28/11/2016 11:22:43: 0207  load
28/11/2016 11:22:43: 0208    PromoFile,
28/11/2016 11:22:43: 0209    min(PromoDate) as PromoStartDate,
28/11/2016 11:22:43: 0210    max(PromoDate) as PromoEndDate
28/11/2016 11:22:43: 0211  resident "PROMO DATES"
28/11/2016 11:22:43: 0212  group by PromoFile
28/11/2016 11:22:43:        3 fields found: PromoFile, PromoStartDate, PromoEndDate, 52 lines fetched
28/11/2016 11:22:43: 0215  "SecUsers":
28/11/2016 11:22:43: 0216  LOAD * INLINE [
28/11/2016 11:22:43: 0217  Access, NTName
28/11/2016 11:22:43: 0218  ADMIN,RETAIL\ADMIN-QLIKVIEW
28/11/2016 11:22:43: 0219  ]
28/11/2016 11:22:43:        2 fields found: Access, NTName, 1 lines fetched
28/11/2016 11:22:43: 0221  concatenate ("SecUsers")
28/11/2016 11:22:43: 0222  LOAD
28/11/2016 11:22:43: 0223    @1 as Access,
28/11/2016 11:22:43: 0224    @2 as NTName
28/11/2016 11:22:43: 0225  FROM
28/11/2016 11:22:43: 0226  [Security\SalesACL.txt]
28/11/2016 11:22:43: 0227  (txt, codepage is 1252, no labels, delimiter is ',', msq)
28/11/2016 11:22:43:        2 fields found: Access, NTName, 13 lines fetched
28/11/2016 11:22:43: 0230  Section Access
28/11/2016 11:22:43: 0232  load
28/11/2016 11:22:43: 0233  Access as ACCESS,
28/11/2016 11:22:43: 0234  NTName as NTNAME
28/11/2016 11:22:43: 0235  resident "SecUsers"
28/11/2016 11:22:43:        2 fields found: ACCESS, NTNAME, 13 lines fetched
28/11/2016 11:22:43: 0238  Section Application
28/11/2016 11:22:43: 0244  set cSTBMaroonBase=156,0,90
28/11/2016 11:22:43: 0245  let cSTBMaroon=rgb(156,0,90)
28/11/2016 11:22:43: 0246  let cSTBMaroonLight=argb(64,156,0,90)
28/11/2016 11:22:43: 0247  let cSTBMaroonDark=argb(192,156,0,90)
28/11/2016 11:22:43: 0250  let cPPRed=rgb(237,32,40)
28/11/2016 11:22:43: 0253  let cTCGreen=rgb(0,149,52)
28/11/2016 11:22:43: 0254  let cTCYellow=rgb(255,232,0)
28/11/2016 11:22:43: 0255  let cTCBrown=rgb(92,45,32)
28/11/2016 11:22:43: 0257  let cC1=argb(255,156,0,90)
28/11/2016 11:22:43: 0258  let cC2=argb(32,156,0,90)
28/11/2016 11:22:43: 0259  let cC3=argb(222,156,0,90)
28/11/2016 11:22:43: 0260  let cC4=argb(64,156,0,90)
28/11/2016 11:22:43: 0261  let cC5=argb(192,156,0,90)
28/11/2016 11:22:43: 0262  let cC6=argb(108,156,0,90)
28/11/2016 11:22:43: 0263  let cC7=argb(160,156,0,90)
28/11/2016 11:22:43: 0264  let cC8=argb(140,156,0,90)
28/11/2016 11:22:43: 0266  let cC1=argb(32,156,0,90)
28/11/2016 11:22:43: 0267  let cC2=argb(255,156,0,90)
28/11/2016 11:22:43: 0268  let cC3=argb(64,156,0,90)
28/11/2016 11:22:43: 0269  let cC4=argb(222,156,0,90)
28/11/2016 11:22:43: 0270  let cC5=argb(108,156,0,90)
28/11/2016 11:22:43: 0271  let cC6=argb(192,156,0,90)
28/11/2016 11:22:43: 0272  let cC7=argb(140,156,0,90)
28/11/2016 11:22:43: 0273  let cC8=argb(160,156,0,90)
28/11/2016 11:22:43: 0276  let cCaptionActive=argb(140,156,0,90)
28/11/2016 11:22:43: 0277  let cCaptionActiveFont=white()
28/11/2016 11:22:43: 0279  let cCaptionInActive=RGB(156,0,90)
28/11/2016 11:22:43: 0280  let cCaptionInActiveFont=white()
28/11/2016 11:22:43: 0281  let cLine=RGB(156,0,90)
28/11/2016 11:22:43: 0282  let cBorder=RGB(156,0,90)
28/11/2016 11:22:43: 0284  let cFontDark=RGB(156,0,90)
28/11/2016 11:22:43: 0285  let cFontLight=argb(108,156,0,90)
28/11/2016 11:22:43: 0293  "GB_00_BRANC":
28/11/2016 11:22:43: 0294  LOAD
28/11/2016 11:22:43: 0295    CompanyCode & '-' & BranchCode as CompanyBranchKey,
28/11/2016 11:22:43: 0296    BranchCode,
28/11/2016 11:22:43: 0297    BranchActive,
28/11/2016 11:22:43: 0298    Branch,
28/11/2016 11:22:43: 0299    CompanyCode,
28/11/2016 11:22:43: 0300    AreaCode,
28/11/2016 11:22:43: 0301    RegionCode,
28/11/2016 11:22:43: 0302    BranchShort
28/11/2016 11:22:43: 0303  FROM
28/11/2016 11:22:43: 0304  [QVD\Common\GB_00_BRANC.qvd]
28/11/2016 11:22:43: 0305  (qvd)
28/11/2016 11:22:43:        8 fields found: CompanyBranchKey, BranchCode, BranchActive, Branch, CompanyCode, AreaCode, RegionCode, BranchShort, 108 lines fetched
28/11/2016 11:22:43: 0307  Divisions:
28/11/2016 11:22:43: 0308  left join("GB_00_BRANC")
28/11/2016 11:22:43: 0309  LOAD
28/11/2016 11:22:43: 0310    CompanyCode & '-' & BranchCode as CompanyBranchKey,
28/11/2016 11:22:43: 0311    Division
28/11/2016 11:22:43: 0312  FROM
28/11/2016 11:22:43: 0313  [xls\Divisions.xls]
28/11/2016 11:22:43: 0314  (biff, embedded labels, table is Divisions$)
28/11/2016 11:22:43:        2 fields found: CompanyBranchKey, Division, 98 lines fetched
28/11/2016 11:22:43:       Joining/Keeping
28/11/2016 11:22:43: 0316  "GB_00_GLCOMP":
28/11/2016 11:22:43: 0317  left join ("GB_00_BRANC")
28/11/2016 11:22:43: 0318  LOAD
28/11/2016 11:22:43: 0319    Company,
28/11/2016 11:22:43: 0320    CompanyCode
28/11/2016 11:22:43: 0321  FROM
28/11/2016 11:22:43: 0322  [QVD\Common\GB_00_GLCOMP.qvd]
28/11/2016 11:22:43: 0323  (qvd)
28/11/2016 11:22:43:        2 fields found: Company, CompanyCode, 65 lines fetched
28/11/2016 11:22:43:       Joining/Keeping
28/11/2016 11:22:43: 0325  "CF_00_REGNS":
28/11/2016 11:22:43: 0326  left join ("GB_00_BRANC")
28/11/2016 11:22:43: 0327  LOAD
28/11/2016 11:22:43: 0328    RegionCode,
28/11/2016 11:22:43: 0329    Region
28/11/2016 11:22:43: 0330  FROM
28/11/2016 11:22:43: 0331  [QVD\Common\CF_00_REGNS.qvd]
28/11/2016 11:22:43: 0332  (qvd)
28/11/2016 11:22:43:        2 fields found: RegionCode, Region, 14 lines fetched
28/11/2016 11:22:43:       Joining/Keeping
28/11/2016 11:22:43: 0337  "CF_00_PRODF":
28/11/2016 11:22:43: 0338  LOAD
28/11/2016 11:22:43: 0339    PartNo,
28/11/2016 11:22:43: 0340    PartShortCode,
28/11/2016 11:22:43: 0341    PartShort,
28/11/2016 11:22:43: 0342    '('&PartShortCode&')'& PartShort as ParFull
28/11/2016 11:22:43: 0343  FROM
28/11/2016 11:22:43: 0344  [QVD\Common\CF_00_PRODF.qvd]
28/11/2016 11:22:43: 0345  (qvd)
28/11/2016 11:22:43:        4 fields found: PartNo, PartShortCode, PartShort, ParFull, 93 763 lines fetched
28/11/2016 11:22:44: 0347  "CF_00_PANAL":
28/11/2016 11:22:44: 0348  LOAD
28/11/2016 11:22:44: 0349 
28/11/2016 11:22:44: 0350 
28/11/2016 11:22:44: 0351 
28/11/2016 11:22:44: 0352    P4_Code,
28/11/2016 11:22:44: 0353    Level4
28/11/2016 11:22:44: 0354  FROM
28/11/2016 11:22:44: 0355  [QVD\Common\CF_00_PANAL.qvd]
28/11/2016 11:22:44: 0356  (qvd)
28/11/2016 11:22:44:        2 fields found: P4_Code, Level4, 1 805 lines fetched
28/11/2016 11:22:44: 0358  "CF_00_PANA1":
28/11/2016 11:22:44: 0359 
28/11/2016 11:22:44: 0360  LOAD
28/11/2016 11:22:44: 0361    P1_Code,
28/11/2016 11:22:44: 0362    Level1
28/11/2016 11:22:44: 0363  FROM
28/11/2016 11:22:44: 0364  [QVD\Common\CF_00_PANA1.qvd]
28/11/2016 11:22:44: 0365  (qvd)
28/11/2016 11:22:44:        2 fields found: P1_Code, Level1, 18 lines fetched
28/11/2016 11:22:44: 0367  "CF_00_PANA2":
28/11/2016 11:22:44: 0368 
28/11/2016 11:22:44: 0369  LOAD
28/11/2016 11:22:44: 0370    P2_Code,
28/11/2016 11:22:44: 0371    Level2
28/11/2016 11:22:44: 0372  FROM
28/11/2016 11:22:44: 0373  [QVD\Common\CF_00_PANA2.qvd]
28/11/2016 11:22:44: 0374  (qvd)
28/11/2016 11:22:44:        2 fields found: P2_Code, Level2, 162 lines fetched
28/11/2016 11:22:44: 0376  "CF_00_PANA3":
28/11/2016 11:22:44: 0377 
28/11/2016 11:22:44: 0378  LOAD 
28/11/2016 11:22:44: 0379    P3_Code,
28/11/2016 11:22:44: 0380    Level3
28/11/2016 11:22:44: 0381  FROM
28/11/2016 11:22:44: 0382  [QVD\Common\CF_00_PANA3.qvd]
28/11/2016 11:22:44: 0383  (qvd)
28/11/2016 11:22:44:        2 fields found: P3_Code, Level3, 584 lines fetched
28/11/2016 11:22:44: 0385  "AnalysisGrps":
28/11/2016 11:22:44: 0386  replace
28/11/2016 11:22:44: 0387  load * inline [
28/11/2016 11:22:44: 0388  KeepAnalysisCategory
28/11/2016 11:22:44: 0389  B
28/11/2016 11:22:44: 0390  c
28/11/2016 11:22:44: 0391  C
28/11/2016 11:22:44: 0392  c
28/11/2016 11:22:44: 0393  D
28/11/2016 11:22:44: 0394  d
28/11/2016 11:22:44: 0395  N
28/11/2016 11:22:44: 0396  n
28/11/2016 11:22:44: 0397  ]
28/11/2016 11:22:44:        1 fields found: KeepAnalysisCategory, 8 lines fetched
28/11/2016 11:22:44: 0399  set HidePrefix='_'
28/11/2016 11:22:44: 0400  load * inline [
28/11/2016 11:22:44: 0401  _UsePromoCompany
28/11/2016 11:22:44: 0402  Promo Stores
28/11/2016 11:22:44: 0403  Selected Stores
28/11/2016 11:22:44: 0404  ]
28/11/2016 11:22:44:        1 fields found: _UsePromoCompany, 2 lines fetched
28/11/2016 11:22:44: 0406  load * inline [
28/11/2016 11:22:44: 0407  _UsePromoDates
28/11/2016 11:22:44: 0408  Promo Dates
28/11/2016 11:22:44: 0409  Selected Dates
28/11/2016 11:22:44: 0410  ]
28/11/2016 11:22:44:        1 fields found: _UsePromoDates, 2 lines fetched
28/11/2016 11:22:44: 0412  load * inline [
28/11/2016 11:22:44: 0413  _UsePromoParts
28/11/2016 11:22:44: 0414  Promo Parts
28/11/2016 11:22:44: 0415  Selected Parts
28/11/2016 11:22:44: 0416  ]
28/11/2016 11:22:44:        1 fields found: _UsePromoParts, 2 lines fetched
28/11/2016 11:22:44: 0420  "SO LINES": 
28/11/2016 11:22:44: 0421  LOAD
28/11/2016 11:22:44: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:22:44: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:22:44: 0424    filename() as FN,
28/11/2016 11:22:44: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:22:44: 0426 
28/11/2016 11:22:44: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:22:44: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:22:44: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:22:44: 0430   
28/11/2016 11:22:44: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:22:44: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:22:44: 0433   
28/11/2016 11:22:44: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:22:44: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:22:44: 0436   
28/11/2016 11:22:44: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:22:44: 0438 
28/11/2016 11:22:44: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:22:44: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:22:44: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:22:44: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:22:44: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:22:44: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:22:44: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:22:44: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:22:44: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:22:44: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:22:44: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:22:44: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:22:44: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:22:44: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:22:44: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:22:44: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:22:44: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:22:44: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:22:44: 0457 
28/11/2016 11:22:44: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:22:44: 0459 
28/11/2016 11:22:44: 0460    left(CF_P1_Code,1) &
28/11/2016 11:22:44: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:22:44: 0462   
28/11/2016 11:22:44: 0463    left(CF_P1_Code,1) &
28/11/2016 11:22:44: 0464    left(CF_P2_Code,1) &
28/11/2016 11:22:44: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:22:44: 0466   
28/11/2016 11:22:44: 0467    left(CF_P1_Code,1) &
28/11/2016 11:22:44: 0468    left(CF_P2_Code,1) &
28/11/2016 11:22:44: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:22:44: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:22:44: 0471   
28/11/2016 11:22:44: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:22:44: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:22:44: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:22:44: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:22:44: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:22:44: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:22:44: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:22:44: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:22:44: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:22:44: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:22:44: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:22:44: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:22:44: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:22:44: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:22:44: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:22:44: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:22:44: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:22:44: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:22:44: 0490  FROM
28/11/2016 11:22:44: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:22:44: 0492  (qvd)
28/11/2016 11:22:44: 0493  where
28/11/2016 11:22:44: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:22:44: 0495  and
28/11/2016 11:22:44: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:22:44:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 4 710 362 lines fetched
28/11/2016 11:24:13: 0420  "SO LINES": 
28/11/2016 11:24:13: 0421  LOAD
28/11/2016 11:24:13: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:13: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:13: 0424    filename() as FN,
28/11/2016 11:24:13: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:13: 0426 
28/11/2016 11:24:13: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:13: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:13: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:13: 0430   
28/11/2016 11:24:13: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:13: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:13: 0433   
28/11/2016 11:24:13: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:13: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:13: 0436   
28/11/2016 11:24:13: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:13: 0438 
28/11/2016 11:24:13: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:13: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:13: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:13: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:13: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:13: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:13: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:13: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:13: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:13: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:13: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:13: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:13: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:13: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:13: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:13: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:13: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:13: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:13: 0457 
28/11/2016 11:24:13: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:13: 0459 
28/11/2016 11:24:13: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:13: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:13: 0462   
28/11/2016 11:24:13: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:13: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:13: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:13: 0466   
28/11/2016 11:24:13: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:13: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:13: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:13: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:13: 0471   
28/11/2016 11:24:13: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:13: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:13: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:13: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:13: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:13: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:13: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:13: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:13: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:13: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:13: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:13: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:13: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:13: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:13: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:13: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:13: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:13: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:13: 0490  FROM
28/11/2016 11:24:13: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:13: 0492  (qvd)
28/11/2016 11:24:13: 0493  where
28/11/2016 11:24:13: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:13: 0495  and
28/11/2016 11:24:13: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:13:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 5 063 799 lines fetched
28/11/2016 11:24:20: 0420  "SO LINES": 
28/11/2016 11:24:20: 0421  LOAD
28/11/2016 11:24:20: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:20: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:20: 0424    filename() as FN,
28/11/2016 11:24:20: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:20: 0426 
28/11/2016 11:24:20: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:20: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:20: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:20: 0430   
28/11/2016 11:24:20: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:20: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:20: 0433   
28/11/2016 11:24:20: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:20: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:20: 0436   
28/11/2016 11:24:20: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:20: 0438 
28/11/2016 11:24:20: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:20: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:20: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:20: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:20: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:20: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:20: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:20: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:20: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:20: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:20: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:20: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:20: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:20: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:20: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:20: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:20: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:20: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:20: 0457 
28/11/2016 11:24:20: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:20: 0459 
28/11/2016 11:24:20: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:20: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:20: 0462   
28/11/2016 11:24:20: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:20: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:20: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:20: 0466   
28/11/2016 11:24:20: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:20: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:20: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:20: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:20: 0471   
28/11/2016 11:24:20: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:20: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:20: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:20: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:20: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:20: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:20: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:20: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:20: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:20: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:20: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:20: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:20: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:20: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:20: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:20: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:20: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:20: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:20: 0490  FROM
28/11/2016 11:24:20: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:20: 0492  (qvd)
28/11/2016 11:24:20: 0493  where
28/11/2016 11:24:20: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:20: 0495  and
28/11/2016 11:24:20: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:20:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 5 468 527 lines fetched
28/11/2016 11:24:27: 0420  "SO LINES": 
28/11/2016 11:24:27: 0421  LOAD
28/11/2016 11:24:27: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:27: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:27: 0424    filename() as FN,
28/11/2016 11:24:27: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:27: 0426 
28/11/2016 11:24:27: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:27: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:27: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:27: 0430   
28/11/2016 11:24:27: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:27: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:27: 0433   
28/11/2016 11:24:27: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:27: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:27: 0436   
28/11/2016 11:24:27: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:27: 0438 
28/11/2016 11:24:27: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:27: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:27: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:27: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:27: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:27: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:27: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:27: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:27: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:27: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:27: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:27: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:27: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:27: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:27: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:27: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:27: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:27: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:27: 0457 
28/11/2016 11:24:27: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:27: 0459 
28/11/2016 11:24:27: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:27: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:27: 0462   
28/11/2016 11:24:27: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:27: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:27: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:27: 0466   
28/11/2016 11:24:27: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:27: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:27: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:27: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:27: 0471   
28/11/2016 11:24:27: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:27: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:27: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:27: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:27: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:27: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:27: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:27: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:27: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:27: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:27: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:27: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:27: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:27: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:27: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:27: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:27: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:27: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:27: 0490  FROM
28/11/2016 11:24:27: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:27: 0492  (qvd)
28/11/2016 11:24:27: 0493  where
28/11/2016 11:24:27: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:27: 0495  and
28/11/2016 11:24:27: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:27:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 6 172 611 lines fetched
28/11/2016 11:24:41: 0420  "SO LINES": 
28/11/2016 11:24:41: 0421  LOAD
28/11/2016 11:24:41: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:41: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:41: 0424    filename() as FN,
28/11/2016 11:24:41: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:41: 0426 
28/11/2016 11:24:41: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:41: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:41: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:41: 0430   
28/11/2016 11:24:41: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:41: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:41: 0433   
28/11/2016 11:24:41: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:41: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:41: 0436   
28/11/2016 11:24:41: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:41: 0438 
28/11/2016 11:24:41: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:41: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:41: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:41: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:41: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:41: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:41: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:41: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:41: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:41: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:41: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:41: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:41: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:41: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:41: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:41: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:41: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:41: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:41: 0457 
28/11/2016 11:24:41: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:41: 0459 
28/11/2016 11:24:41: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:41: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:41: 0462   
28/11/2016 11:24:41: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:41: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:41: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:41: 0466   
28/11/2016 11:24:41: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:41: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:41: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:41: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:41: 0471   
28/11/2016 11:24:41: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:41: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:41: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:41: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:41: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:41: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:41: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:41: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:41: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:41: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:41: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:41: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:41: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:41: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:41: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:41: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:41: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:41: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:41: 0490  FROM
28/11/2016 11:24:41: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:41: 0492  (qvd)
28/11/2016 11:24:41: 0493  where
28/11/2016 11:24:41: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:41: 0495  and
28/11/2016 11:24:41: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:41:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 6 209 391 lines fetched
28/11/2016 11:24:42: 0420  "SO LINES": 
28/11/2016 11:24:42: 0421  LOAD
28/11/2016 11:24:42: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:42: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:42: 0424    filename() as FN,
28/11/2016 11:24:42: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:42: 0426 
28/11/2016 11:24:42: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:42: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:42: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:42: 0430   
28/11/2016 11:24:42: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:42: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:42: 0433   
28/11/2016 11:24:42: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:42: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:42: 0436   
28/11/2016 11:24:42: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:42: 0438 
28/11/2016 11:24:42: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:42: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:42: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:42: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:42: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:42: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:42: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:42: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:42: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:42: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:42: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:42: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:42: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:42: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:42: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:42: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:42: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:42: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:42: 0457 
28/11/2016 11:24:42: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:42: 0459 
28/11/2016 11:24:42: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:42: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:42: 0462   
28/11/2016 11:24:42: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:42: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:42: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:42: 0466   
28/11/2016 11:24:42: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:42: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:42: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:42: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:42: 0471   
28/11/2016 11:24:42: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:42: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:42: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:42: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:42: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:42: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:42: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:42: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:42: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:42: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:42: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:42: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:42: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:42: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:42: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:42: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:42: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:42: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:42: 0490  FROM
28/11/2016 11:24:42: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:42: 0492  (qvd)
28/11/2016 11:24:42: 0493  where
28/11/2016 11:24:42: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:42: 0495  and
28/11/2016 11:24:42: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:42:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 6 583 194 lines fetched
28/11/2016 11:24:48: 0420  "SO LINES": 
28/11/2016 11:24:48: 0421  LOAD
28/11/2016 11:24:48: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:48: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:48: 0424    filename() as FN,
28/11/2016 11:24:48: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:48: 0426 
28/11/2016 11:24:48: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:48: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:48: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:48: 0430   
28/11/2016 11:24:48: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:48: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:48: 0433   
28/11/2016 11:24:48: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:48: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:48: 0436   
28/11/2016 11:24:48: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:48: 0438 
28/11/2016 11:24:48: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:48: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:48: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:48: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:48: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:48: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:48: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:48: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:48: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:48: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:48: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:48: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:48: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:48: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:48: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:48: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:48: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:48: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:48: 0457 
28/11/2016 11:24:48: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:48: 0459 
28/11/2016 11:24:48: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:48: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:48: 0462   
28/11/2016 11:24:48: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:48: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:48: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:48: 0466   
28/11/2016 11:24:48: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:48: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:48: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:48: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:48: 0471   
28/11/2016 11:24:48: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:48: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:48: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:48: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:48: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:48: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:48: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:48: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:48: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:48: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:48: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:48: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:48: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:48: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:48: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:48: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:48: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:48: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:48: 0490  FROM
28/11/2016 11:24:48: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:48: 0492  (qvd)
28/11/2016 11:24:48: 0493  where
28/11/2016 11:24:48: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:48: 0495  and
28/11/2016 11:24:48: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:48:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 6 842 629 lines fetched
28/11/2016 11:24:53: 0420  "SO LINES": 
28/11/2016 11:24:53: 0421  LOAD
28/11/2016 11:24:53: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:24:53: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:24:53: 0424    filename() as FN,
28/11/2016 11:24:53: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:24:53: 0426 
28/11/2016 11:24:53: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:24:53: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:24:53: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:24:53: 0430   
28/11/2016 11:24:53: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:24:53: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:24:53: 0433   
28/11/2016 11:24:53: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:24:53: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:24:53: 0436   
28/11/2016 11:24:53: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:24:53: 0438 
28/11/2016 11:24:53: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:24:53: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:24:53: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:24:53: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:24:53: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:24:53: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:24:53: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:24:53: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:24:53: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:24:53: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:24:53: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:24:53: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:24:53: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:24:53: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:24:53: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:24:53: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:24:53: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:24:53: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:24:53: 0457 
28/11/2016 11:24:53: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:24:53: 0459 
28/11/2016 11:24:53: 0460    left(CF_P1_Code,1) &
28/11/2016 11:24:53: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:24:53: 0462   
28/11/2016 11:24:53: 0463    left(CF_P1_Code,1) &
28/11/2016 11:24:53: 0464    left(CF_P2_Code,1) &
28/11/2016 11:24:53: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:24:53: 0466   
28/11/2016 11:24:53: 0467    left(CF_P1_Code,1) &
28/11/2016 11:24:53: 0468    left(CF_P2_Code,1) &
28/11/2016 11:24:53: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:24:53: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:24:53: 0471   
28/11/2016 11:24:53: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:24:53: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:24:53: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:24:53: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:24:53: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:24:53: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:24:53: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:24:53: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:24:53: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:24:53: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:24:53: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:24:53: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:24:53: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:24:53: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:24:53: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:24:53: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:24:53: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:24:53: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:24:53: 0490  FROM
28/11/2016 11:24:53: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:24:53: 0492  (qvd)
28/11/2016 11:24:53: 0493  where
28/11/2016 11:24:53: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:24:53: 0495  and
28/11/2016 11:24:53: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:24:53:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 7 267 220 lines fetched
28/11/2016 11:25:01: 0420  "SO LINES": 
28/11/2016 11:25:01: 0421  LOAD
28/11/2016 11:25:01: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:01: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:01: 0424    filename() as FN,
28/11/2016 11:25:01: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:01: 0426 
28/11/2016 11:25:01: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:01: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:01: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:01: 0430   
28/11/2016 11:25:01: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:01: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:01: 0433   
28/11/2016 11:25:01: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:01: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:01: 0436   
28/11/2016 11:25:01: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:01: 0438 
28/11/2016 11:25:01: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:01: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:01: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:01: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:01: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:01: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:01: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:01: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:01: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:01: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:01: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:01: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:01: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:01: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:01: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:01: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:01: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:01: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:01: 0457 
28/11/2016 11:25:01: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:01: 0459 
28/11/2016 11:25:01: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:01: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:01: 0462   
28/11/2016 11:25:01: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:01: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:01: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:01: 0466   
28/11/2016 11:25:01: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:01: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:01: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:01: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:01: 0471   
28/11/2016 11:25:01: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:01: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:01: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:01: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:01: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:01: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:01: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:01: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:01: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:01: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:01: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:01: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:01: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:01: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:01: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:01: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:01: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:01: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:01: 0490  FROM
28/11/2016 11:25:01: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:01: 0492  (qvd)
28/11/2016 11:25:01: 0493  where
28/11/2016 11:25:01: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:01: 0495  and
28/11/2016 11:25:01: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:01:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 7 671 427 lines fetched
28/11/2016 11:25:07: 0420  "SO LINES": 
28/11/2016 11:25:07: 0421  LOAD
28/11/2016 11:25:07: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:07: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:07: 0424    filename() as FN,
28/11/2016 11:25:07: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:07: 0426 
28/11/2016 11:25:07: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:07: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:07: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:07: 0430   
28/11/2016 11:25:07: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:07: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:07: 0433   
28/11/2016 11:25:07: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:07: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:07: 0436   
28/11/2016 11:25:07: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:07: 0438 
28/11/2016 11:25:07: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:07: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:07: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:07: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:07: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:07: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:07: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:07: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:07: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:07: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:07: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:07: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:07: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:07: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:07: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:07: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:07: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:07: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:07: 0457 
28/11/2016 11:25:07: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:07: 0459 
28/11/2016 11:25:07: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:07: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:07: 0462   
28/11/2016 11:25:07: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:07: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:07: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:07: 0466   
28/11/2016 11:25:07: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:07: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:07: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:07: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:07: 0471   
28/11/2016 11:25:07: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:07: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:07: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:07: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:07: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:07: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:07: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:07: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:07: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:07: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:07: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:07: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:07: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:07: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:07: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:07: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:07: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:07: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:07: 0490  FROM
28/11/2016 11:25:07: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:07: 0492  (qvd)
28/11/2016 11:25:07: 0493  where
28/11/2016 11:25:07: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:07: 0495  and
28/11/2016 11:25:07: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:07:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 7 671 427 lines fetched
28/11/2016 11:25:08: 0420  "SO LINES": 
28/11/2016 11:25:08: 0421  LOAD
28/11/2016 11:25:08: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:08: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:08: 0424    filename() as FN,
28/11/2016 11:25:08: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:08: 0426 
28/11/2016 11:25:08: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:08: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:08: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:08: 0430   
28/11/2016 11:25:08: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:08: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:08: 0433   
28/11/2016 11:25:08: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:08: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:08: 0436   
28/11/2016 11:25:08: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:08: 0438 
28/11/2016 11:25:08: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:08: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:08: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:08: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:08: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:08: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:08: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:08: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:08: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:08: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:08: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:08: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:08: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:08: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:08: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:08: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:08: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:08: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:08: 0457 
28/11/2016 11:25:08: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:08: 0459 
28/11/2016 11:25:08: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:08: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:08: 0462   
28/11/2016 11:25:08: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:08: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:08: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:08: 0466   
28/11/2016 11:25:08: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:08: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:08: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:08: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:08: 0471   
28/11/2016 11:25:08: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:08: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:08: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:08: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:08: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:08: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:08: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:08: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:08: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:08: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:08: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:08: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:08: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:08: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:08: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:08: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:08: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:08: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:08: 0490  FROM
28/11/2016 11:25:08: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:08: 0492  (qvd)
28/11/2016 11:25:08: 0493  where
28/11/2016 11:25:08: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:08: 0495  and
28/11/2016 11:25:08: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:08:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 8 503 746 lines fetched
28/11/2016 11:25:22: 0420  "SO LINES": 
28/11/2016 11:25:22: 0421  LOAD
28/11/2016 11:25:22: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:22: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:22: 0424    filename() as FN,
28/11/2016 11:25:22: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:22: 0426 
28/11/2016 11:25:22: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:22: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:22: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:22: 0430   
28/11/2016 11:25:22: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:22: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:22: 0433   
28/11/2016 11:25:22: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:22: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:22: 0436   
28/11/2016 11:25:22: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:22: 0438 
28/11/2016 11:25:22: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:22: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:22: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:22: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:22: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:22: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:22: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:22: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:22: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:22: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:22: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:22: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:22: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:22: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:22: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:22: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:22: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:22: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:22: 0457 
28/11/2016 11:25:22: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:22: 0459 
28/11/2016 11:25:22: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:22: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:22: 0462   
28/11/2016 11:25:22: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:22: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:22: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:22: 0466   
28/11/2016 11:25:22: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:22: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:22: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:22: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:22: 0471   
28/11/2016 11:25:22: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:22: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:22: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:22: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:22: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:22: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:22: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:22: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:22: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:22: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:22: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:22: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:22: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:22: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:22: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:22: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:22: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:22: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:22: 0490  FROM
28/11/2016 11:25:22: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:22: 0492  (qvd)
28/11/2016 11:25:22: 0493  where
28/11/2016 11:25:22: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:22: 0495  and
28/11/2016 11:25:22: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:22:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 8 503 746 lines fetched
28/11/2016 11:25:22: 0420  "SO LINES": 
28/11/2016 11:25:22: 0421  LOAD
28/11/2016 11:25:22: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:22: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:22: 0424    filename() as FN,
28/11/2016 11:25:22: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:22: 0426 
28/11/2016 11:25:22: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:22: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:22: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:22: 0430   
28/11/2016 11:25:22: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:22: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:22: 0433   
28/11/2016 11:25:22: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:22: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:22: 0436   
28/11/2016 11:25:22: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:22: 0438 
28/11/2016 11:25:22: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:22: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:22: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:22: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:22: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:22: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:22: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:22: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:22: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:22: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:22: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:22: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:22: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:22: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:22: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:22: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:22: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:22: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:22: 0457 
28/11/2016 11:25:22: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:22: 0459 
28/11/2016 11:25:22: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:22: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:22: 0462   
28/11/2016 11:25:22: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:22: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:22: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:22: 0466   
28/11/2016 11:25:22: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:22: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:22: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:22: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:22: 0471   
28/11/2016 11:25:22: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:22: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:22: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:22: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:22: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:22: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:22: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:22: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:22: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:22: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:22: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:22: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:22: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:22: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:22: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:22: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:22: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:22: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:22: 0490  FROM
28/11/2016 11:25:22: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:22: 0492  (qvd)
28/11/2016 11:25:22: 0493  where
28/11/2016 11:25:22: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:22: 0495  and
28/11/2016 11:25:22: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:22:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 9 569 221 lines fetched
28/11/2016 11:25:41: 0420  "SO LINES": 
28/11/2016 11:25:41: 0421  LOAD
28/11/2016 11:25:41: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:41: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:41: 0424    filename() as FN,
28/11/2016 11:25:41: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:41: 0426 
28/11/2016 11:25:41: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:41: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:41: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:41: 0430   
28/11/2016 11:25:41: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:41: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:41: 0433   
28/11/2016 11:25:41: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:41: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:41: 0436   
28/11/2016 11:25:41: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:41: 0438 
28/11/2016 11:25:41: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:41: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:41: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:41: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:41: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:41: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:41: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:41: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:41: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:41: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:41: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:41: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:41: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:41: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:41: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:41: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:41: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:41: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:41: 0457 
28/11/2016 11:25:41: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:41: 0459 
28/11/2016 11:25:41: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:41: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:41: 0462   
28/11/2016 11:25:41: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:41: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:41: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:41: 0466   
28/11/2016 11:25:41: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:41: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:41: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:41: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:41: 0471   
28/11/2016 11:25:41: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:41: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:41: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:41: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:41: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:41: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:41: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:41: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:41: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:41: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:41: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:41: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:41: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:41: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:41: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:41: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:41: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:41: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:41: 0490  FROM
28/11/2016 11:25:41: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:41: 0492  (qvd)
28/11/2016 11:25:41: 0493  where
28/11/2016 11:25:41: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:41: 0495  and
28/11/2016 11:25:41: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:41:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 10 001 328 lines fetched
28/11/2016 11:25:49: 0420  "SO LINES": 
28/11/2016 11:25:49: 0421  LOAD
28/11/2016 11:25:49: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:49: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:49: 0424    filename() as FN,
28/11/2016 11:25:49: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:49: 0426 
28/11/2016 11:25:49: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:49: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:49: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:49: 0430   
28/11/2016 11:25:49: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:49: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:49: 0433   
28/11/2016 11:25:49: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:49: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:49: 0436   
28/11/2016 11:25:49: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:49: 0438 
28/11/2016 11:25:49: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:49: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:49: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:49: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:49: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:49: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:49: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:49: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:49: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:49: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:49: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:49: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:49: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:49: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:49: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:49: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:49: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:49: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:49: 0457 
28/11/2016 11:25:49: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:49: 0459 
28/11/2016 11:25:49: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:49: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:49: 0462   
28/11/2016 11:25:49: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:49: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:49: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:49: 0466   
28/11/2016 11:25:49: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:49: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:49: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:49: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:49: 0471   
28/11/2016 11:25:49: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:49: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:49: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:49: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:49: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:49: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:49: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:49: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:49: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:49: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:49: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:49: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:49: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:49: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:49: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:49: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:49: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:49: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:49: 0490  FROM
28/11/2016 11:25:49: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:49: 0492  (qvd)
28/11/2016 11:25:49: 0493  where
28/11/2016 11:25:49: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:49: 0495  and
28/11/2016 11:25:49: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:49:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 10 390 879 lines fetched
28/11/2016 11:25:57: 0420  "SO LINES": 
28/11/2016 11:25:57: 0421  LOAD
28/11/2016 11:25:57: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:25:57: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:25:57: 0424    filename() as FN,
28/11/2016 11:25:57: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:25:57: 0426 
28/11/2016 11:25:57: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:25:57: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:25:57: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:25:57: 0430   
28/11/2016 11:25:57: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:25:57: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:25:57: 0433   
28/11/2016 11:25:57: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:25:57: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:25:57: 0436   
28/11/2016 11:25:57: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:25:57: 0438 
28/11/2016 11:25:57: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:25:57: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:25:57: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:25:57: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:25:57: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:25:57: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:25:57: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:25:57: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:25:57: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:25:57: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:25:57: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:25:57: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:25:57: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:25:57: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:25:57: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:25:57: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:25:57: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:25:57: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:25:57: 0457 
28/11/2016 11:25:57: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:25:57: 0459 
28/11/2016 11:25:57: 0460    left(CF_P1_Code,1) &
28/11/2016 11:25:57: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:25:57: 0462   
28/11/2016 11:25:57: 0463    left(CF_P1_Code,1) &
28/11/2016 11:25:57: 0464    left(CF_P2_Code,1) &
28/11/2016 11:25:57: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:25:57: 0466   
28/11/2016 11:25:57: 0467    left(CF_P1_Code,1) &
28/11/2016 11:25:57: 0468    left(CF_P2_Code,1) &
28/11/2016 11:25:57: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:25:57: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:25:57: 0471   
28/11/2016 11:25:57: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:25:57: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:25:57: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:25:57: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:25:57: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:25:57: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:25:57: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:25:57: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:25:57: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:25:57: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:25:57: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:25:57: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:25:57: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:25:57: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:25:57: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:25:57: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:25:57: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:25:57: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:25:57: 0490  FROM
28/11/2016 11:25:57: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:25:57: 0492  (qvd)
28/11/2016 11:25:57: 0493  where
28/11/2016 11:25:57: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:25:57: 0495  and
28/11/2016 11:25:57: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:25:57:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 10 705 325 lines fetched
28/11/2016 11:26:04: 0420  "SO LINES": 
28/11/2016 11:26:04: 0421  LOAD
28/11/2016 11:26:04: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:04: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:04: 0424    filename() as FN,
28/11/2016 11:26:04: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:04: 0426 
28/11/2016 11:26:04: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:04: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:04: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:04: 0430   
28/11/2016 11:26:04: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:04: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:04: 0433   
28/11/2016 11:26:04: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:04: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:04: 0436   
28/11/2016 11:26:04: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:04: 0438 
28/11/2016 11:26:04: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:04: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:04: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:04: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:04: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:04: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:04: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:04: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:04: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:04: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:04: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:04: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:04: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:04: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:04: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:04: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:04: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:04: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:04: 0457 
28/11/2016 11:26:04: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:04: 0459 
28/11/2016 11:26:04: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:04: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:04: 0462   
28/11/2016 11:26:04: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:04: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:04: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:04: 0466   
28/11/2016 11:26:04: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:04: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:04: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:04: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:04: 0471   
28/11/2016 11:26:04: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:04: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:04: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:04: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:04: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:04: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:04: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:04: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:04: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:04: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:04: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:04: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:04: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:04: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:04: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:04: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:04: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:04: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:04: 0490  FROM
28/11/2016 11:26:04: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:04: 0492  (qvd)
28/11/2016 11:26:04: 0493  where
28/11/2016 11:26:04: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:04: 0495  and
28/11/2016 11:26:04: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:04:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 11 086 459 lines fetched
28/11/2016 11:26:11: 0420  "SO LINES": 
28/11/2016 11:26:11: 0421  LOAD
28/11/2016 11:26:11: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:11: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:11: 0424    filename() as FN,
28/11/2016 11:26:11: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:11: 0426 
28/11/2016 11:26:11: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:11: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:11: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:11: 0430   
28/11/2016 11:26:11: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:11: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:11: 0433   
28/11/2016 11:26:11: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:11: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:11: 0436   
28/11/2016 11:26:11: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:11: 0438 
28/11/2016 11:26:11: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:11: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:11: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:11: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:11: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:11: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:11: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:11: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:11: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:11: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:11: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:11: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:11: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:11: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:11: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:11: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:11: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:11: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:11: 0457 
28/11/2016 11:26:11: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:11: 0459 
28/11/2016 11:26:11: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:11: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:11: 0462   
28/11/2016 11:26:11: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:11: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:11: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:11: 0466   
28/11/2016 11:26:11: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:11: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:11: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:11: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:11: 0471   
28/11/2016 11:26:11: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:11: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:11: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:11: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:11: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:11: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:11: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:11: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:11: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:11: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:11: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:11: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:11: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:11: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:11: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:11: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:11: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:11: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:11: 0490  FROM
28/11/2016 11:26:11: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:11: 0492  (qvd)
28/11/2016 11:26:11: 0493  where
28/11/2016 11:26:11: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:11: 0495  and
28/11/2016 11:26:11: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:11:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 11 377 596 lines fetched
28/11/2016 11:26:16: 0420  "SO LINES": 
28/11/2016 11:26:16: 0421  LOAD
28/11/2016 11:26:16: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:16: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:16: 0424    filename() as FN,
28/11/2016 11:26:16: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:16: 0426 
28/11/2016 11:26:16: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:16: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:16: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:16: 0430   
28/11/2016 11:26:16: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:16: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:16: 0433   
28/11/2016 11:26:16: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:16: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:16: 0436   
28/11/2016 11:26:16: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:16: 0438 
28/11/2016 11:26:16: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:16: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:16: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:16: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:16: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:16: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:16: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:16: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:16: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:16: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:16: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:16: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:16: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:16: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:16: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:16: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:16: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:16: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:16: 0457 
28/11/2016 11:26:16: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:16: 0459 
28/11/2016 11:26:16: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:16: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:16: 0462   
28/11/2016 11:26:16: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:16: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:16: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:16: 0466   
28/11/2016 11:26:16: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:16: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:16: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:16: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:16: 0471   
28/11/2016 11:26:16: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:16: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:16: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:16: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:16: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:16: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:16: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:16: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:16: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:16: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:16: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:16: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:16: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:16: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:16: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:16: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:16: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:16: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:16: 0490  FROM
28/11/2016 11:26:16: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:16: 0492  (qvd)
28/11/2016 11:26:16: 0493  where
28/11/2016 11:26:16: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:16: 0495  and
28/11/2016 11:26:16: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:16:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 12 051 259 lines fetched
28/11/2016 11:26:29: 0420  "SO LINES": 
28/11/2016 11:26:29: 0421  LOAD
28/11/2016 11:26:29: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:29: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:29: 0424    filename() as FN,
28/11/2016 11:26:29: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:29: 0426 
28/11/2016 11:26:29: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:29: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:29: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:29: 0430   
28/11/2016 11:26:29: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:29: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:29: 0433   
28/11/2016 11:26:29: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:29: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:29: 0436   
28/11/2016 11:26:29: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:29: 0438 
28/11/2016 11:26:29: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:29: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:29: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:29: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:29: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:29: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:29: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:29: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:29: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:29: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:29: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:29: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:29: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:29: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:29: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:29: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:29: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:29: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:29: 0457 
28/11/2016 11:26:29: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:29: 0459 
28/11/2016 11:26:29: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:29: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:29: 0462   
28/11/2016 11:26:29: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:29: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:29: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:29: 0466   
28/11/2016 11:26:29: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:29: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:29: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:29: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:29: 0471   
28/11/2016 11:26:29: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:29: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:29: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:29: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:29: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:29: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:29: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:29: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:29: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:29: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:29: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:29: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:29: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:29: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:29: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:29: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:29: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:29: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:29: 0490  FROM
28/11/2016 11:26:29: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:29: 0492  (qvd)
28/11/2016 11:26:29: 0493  where
28/11/2016 11:26:29: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:29: 0495  and
28/11/2016 11:26:29: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:29:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 12 602 602 lines fetched
28/11/2016 11:26:40: 0420  "SO LINES": 
28/11/2016 11:26:40: 0421  LOAD
28/11/2016 11:26:40: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:40: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:40: 0424    filename() as FN,
28/11/2016 11:26:40: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:40: 0426 
28/11/2016 11:26:40: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:40: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:40: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:40: 0430   
28/11/2016 11:26:40: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:40: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:40: 0433   
28/11/2016 11:26:40: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:40: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:40: 0436   
28/11/2016 11:26:40: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:40: 0438 
28/11/2016 11:26:40: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:40: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:40: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:40: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:40: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:40: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:40: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:40: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:40: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:40: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:40: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:40: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:40: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:40: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:40: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:40: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:40: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:40: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:40: 0457 
28/11/2016 11:26:40: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:40: 0459 
28/11/2016 11:26:40: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:40: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:40: 0462   
28/11/2016 11:26:40: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:40: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:40: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:40: 0466   
28/11/2016 11:26:40: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:40: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:40: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:40: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:40: 0471   
28/11/2016 11:26:40: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:40: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:40: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:40: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:40: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:40: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:40: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:40: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:40: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:40: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:40: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:40: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:40: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:40: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:40: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:40: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:40: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:40: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:40: 0490  FROM
28/11/2016 11:26:40: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:40: 0492  (qvd)
28/11/2016 11:26:40: 0493  where
28/11/2016 11:26:40: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:40: 0495  and
28/11/2016 11:26:40: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:40:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 13 293 611 lines fetched
28/11/2016 11:26:52: 0420  "SO LINES": 
28/11/2016 11:26:52: 0421  LOAD
28/11/2016 11:26:52: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:52: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:52: 0424    filename() as FN,
28/11/2016 11:26:52: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:52: 0426 
28/11/2016 11:26:52: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:52: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:52: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:52: 0430   
28/11/2016 11:26:52: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:52: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:52: 0433   
28/11/2016 11:26:52: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:52: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:52: 0436   
28/11/2016 11:26:52: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:52: 0438 
28/11/2016 11:26:52: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:52: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:52: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:52: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:52: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:52: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:52: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:52: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:52: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:52: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:52: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:52: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:52: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:52: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:52: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:52: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:52: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:52: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:52: 0457 
28/11/2016 11:26:52: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:52: 0459 
28/11/2016 11:26:52: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:52: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:52: 0462   
28/11/2016 11:26:52: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:52: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:52: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:52: 0466   
28/11/2016 11:26:52: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:52: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:52: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:52: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:52: 0471   
28/11/2016 11:26:52: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:52: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:52: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:52: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:52: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:52: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:52: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:52: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:52: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:52: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:52: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:52: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:52: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:52: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:52: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:52: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:52: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:52: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:52: 0490  FROM
28/11/2016 11:26:52: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:52: 0492  (qvd)
28/11/2016 11:26:52: 0493  where
28/11/2016 11:26:52: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:52: 0495  and
28/11/2016 11:26:52: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:52:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 13 342 531 lines fetched
28/11/2016 11:26:53: 0420  "SO LINES": 
28/11/2016 11:26:53: 0421  LOAD
28/11/2016 11:26:53: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:53: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:53: 0424    filename() as FN,
28/11/2016 11:26:53: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:53: 0426 
28/11/2016 11:26:53: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:53: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:53: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:53: 0430   
28/11/2016 11:26:53: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:53: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:53: 0433   
28/11/2016 11:26:53: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:53: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:53: 0436   
28/11/2016 11:26:53: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:53: 0438 
28/11/2016 11:26:53: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:53: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:53: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:53: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:53: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:53: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:53: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:53: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:53: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:53: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:53: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:53: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:53: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:53: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:53: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:53: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:53: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:53: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:53: 0457 
28/11/2016 11:26:53: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:53: 0459 
28/11/2016 11:26:53: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:53: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:53: 0462   
28/11/2016 11:26:53: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:53: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:53: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:53: 0466   
28/11/2016 11:26:53: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:53: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:53: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:53: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:53: 0471   
28/11/2016 11:26:53: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:53: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:53: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:53: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:53: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:53: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:53: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:53: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:53: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:53: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:53: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:53: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:53: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:53: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:53: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:53: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:53: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:53: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:53: 0490  FROM
28/11/2016 11:26:53: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:53: 0492  (qvd)
28/11/2016 11:26:53: 0493  where
28/11/2016 11:26:53: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:53: 0495  and
28/11/2016 11:26:53: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:53:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 13 636 929 lines fetched
28/11/2016 11:26:58: 0420  "SO LINES": 
28/11/2016 11:26:58: 0421  LOAD
28/11/2016 11:26:58: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:26:58: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:26:58: 0424    filename() as FN,
28/11/2016 11:26:58: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:26:58: 0426 
28/11/2016 11:26:58: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:26:58: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:26:58: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:26:58: 0430   
28/11/2016 11:26:58: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:26:58: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:26:58: 0433   
28/11/2016 11:26:58: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:26:58: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:26:58: 0436   
28/11/2016 11:26:58: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:26:58: 0438 
28/11/2016 11:26:58: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:26:58: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:26:58: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:26:58: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:26:58: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:26:58: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:26:58: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:26:58: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:26:58: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:26:58: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:26:58: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:26:58: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:26:58: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:26:58: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:26:58: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:26:58: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:26:58: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:26:58: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:26:58: 0457 
28/11/2016 11:26:58: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:26:58: 0459 
28/11/2016 11:26:58: 0460    left(CF_P1_Code,1) &
28/11/2016 11:26:58: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:26:58: 0462   
28/11/2016 11:26:58: 0463    left(CF_P1_Code,1) &
28/11/2016 11:26:58: 0464    left(CF_P2_Code,1) &
28/11/2016 11:26:58: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:26:58: 0466   
28/11/2016 11:26:58: 0467    left(CF_P1_Code,1) &
28/11/2016 11:26:58: 0468    left(CF_P2_Code,1) &
28/11/2016 11:26:58: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:26:58: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:26:58: 0471   
28/11/2016 11:26:58: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:26:58: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:26:58: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:26:58: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:26:58: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:26:58: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:26:58: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:26:58: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:26:58: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:26:58: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:26:58: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:26:58: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:26:58: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:26:58: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:26:58: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:26:58: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:26:58: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:26:58: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:26:58: 0490  FROM
28/11/2016 11:26:58: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:26:58: 0492  (qvd)
28/11/2016 11:26:58: 0493  where
28/11/2016 11:26:58: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:26:58: 0495  and
28/11/2016 11:26:58: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:26:58:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 14 386 648 lines fetched
28/11/2016 11:27:12: 0420  "SO LINES": 
28/11/2016 11:27:12: 0421  LOAD
28/11/2016 11:27:12: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:12: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:12: 0424    filename() as FN,
28/11/2016 11:27:12: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:12: 0426 
28/11/2016 11:27:12: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:12: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:12: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:12: 0430   
28/11/2016 11:27:12: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:12: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:12: 0433   
28/11/2016 11:27:12: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:12: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:12: 0436   
28/11/2016 11:27:12: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:12: 0438 
28/11/2016 11:27:12: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:12: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:12: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:12: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:12: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:12: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:12: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:12: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:12: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:12: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:12: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:12: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:12: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:12: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:12: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:12: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:12: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:12: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:12: 0457 
28/11/2016 11:27:12: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:12: 0459 
28/11/2016 11:27:12: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:12: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:12: 0462   
28/11/2016 11:27:12: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:12: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:12: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:12: 0466   
28/11/2016 11:27:12: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:12: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:12: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:12: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:12: 0471   
28/11/2016 11:27:12: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:12: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:12: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:12: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:12: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:12: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:12: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:12: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:12: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:12: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:12: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:12: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:12: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:12: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:12: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:12: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:12: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:12: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:12: 0490  FROM
28/11/2016 11:27:12: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:12: 0492  (qvd)
28/11/2016 11:27:12: 0493  where
28/11/2016 11:27:12: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:12: 0495  and
28/11/2016 11:27:12: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:12:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 14 690 986 lines fetched
28/11/2016 11:27:17: 0420  "SO LINES": 
28/11/2016 11:27:17: 0421  LOAD
28/11/2016 11:27:17: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:17: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:17: 0424    filename() as FN,
28/11/2016 11:27:17: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:17: 0426 
28/11/2016 11:27:17: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:17: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:17: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:17: 0430   
28/11/2016 11:27:17: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:17: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:17: 0433   
28/11/2016 11:27:17: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:17: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:17: 0436   
28/11/2016 11:27:17: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:17: 0438 
28/11/2016 11:27:17: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:17: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:17: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:17: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:17: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:17: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:17: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:17: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:17: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:17: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:17: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:17: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:17: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:17: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:17: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:17: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:17: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:17: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:17: 0457 
28/11/2016 11:27:17: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:17: 0459 
28/11/2016 11:27:17: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:17: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:17: 0462   
28/11/2016 11:27:17: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:17: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:17: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:17: 0466   
28/11/2016 11:27:17: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:17: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:17: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:17: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:17: 0471   
28/11/2016 11:27:17: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:17: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:17: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:17: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:17: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:17: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:17: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:17: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:17: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:17: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:17: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:17: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:17: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:17: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:17: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:17: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:17: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:17: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:17: 0490  FROM
28/11/2016 11:27:17: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:17: 0492  (qvd)
28/11/2016 11:27:17: 0493  where
28/11/2016 11:27:17: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:17: 0495  and
28/11/2016 11:27:17: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:17:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 14 690 986 lines fetched
28/11/2016 11:27:18: 0420  "SO LINES": 
28/11/2016 11:27:18: 0421  LOAD
28/11/2016 11:27:18: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:18: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:18: 0424    filename() as FN,
28/11/2016 11:27:18: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:18: 0426 
28/11/2016 11:27:18: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:18: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:18: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:18: 0430   
28/11/2016 11:27:18: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:18: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:18: 0433   
28/11/2016 11:27:18: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:18: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:18: 0436   
28/11/2016 11:27:18: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:18: 0438 
28/11/2016 11:27:18: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:18: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:18: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:18: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:18: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:18: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:18: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:18: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:18: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:18: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:18: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:18: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:18: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:18: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:18: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:18: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:18: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:18: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:18: 0457 
28/11/2016 11:27:18: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:18: 0459 
28/11/2016 11:27:18: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:18: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:18: 0462   
28/11/2016 11:27:18: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:18: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:18: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:18: 0466   
28/11/2016 11:27:18: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:18: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:18: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:18: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:18: 0471   
28/11/2016 11:27:18: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:18: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:18: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:18: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:18: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:18: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:18: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:18: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:18: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:18: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:18: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:18: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:18: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:18: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:18: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:18: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:18: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:18: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:18: 0490  FROM
28/11/2016 11:27:18: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:18: 0492  (qvd)
28/11/2016 11:27:18: 0493  where
28/11/2016 11:27:18: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:18: 0495  and
28/11/2016 11:27:18: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:18:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 15 085 947 lines fetched
28/11/2016 11:27:25: 0420  "SO LINES": 
28/11/2016 11:27:25: 0421  LOAD
28/11/2016 11:27:25: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:25: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:25: 0424    filename() as FN,
28/11/2016 11:27:25: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:25: 0426 
28/11/2016 11:27:25: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:25: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:25: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:25: 0430   
28/11/2016 11:27:25: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:25: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:25: 0433   
28/11/2016 11:27:25: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:25: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:25: 0436   
28/11/2016 11:27:25: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:25: 0438 
28/11/2016 11:27:25: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:25: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:25: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:25: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:25: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:25: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:25: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:25: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:25: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:25: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:25: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:25: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:25: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:25: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:25: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:25: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:25: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:25: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:25: 0457 
28/11/2016 11:27:25: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:25: 0459 
28/11/2016 11:27:25: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:25: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:25: 0462   
28/11/2016 11:27:25: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:25: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:25: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:25: 0466   
28/11/2016 11:27:25: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:25: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:25: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:25: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:25: 0471   
28/11/2016 11:27:25: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:25: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:25: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:25: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:25: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:25: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:25: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:25: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:25: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:25: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:25: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:25: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:25: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:25: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:25: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:25: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:25: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:25: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:25: 0490  FROM
28/11/2016 11:27:25: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:25: 0492  (qvd)
28/11/2016 11:27:25: 0493  where
28/11/2016 11:27:25: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:25: 0495  and
28/11/2016 11:27:25: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:25:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 15 243 158 lines fetched
28/11/2016 11:27:29: 0420  "SO LINES": 
28/11/2016 11:27:29: 0421  LOAD
28/11/2016 11:27:29: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:29: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:29: 0424    filename() as FN,
28/11/2016 11:27:29: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:29: 0426 
28/11/2016 11:27:29: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:29: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:29: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:29: 0430   
28/11/2016 11:27:29: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:29: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:29: 0433   
28/11/2016 11:27:29: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:29: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:29: 0436   
28/11/2016 11:27:29: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:29: 0438 
28/11/2016 11:27:29: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:29: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:29: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:29: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:29: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:29: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:29: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:29: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:29: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:29: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:29: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:29: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:29: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:29: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:29: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:29: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:29: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:29: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:29: 0457 
28/11/2016 11:27:29: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:29: 0459 
28/11/2016 11:27:29: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:29: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:29: 0462   
28/11/2016 11:27:29: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:29: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:29: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:29: 0466   
28/11/2016 11:27:29: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:29: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:29: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:29: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:29: 0471   
28/11/2016 11:27:29: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:29: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:29: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:29: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:29: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:29: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:29: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:29: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:29: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:29: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:29: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:29: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:29: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:29: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:29: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:29: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:29: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:29: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:29: 0490  FROM
28/11/2016 11:27:29: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:29: 0492  (qvd)
28/11/2016 11:27:29: 0493  where
28/11/2016 11:27:29: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:29: 0495  and
28/11/2016 11:27:29: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:29:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 15 981 053 lines fetched
28/11/2016 11:27:41: 0420  "SO LINES": 
28/11/2016 11:27:41: 0421  LOAD
28/11/2016 11:27:41: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:41: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:41: 0424    filename() as FN,
28/11/2016 11:27:41: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:41: 0426 
28/11/2016 11:27:41: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:41: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:41: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:41: 0430   
28/11/2016 11:27:41: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:41: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:41: 0433   
28/11/2016 11:27:41: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:41: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:41: 0436   
28/11/2016 11:27:41: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:41: 0438 
28/11/2016 11:27:41: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:41: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:41: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:41: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:41: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:41: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:41: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:41: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:41: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:41: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:41: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:41: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:41: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:41: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:41: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:41: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:41: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:41: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:41: 0457 
28/11/2016 11:27:41: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:41: 0459 
28/11/2016 11:27:41: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:41: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:41: 0462   
28/11/2016 11:27:41: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:41: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:41: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:41: 0466   
28/11/2016 11:27:41: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:41: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:41: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:41: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:41: 0471   
28/11/2016 11:27:41: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:41: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:41: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:41: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:41: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:41: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:41: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:41: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:41: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:41: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:41: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:41: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:41: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:41: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:41: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:41: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:41: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:41: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:41: 0490  FROM
28/11/2016 11:27:41: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:41: 0492  (qvd)
28/11/2016 11:27:41: 0493  where
28/11/2016 11:27:41: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:41: 0495  and
28/11/2016 11:27:41: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:41:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 16 547 025 lines fetched
28/11/2016 11:27:50: 0420  "SO LINES": 
28/11/2016 11:27:50: 0421  LOAD
28/11/2016 11:27:50: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:50: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:50: 0424    filename() as FN,
28/11/2016 11:27:50: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:50: 0426 
28/11/2016 11:27:50: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:50: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:50: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:50: 0430   
28/11/2016 11:27:50: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:50: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:50: 0433   
28/11/2016 11:27:50: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:50: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:50: 0436   
28/11/2016 11:27:50: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:50: 0438 
28/11/2016 11:27:50: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:50: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:50: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:50: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:50: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:50: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:50: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:50: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:50: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:50: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:50: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:50: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:50: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:50: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:50: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:50: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:50: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:50: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:50: 0457 
28/11/2016 11:27:50: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:50: 0459 
28/11/2016 11:27:50: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:50: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:50: 0462   
28/11/2016 11:27:50: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:50: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:50: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:50: 0466   
28/11/2016 11:27:50: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:50: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:50: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:50: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:50: 0471   
28/11/2016 11:27:50: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:50: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:50: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:50: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:50: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:50: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:50: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:50: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:50: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:50: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:50: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:50: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:50: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:50: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:50: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:50: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:50: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:50: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:50: 0490  FROM
28/11/2016 11:27:50: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:50: 0492  (qvd)
28/11/2016 11:27:50: 0493  where
28/11/2016 11:27:50: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:50: 0495  and
28/11/2016 11:27:50: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:50:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 16 887 347 lines fetched
28/11/2016 11:27:56: 0420  "SO LINES": 
28/11/2016 11:27:56: 0421  LOAD
28/11/2016 11:27:56: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:27:56: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:27:56: 0424    filename() as FN,
28/11/2016 11:27:56: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:27:56: 0426 
28/11/2016 11:27:56: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:27:56: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:27:56: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:27:56: 0430   
28/11/2016 11:27:56: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:27:56: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:27:56: 0433   
28/11/2016 11:27:56: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:27:56: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:27:56: 0436   
28/11/2016 11:27:56: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:27:56: 0438 
28/11/2016 11:27:56: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:27:56: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:27:56: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:27:56: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:27:56: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:27:56: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:27:56: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:27:56: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:27:56: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:27:56: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:27:56: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:27:56: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:27:56: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:27:56: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:27:56: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:27:56: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:27:56: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:27:56: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:27:56: 0457 
28/11/2016 11:27:56: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:27:56: 0459 
28/11/2016 11:27:56: 0460    left(CF_P1_Code,1) &
28/11/2016 11:27:56: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:27:56: 0462   
28/11/2016 11:27:56: 0463    left(CF_P1_Code,1) &
28/11/2016 11:27:56: 0464    left(CF_P2_Code,1) &
28/11/2016 11:27:56: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:27:56: 0466   
28/11/2016 11:27:56: 0467    left(CF_P1_Code,1) &
28/11/2016 11:27:56: 0468    left(CF_P2_Code,1) &
28/11/2016 11:27:56: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:27:56: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:27:56: 0471   
28/11/2016 11:27:56: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:27:56: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:27:56: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:27:56: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:27:56: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:27:56: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:27:56: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:27:56: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:27:56: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:27:56: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:27:56: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:27:56: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:27:56: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:27:56: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:27:56: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:27:56: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:27:56: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:27:56: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:27:56: 0490  FROM
28/11/2016 11:27:56: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:27:56: 0492  (qvd)
28/11/2016 11:27:56: 0493  where
28/11/2016 11:27:56: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:27:56: 0495  and
28/11/2016 11:27:56: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:27:56:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 17 482 878 lines fetched
28/11/2016 11:28:06: 0420  "SO LINES": 
28/11/2016 11:28:06: 0421  LOAD
28/11/2016 11:28:06: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:28:06: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:28:06: 0424    filename() as FN,
28/11/2016 11:28:06: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:28:06: 0426 
28/11/2016 11:28:06: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:28:06: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:28:06: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:28:06: 0430   
28/11/2016 11:28:06: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:28:06: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:28:06: 0433   
28/11/2016 11:28:06: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:28:06: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:28:06: 0436   
28/11/2016 11:28:06: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:28:06: 0438 
28/11/2016 11:28:06: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:28:06: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:28:06: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:28:06: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:28:06: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:28:06: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:28:06: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:28:06: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:28:06: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:28:06: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:28:06: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:28:06: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:28:06: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:28:06: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:28:06: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:28:06: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:28:06: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:28:06: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:28:06: 0457 
28/11/2016 11:28:06: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:28:06: 0459 
28/11/2016 11:28:06: 0460    left(CF_P1_Code,1) &
28/11/2016 11:28:06: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:28:06: 0462   
28/11/2016 11:28:06: 0463    left(CF_P1_Code,1) &
28/11/2016 11:28:06: 0464    left(CF_P2_Code,1) &
28/11/2016 11:28:06: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:28:06: 0466   
28/11/2016 11:28:06: 0467    left(CF_P1_Code,1) &
28/11/2016 11:28:06: 0468    left(CF_P2_Code,1) &
28/11/2016 11:28:06: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:28:06: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:28:06: 0471   
28/11/2016 11:28:06: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:28:06: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:28:06: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:28:06: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:28:06: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:28:06: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:28:06: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:28:06: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:28:06: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:28:06: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:28:06: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:28:06: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:28:06: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:28:06: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:28:06: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:28:06: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:28:06: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:28:06: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:28:06: 0490  FROM
28/11/2016 11:28:06: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:28:06: 0492  (qvd)
28/11/2016 11:28:06: 0493  where
28/11/2016 11:28:06: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:28:06: 0495  and
28/11/2016 11:28:06: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:28:06:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 17 667 335 lines fetched
28/11/2016 11:28:09: 0420  "SO LINES": 
28/11/2016 11:28:09: 0421  LOAD
28/11/2016 11:28:09: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:28:09: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:28:09: 0424    filename() as FN,
28/11/2016 11:28:09: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:28:09: 0426 
28/11/2016 11:28:09: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:28:09: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:28:09: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:28:09: 0430   
28/11/2016 11:28:09: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:28:09: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:28:09: 0433   
28/11/2016 11:28:09: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:28:09: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:28:09: 0436   
28/11/2016 11:28:09: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:28:09: 0438 
28/11/2016 11:28:09: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:28:09: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:28:09: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:28:09: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:28:09: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:28:09: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:28:09: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:28:09: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:28:09: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:28:09: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:28:09: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:28:09: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:28:09: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:28:09: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:28:09: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:28:09: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:28:09: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:28:09: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:28:09: 0457 
28/11/2016 11:28:09: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:28:09: 0459 
28/11/2016 11:28:09: 0460    left(CF_P1_Code,1) &
28/11/2016 11:28:09: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:28:09: 0462   
28/11/2016 11:28:09: 0463    left(CF_P1_Code,1) &
28/11/2016 11:28:09: 0464    left(CF_P2_Code,1) &
28/11/2016 11:28:09: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:28:09: 0466   
28/11/2016 11:28:09: 0467    left(CF_P1_Code,1) &
28/11/2016 11:28:09: 0468    left(CF_P2_Code,1) &
28/11/2016 11:28:09: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:28:09: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:28:09: 0471   
28/11/2016 11:28:09: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:28:09: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:28:09: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:28:09: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:28:09: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:28:09: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:28:09: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:28:09: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:28:09: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:28:09: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:28:09: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:28:09: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:28:09: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:28:09: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:28:09: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:28:09: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:28:09: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:28:09: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:28:09: 0490  FROM
28/11/2016 11:28:09: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:28:09: 0492  (qvd)
28/11/2016 11:28:09: 0493  where
28/11/2016 11:28:09: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:28:09: 0495  and
28/11/2016 11:28:09: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:28:10:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 18 395 945 lines fetched
28/11/2016 11:28:21: 0420  "SO LINES": 
28/11/2016 11:28:21: 0421  LOAD
28/11/2016 11:28:21: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:28:21: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:28:21: 0424    filename() as FN,
28/11/2016 11:28:21: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:28:21: 0426 
28/11/2016 11:28:21: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:28:21: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:28:21: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:28:21: 0430   
28/11/2016 11:28:21: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:28:21: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:28:21: 0433   
28/11/2016 11:28:21: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:28:21: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:28:21: 0436   
28/11/2016 11:28:21: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:28:21: 0438 
28/11/2016 11:28:21: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:28:21: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:28:21: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:28:21: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:28:21: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:28:21: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:28:21: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:28:21: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:28:21: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:28:21: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:28:21: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:28:21: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:28:21: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:28:21: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:28:21: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:28:21: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:28:21: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:28:21: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:28:21: 0457 
28/11/2016 11:28:21: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:28:21: 0459 
28/11/2016 11:28:21: 0460    left(CF_P1_Code,1) &
28/11/2016 11:28:21: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:28:21: 0462   
28/11/2016 11:28:21: 0463    left(CF_P1_Code,1) &
28/11/2016 11:28:21: 0464    left(CF_P2_Code,1) &
28/11/2016 11:28:21: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:28:21: 0466   
28/11/2016 11:28:21: 0467    left(CF_P1_Code,1) &
28/11/2016 11:28:21: 0468    left(CF_P2_Code,1) &
28/11/2016 11:28:21: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:28:21: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:28:21: 0471   
28/11/2016 11:28:21: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:28:21: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:28:21: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:28:21: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:28:21: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:28:21: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:28:21: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:28:21: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:28:21: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:28:21: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:28:21: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:28:21: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:28:21: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:28:21: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:28:21: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:28:21: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:28:21: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:28:21: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:28:21: 0490  FROM
28/11/2016 11:28:21: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:28:21: 0492  (qvd)
28/11/2016 11:28:21: 0493  where
28/11/2016 11:28:21: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:28:21: 0495  and
28/11/2016 11:28:21: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:28:21:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 18 566 628 lines fetched
28/11/2016 11:28:24: 0420  "SO LINES": 
28/11/2016 11:28:24: 0421  LOAD
28/11/2016 11:28:24: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:28:24: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:28:24: 0424    filename() as FN,
28/11/2016 11:28:24: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:28:24: 0426 
28/11/2016 11:28:24: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:28:24: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:28:24: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:28:24: 0430   
28/11/2016 11:28:24: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:28:24: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:28:24: 0433   
28/11/2016 11:28:24: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:28:24: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:28:24: 0436   
28/11/2016 11:28:24: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:28:24: 0438 
28/11/2016 11:28:24: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:28:24: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:28:24: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:28:24: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:28:24: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:28:24: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:28:24: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:28:24: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:28:24: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:28:24: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:28:24: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:28:24: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:28:24: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:28:24: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:28:24: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:28:24: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:28:24: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:28:24: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:28:24: 0457 
28/11/2016 11:28:24: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:28:24: 0459 
28/11/2016 11:28:24: 0460    left(CF_P1_Code,1) &
28/11/2016 11:28:24: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:28:24: 0462   
28/11/2016 11:28:24: 0463    left(CF_P1_Code,1) &
28/11/2016 11:28:24: 0464    left(CF_P2_Code,1) &
28/11/2016 11:28:24: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:28:24: 0466   
28/11/2016 11:28:24: 0467    left(CF_P1_Code,1) &
28/11/2016 11:28:24: 0468    left(CF_P2_Code,1) &
28/11/2016 11:28:24: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:28:24: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:28:24: 0471   
28/11/2016 11:28:24: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:28:24: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:28:24: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:28:24: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:28:24: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:28:24: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:28:24: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:28:24: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:28:24: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:28:24: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:28:24: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:28:24: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:28:24: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:28:24: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:28:24: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:28:24: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:28:24: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:28:24: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:28:24: 0490  FROM
28/11/2016 11:28:24: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:28:24: 0492  (qvd)
28/11/2016 11:28:24: 0493  where
28/11/2016 11:28:24: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:28:24: 0495  and
28/11/2016 11:28:24: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:28:24:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 18 605 429 lines fetched
28/11/2016 11:28:25: 0420  "SO LINES": 
28/11/2016 11:28:25: 0421  LOAD
28/11/2016 11:28:25: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:28:25: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:28:25: 0424    filename() as FN,
28/11/2016 11:28:25: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:28:25: 0426 
28/11/2016 11:28:25: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:28:25: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:28:25: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:28:25: 0430   
28/11/2016 11:28:25: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:28:25: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:28:25: 0433   
28/11/2016 11:28:25: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:28:25: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:28:25: 0436   
28/11/2016 11:28:25: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:28:25: 0438 
28/11/2016 11:28:25: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:28:25: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:28:25: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:28:25: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:28:25: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:28:25: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:28:25: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:28:25: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:28:25: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:28:25: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:28:25: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:28:25: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:28:25: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:28:25: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:28:25: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:28:25: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:28:25: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:28:25: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:28:25: 0457 
28/11/2016 11:28:25: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:28:25: 0459 
28/11/2016 11:28:25: 0460    left(CF_P1_Code,1) &
28/11/2016 11:28:25: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:28:25: 0462   
28/11/2016 11:28:25: 0463    left(CF_P1_Code,1) &
28/11/2016 11:28:25: 0464    left(CF_P2_Code,1) &
28/11/2016 11:28:25: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:28:25: 0466   
28/11/2016 11:28:25: 0467    left(CF_P1_Code,1) &
28/11/2016 11:28:25: 0468    left(CF_P2_Code,1) &
28/11/2016 11:28:25: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:28:25: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:28:25: 0471   
28/11/2016 11:28:25: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:28:25: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:28:25: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:28:25: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:28:25: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:28:25: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:28:25: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:28:25: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:28:25: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:28:25: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:28:25: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:28:25: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:28:25: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:28:25: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:28:25: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:28:25: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:28:25: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:28:25: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:28:25: 0490  FROM
28/11/2016 11:28:25: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:28:25: 0492  (qvd)
28/11/2016 11:28:25: 0493  where
28/11/2016 11:28:25: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:28:25: 0495  and
28/11/2016 11:28:25: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:28:25:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 18 641 895 lines fetched
28/11/2016 11:28:26: 0420  "SO LINES": 
28/11/2016 11:28:26: 0421  LOAD
28/11/2016 11:28:26: 0422    if(exists(KeepAnalysisCategory,OS_BF_AnalysisCatego)
28/11/2016 11:28:26: 0423    and (left(CF_P1_Code,1)&left(CF_P2_Code,1)&left(CF_P3_Code,1)&left(CF_PR_PARTNOxx,1) <> 'ZAAA'),'Sales','Non-Sales') as ReportLine,
28/11/2016 11:28:26: 0424    filename() as FN,
28/11/2016 11:28:26: 0425    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode as CompanyBranchKey,
28/11/2016 11:28:26: 0426 
28/11/2016 11:28:26: 0427    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),'New','Existing') as StoreType, 
28/11/2016 11:28:26: 0428    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),1,0) as StoreTypeNewFlag, 
28/11/2016 11:28:26: 0429    if(exists([NewCompanyBranchKey],(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode)),0,1) as StoreTypeExistingFlag,     
28/11/2016 11:28:26: 0430   
28/11/2016 11:28:26: 0431    applymap('Map SupplierPreferred',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown')) as PreferredSupplier,
28/11/2016 11:28:26: 0432    applymap('Map SupplierAlternate',(subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO),applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown')) as AlternateSupplier,
28/11/2016 11:28:26: 0433   
28/11/2016 11:28:26: 0434    applymap('Map Master PreferredSupplier',CF_PR_PARTNO,'--Unknown') as MasterPreferredSupplier, 
28/11/2016 11:28:26: 0435    applymap('Map Master AlternateSupplier',CF_PR_PARTNO,'--Unknown') as MasterAlternateSupplier, 
28/11/2016 11:28:26: 0436   
28/11/2016 11:28:26: 0437    subfield(filename(),'_',2) & '-' & OS_BF_BranchCode & '-' & CF_PR_PARTNO as CompanyBranchPartNoKey,
28/11/2016 11:28:26: 0438 
28/11/2016 11:28:26: 0439    right('0000' & [OS_BF_BranchCode],4) & '-' & [CF_PR_PARTNO] as PromoBranchPartNoKey  , 
28/11/2016 11:28:26: 0440    OS_BF_AnalysisCatego as AnalysisCategory,
28/11/2016 11:28:26: 0441    OS_BF_AnalysisCompan as AnalysisCompany,
28/11/2016 11:28:26: 0442    OS_BF_AnalysisUni001,
28/11/2016 11:28:26: 0443    OS_BF_AnalysisUni002,
28/11/2016 11:28:26: 0444    OS_BF_BranchAreaCode as BranchAreaCode,
28/11/2016 11:28:26: 0445    OS_BF_BranchCode as SOBranchCode,
28/11/2016 11:28:26: 0446    OS_BF_CostOfSale as CostOfSale,
28/11/2016 11:28:26: 0447    date(OS_BF_DateRaised) as DateRaised,
28/11/2016 11:28:26: 0448    date(OS_BF_DateSupplied) as DateSupplied,
28/11/2016 11:28:26: 0449    OS_BF_InvoiceAccount as InvoiceAccount,
28/11/2016 11:28:26: 0450    OS_BF_InvoiceCredit as InvoiceCredit,
28/11/2016 11:28:26: 0451    OS_BF_InvoiceNumber as InvoiceNumber,
28/11/2016 11:28:26: 0452    OS_BF_OrderCategory as OrderCategory,
28/11/2016 11:28:26: 0453    OS_BF_ORDERNO as OrderNo,
28/11/2016 11:28:26: 0454    OS_BF_OrderPointAcco as OrderPointAccount,
28/11/2016 11:28:26: 0455    OS_BF_OrderType as OrderType,
28/11/2016 11:28:26: 0456    OS_BF_OtherValue as OtherValue,
28/11/2016 11:28:26: 0457 
28/11/2016 11:28:26: 0458    trim(CF_P1_Code) as P1_Code,
28/11/2016 11:28:26: 0459 
28/11/2016 11:28:26: 0460    left(CF_P1_Code,1) &
28/11/2016 11:28:26: 0461    left(CF_P2_Code,1) as P2_Code,
28/11/2016 11:28:26: 0462   
28/11/2016 11:28:26: 0463    left(CF_P1_Code,1) &
28/11/2016 11:28:26: 0464    left(CF_P2_Code,1) &
28/11/2016 11:28:26: 0465    left(CF_P3_Code,1) as P3_Code, 
28/11/2016 11:28:26: 0466   
28/11/2016 11:28:26: 0467    left(CF_P1_Code,1) &
28/11/2016 11:28:26: 0468    left(CF_P2_Code,1) &
28/11/2016 11:28:26: 0469    left(CF_PR_PARTNOxx,1) &
28/11/2016 11:28:26: 0470    left(CF_PR_PARTNOxx,1) as P4_Code,
28/11/2016 11:28:26: 0471   
28/11/2016 11:28:26: 0472    CF_PR_PARTNO as PartNo,
28/11/2016 11:28:26: 0473    OS_BF_PostingDate as LinkDate,
28/11/2016 11:28:26: 0474    OS_BF_Salesman1 as Salesman1,
28/11/2016 11:28:26: 0475    OS_BF_Salesman2 as Salesman2,
28/11/2016 11:28:26: 0476    OS_BF_SalesValue as SalesValue,
28/11/2016 11:28:26: 0477    OS_BF_SourceBranch as SourceBranch,
28/11/2016 11:28:26: 0478    OS_BF_SPAAppliedToPO as SPAAppliedToPO,
28/11/2016 11:28:26: 0479    OS_BF_SPADiscountVal as SPADiscountVal,
28/11/2016 11:28:26: 0480    OS_BF_SPANumber as SPANumber,
28/11/2016 11:28:26: 0481    OS_BF_Status as SOStatus,
28/11/2016 11:28:26: 0482    OS_BF_StockLoc as StockLoc,
28/11/2016 11:28:26: 0483    OS_BF_StockUnitQty as StockUnitQty,
28/11/2016 11:28:26: 0484    OS_BF_StorePer001 as StorePer001,
28/11/2016 11:28:26: 0485    OS_BF_StorePer002 as StorePer002,
28/11/2016 11:28:26: 0486    OS_BF_SupplyType as SupplyType,
28/11/2016 11:28:26: 0487    OS_BF_UserDefined1 as UserDefined1,
28/11/2016 11:28:26: 0488    OS_BF_UserDefined2 as UserDefined2,
28/11/2016 11:28:26: 0489    OS_BF_UserDefined3 as UserDefined3 
28/11/2016 11:28:26: 0490  FROM
28/11/2016 11:28:26: 0491  [QVD\PerStore\OS_*_BUFFR.qvd]
28/11/2016 11:28:26: 0492  (qvd)
28/11/2016 11:28:26: 0493  where
28/11/2016 11:28:26: 0494    OS_BF_PostingDate >= 41640
28/11/2016 11:28:26: 0495  and
28/11/2016 11:28:26: 0496    OS_BF_PostingDate <= 42762

28/11/2016 11:28:26:        51 fields found: ReportLine, FN, CompanyBranchKey, StoreType, StoreTypeNewFlag, StoreTypeExistingFlag, PreferredSupplier, AlternateSupplier, MasterPreferredSupplier, MasterAlternateSupplier, CompanyBranchPartNoKey, PromoBranchPartNoKey, AnalysisCategory, AnalysisCompany, OS_BF_AnalysisUni001, OS_BF_AnalysisUni002, BranchAreaCode, SOBranchCode, CostOfSale, DateRaised, DateSupplied, InvoiceAccount, InvoiceCredit, InvoiceNumber, OrderCategory, OrderNo, OrderPointAccount, OrderType, OtherValue, P1_Code, P2_Code, P3_Code, P4_Code, PartNo, LinkDate, Salesman1, Salesman2, SalesValue, SourceBranch, SPAAppliedToPO, SPADiscountVal, SPANumber, SOStatus, StockLoc, StockUnitQty, StorePer001, StorePer002, SupplyType, UserDefined1, UserDefined2, UserDefined3, 18 934 499 lines fetched
28/11/2016 11:28:31: 0501  "MAP LEVEL1 TO CODE":
28/11/2016 11:28:31: 0502  mapping
28/11/2016 11:28:31: 0503  LOAD 
28/11/2016 11:28:31: 0504    Level1 as SG,
28/11/2016 11:28:31: 0505    P1_Code as SGCode 
28/11/2016 11:28:31: 0506  FROM
28/11/2016 11:28:31: 0507  [QVD\Common\CF_00_PANA1.qvd]
28/11/2016 11:28:31: 0508  (qvd)
28/11/2016 11:28:31:        2 fields found: SG, SGCode, 18 lines fetched
28/11/2016 11:28:31: 0510  "BUDGETS RAW":
28/11/2016 11:28:31: 0511  crosstable(M,Budget,3)
28/11/2016 11:28:31: 0512  LOAD
28/11/2016 11:28:31: 0513    subfield(replace(filename(),'.xls',''),'_',-1) as Y,
28/11/2016 11:28:31: 0514    CompanyCode & '-' & BranchCode as CompanyBranchKey, 
28/11/2016 11:28:31: 0515    applymap('MAP LEVEL1 TO CODE',Level1,'--Unknown') as P1_Code,
28/11/2016 11:28:31: 0516    Jan,
28/11/2016 11:28:31: 0517    Feb,
28/11/2016 11:28:31: 0518    Mar,
28/11/2016 11:28:31: 0519    Apr,
28/11/2016 11:28:31: 0520    May,
28/11/2016 11:28:31: 0521    Jun,
28/11/2016 11:28:31: 0522    Jul,
28/11/2016 11:28:31: 0523    Aug,
28/11/2016 11:28:31: 0524    Sep,
28/11/2016 11:28:31: 0525    Oct,
28/11/2016 11:28:31: 0526    Nov,
28/11/2016 11:28:31: 0527    Dec
28/11/2016 11:28:31: 0528  FROM
28/11/2016 11:28:31: 0529  [xls\SalesBudgets_*.xls]
28/11/2016 11:28:31: 0530  (biff, embedded labels, table is Budget$)

28/11/2016 11:28:31:        15 fields found: Y, CompanyBranchKey, P1_Code, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec,  5 fields found: Y, CompanyBranchKey, P1_Code, M, Budget, 4 692 lines fetched
28/11/2016 11:28:31:       391 lines fetched
28/11/2016 11:28:31: 0534  "TBUDGETS":
28/11/2016 11:28:31: 0535  load
28/11/2016 11:28:31: 0536    Y,
28/11/2016 11:28:31: 0537    num(month(date#(Y & ' ' & M,'YYYY MMM'))) as MM,
28/11/2016 11:28:31: 0538    CompanyBranchKey, 
28/11/2016 11:28:31: 0539    P1_Code,
28/11/2016 11:28:31: 0540    Budget
28/11/2016 11:28:31: 0541  resident "BUDGETS RAW"
28/11/2016 11:28:31:        5 fields found: Y, MM, CompanyBranchKey, P1_Code, Budget, 4 692 lines fetched
28/11/2016 11:28:31: 0542  drop table "BUDGETS RAW"
28/11/2016 11:28:32: 0545  "BUDGETS":
28/11/2016 11:28:32: 0546  concatenate("SO LINES")
28/11/2016 11:28:32: 0547  load
28/11/2016 11:28:32: 0548    num(monthstart(makedate(if(MM>6,Y-1,Y),MM))) as LinkDate,
28/11/2016 11:28:32: 0549    'Sales' as ReportLine,
28/11/2016 11:28:32: 0550    CompanyBranchKey, 
28/11/2016 11:28:32: 0551    P1_Code,
28/11/2016 11:28:32: 0552    Budget
28/11/2016 11:28:32: 0553  resident "TBUDGETS"
28/11/2016 11:28:32:        5 fields found: LinkDate, ReportLine, CompanyBranchKey, P1_Code, Budget, 18 939 191 lines fetched
28/11/2016 11:28:36: 0554  drop table "TBUDGETS"
28/11/2016 11:28:37: 0556  "DummyDates":
28/11/2016 11:28:37: 0557  load
28/11/2016 11:28:37: 0558    date(num(today())+1-RecNo()) as LinkDate
28/11/2016 11:28:37: 0559  autogenerate(10)
28/11/2016 11:28:37:        1 fields found: LinkDate, 10 lines fetched
28/11/2016 11:28:37: 0561  "Cal":
28/11/2016 11:28:37: 0562  load
28/11/2016 11:28:37: 0563    'Cal' as CalType,
28/11/2016 11:28:37: 0564    fieldvalue('LinkDate',RecNo()) as LinkDate,
28/11/2016 11:28:37: 0565 
28/11/2016 11:28:37: 0566    date(fieldvalue('LinkDate',RecNo()),'D MMM YYYY') as Date,
28/11/2016 11:28:37: 0567    month(fieldvalue('LinkDate',RecNo())) as Month,
28/11/2016 11:28:37: 0568    num(month(fieldvalue('LinkDate',RecNo()))) as MonthNo,
28/11/2016 11:28:37: 0569    'Q'&ceil(num(month(fieldvalue('LinkDate',RecNo())))/3) as Q,
28/11/2016 11:28:37: 0570    if(num(month(fieldvalue('LinkDate',RecNo())))>6,num(month(fieldvalue('LinkDate',RecNo())))-6,num(month(fieldvalue('LinkDate',RecNo())))+6) as FinPeriod,
28/11/2016 11:28:37: 0571    year(fieldvalue('LinkDate',RecNo())) as Year
28/11/2016 11:28:37: 0572  autogenerate(fieldvaluecount('LinkDate'))
28/11/2016 11:28:37:        8 fields found: CalType, LinkDate, Date, Month, MonthNo, Q, FinPeriod, Year, 1 017 lines fetched
28/11/2016 11:28:37: 0573  concatenate (Cal)
28/11/2016 11:28:37: 0574  load
28/11/2016 11:28:37: 0575    'Fin' as CalType,
28/11/2016 11:28:37: 0576    LinkDate,
28/11/2016 11:28:37: 0577    Date,
28/11/2016 11:28:37: 0578    Month,
28/11/2016 11:28:37: 0579    if(MonthNo>6,MonthNo-6,MonthNo+6) as MonthNo,
28/11/2016 11:28:37: 0580    if(MonthNo>6,MonthNo-6,MonthNo+6) as FinPeriod,
28/11/2016 11:28:37: 0581    'Q'&ceil(if(MonthNo>6,MonthNo-6,MonthNo+6)/3) as Q, 
28/11/2016 11:28:37: 0582    if(MonthNo>6,num(year(LinkDate))+1,num(year(LinkDate))) as Year
28/11/2016 11:28:37: 0583  resident "Cal"
28/11/2016 11:28:37: 0584  where CalType='Cal'
28/11/2016 11:28:37:        8 fields found: CalType, LinkDate, Date, Month, MonthNo, FinPeriod, Q, Year, 2 034 lines fetched
28/11/2016 11:28:37: 0588  "_Cal":
28/11/2016 11:28:37: 0589  load * inline [
28/11/2016 11:28:37: 0590  _F1
28/11/2016 11:28:37: 0591  Cal
28/11/2016 11:28:37: 0592  Fin
28/11/2016 11:28:37: 0593  ]
28/11/2016 11:28:37:        1 fields found: _F1, 2 lines fetched
28/11/2016 11:28:37: 0594  set vCalType= =minstring(CalType)
28/11/2016 11:28:37: 0596  set MaxYear = =max(Year)
28/11/2016 11:28:37: 0597  set MinYear = =min(Year)
28/11/2016 11:28:37: 0601  "TODAY":
28/11/2016 11:28:37: 0602  replace
28/11/2016 11:28:37: 0603  load
28/11/2016 11:28:37: 0604    LinkDate as ThisLinkDate,
28/11/2016 11:28:37: 0605    Year as ThisFinYear,
28/11/2016 11:28:37: 0606    FinPeriod as ThisFinPeriod
28/11/2016 11:28:37: 0607  resident "Cal"
28/11/2016 11:28:37: 0608  where 1 = 1
28/11/2016 11:28:37: 0609    and CalType = 'Fin'
28/11/2016 11:28:37: 0610    and num(LinkDate) = num(today())
28/11/2016 11:28:37: 0611   
28/11/2016 11:28:37:        3 fields found: ThisLinkDate, ThisFinYear, ThisFinPeriod, 1 lines fetched
28/11/2016 11:28:37: 0613  let ThisFinYear = fieldvalue('ThisFinYear',1) 
28/11/2016 11:28:37: 0614  let LastFinYear = ThisFinYear - 1
28/11/2016 11:28:37: 0615  let PrevFinYear = ThisFinYear - 2
28/11/2016 11:28:37: 0617  let ThisFinPeriod = fieldvalue('ThisFinPeriod',1) 
28/11/2016 11:28:37: 0618  let LastFinPeriod = if(ThisFinPeriod=1,12,ThisFinPeriod-1) 
28/11/2016 11:28:37: 0620  Data:
28/11/2016 11:28:37: 0621 
28/11/2016 11:28:37: 0622  load
28/11/2016 11:28:37: 0623  SOBranchCode as BranchCode,
28/11/2016 11:28:37: 0624  '2_' &SOBranchCode as SBBranch,
28/11/2016 11:28:37: 0625  Year(LinkDate) &'-' &num(Month(LinkDate),'00') &'-' &num(Day(LinkDate),'00') as InvDate,
28/11/2016 11:28:37: 0626  SalesValue as TotalSales,
28/11/2016 11:28:37: 0627  CostOfSale as COS
28/11/2016 11:28:37: 0628  Resident "SO LINES"
28/11/2016 11:28:37: 0629  where ReportLine = 'Sales'

28/11/2016 11:28:37:        5 fields found: BranchCode, SBBranch, InvDate, TotalSales, COS, 18 678 563 lines fetched
28/11/2016 11:30:52: 0632  Store Data into (txt)
28/11/2016 11:31:26: 0635  Drop table Data
28/11/2016 11:31:27: 0638  let zScriptEnd = num(now(1))
28/11/2016 11:31:27: 0639  let zScriptDuration = num(zScriptEnd)-num(zScriptBgn)
28/11/2016 11:31:27: 0641  exit script
28/11/2016 11:31:34:      Execution finished.

lironbaram
Partner - Master III
Partner - Master III

hi

do you have section access on the model

the error is that the users that runs the services, doesn't have permissions to the model

lironbaram
Partner - Master III
Partner - Master III

hi

the log file won't help you

because the Qmc doesn't start the reload

which user is running the qlikview services

does he has security permissions to the folder the qv model is in

can you share the section access part of the script ?

Anil_Babu_Samineni

Try to attach ligfile  from your reply.  if you copy paste on body message.  It's take long space and scroll down is long.

Uploading a Sample

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Thanks Liron! changed the service account to one I know has access, and it worked like a charm!