File mfg/2013/base/src/xfiv1009.p copied from file mfg/2013/base/src/soiv1002.p (similarity 88%) (mode: 100644) (index 6dad54f..fa37605) |
1 |
|
/* soiv1002.p - INVOICE HISTORY INVOICE REPRINT MAINLOOP */ |
|
|
1 |
|
/* xfiv1009.p - INVOICE HISTORY INVOICE REPRINT MAINLOOP */ |
2 |
2 |
/* soiv1001.p - INVOICE HISTORY INVOICE REPRINT MAINLOOP */ |
/* soiv1001.p - INVOICE HISTORY INVOICE REPRINT MAINLOOP */ |
3 |
3 |
/* Copyright 1986 QAD Inc. All rights reserved. */ |
/* Copyright 1986 QAD Inc. All rights reserved. */ |
4 |
4 |
/* $Id$: */ |
/* $Id$: */ |
|
62 |
62 |
/* Revision: 1.82 BY: Manjusha Inglay DATE: 12/14/09 ECO: *R1VM* */ |
/* Revision: 1.82 BY: Manjusha Inglay DATE: 12/14/09 ECO: *R1VM* */ |
63 |
63 |
/* Revision: 1.83 BY: Sandeep Rohila DATE: 02/03/10 ECO: *R1XM* */ |
/* Revision: 1.83 BY: Sandeep Rohila DATE: 02/03/10 ECO: *R1XM* */ |
64 |
64 |
/* Revision: 1.84 BY: Trupti Khairnar DATE: 08/24/10 ECO: *Q4BT* */ |
/* Revision: 1.84 BY: Trupti Khairnar DATE: 08/24/10 ECO: *Q4BT* */ |
65 |
|
/* BGL LAST MODIFIED: 2014-FEB-12 BY: gbg *d2561 */ |
|
|
65 |
|
/* Revision: eB3SP5 BY: Achint Lele DATE: 02/08/10 ECO: *eb3sp5* */ |
|
66 |
|
/* Revision: QAD2012.1 BY: Steve Hong DATE: 25/10/12 ECO: *93sp12.1 */ |
|
67 |
|
/* BGL LAST MODIFIED: 2014-SEP-03 BY: nac *K2155 */ |
66 |
68 |
/*-Revision end---------------------------------------------------------------*/ |
/*-Revision end---------------------------------------------------------------*/ |
67 |
69 |
|
|
68 |
70 |
/******************************************************************************/ |
/******************************************************************************/ |
|
86 |
88 |
FRAME BASED ON THE VALUE OF THE FLAG "DISPLAY TAXABLE/NON-TAXABLE |
FRAME BASED ON THE VALUE OF THE FLAG "DISPLAY TAXABLE/NON-TAXABLE |
87 |
89 |
AMOUNT ON TRAILER" IN THE GLOBAL TAX MANAGEMENT CTRL FILE |
AMOUNT ON TRAILER" IN THE GLOBAL TAX MANAGEMENT CTRL FILE |
88 |
90 |
*/ |
*/ |
|
91 |
|
using com.qad.eefin.bpaymentcondition.PaymentConditionDescByLng. |
89 |
92 |
{us/bbi/mfdeclre.i} |
{us/bbi/mfdeclre.i} |
90 |
93 |
{us/bbi/gplabel.i} /* EXTERNAL LABEL INCLUDE */ |
{us/bbi/gplabel.i} /* EXTERNAL LABEL INCLUDE */ |
91 |
|
{us/px/pxmaint.i} |
|
92 |
|
{us/px/pxphdef.i adcrxr} |
|
93 |
94 |
|
|
94 |
95 |
{us/gp/gprunpdf.i "sopl" "p"} |
{us/gp/gprunpdf.i "sopl" "p"} |
95 |
96 |
{us/so/sotxidef.i} |
{us/so/sotxidef.i} |
96 |
97 |
|
|
97 |
|
|
|
98 |
|
/*d2561* start added code >>> */ |
|
|
98 |
|
/*k2155* start added code >>> */ |
99 |
99 |
{xx2561.i new} |
{xx2561.i new} |
100 |
100 |
{xxtaxfn.i} |
{xxtaxfn.i} |
101 |
|
/*d2561* end added code <<< */ |
|
|
101 |
|
/*k2155* end added code <<< */ |
|
102 |
|
|
|
103 |
|
{us/xf/xfdefa.i} /*eb3sp5*/ |
|
104 |
|
|
|
105 |
|
{us/xf/xfiv10v.i} /*eb3sp5*/ |
|
106 |
|
|
|
107 |
|
{us/xf/xfiv10u.i} /*eb3sp5*/ |
102 |
108 |
|
|
103 |
109 |
define new shared variable undo_txdetrp like mfc_logical. |
define new shared variable undo_txdetrp like mfc_logical. |
104 |
110 |
define new shared variable rmaso like mfc_logical. |
define new shared variable rmaso like mfc_logical. |
|
... |
... |
define shared variable billto as character |
133 |
139 |
format "x(38)" extent 6. |
format "x(38)" extent 6. |
134 |
140 |
define shared variable soldto as character |
define shared variable soldto as character |
135 |
141 |
format "x(38)" extent 6. |
format "x(38)" extent 6. |
136 |
|
define shared variable termsdesc as character format "x(40)" label "Description" no-undo. |
|
|
142 |
|
define shared variable termsdesc like ct_desc. |
137 |
143 |
define shared variable shipdate like ih_ship_date. |
define shared variable shipdate like ih_ship_date. |
138 |
144 |
define shared variable shipdate1 like shipdate. |
define shared variable shipdate1 like shipdate. |
139 |
145 |
define shared variable addr as character |
define shared variable addr as character |
|
... |
... |
define variable l_tot_amt as decimal no-undo. |
239 |
245 |
define variable l_tax_total_message as character extent 2 |
define variable l_tax_total_message as character extent 2 |
240 |
246 |
format "x(13)" no-undo. |
format "x(13)" no-undo. |
241 |
247 |
define variable l_basetaxtot like glt_amt no-undo. |
define variable l_basetaxtot like glt_amt no-undo. |
242 |
|
define variable is_fallback as logical no-undo. |
|
243 |
|
|
|
244 |
248 |
|
|
|
249 |
|
|
245 |
250 |
/* InvoiceCerification 20110405 : Add a new variable that will hold the invoice-certificate text that needs to be printed on the invoice for the Portugese decree-363 */ |
/* InvoiceCerification 20110405 : Add a new variable that will hold the invoice-certificate text that needs to be printed on the invoice for the Portugese decree-363 */ |
246 |
|
define variable vcInvoiceCertificationText as character no-undo. |
|
247 |
|
define variable vcInvoiceYearVoucherNumber as character no-undo. |
|
248 |
|
|
|
|
251 |
|
define variable vcInvoiceCertificationText as character no-undo.
|
|
252 |
|
define variable vcInvoiceYearVoucherNumber as character no-undo.
|
|
253 |
|
|
|
254 |
|
|
|
255 |
|
/* QAD Financials Data Objects DEFINITIONS */ |
|
256 |
|
define variable hQADFinancialsLib as handle no-undo. |
|
257 |
|
define variable PaymentCondition as PaymentConditionDescByLng no-undo. |
249 |
258 |
|
|
250 |
259 |
define buffer abs_mst1 for abs_mstr. |
define buffer abs_mst1 for abs_mstr. |
251 |
260 |
define buffer ih_buff for ih_hist. |
define buffer ih_buff for ih_hist. |
|
... |
... |
assign l_tax_total_message[1] = getTermLabel("TOTAL_TAX",9) |
268 |
277 |
+ getTermLabel("IN",2) |
+ getTermLabel("IN",2) |
269 |
278 |
l_tax_total_message[2] = getTermLabel("TOTAL_TAX",9). |
l_tax_total_message[2] = getTermLabel("TOTAL_TAX",9). |
270 |
279 |
|
|
|
280 |
|
{us/xf/xftxtots.i} /*eb3sp5*/ |
271 |
281 |
|
|
272 |
282 |
{us/so/sodiscwk.i &new="new"} |
{us/so/sodiscwk.i &new="new"} |
273 |
283 |
|
|
|
... |
... |
assign |
283 |
293 |
{us/et/etvar.i} |
{us/et/etvar.i} |
284 |
294 |
{us/et/etrpvar.i &new="new"} |
{us/et/etrpvar.i &new="new"} |
285 |
295 |
|
|
286 |
|
/*d2561* {us/mf/mfivtrla.i "NEW"} */ |
|
287 |
|
/*d2561*/ {xxmfivtrla.i "NEW"} |
|
|
296 |
|
{us/mf/mfivtrla.i "NEW"} |
288 |
297 |
{us/bbi/wbgp03.i &new="NEW SHARED"} |
{us/bbi/wbgp03.i &new="NEW SHARED"} |
289 |
298 |
|
|
290 |
|
{us/px/pxpgmmgr.i} |
|
291 |
|
{us/px/pxphdef.i pccalcxr} |
|
292 |
|
|
|
293 |
299 |
assign |
assign |
294 |
300 |
l_nontaxable_lbl = getTermLabelRtColon("NON-TAXABLE", 12) |
l_nontaxable_lbl = getTermLabelRtColon("NON-TAXABLE", 12) |
295 |
301 |
l_taxable_lbl = getTermLabelRtColon("TAXABLE", 12). |
l_taxable_lbl = getTermLabelRtColon("TAXABLE", 12). |
|
... |
... |
prepaid_old = tot_prepaid_amt:format. |
325 |
331 |
|
|
326 |
332 |
find first rmc_ctrl where rmc_domain = global_domain no-lock no-error. |
find first rmc_ctrl where rmc_domain = global_domain no-lock no-error. |
327 |
333 |
|
|
328 |
|
/* Get statutory currency */ |
|
329 |
|
{us/px/pxrun.i &PROC = 'getStatutoryCurrency' |
|
330 |
|
&PROGRAM='pccalcxr.p' |
|
331 |
|
&handle = ph_pccalcxr |
|
332 |
|
&PARAM = "(output g_mgmt_curr, |
|
333 |
|
output is_fallback)" |
|
334 |
|
&NOAPPERROR=true |
|
335 |
|
&CATCHERROR=true} |
|
336 |
|
|
|
337 |
334 |
mainloop: |
mainloop: |
338 |
335 |
do: |
do: |
339 |
336 |
for each ih_buff |
for each ih_buff |
|
... |
... |
do: |
402 |
399 |
end. /* IF mc-error-number <> 0 */ |
end. /* IF mc-error-number <> 0 */ |
403 |
400 |
|
|
404 |
401 |
/* EXCLUDE CREDIT/DEBIT INVOICE */ |
/* EXCLUDE CREDIT/DEBIT INVOICE */ |
|
402 |
|
/*eb3sp5 comment begin |
405 |
403 |
if not incinv |
if not incinv |
406 |
404 |
or not incmemo |
or not incmemo |
407 |
405 |
then do: |
then do: |
408 |
|
|
|
|
406 |
|
eb3sp5 comment end*/ |
|
407 |
|
do : /*eb3sp5*/ |
409 |
408 |
/* OBTAIN TOTAL INVOICE VALUE */ |
/* OBTAIN TOTAL INVOICE VALUE */ |
410 |
409 |
if first-of(ih_buff.ih_inv_nbr) |
if first-of(ih_buff.ih_inv_nbr) |
411 |
410 |
then |
then |
|
... |
... |
do: |
421 |
420 |
and ord_amt < 0) |
and ord_amt < 0) |
422 |
421 |
then |
then |
423 |
422 |
l_skip_rec = yes. |
l_skip_rec = yes. |
|
423 |
|
|
|
424 |
|
/*eb3sp5 add begin*/ |
|
425 |
|
assign invcrdt = if ord_amt >= 0 then "TAX INVOICE" |
|
426 |
|
else "ADJUSTMENT NOTE". |
|
427 |
|
/*eb3sp5 add end*/ |
424 |
428 |
|
|
425 |
429 |
end. /* IF NOT incinv OR ... */ |
end. /* IF NOT incinv OR ... */ |
426 |
430 |
|
|
|
... |
... |
do: |
444 |
448 |
|
|
445 |
449 |
run removeEmptyStrings. |
run removeEmptyStrings. |
446 |
450 |
|
|
447 |
|
/* InvoiceCerification 20110405 : Fill the new variable with the invoice-certificate text that needs to be printed on the invoice for the Portugese decree-363 ; this will be printed on the forms defined in soivhfrm.i */ |
|
448 |
|
/* This text needs to be printed in portugese regardless the language used for the other parts of the print and regardless the langauge of the user. It can thus be that the user is working in English, the print is requested in Dutch but even in this scenario this fixed text should be in Portugese */ |
|
449 |
|
if ih__qadc05 <> "":U and |
|
450 |
|
ih__qadc05 <> ? and |
|
451 |
|
num-entries(ih__qadc05,chr(4)) = 2 |
|
452 |
|
then assign vcInvoiceCertificationText = trim(entry(2,ih__qadc05,chr(4))) + "-Processado por Programa Certificado n. ":U + trim(entry(1,ih__qadc05,chr(4))) + "/DGCI":U |
|
453 |
|
vcInvoiceYearVoucherNumber = substring(ih_inv_nbr,1,4) + substring(ih_inv_nbr,6,length(ih_inv_nbr) - 14) + "/" + substring(ih_inv_nbr,length(ih_inv_nbr) - 8). |
|
454 |
|
else assign vcInvoiceCertificationText = "":U |
|
455 |
|
vcInvoiceYearVoucherNumber = ih_inv_nbr. |
|
456 |
|
|
|
457 |
|
|
|
|
451 |
|
/* InvoiceCerification 20110405 : Fill the new variable with the invoice-certificate text that needs to be printed on the invoice for the Portugese decree-363 ; this will be printed on the forms defined in soivhfrm.i */
|
|
452 |
|
/* This text needs to be printed in portugese regardless the language used for the other parts of the print and regardless the langauge of the user. It can thus be that the user is working in English, the print is requested in Dutch but even in this scenario this fixed text should be in Portugese */
|
|
453 |
|
if ih__qadc05 <> "":U and
|
|
454 |
|
ih__qadc05 <> ? and
|
|
455 |
|
num-entries(ih__qadc05,chr(4)) = 2
|
|
456 |
|
then assign vcInvoiceCertificationText = trim(entry(2,ih__qadc05,chr(4))) + "-Processado por Programa Certificado n. ":U + trim(entry(1,ih__qadc05,chr(4))) + "/DGCI":U
|
|
457 |
|
vcInvoiceYearVoucherNumber = substring(ih_inv_nbr,1,4) + substring(ih_inv_nbr,6,length(ih_inv_nbr) - 14) + "/" + substring(ih_inv_nbr,length(ih_inv_nbr) - 8).
|
|
458 |
|
else assign vcInvoiceCertificationText = "":U
|
|
459 |
|
vcInvoiceYearVoucherNumber = ih_inv_nbr.
|
|
460 |
|
|
|
461 |
|
|
458 |
462 |
/* form frame phead1 & phead1ent PAGE-TOP FRAME DEFINITION */ |
/* form frame phead1 & phead1ent PAGE-TOP FRAME DEFINITION */ |
459 |
|
/*d2561* {us/so/soivhfrm.i} */ |
|
460 |
|
/*d2561*/ {xxivhfrm.i} |
|
|
463 |
|
{us/so/soivhfrm.i} |
461 |
464 |
|
|
|
465 |
|
/*eb3sp5 comment begin |
462 |
466 |
run GetHeading. |
run GetHeading. |
463 |
467 |
if isDomOrder then |
if isDomOrder then |
464 |
468 |
view frame phead1ent. |
view frame phead1ent. |
465 |
469 |
else |
else |
466 |
470 |
view frame phead1. |
view frame phead1. |
|
471 |
|
eb3sp5 comment end*/ |
467 |
472 |
first-invoice = if first-of(ih_inv_nbr) then yes else no. |
first-invoice = if first-of(ih_inv_nbr) then yes else no. |
468 |
473 |
|
|
469 |
474 |
for first cil_mstr |
for first cil_mstr |
|
... |
... |
do: |
474 |
479 |
end. /* FOR FIRST cil_mstr */ |
end. /* FOR FIRST cil_mstr */ |
475 |
480 |
|
|
476 |
481 |
if available cil_mstr and not prt_cor then next. |
if available cil_mstr and not prt_cor then next. |
477 |
|
if first-invoice then page. |
|
|
482 |
|
/* if first-invoice then page. */ /*eb3sp5*/ |
478 |
483 |
if ih_fsm_type = "FSM-RO" then tax_tr_type = '16'. |
if ih_fsm_type = "FSM-RO" then tax_tr_type = '16'. |
479 |
484 |
pages = page-number - 1. |
pages = page-number - 1. |
480 |
485 |
|
|
|
... |
... |
do: |
489 |
494 |
{us/bbi/pxmsg.i &MSGNUM=863 &ERRORLEVEL=3} |
{us/bbi/pxmsg.i &MSGNUM=863 &ERRORLEVEL=3} |
490 |
495 |
next. |
next. |
491 |
496 |
end. /* IF AVAIL rnd_mstr */ |
end. /* IF AVAIL rnd_mstr */ |
492 |
|
|
|
|
497 |
|
/*eb3sp5 comment begin |
493 |
498 |
{us/so/socurfmt.i} |
{us/so/socurfmt.i} |
494 |
499 |
|
|
495 |
500 |
/* SET CURRENCY DEPENDENT FORMATS */ |
/* SET CURRENCY DEPENDENT FORMATS */ |
496 |
501 |
prepaid_fmt = prepaid_old. |
prepaid_fmt = prepaid_old. |
497 |
|
|
|
|
502 |
|
eb3sp5 comment end*/ |
498 |
503 |
{us/bbi/gprun.i ""gpcurfmt.p"" "(input-output prepaid_fmt, |
{us/bbi/gprun.i ""gpcurfmt.p"" "(input-output prepaid_fmt, |
499 |
504 |
input rndmthd)"} |
input rndmthd)"} |
500 |
505 |
oldcurr = ih_curr. |
oldcurr = ih_curr. |
|
... |
... |
do: |
557 |
562 |
next. |
next. |
558 |
563 |
end. /* IF AVAIL rmc_ctrl */ |
end. /* IF AVAIL rmc_ctrl */ |
559 |
564 |
|
|
560 |
|
{us/px/pxrun.i &PROC='getTermsDescription' &PROGRAM='adcrxr.p' |
|
561 |
|
&HANDLE=ph_adcrxr |
|
562 |
|
&PARAM="(input ih_cr_terms, |
|
563 |
|
output termsdesc)"} |
|
|
565 |
|
find ct_mstr |
|
566 |
|
where ct_domain = global_domain |
|
567 |
|
and ct_code = ih_cr_terms |
|
568 |
|
no-lock no-error. |
564 |
569 |
|
|
|
570 |
|
if available ct_mstr |
|
571 |
|
then do: |
|
572 |
|
/* Run the data object class to return the Payment Condition Description */ |
|
573 |
|
/* Parameters: PaymentConditionCode, LngCode */ |
|
574 |
|
do on error undo, throw: |
|
575 |
|
PaymentCondition = new PaymentConditionDescByLng(ih_cr_terms,global_user_lang). |
|
576 |
|
catch anError as Progress.Lang.Error: |
|
577 |
|
/* Start qflib.p - QAD Financials Library running persistently */ |
|
578 |
|
run mfairunh.p |
|
579 |
|
(input 'qflib.p', |
|
580 |
|
input '?', |
|
581 |
|
output hQADFinancialsLib) no-error. |
|
582 |
|
run processExceptions in hQADFinancialsLib (input anError). |
|
583 |
|
return. |
|
584 |
|
end catch. |
|
585 |
|
end. |
|
586 |
|
if PaymentCondition:Available |
|
587 |
|
then do: |
|
588 |
|
termsdesc = PaymentCondition:PaymentConditionDescription. |
|
589 |
|
delete object PaymentCondition. |
|
590 |
|
end. |
|
591 |
|
end. |
|
592 |
|
else |
|
593 |
|
termsdesc = "". |
565 |
594 |
find ad_mstr |
find ad_mstr |
566 |
595 |
where ad_domain = global_domain |
where ad_domain = global_domain |
567 |
596 |
and ad_addr = ih_bill |
and ad_addr = ih_bill |
568 |
597 |
no-lock no-wait no-error. |
no-lock no-wait no-error. |
569 |
598 |
update billto = "". |
update billto = "". |
570 |
|
|
|
|
599 |
|
/*eb3sp5 add begin*/ |
|
600 |
|
assign |
|
601 |
|
billto_city = "" |
|
602 |
|
billto_state = "" |
|
603 |
|
billto_zip = "" |
|
604 |
|
billto_attn = "" |
|
605 |
|
billto_fax = "" |
|
606 |
|
billto_phn = "". |
|
607 |
|
/*eb3sp5 add end*/ |
571 |
608 |
if available ad_mstr then do: |
if available ad_mstr then do: |
572 |
609 |
|
|
573 |
610 |
/* Assign values to addr and format */ |
/* Assign values to addr and format */ |
574 |
611 |
{us/mf/mfadfmt.i} |
{us/mf/mfadfmt.i} |
575 |
|
|
|
|
612 |
|
/*eb3sp5 add begin*/ |
|
613 |
|
|
|
614 |
|
{us/xf/xfaddr.i "billto"} /*eb3sp5*/ |
|
615 |
|
|
|
616 |
|
assign |
|
617 |
|
addr[5] = "" |
|
618 |
|
billto_city = ad_city |
|
619 |
|
billto_state = ad_state |
|
620 |
|
billto_zip = ad_zip |
|
621 |
|
billto_fax = ad_fax |
|
622 |
|
billto_attn = ad_attn |
|
623 |
|
billto_phn = ad_phone. |
|
624 |
|
|
|
625 |
|
/*eb3sp5 add end*/ |
|
626 |
|
|
576 |
627 |
for first cm_mstr where cm_domain = global_domain |
for first cm_mstr where cm_domain = global_domain |
577 |
628 |
and cm_addr = ih_bill |
and cm_addr = ih_bill |
578 |
629 |
no-lock: end. |
no-lock: end. |
|
... |
... |
do: |
590 |
641 |
billto[5] = addr[5] |
billto[5] = addr[5] |
591 |
642 |
billto[6] = addr[6]. |
billto[6] = addr[6]. |
592 |
643 |
|
|
|
644 |
|
/*eb3sp5 comment begin |
593 |
645 |
hdr_po = getTermLabel("PURCHASE_ORDER",14) + ": " + ih_po. |
hdr_po = getTermLabel("PURCHASE_ORDER",14) + ": " + ih_po. |
594 |
646 |
|
|
595 |
647 |
if addr[6] <> "" |
if addr[6] <> "" |
596 |
648 |
and ih_po = "" |
and ih_po = "" |
597 |
649 |
then |
then |
598 |
650 |
billto[6] = addr[6]. |
billto[6] = addr[6]. |
599 |
|
|
|
|
651 |
|
eb3sp5 comment end*/ |
600 |
652 |
end. /* IF AVAIL ad_mstr */ |
end. /* IF AVAIL ad_mstr */ |
601 |
653 |
else do: |
else do: |
602 |
654 |
for first usr_mstr |
for first usr_mstr |
|
... |
... |
do: |
609 |
661 |
input usr_ctry_code). |
input usr_ctry_code). |
610 |
662 |
end. |
end. |
611 |
663 |
|
|
612 |
|
/*d2561* start added code >>> */ |
|
613 |
|
find ad_mstr where ad_domain = global_domain |
|
614 |
|
and ad_addr = ih_ship |
|
615 |
|
no-lock no-wait no-error. |
|
616 |
|
/*d2561* end added code <<< */ |
|
617 |
|
/*d2561* start deleted code >>> |
|
618 |
664 |
find ad_mstr where ad_domain = global_domain |
find ad_mstr where ad_domain = global_domain |
619 |
665 |
and ad_addr = ih_cust |
and ad_addr = ih_cust |
620 |
666 |
no-lock no-wait no-error. |
no-lock no-wait no-error. |
621 |
|
*d2561* end deleted code <<<< */ |
|
622 |
|
|
|
623 |
667 |
update soldto = "". |
update soldto = "". |
|
668 |
|
/*eb3sp5 add begin*/ |
|
669 |
|
assign |
|
670 |
|
soldto_city = "" |
|
671 |
|
soldto_state = "" |
|
672 |
|
soldto_zip = "". |
|
673 |
|
/*eb3sp5 add end*/ |
624 |
674 |
|
|
625 |
675 |
if available ad_mstr then do: |
if available ad_mstr then do: |
626 |
676 |
|
|
627 |
677 |
/* Assign values to addr and format */ |
/* Assign values to addr and format */ |
628 |
678 |
{us/mf/mfadfmt.i} |
{us/mf/mfadfmt.i} |
629 |
|
|
|
|
679 |
|
|
|
680 |
|
/*eb3sp5 add begin*/ |
|
681 |
|
{us/xf/xfaddr.i "soldto"} /*eb3sp5*/ |
|
682 |
|
assign |
|
683 |
|
addr[5] = "" |
|
684 |
|
soldto_city = ad_city |
|
685 |
|
soldto_state = ad_state |
|
686 |
|
soldto_zip = ad_zip. |
|
687 |
|
/*eb3sp5 add end*/ |
|
688 |
|
|
630 |
689 |
assign |
assign |
631 |
690 |
soldto[1] = addr[1] |
soldto[1] = addr[1] |
632 |
691 |
soldto[2] = addr[2] |
soldto[2] = addr[2] |
|
... |
... |
do: |
648 |
707 |
find ad_mstr where ad_domain = global_domain |
find ad_mstr where ad_domain = global_domain |
649 |
708 |
and ad_addr = ih_ship |
and ad_addr = ih_ship |
650 |
709 |
no-lock no-wait no-error. |
no-lock no-wait no-error. |
|
710 |
|
/*eb3sp5 add begin*/ |
|
711 |
|
assign |
|
712 |
|
shipto_city = "" |
|
713 |
|
shipto_state = "" |
|
714 |
|
shipto_zip = "" |
|
715 |
|
shipto_attn = "" |
|
716 |
|
shipto_phn = "". |
|
717 |
|
/*eb3sp5 add end*/ |
651 |
718 |
|
|
652 |
719 |
if available ad_mstr |
if available ad_mstr |
653 |
720 |
then do: |
then do: |
654 |
|
|
|
|
721 |
|
|
|
722 |
|
/*eb3sp5 add begin*/ |
|
723 |
|
assign |
|
724 |
|
shipto_city = ad_city |
|
725 |
|
shipto_state = ad_state |
|
726 |
|
shipto_zip = ad_zip |
|
727 |
|
shipto_attn = ad_attn |
|
728 |
|
shipto_phn = ad_phone |
|
729 |
|
shipto[1] = ad_name |
|
730 |
|
shipto[2] = ad_line1 |
|
731 |
|
shipto[3] = ad_line2 |
|
732 |
|
shipto[4] = ad_line3 |
|
733 |
|
shipto[5] = "" |
|
734 |
|
shipto[6] = ad_country. |
|
735 |
|
/*eb3sp5 add end*/ |
|
736 |
|
|
655 |
737 |
vatreg1 = "". |
vatreg1 = "". |
656 |
738 |
for first cm_mstr |
for first cm_mstr |
657 |
739 |
where cm_domain = global_domain |
where cm_domain = global_domain |
|
... |
... |
do: |
707 |
789 |
end. |
end. |
708 |
790 |
end. |
end. |
709 |
791 |
|
|
710 |
|
/*d2561* start added code >>> */ |
|
711 |
|
for first Debtor no-lock |
|
712 |
|
where Debtor.DebtorCode = ih_cust, |
|
713 |
|
first BusinessRelation of Debtor no-lock, |
|
714 |
|
each Address no-lock |
|
715 |
|
where Address.BusinessRelation_ID = |
|
716 |
|
BusinessRelation.BusinessRelation_ID, |
|
717 |
|
first AddressType no-lock |
|
718 |
|
where AddressType.AddressType_ID = Address.AddressType_ID |
|
719 |
|
and AddressType.AddressTypeCode = "REMINDER" |
|
720 |
|
and AddressType.AddressTypeIsActive, |
|
721 |
|
first Contact no-lock |
|
722 |
|
where Contact.Address_ID = Address.Address_ID |
|
723 |
|
and Contact.ContactIsPrimary: |
|
724 |
|
vemail = Contact.ContactEmail. |
|
725 |
|
end. |
|
726 |
|
|
|
727 |
|
if not isDomOrder then |
|
728 |
|
form |
|
729 |
|
header |
|
730 |
|
getTermLabelRtColon("SALES_ORDER",15) format "x(15)" to 15 |
|
731 |
|
ih_nbr |
|
732 |
|
getTermLabelRtColon("SHIP_DATE",20) format "x(20)" to 55 |
|
733 |
|
ih_ship_date |
|
734 |
|
getTermLabelRtColon("ORDER_DATE",15) format "x(15)" to 15 |
|
735 |
|
ih_ord_date |
|
736 |
|
hdr_po to 78 no-label |
|
737 |
|
getTermLabelRtColon("SALESPERSON(S)",15) format "x(15)" to 15 |
|
738 |
|
ih_slspsn[1] |
|
739 |
|
ih_slspsn[2] |
|
740 |
|
getTermLabelRtColon("SHIP_TO",20) format "x(20)" to 55 |
|
741 |
|
ih_ship |
|
742 |
|
ih_slspsn[3] at 17 |
|
743 |
|
ih_slspsn[4] |
|
744 |
|
getTermLabelRtColon("SHIP_VIA",20) format "x(20)" to 55 |
|
745 |
|
ih_shipvia |
|
746 |
|
getTermLabelRtColon("CREDIT_TERMS",15) format "x(15)" to 15 |
|
747 |
|
ih_cr_terms |
|
748 |
|
|
|
749 |
|
getTermLabelRtColon("BOL",10) format "x(10)" to 55 |
|
750 |
|
ih_bol |
|
751 |
|
" " to 15 |
|
752 |
|
termsdesc |
|
753 |
|
getTermLabelRtColon("FOB_POINT",15) format "x(15)" to 55 |
|
754 |
|
ih_fob |
|
755 |
|
getTermLabelRtColon("RESALE",15) format "x(15)" to 15 |
|
756 |
|
resale |
|
757 |
|
hdr_call to 64 no-label |
|
758 |
|
getTermLabelRtColon("REMARKS",15) format "x(15)" to 15 |
|
759 |
|
ih_rmks |
|
760 |
|
" Sold-To Email:" /* format "x(15)" */ to 15 |
|
761 |
|
vemail |
|
762 |
|
skip(1) |
|
763 |
|
with frame phead2 width 90. |
|
764 |
|
/*d2561* end added code <<< */ |
|
765 |
|
/*d2561* start deleted code >>> |
|
766 |
792 |
if not isDomOrder then |
if not isDomOrder then |
767 |
793 |
form |
form |
768 |
794 |
header |
header |
|
... |
... |
do: |
797 |
823 |
getTermLabelRtColon("REMARKS",15) format "x(15)" to 15 |
getTermLabelRtColon("REMARKS",15) format "x(15)" to 15 |
798 |
824 |
ih_rmks skip (1) |
ih_rmks skip (1) |
799 |
825 |
with frame phead2 width 90. |
with frame phead2 width 90. |
800 |
|
*d2561* end deleted code <<< */ |
|
801 |
|
{&d2561-tag-1000} /* new form definition */ |
|
802 |
826 |
else |
else |
803 |
827 |
form |
form |
804 |
828 |
header |
header |
|
... |
... |
do: |
859 |
883 |
if first-of(ih_inv_nbr) then do: |
if first-of(ih_inv_nbr) then do: |
860 |
884 |
/* INITIALIZE VARIABLES FOR INVOICE TOTALS.*/ |
/* INITIALIZE VARIABLES FOR INVOICE TOTALS.*/ |
861 |
885 |
{us/so/soivtot2.i} |
{us/so/soivtot2.i} |
|
886 |
|
/*eb3sp5 |
862 |
887 |
view frame continue. |
view frame continue. |
863 |
888 |
if not isDomOrder then |
if not isDomOrder then |
864 |
889 |
view frame phead2. |
view frame phead2. |
865 |
890 |
else |
else |
866 |
891 |
view frame phead2ent. |
view frame phead2ent. |
867 |
|
|
|
|
892 |
|
eb3sp5*/ |
|
893 |
|
{us/xf/xfiv1009m0.i} /*eb3sp5*/ |
868 |
894 |
if ih_fsm_type = "SC" then do: |
if ih_fsm_type = "SC" then do: |
869 |
895 |
|
|
870 |
896 |
svremarks = getTermLabel("FOR_PERIOD",25) + ": " |
svremarks = getTermLabel("FOR_PERIOD",25) + ": " |
871 |
897 |
+ string(ih_req_date,"99/99/99") + " " |
+ string(ih_req_date,"99/99/99") + " " |
872 |
898 |
+ getTermLabel("TO",10) + ": " |
+ getTermLabel("TO",10) + ": " |
873 |
899 |
+ string(ih_due_date,"99/99/99"). |
+ string(ih_due_date,"99/99/99"). |
874 |
|
put svremarks at 15. |
|
|
900 |
|
/* put svremarks at 15. */ /*eb3sp5*/ |
|
901 |
|
|
|
902 |
|
{us/xf/xfiv1009m0a.i} /*eb3sp5*/ |
875 |
903 |
|
|
876 |
904 |
svremarks = getTermLabel("SERVICE_CONTRACT",30) + ": " |
svremarks = getTermLabel("SERVICE_CONTRACT",30) + ": " |
877 |
905 |
+ ih_sa_nbr. |
+ ih_sa_nbr. |
878 |
|
put svremarks at 15. |
|
|
906 |
|
/*put svremarks at 15. eb3sp5*/ |
879 |
907 |
end. /* IF ih_fsm_type = "SC" */ |
end. /* IF ih_fsm_type = "SC" */ |
880 |
908 |
|
|
|
909 |
|
/*eb3sp5 comment begin |
881 |
910 |
run PrintHeaderComment(input ih_cmtindx, |
run PrintHeaderComment(input ih_cmtindx, |
882 |
911 |
input vcPriHeadComment). |
input vcPriHeadComment). |
883 |
912 |
put skip(1). |
put skip(1). |
|
913 |
|
eb3sp5 comment end*/ |
|
914 |
|
{us/xf/xfcmtprt.i &type=IN &id=ih_cmtindx &rectype=A} /*eb3sp5*/ |
884 |
915 |
/* IF THIS INVOICE IS FOR AN RMA WHICH REFERENCES */ |
/* IF THIS INVOICE IS FOR AN RMA WHICH REFERENCES */ |
885 |
916 |
/* A CALL, PRINT HEADER COMMENTS FROM THAT CALL */ |
/* A CALL, PRINT HEADER COMMENTS FROM THAT CALL */ |
886 |
917 |
|
|
|
... |
... |
do: |
894 |
925 |
no-lock no-error. |
no-lock no-error. |
895 |
926 |
|
|
896 |
927 |
if available ca_mstr then do: |
if available ca_mstr then do: |
|
928 |
|
/*eb3sp5 comment begin |
897 |
929 |
put skip(1). |
put skip(1). |
898 |
930 |
run PrintHeaderComment(input ca_cmtindx, |
run PrintHeaderComment(input ca_cmtindx, |
899 |
931 |
input vcPriHeadComment). |
input vcPriHeadComment). |
|
932 |
|
eb3sp5 comment end*/ |
|
933 |
|
{us/xf/xfcmtprt.i &type=IN &id=ca_cmtindx &rectype=F} /*eb3sp5*/ |
900 |
934 |
end. /* IF AVAIL ca_mstr */ |
end. /* IF AVAIL ca_mstr */ |
901 |
935 |
else do: |
else do: |
902 |
936 |
find first chm_mstr |
find first chm_mstr |
|
... |
... |
do: |
906 |
940 |
no-lock no-error. |
no-lock no-error. |
907 |
941 |
|
|
908 |
942 |
if available chm_mstr then do: |
if available chm_mstr then do: |
|
943 |
|
/*eb3sp5 comment begin |
909 |
944 |
put skip(1). |
put skip(1). |
910 |
945 |
run PrintHeaderComment(input chm_cmtindx, |
run PrintHeaderComment(input chm_cmtindx, |
911 |
946 |
input vcPriHeadComment). |
input vcPriHeadComment). |
|
947 |
|
eb3sp5 comment end*/ |
|
948 |
|
{us/xf/xfcmtprt.i &type=IN &id=ca_cmtindx &rectype=F} /*eb3sp5*/ |
|
949 |
|
|
912 |
950 |
end. /* IF AVAIL chm_mstr */ |
end. /* IF AVAIL chm_mstr */ |
913 |
951 |
end. /* ELSE NOT AVAIL ca_mstr */ |
end. /* ELSE NOT AVAIL ca_mstr */ |
914 |
952 |
end. /* IF rmaso */ |
end. /* IF rmaso */ |
|
... |
... |
do: |
923 |
961 |
/* FOURTH AND FIFTH OUTPUT PARAMETERS ARE ADDED FOR |
/* FOURTH AND FIFTH OUTPUT PARAMETERS ARE ADDED FOR |
924 |
962 |
CALCULATING TAXABLE AND NON TAXABLE LINE AND CONTAINER |
CALCULATING TAXABLE AND NON TAXABLE LINE AND CONTAINER |
925 |
963 |
CHARGES */ |
CHARGES */ |
926 |
|
/*d2561* {us/bbi/gprun.i ""soivrp1a.p"" */ |
|
927 |
|
/*d2561*/ {us/bbi/gprun.i ""xxivrp1a.p"" |
|
|
964 |
|
{us/xf/xfiv1009mv.i} /*eb3sp5*/ |
|
965 |
|
/*93sp12.1 {us/bbi/gprun.i ""soivrp1a.p"" */ |
|
966 |
|
/*eb3sp5*/ {us/bbi/gprun.i ""xfivrp1a.p"" |
928 |
967 |
"(output invtot_container_amt, |
"(output invtot_container_amt, |
929 |
968 |
output invtot_linecharge_amt, |
output invtot_linecharge_amt, |
930 |
969 |
input-output l_nontax_amt, |
input-output l_nontax_amt, |
|
... |
... |
do: |
949 |
988 |
{us/gp/gprunp.i "gpccpl" "p" "isCCOrder" |
{us/gp/gprunp.i "gpccpl" "p" "isCCOrder" |
950 |
989 |
"(input ih_nbr, output vlResult)"} |
"(input ih_nbr, output vlResult)"} |
951 |
990 |
/*If it is view credit card message frame*/ |
/*If it is view credit card message frame*/ |
|
991 |
|
/*93sp12.1 |
952 |
992 |
if vlResult then |
if vlResult then |
953 |
993 |
display vcCreditCardMsg with frame soccmsg. |
display vcCreditCardMsg with frame soccmsg. |
|
994 |
|
*/ |
954 |
995 |
|
|
955 |
996 |
if disc_sum_key <> "1" and |
if disc_sum_key <> "1" and |
956 |
997 |
disc_sum_key <> disc_det_key |
disc_sum_key <> disc_det_key |
|
... |
... |
do: |
963 |
1004 |
end. /* IF disc_sum_key <> "1" */ |
end. /* IF disc_sum_key <> "1" */ |
964 |
1005 |
|
|
965 |
1006 |
/* PRINT DISCOUNT SUMMARY, DELETE DISC WKFL RECORDS */ |
/* PRINT DISCOUNT SUMMARY, DELETE DISC WKFL RECORDS */ |
966 |
|
{us/so/sopiprn2.i} |
|
|
1007 |
|
/*93sp12.1 {us/so/sopiprn2.i} */ |
|
1008 |
|
{us/xf/xfpiprn2.i} /*eb3sp5*/ |
|
1009 |
|
|
967 |
1010 |
assign |
assign |
968 |
1011 |
tot_prepaid_amt = tot_prepaid_amt + ih_hist.ih_prepaid |
tot_prepaid_amt = tot_prepaid_amt + ih_hist.ih_prepaid |
969 |
1012 |
tot_ptax_amt = tot_ptax_amt + ih_hist.ih_prep_tax. |
tot_ptax_amt = tot_ptax_amt + ih_hist.ih_prep_tax. |
|
... |
... |
do: |
1008 |
1051 |
/* txdetrpa.i FOR DISPLAYING THE APPROPRIATE CURRENCY */ |
/* txdetrpa.i FOR DISPLAYING THE APPROPRIATE CURRENCY */ |
1009 |
1052 |
/* AMOUNT. */ |
/* AMOUNT. */ |
1010 |
1053 |
|
|
1011 |
|
{us/bbi/gprun.i ""txdetrp.p"" "(input tax_tr_type, |
|
|
1054 |
|
/*93sp12.1 {us/bbi/gprun.i ""txdetrp.p"" "(input tax_tr_type, */ |
|
1055 |
|
/*eb3sp5*/ {us/bbi/gprun.i ""xfdetrp.p"" "(input tax_tr_type, |
1012 |
1056 |
input ih_inv_nbr, |
input ih_inv_nbr, |
1013 |
1057 |
input '*', |
input '*', |
1014 |
1058 |
input col-80, |
input col-80, |
|
... |
... |
do: |
1091 |
1135 |
l_conso = no |
l_conso = no |
1092 |
1136 |
l_tax_in = 0. |
l_tax_in = 0. |
1093 |
1137 |
|
|
|
1138 |
|
/*93sp12.1 |
1094 |
1139 |
if can-find(mfc_ctrl where mfc_domain = global_domain |
if can-find(mfc_ctrl where mfc_domain = global_domain |
1095 |
1140 |
and mfc_module = "SO" |
and mfc_module = "SO" |
1096 |
1141 |
and mfc_seq = 170) |
and mfc_seq = 170) |
1097 |
1142 |
then do: |
then do: |
1098 |
|
view frame continue. |
|
|
1143 |
|
/*view frame continue. eb3sp5*/ |
1099 |
1144 |
{us/so/soivtotb.i} |
{us/so/soivtotb.i} |
1100 |
|
hide frame continue. |
|
|
1145 |
|
/*hide frame continue. eb3sp5*/ |
1101 |
1146 |
end. /* FOUND mfc_ctrl RECORD */ |
end. /* FOUND mfc_ctrl RECORD */ |
|
1147 |
|
*/ |
1102 |
1148 |
|
|
1103 |
1149 |
add-trl-length = if tot_prepaid_amt <> 0 then |
add-trl-length = if tot_prepaid_amt <> 0 then |
1104 |
1150 |
3 |
3 |
1105 |
1151 |
else 0. |
else 0. |
1106 |
1152 |
|
|
|
1153 |
|
/*eb3sp5 comment begin |
1107 |
1154 |
if page-size - line-counter < 12 + add-trl-length |
if page-size - line-counter < 12 + add-trl-length |
1108 |
1155 |
then do: |
then do: |
1109 |
1156 |
view frame continue. |
view frame continue. |
|
... |
... |
do: |
1119 |
1166 |
|
|
1120 |
1167 |
put fill("-",77) format "x(77)" skip. |
put fill("-",77) format "x(77)" skip. |
1121 |
1168 |
currdisp = ih_curr. |
currdisp = ih_curr. |
|
1169 |
|
eb3sp5 comment end*/ |
1122 |
1170 |
|
|
1123 |
1171 |
/* DETERMINE IF THIS INVOICE IS A CONSOLIDATED INVOICE WHICH */ |
/* DETERMINE IF THIS INVOICE IS A CONSOLIDATED INVOICE WHICH */ |
1124 |
1172 |
/* WAS CONSOLIDATED FROM A DOM GLOBAL ORDER */ |
/* WAS CONSOLIDATED FROM A DOM GLOBAL ORDER */ |
|
... |
... |
do: |
1132 |
1180 |
output so-trl3-cd, |
output so-trl3-cd, |
1133 |
1181 |
output isConsolDom)"} |
output isConsolDom)"} |
1134 |
1182 |
end. |
end. |
1135 |
|
|
|
1136 |
|
/* Calculate SC amount of total tax */ |
|
1137 |
|
tax_sc_amt = invtot_tax_amt. |
|
1138 |
|
if ih_curr <> g_mgmt_curr then do: |
|
1139 |
|
{us/gp/gprunp.i "mcpl" "p" "mc-curr-conv" |
|
1140 |
|
"(input ih_curr, |
|
1141 |
|
input g_mgmt_curr, |
|
1142 |
|
input ih_mgmt_ex_rate, |
|
1143 |
|
input ih_mgmt_ex_rate2, |
|
1144 |
|
input tax_sc_amt, |
|
1145 |
|
input true, /* ROUND */ |
|
1146 |
|
output tax_sc_amt, |
|
1147 |
|
output mc-error-number)"} |
|
1148 |
|
if mc-error-number <> 0 then do: |
|
1149 |
|
{us/bbi/pxmsg.i &MSGNUM=mc-error-number &ERRORLEVEL=2} |
|
1150 |
|
end. |
|
1151 |
|
end. |
|
1152 |
1183 |
|
|
|
1184 |
|
/*eb3sp5 add begin*/ |
|
1185 |
|
if nontax_fmt <> "" then |
|
1186 |
|
assign nontaxable_amt:format in frame ihtot = nontax_fmt. |
|
1187 |
|
if taxable_fmt <> "" then |
|
1188 |
|
assign taxable_amt:format in frame ihtot = taxable_fmt. |
|
1189 |
|
if line_tot_fmt <> "" then |
|
1190 |
|
assign line_total:format in frame ihtot = line_tot_fmt. |
|
1191 |
|
if disc_fmt <> "" then |
|
1192 |
|
assign disc_amt:format in frame ihtot = disc_fmt. |
|
1193 |
|
|
|
1194 |
|
if trl_amt_fmt <> "" then |
|
1195 |
|
assign |
|
1196 |
|
ih_trl1_amt:format in frame ihtot = trl_amt_fmt |
|
1197 |
|
ih_trl2_amt:format in frame ihtot = trl_amt_fmt |
|
1198 |
|
ih_trl3_amt:format in frame ihtot = trl_amt_fmt. |
|
1199 |
|
|
|
1200 |
|
if tax_amt_fmt <> "" then |
|
1201 |
|
assign tax_amt:format in frame ihtot = tax_amt_fmt. |
|
1202 |
|
if container_fmt <> "" then |
|
1203 |
|
assign container_charge_total:format in frame ihtot = container_fmt. |
|
1204 |
|
if line_charge_fmt <> "" then |
|
1205 |
|
assign line_charge_total:format in frame ihtot = line_charge_fmt. |
|
1206 |
|
if ord_amt_fmt <> "" then |
|
1207 |
|
assign ord_amt:format in frame ihtot = ord_amt_fmt. |
|
1208 |
|
/*eb3sp5 add end*/ |
|
1209 |
|
|
1153 |
1210 |
/* SET CURRENCY DEPENDENT FORMATS */ |
/* SET CURRENCY DEPENDENT FORMATS */ |
|
1211 |
|
/*eb3sp5 comment begin |
1154 |
1212 |
assign |
assign |
1155 |
1213 |
nontaxable_amt:format in frame ihtot = nontax_fmt |
nontaxable_amt:format in frame ihtot = nontax_fmt |
1156 |
1214 |
taxable_amt:format in frame ihtot = taxable_fmt |
taxable_amt:format in frame ihtot = taxable_fmt |
|
... |
... |
do: |
1163 |
1221 |
container_charge_total:format in frame ihtot = container_fmt |
container_charge_total:format in frame ihtot = container_fmt |
1164 |
1222 |
line_charge_total:format in frame ihtot = line_charge_fmt |
line_charge_total:format in frame ihtot = line_charge_fmt |
1165 |
1223 |
ord_amt:format in frame ihtot = ord_amt_fmt. |
ord_amt:format in frame ihtot = ord_amt_fmt. |
|
1224 |
|
eb3sp5 comment end*/ |
|
1225 |
|
/*93sp12.1 {us/so/soivto10.i} */ |
|
1226 |
|
{us/xf/xfivto10.i} /*eb3sp5*/ |
1166 |
1227 |
|
|
1167 |
|
/*d2561* {us/so/soivto10.i} */ |
|
1168 |
|
/*d2561* start added code >>> */ |
|
1169 |
|
/* Calculate Trailer Tax */ |
|
1170 |
|
assign |
|
1171 |
|
tr1pct = gettrltaxpct(ih_inv_nbr, ih_trl1_cd) |
|
1172 |
|
tr1tax = gettrltaxamt(ih_inv_nbr, ih_trl1_cd) |
|
1173 |
|
tr2pct = gettrltaxpct(ih_inv_nbr, ih_trl2_cd) |
|
1174 |
|
tr2tax = gettrltaxamt(ih_inv_nbr, ih_trl2_cd) |
|
1175 |
|
tr3pct = gettrltaxpct(ih_inv_nbr, ih_trl3_cd) |
|
1176 |
|
tr3tax = gettrltaxamt(ih_inv_nbr, ih_trl3_cd) |
|
1177 |
|
. |
|
1178 |
|
{xxivto10.i} |
|
1179 |
|
/*d2561* end added code <<< */ |
|
|
1228 |
|
/*eb3sp5 comment begin |
1180 |
1229 |
if tot_prepaid_amt <> 0 |
if tot_prepaid_amt <> 0 |
1181 |
1230 |
then do: |
then do: |
1182 |
1231 |
price_fmt = "-zzzz,zzz,zz9.99". |
price_fmt = "-zzzz,zzz,zz9.99". |
|
... |
... |
do: |
1199 |
1248 |
with frame ihprepd. |
with frame ihprepd. |
1200 |
1249 |
|
|
1201 |
1250 |
end. /* IF tot_prepaid_amt <> 0 */ |
end. /* IF tot_prepaid_amt <> 0 */ |
|
1251 |
|
eb3sp5 comment end*/ |
1202 |
1252 |
|
|
1203 |
1253 |
end. /* IF LAST-OF ih_inv_nbr */ |
end. /* IF LAST-OF ih_inv_nbr */ |
1204 |
1254 |
|
|
|
... |
... |
END PROCEDURE. /*removeEmptyStrings*/ |
1535 |
1585 |
|
|
1536 |
1586 |
/* procedures of print settings */ |
/* procedures of print settings */ |
1537 |
1587 |
{us/so/soprprc1.i} |
{us/so/soprprc1.i} |
|
1588 |
|
|