Friday, August 1, 2008

Silver Eagle By Mcculloch

Calculate fee payment receipt online

Sometimes I have to give receipts for fees for any work done. So I have an excel file for this. With the migration to my new laptop, I find the CD which support the file appears when least expected.

I think it was appropriate to have the excel file, Google Apps or something. Not long ago I read in the magazine Software Guru, concerning a case in which Zoho be achieved through a small application that worked as a webservice.

I found interesting to place the issue of a webservice for the calculation, actually does not take much and it would put it in practical applications. Just as I am devising a complete application for billing (message for Robert and SICFE.Net). Search

Zoho, and after a short battle with my username and password, my first experience putting "Application" with Zoho Creator.

At first I did not understand very well when I was programming, I thought for a moment that was javascript, but it is something different, a sort of JSON, is not. Different.

The environment is very friendly, they understand the language and after 30-40 minutes, I have the result:

http://creator.zoho.com/vgarcias21/form/1/

The result is not entirely a Web service, but it works pretty well and is what I was looking to do. The script code is as follows:



 Recibo_de_Honorario 
 form {
  displayname = "Receipt of Honorary  
 Cantidad_a_recibir 
 (
  displayname =" Amount receive "type =  
 MXN 
 
 width = 20) 
 
 Monto_en_recibo 
 (
 
 type = formula value = (Cantidad_a_recibir / 0.95)   
     )  
   
     IVA_15  
     (  
         type = formula  
         value = (Cantidad_a_recibir / 0.95 * 0.15)  
     )  
   
     Valor_total  
     (  
         type = formula  
         value = (Cantidad_a_recibir / 0.95 * 1.15)  
     )  
   
     Ret_10_ISR  
     (  
         type = formula  
         value = (Cantidad_a_recibir / 0.95 * 0.1)  
     )  
   
     Ret_10_IVA  
     (  
     
 type = formula value = (Cantidad_a_recibir / 0.95 * 0.1) 
) 
 
 Valor_neto 
 (
 
 type = formula value = (Cantidad_a_recibir / 0.95 * 1.15 - Cantidad_a_recibir / 0.95 * 0.2) 
) 
 
 
 plain (type = plaintext 
 
  value = "< DIV > See id = ted the result of: < A href = \\" http://creator. zoho.com/vgarcias21/view/1 / /% 22 > http://creator.zoho.com/vgarcias21/view/1/< / A > < / div > " 
) 
 
 

} Ready!

0 comments:

Post a Comment