The cash register itself transfers the data .
I did not need many efforts to alter under online, too the DASH.
There all too most, as earlier, except several nuances.
I use such algorithm:
On each line of the check:
Price - the price already at a discount since it does not do a discount, and in the end of the check simply it it is printed as the literal text.
Quantity - the Amount,
Department - Department;
StringforPrinting = the goods Name. Here because of one device it was necessary to cut till 1 line - 48 characters for --02, and that produced an error. And generally in it should be transferred no more than 64 characters.
Further Sale or ReturnSale, with checks of adjustment and did not understand.
Any additional text StringforPrinting and PrintString.
After in Summ1 - the total from the buyer cash, Summ2. 4 - electronic (titles are adjusted in the cash register)
If it is necessary to send the check on . or on phone in CustomerEmail accordingly the address of mail or No phone and we cause method FNSendCustomerEmail. But reaches or not depends from .
Closing of check CloseCheck.
One more DASH singularities:
Though and the cashier the device its beret from the table of adjustments of passwords of cashiers is adjusted in the device in a separate field, but.
That the device deduced correct the cashier, and made so:
DrvFR =: = CreateOleObject (' AddIn. DrvFR ');
DrvFR.Password: = 30;
DrvFR.TableNumber: = 2;
DrvFR.RowNumber: = 30;
DrvFR.FieldNumber: = 2;
DrvFR.ValueOfFieldString: ='ÊÀÑÑÈÐ ' +User;
I.e. substitution of a title of the cashier also it is worked always from ..