For Mr Rao and Mr Antonio

For Mr Rao and Mr Antonio

Postby Silvio.Falconi » Mon Dec 10, 2018 5:14 pm

I'm testing yunus.prg
I 'm trying to modify it to make it compatible with the Italian system.

1. I wish modify the invoice inserting different taxrate for each items and the tax must be insert as new column on the invoice how I can make it , because in Italy we have articles with different ives and we have to do the splitting of VAT

I show you How I mean

Image



I allready add taxrate on items.dbf

Code: Select all  Expand view
DbCreate( "items.dbf",;
                { { "CODE",   "C", 10, 0 }, ;
                  { "NAME",   "C", 30, 0 }, ;
                  { "UNIT",   "C",  5, 0 }, ;
                  { "TAXRATE", "N",  5, 2 }, ;  //silvio
                  { "PRICE",  "N",  6, 2 } }, "DBFCDX", .T., "DB" )


and create the section on the dialog as you can see here

Image

How I can insert it on xbrowse invoice ? I try but it crash

2 I must change discount to calculate a discount as discount to climb for a sample :

an item price is 10.00 eur and the discount is 50+20+10 the total price is 3.60

3. I saw there's no the DelRecord function

4 why you not use reclock and unlock when you edit or add a record ?

4 when I iconize a window and I want to reopen it the window remains in fodo even if there is the command "Set focus" as I can do to reopen the window

5 I wish info for some lines at Opendatases function section invitems
Code: Select all  Expand view
aBlankItem  := Array( FCount() + 1 )
   AEval( aBlankItem, { |u,i| aBlankItem[ i ] := uValBlank( FieldGet( i ) ) }, 1, FCount() )
   aBlankItem[ FCount() + 1 ] := 0


thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests