GoodPath and MoveFile (edited and reposted)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28773
interpreted = N
texte = Greetings all--First, a little background: I'm working on a site for a used-record store. The site will allow buyers to browse a real-time display of what's on the racks and available for purchase. However, the possibility remains that the store will sell something over the counter before an online order for the same item can be filled. So we need to be able to crack open all pending orderfiles and pull out anything that can no longer be sent between the BOOK and SHIP stages.So when an order is successfully BOOKed, I'd like to move its orderfile to another folder, where things will be easier to keep track of.My question: can I include something like [movefile from=PendingOrders/[cart]&to=That_Folder/[cart]] in the GoodPath.inc file, subsection [showif [m_paymethod]=BK]?Or do I need to write a second include for the ProcessOrders.tpl file that cycles through every orderfile in PendingOrders, cracks each one open, looks for [something that indicates a successful booking], and then moves it?Thanks for your time Andy---------------Andy Willett, Senior TechnicianBeta Unlimited: Business Workgroup Solutions andy@betau.com 212-685-1886 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: GoodPath and MoveFile (edited and reposted) (Mike Davis 2000)
  2. GoodPath and MoveFile (edited and reposted) (Andy Willett 2000)
Greetings all--First, a little background: I'm working on a site for a used-record store. The site will allow buyers to browse a real-time display of what's on the racks and available for purchase. However, the possibility remains that the store will sell something over the counter before an online order for the same item can be filled. So we need to be able to crack open all pending orderfiles and pull out anything that can no longer be sent between the BOOK and SHIP stages.So when an order is successfully BOOKed, I'd like to move its orderfile to another folder, where things will be easier to keep track of.My question: can I include something like [movefile from=PendingOrders/[cart]&to=That_Folder/[cart]] in the GoodPath.inc file, subsection [showif [m_paymethod]=BK]?Or do I need to write a second include for the ProcessOrders.tpl file that cycles through every orderfile in PendingOrders, cracks each one open, looks for [something that indicates a successful booking], and then moves it?Thanks for your time Andy---------------Andy Willett, Senior TechnicianBeta Unlimited: Business Workgroup Solutions andy@betau.com 212-685-1886 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Andy Willett

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help! WebCat2 bug (1997) WebCatalog Help (2002) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) WebMerchant Problem... (1999) WebCatalog2 Feature Feedback (1996) WebCat2b12 - nesting [tags] (1997) wierd crashes for multi-sendmails on NT (1997) Nested vs conditional (1997) Converting characters to numbers ... (1997) [OT][OT] OSX email client (2002) Note added to [sendmail] in Docs (2004) anyone on the list work with Generator and WebCat together? (1999) show all problem (1997) Jimmy Houssen (1998) docs for WebCatalog2 (1997) how many (hideif & showifs) is too many? (2001) FoundItems Question (1998) _ in front of field name (1998) Searching for all records (1998) RE: Writefile outside WebSTAR hierarchy? (1997)