HarFileRepository is running

Databases are pointing to Production Environment


Key considerations when rerieving a document from the Harrells File Repository in Azure File Storage

SDS: Pass DocType: 'sds', Id2: 'Dylox3' where Id2 is the product name. You can also pass Id: {{product id from products table}}
Label: Pass DocType: 'label', Id2: 'Dylox3' where Id2 is the product name. You can also pass Id: {{product id from products table}}
Metals: Pass DocType: 'metals', Id2: 'Dylox3' where Id2 is the product name. You can also pass Id: {{product id from products table}}
Invoice: Pass DocType: 'invoice', Id2: 'INV01479164' where Id2 is the SOPNumber
Return: Pass DocType: 'return', Id2: 'INV01479164' where Id2 is the SOPNumber
Statement: Pass DocType: 'statement', Id3: '3ALLCOU' where Id3 is the customer number. Id2 is a concat of customer number and doc date. Doc date field returned is also available for further filtering
Credit Memo: Pass DocType: 'creditmemo', Id2: 'CLKM04088' where Id2 is the document number
ANY DOC TYPE OTHER THAN ABOVE: Pass DocType: doc type's name, fill in id1, id2, and/or id3 accordingly. The code has been updated by someone much cooler than that mike guy and is smart enough to take the parameters that are passed in and work in a more generic sense. Doctype is required. At least one of the id fields needs to be filled in. Valid doctypes can be found in azuredoctypes in webhub. This table will also have notes that tell you which id(s) needs to be sent in for that doctype.

Note: the default return is to display the document in the browser window. If you want the document to be a DOWNLOAD INSTEAD, pass DownloadInsteadOfDisplay: true as a parameter into the api.



Required Environment Variables On Developer's Machine:

setx AzureARStorageConnectionString "DefaultEndpointsProtocol=https;AccountName=testharsimagesstorage;AccountKey=Rfnjm5OgwoLoTUSCJfRwp7+FFZ/XDKibLz7jKJCXk+SWSm9YgHNF1gAuU5QqXcRYAQXirN/rHby5ilbM3a2Vnw==;EndpointSuffix=core.windows.net"
setx AzureNonARStorageConnectionString "DefaultEndpointsProtocol=https;AccountName=testharrellsfiles;AccountKey=MD4OFpz90OYrndtaKiVPKGYkvg5egKFhwP9C69nzSsu7qKKY0Q3YJIbUfL1mgxA8WhNDvVC60tnCIbX8VHIAFg==;EndpointSuffix=core.windows.net"
setx AzureNonARDocStorageKey "MD4OFpz90OYrndtaKiVPKGYkvg5egKFhwP9C69nzSsu7qKKY0Q3YJIbUfL1mgxA8WhNDvVC60tnCIbX8VHIAFg=="
setx AzureNonARDocStorageName "testharrellsfiles"
setx AzureARDocStorageKey "Rfnjm5OgwoLoTUSCJfRwp7+FFZ/XDKibLz7jKJCXk+SWSm9YgHNF1gAuU5QqXcRYAQXirN/rHby5ilbM3a2Vnw=="
setx AzureARDocStorageName "testharsimagesstorage"
setx AzureARDocStoragePath "https://testharsimagesstorage.file.core.windows.net/"
setx AzureNonARDocStoragePath "https://testharrellsfiles.file.core.windows.net/"