$$$$$$tr_bd_i_item_info(MS).sql^^^^

dne


)on_meti.a = on_meti.c dna on_hcnarb.b = on_hcnarb.c erehw c ecirp_hcnarb_cp_t morf 1 tceles( stsixe ton   dna    	

)'1','0'( ni ytreporp.b erehw    	

 b ofni_hcnarb_db_t  ,a detresni morf            

sutats.a,4ecirp_esab.a,3ecirp_esab.a,2ecirp_esab.a,1ecirp_esab.a,kcots_meti.a,'1',ecirp_hcnarb.a,etar_yl_pus.a,ecirp_piv.a       	

,ecirp_elas.a,ecirp_esab.a,)dne ecirp.a esle ecirp_snart.a neht '2' nehw epyt_edart esac(,galf_pus_meti.a,tsucpus_niam.a,on_meti.a, on_hcnarb.b tceles	

)sutats,4ecirp_esab ,3ecirp_esab ,2ecirp_esab ,1ecirp_esab ,kcots_meti,elas_hcnarb,ecirp_hcnarb,etar_yl_pus ,ecirp_piv        	

,ecirp_elas,ecirp_esab ,ecirp,yaw_elas,on_tsucpus,on_meti,on_hcnarb( ecirp_hcnarb_cp_t tresni	

32-21-5002 sjuw yb deifidom 表息信品商构机写--        


) tsucpus_niam.a = on_tsucpus.c dna                                

 on_meti.a = on_meti.c dna                                

 on_hcnarb.b = on_hcnarb.c erehw                              

 c meti_tsucpus_db_t morf 1 tceles( stsixe ton dna           

) ))'3','1'( ni epyt_edart.b dna '0' = ytreporp.b( ro '1' = ytreporp.b( erehw         

b ofni_hcnarb_db_t ,a detresni morf           

)(etadteg,galf_pus_meti.a,tsucpus_niam.a ,on_meti.a, on_hcnarb.b tceles         

)etad_tcartnoc,yaw_elas,on_tsucpus,on_meti,on_hcnarb( meti_tsucpus_db_t tresni 	

32-21-5002 sjuw yb deifidom 表系关商应供品商写--         


ruc_meti_tresni etacollaed	

ruc_meti_tresni esolc	

dne	

kcots_tini@,ecirp@,yaw_selas@,tsucpus_niam@,on_meti@ otni ruc_meti_tresni hctef		


dne		

)'存库初期' , '1001' , 'A' , tsucpus_niam@ , dne '+' esle '-' neht 0 < kcots_tini@ nehw esac , 'DP' , '' , on_hcnarb@ , ) 0 , ecirp@ ( llunsi* ) 0 , ) kcots_tini@ ( sba ( llunsi , ) 0 , ecirp@ ( llunsi , ) 0 , ) kcots_tini@ ( sba ( llunsi , on_meti@ , )(etadteg , 'DP' (seulav			

 ) omem , di_repo , yaw_elas , on_tsucpus , on_bd , on_snart , on_hcnarb_d , on_hcnarb , tma_teehs , ecirp , ytq_laer , on_meti , etad_repo , on_rehcuov ( wolf_mi_t otni tresni			

nigeb		

0>kcots_tini@ fi		

存库初期成生 80308102 nahnol yb dda--		


)'dda',llun ,)(etadteg ,on_meti@ ,'I' ,'ofni_meti_db_t'( seulav			

)7yek,on_hcnarb ,etad_etadpu ,1yek ,epyt_egnahc ,elbat_moc( atad_mc_sys_t otni tresni		


)ecirp@,on_hcnarb@ ,on_meti@( seulav )tsoc_gva,on_hcnarb,on_meti( kcots_hcnarb_mi_t tresni			

)on_meti@ = on_meti dna on_hcnarb@ = on_hcnarb erehw kcots_hcnarb_mi_t morf on_meti tceles(stsixe ton fi		



nigeb	

0=sutats_hctef@@ elihw	

kcots_tini@,ecirp@,yaw_selas@,tsucpus_niam@,on_meti@ otni ruc_meti_tresni hctef	

ruc_meti_tresni nepo	

ylno daer rof		

detresni morf kcots_tini,ecirp,galf_pus_meti,tsucpus_niam,on_meti  tceles		

rof rosruc ruc_meti_tresni eralced	

入插--	

	

'10' + on_hcnarb@ = on_hcnarb@ tceles	

'on_hcnarb_g'=di_rav_sys erehw metsys_sys_t morf eulav_rav_sys=on_hcnarb@ tceles	

库仓的认默统系--	

	

存库初期-- )4,61(ciremun kcots_tini@ eralced	

)4,81(ciremun ecirp@,)01(rahcrav on_hcnarb@,)01(rahcrav yaw_selas@,)02(rahcrav tsucpus_niam@,)02(rahcrav on_meti@ eralced	

)03(rahcrav 1yek@ eralced	--

量变明声--	


nruter			

)'0' = )'detubirtsid_si'=)di_rav_sys(rewol erehw metsys_sys_t morf eulav_rav_sys tceles( 		

ro '1' = )'detubirtsid_si'=)di_rav_sys(rewol erehw metsys_sys_t morf eulav_rav_sys tceles(( ton fi	

90119002.guil 回返则是不果如，版机单或部总锁连是否是查检：为改修--   

回返则是不果如，版式部分是否是查检--	

nigeb

sa

tresni rof

ofni_meti_db_t no ofni_meti_i_db_rt reggirt etaerc


og

ofni_meti_i_db_rt reggirt pord  

)'ofni_meti_i_db_rt'=eman erehw stcejbosys morf 1 tceles(stsixe fi####$$$$$$tr_rm_payflow(MS).sql^^^^

dne

rosruc_detresni ETACOLLAED

rosruc_detresni ESOLC

:ntr


dne

 

epyt_snart@,on_inorecic_sl@ , di_inorecic_sl@ , omem_sl@        , on_retnuoc_sl@    	, on_tfihs_sl@    	

, ONdrac_sl@    	, ONpiv_sl@    	,yaWelas_sl@    	,emiTetaDyap_tdl@    	,etaRnioc_nl@    	,ONnioc_sl@    	

,yaWyap_sl@    	,tmAelas_nl@    ,tmAyap_nl@    	,ONhcnarb_sl@    	,rehsac_sl@    	,diwolf_nl@    	, oNwolf_sl@ otni

 rosruc_detresni HCTEF


dne	

 			

)  ONhcnarb_sl@ ,emiTetaDyap_tdl@ ,rehsac_sl@, oNwolf_sl@, ONhcnarb_sg@ , on_inorecic_sl@ , di_inorecic_sl@ (seulav   								

) di_hcnarB, etad_repO   , di_repO    ,on_wolf    ,on_hcnarB      ,on_inorecic     , di_inoreciC (wolf_on_inorecic_db_t otni tresni		

在存不-- ) oNwolf_sl@ = on_wolf dna ONhcnarb_sg@ = on_hcnarB			

DNA on_inorecic_sl@ = on_inorecic dna di_inorecic_sl@ = di_inoreciC erehw wolf_on_inorecic_db_t morf * tceles (stsixe ton fi		

nigeb	

) '' >< on_inorecic_sl@ ( DNA ) llUN ton si on_inorecic_sl@ ( DNA ) '' >< di_inorecic_sl@ ( DNA ) llUN ton si di_inorecic_sl@ ( fi  

能功游导--  


dne  

dne      

dne			

)ONhcnarb_sg@,emiTetaDyap_tdl@ , tmAyap_nl@ ,ONpiv_sl@ ,'1' ,oNwolf_sl@(seulav      	  			

)on_hcnarb,emit_yap ,tnuoma ,di_drac ,epyt_drac ,on_wolf(tsilyap_drac_mr_t otni tresni        			

esle				

'1'=epyt_drac dna ONpiv_sl@ = di_drac dna oNwolf_sl@ = on_wolf erehw						

tmAyap_nl@ + tnuoma = tnuoma tes tsilyap_drac_mr_t etadpu					

)'1'=epyt_drac dna ONpiv_sl@ = di_drac dna oNwolf_sl@ = on_wolf erehw tsilyap_drac_mr_t morf * tceles( stsixE fi				

nigeb			

)'4' = epyt_edart dna ONhcnarb_sg@ = on_hcnarb dna 0 = ytreporp erehw ofni_hcnarb_db_t morf on_hcnarb tceles( stsixE ro ONhcnarb_sg@ = on_hcnarb_g_sl@ fi			

31-11-4002 sjuw .传上独单细明款付员会,细明付员会成生再以可不时水流款付的传上部分 --    		

		

etaRnioc_nl@ * tmAyap_nl@ * 1- = tmAyap_nl@ tceles				

'D' = yaWelas_sl@ ro 'B' = yaWelas_sl@ fi			

13-01-6002 ghil yb deifidom 数负录记时货退 --			

nigeb      

)'GHC' >< yaWyap_sl@ dna ) )'D' = yaWelas_sl@( ro )'B' = yaWelas_sl@( ro )'A' = yaWelas_sl@((( fi      

录记时货退和售销常正录记只 --       

nigeb  

)'' >< ONpiv_sl@( DNA )lluN ton si ONpiv_sl@( fi 

 

额总费消卡员会新更,费消卡员会 --  


  

dne--  

dne	

dne.............................................)muSyad_tfihs_mr_t(表结日次班写 --  	

)ONnioc_sl@=on_nioc dna yaWelas_sl@=yaw_elas dna yaWyap_sl@=yaw_yap dna ONhcnarb_sg@=on_hcnarb dna rts_tfihs_sl@=on_tfihs dna rehsac_sl@=on_rehsac dna etad_tfihs_sl@=etad_repo( erehw			

)021,)(etadteg,)91(rahcrav(trevnoc=2rehto,'0'=galf_moc ,tmAyap_nl@+tma_laer=tma_laer tes musyad_tfihs_mr_t etadpu 		

新更，在存已次班 -- 		

esle  	

)llun,)021,)(etadteg,)91(rahcrav(trevnoc,)021,)(etadteg,)91(rahcrav(trevnoc,epyt_repo_sl@,ONnioc_sl@,yaWyap_sl@,yaWelas_sl@,tmAyap_nl@,0,ONhcnarb_sg@,rts_tfihs_sl@,rehsac_sl@,etad_tfihs_sl@     		

(seulav )3rehto,2rehto,1rehto,epyt_repo,on_nioc,yaw_yap,yaw_elas,tma_laer,tma_lles,on_hcnarb,on_tfihs,on_rehsac,etad_repo(musyad_tfihs_mr_t otni tresni 		

间时易交笔一末最次班本为 2rehto 间时易交笔一次班本第置 1rehto 10-90-5002 sjuw yb deifidom --         	

  加增，在存不次班 -- '0'=galFtsixEtfihs_sl@ fi  	

trats.............................................)musyad_tfihs_mr_t(表结日次班写 --  	

	

'1'=galFtsixEtfihs_sl@ tceles 		

在存已 --  esle  	

'0'=galFtsixEtfihs_sl@ tceles 		

在存不 -- ))ONnioc_sl@=on_nioc dna yaWelas_sl@=yaw_elas dna yaWyap_sl@=yaw_yap dna ONhcnarb_sg@=on_hcnarb dna rts_tfihs_sl@=on_tfihs dna rehsac_sl@=on_rehsac dna etad_tfihs_sl@=etad_repo( erehw 		

musyad_tfihs_mr_t morf *tceles(stsixe ton fi  	

	

)1,9,on_tfihs_sl@(gnirtsbus =  rts_tfihs_sl@ tceles  	

)2,7,on_tfihs_sl@(gnirtsbus+'-'+)2,5,on_tfihs_sl@(gnirtsbus+'-'+)4,1,on_tfihs_sl@(gnirtsbus = etad_tfihs_sl@ tceles  	

  		nigeb	

32-20-9002 guil理处不则空为次班-- 0 > ))'',on_tfihs_sl@(llunsi(nel fi	

在存已否是中)musyad_tfihs_mr_t(表结日次班在找查 --  	

 982822-717021-SQ 制控关开受不，据数次班写就，次班有要只 WHAM--  nigeb--  

理管次班否是 --    )))'4' = epyt_edart ro '0' = epyt_edart( dna ONhcnarb_sg@ = on_hcnarb dna 0 = ytreporp erehw ofni_hcnarb_db_t morf on_hcnarb tceles( stsixE dna '' >< )'',on_tfihs_sl@(llunsi( ro '1' = lrtc_tfihs_sg@ fi--  

  


dne  

dne.............................................)muSyad_rehsac_mr_t(表结日员银收写 --        

)ONnioc_sl@=on_nioc dna yaWelas_sl@=yaw_elas dna yaWyap_sl@=yaw_yap dna ONhcnarb_sg@=on_hcnarb dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw           

1+ 3mun =3mun,'0'=galf_moc ,tmAyap_nl@+tma_laer=tma_laer tes musyad_rehsac_mr_t etadpu        

新更，在存已员银收 --        

esle     

)1,llun,llun,llun,epyt_repo_sl@,ONnioc_sl@,yaWyap_sl@,yaWelas_sl@,tmAyap_nl@,0,ONhcnarb_sg@,rehsac_sl@,etaDrepo_sl@(seulav		

)3mun,3rehto,2rehto,1rehto,epyt_repo,on_nioc,yaw_yap,yaw_elas,tma_laer,tma_lles,on_hcnarb,on_rehsac,etad_repo(musyad_rehsac_mr_t otni tresni        

员银收为只省缺,'0'=epyt_repo：注 --  加增，在存不员银收 -- '0'=galFtsixErehsac_sl@ fi     

40808102数次的式方款收录记3mun trats.............................................)muSyad_rehsac_mr_t(表结日员银收写 --      


'1'=galFtsixErehsac_sl@ tceles          

在存已 --  esle     

'0'=galFtsixErehsac_sl@ tceles          

在存不 -- ))ONnioc_sl@=on_nioc dna yaWelas_sl@=yaw_elas dna yaWyap_sl@=yaw_yap dna ONhcnarb_sg@=on_hcnarb dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw        

musyad_rehsac_mr_t morf * tceles(stsixe ton fi     

在存已否是中)muSyad_rehsac_mr_t(表结日员银收在找查 --     

nigeb  

))'4' = epyt_edart ro '0' = epyt_edart( dna ONhcnarb_sg@ = on_hcnarb dna 0 = ytreporp erehw ofni_hcnarb_db_t morf on_hcnarb tceles( stsixE     

 ro )ONhcnarb_sg@ = on_hcnarb_g_sl@( fi  

	部分SOP  01-10-5002  cgnauh yb deifidoM --  

部总到传上独单报日银收的部分理管立独,31-11-4002 sjuw  表结日员银收写可才水流SOP的传上部分的管托部总或构机前当 --  


)121,emiTetaDyap_tdl@,)01(rahc(trevnoc=etaDrepo_sl@ tceles  

dd-mm-yyyy=121：为式格，）天当（期日型符字换转 --  


'lrtc_tfihs'=)di_rav_sys(rewol erehw metsys_sys_t morf eulav_rav_sys = lrtc_tfihs_sg@ tceles  

）中表统系在（理管次班行进否是统系到得 --  

 

 )2,ONhcnarb_sl@(tfel = ONhcnarb_sg@ tceles	

esle  

on_hcnarb_g_sl@ = ONhcnarb_sg@ tceles	

 '' = ONhcnarb_sl@ ro llun si ONhcnarb_sl@ fi  



'on_hcnarb_g'=)di_rav_sys(rewol erehw metsys_sys_t morf	

 eulav_rav_sys = on_hcnarb_g_sl@ tceles  

 


 dne     

'0' = epyt_repo_sl@ tceles	

nigeb     

esle  

dne     

'1' = epyt_repo_sl@ tceles	     

nigeb     

'VEL' = epyt_snart@ ro 'PPT' = epyt_snart@ fi  


oNwolf_sl@ = on_wolf erehw '1'= galf_yap tes dnes_tsucelas_mr_t etadpu	

  '款回送外'=omem_sl@ fi  


ntr otog  'YAP_DRO'=omem_sl@ dna 'A'=yaWelas_sl@ dna 'DRO'=yawyap_sl@ fi  

回返接直应时此，等表结日员银收次一了写经已就时金订付在为因，作操下以做再用不时算结款付来金订用调---- 

NIGEB

0 = SUTATS_HCTEF@@ ELIHW

epyt_snart@ ,on_inorecic_sl@ , di_inorecic_sl@ ,  omem_sl@        , on_retnuoc_sl@    	, on_tfihs_sl@    	

, ONdrac_sl@    	, ONpiv_sl@    	,yaWelas_sl@    	,emiTetaDyap_tdl@    	,etaRnioc_nl@    	,ONnioc_sl@    	

,yaWyap_sl@    	,tmAelas_nl@    ,tmAyap_nl@    	,ONhcnarb_sl@    	,rehsac_sl@    	,diwolf_nl@    	, oNwolf_sl@ otni

 rosruc_detresni HCTEF


rosruc_detresni NEPO


传不心中送配且,理处不回返接直时传上店分立独-- NRUTER ) '1' = galf_etomer@ ( fi  --

表结日到据数细明输传否是 -- 


llun si galf_etomer ro '1' >< galf_etomer erehw		

 detresni morf  	

epyt_snart,on_inorecic , di_inorecic , )omem(mirtr         ,on_retnuoc     	,on_tfihs     	,on_drac     	,on_piv    	,yaw_lles    	,etad_repo    	,etar_nioc    	,on_nioc    		

,yaw_yap    	,tnuoma_elas    	,tnuoma_yap    	,on_hcnarb    	,di_repo    	,di_wolf    	,on_wolf  tceles	

 ROF ROSRUC rosruc_detresni ERALCED  


)1(rahc         epyt_repo_sl@      	

型类务业--         ,)3(rahc            epyt_snart@          

号牌--     ,)01(rahcrav        on_inorecic_sl@          

号编游导--    , )6(rahcrav        di_inorecic_sl@      	

明说付支金订--     ,)552(rahcrav              omem_sl@          

码代构机部总--    , )01(rahcrav       on_hcnarb_g_sl@      	

额售销卡行银--  ,)4,61(ciremun      tma_dracknab_nl@      	

  ,)4,61(ciremun           tma_ter_nl@      	

)币位本(额金售销--  ,)4,61(ciremun          tma_elas_nl@      	

号台柜--        ,)4(rahc        on_retnuoc_sl@      	

      ,)1(rahc    galFtsixEtfihs_sl@      	

,)1(rahc  galFtsixEretnuoc_sl@      	

)4,3,2,1(号次班--        ,)1(rahc         rts_tfihs_sl@      	

期日次班--       ,)01(rahc        etad_tfihs_sl@      	

号次班--        ,)9(rahc          on_tfihs_sl@      	

理管次班否是--        ,)1(rahc        lrtc_tfihs_sg@      	

理管柜专同合否是--        ,)1(rahc      lrtc_retnuoc_sg@      	

,)4,61(ciremun		 tmaevitan_nl@      	

,)2,01(lamiced			  elacs_nl@      	

在存已='1'；在存不='0'，志标在存已否是中)muSyad_rehsac_mr_t(表结日银收在员银收 --,)1(rahc	 galFtsixErehsac_sl@      	

号卡值储 --     ,)02(rahcrav			 ONdrac_sl@      	

号卡员会 --      ,)02(rahcrav			 ONpiv_sl@      	

ddmmyyyy：为式格，）天当（期日型符字 --      ,)01(rahc			 etaDrepo_sl@      	

式方售销 --        ,)1(rahc			 yaWelas_sl@      	

间时款付 --  ,emitetad		 emiTetaDyap_tdl@      	

率汇种币 --  ,)4,6(lamiced			 etaRnioc_nl@      	

种币 --         ,)3(rahc			 ONnioc_sl@      	

)3>--2(--式方款付 --         ,)3(rahc			 yaWyap_sl@      	

额金款付 --   ,)4,61(ciremun			 tmAyap_nl@      	

额金售销 --  ,)4,61(ciremun			 tmAelas_nl@      	

码编库仓 --       ,)6(rahc			 ONhcnarb_sl@      	

码编库仓 --       ,)6(rahc			 ONhcnarb_sg@      	

号序售销 --    ,)0,3(ciremun			 dIwolf_nl@      	

号售销 --        ,)41(rahc			 oNwolf_sl@      	

员银收 --     ,)4(rahc			 rehsac_sl@ eralced  

								

NRUTER '1' = )detresni morf galf_etomer tceles( fi  --

表结日到据数细明输传否是 --  

nigeb

sa

tresni rof

 wolfyap_mr_t no wolfyap_mr_rt reggirt etaerc



og

wolfyap_mr_rt REGGIRT pord  

)'wolfyap_mr_rt'=eman erehw stcejbosys morf 1 tceles(stsixe fi####$$$$$$tr_rm_saleflow(MS).sql^^^^


DNE

rosruc_detresni ETACOLLAED

rosruc_detresni ESOLC

ofni_erom_nc_bat# elbat pord

:ntr

dne  

	

yenom_elas_cedl@,on_teehs_cic_sl@,on_teehs_ceps_sl@,galf_etomer@  		

,on_retnuoc_sl@  	,di_wolf@  		

,on_wolf@  	,tmAtcd_nl@  		

,galf_ceps_sl@  	,rehsac_sl@  		

,emiTetaDelas_tdl@  	,yaWelas_sl@  		

,crPelas_nl@  	,crPecruos_nl@  		

,ytQelas_nl@,ONmetI_sl@,ONhcnarb_sl@ OTNI	

 rosruc_detresni MORF TXEN HCTEF     

dne		

dne					

1 + di_bat_nim_ll@ = di_bat_nim_ll@ tes						

dne							

					) )dne '' esle di_etnc_sl@ neht '1' = galf_cic_erom_sl@ nehw esac(											

,)121,emiTetaDelas_tdl@,)01(rahcrav(trevnoc,etar_levart_cedl@,'2',) dne ytQelas_nl@  esle 0 neht 'c' nehw ytQelas_nl@ - neht 'B' nehw yaWelas_sl@ esac(,) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac(											

,etar_levart_cedl@ * ) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac(,onslc_meti_sl@,)2,ONhcnarb_sl@(tfel,on_teehs_cic_sl@( seulav									

)di_etnc,etad_repo,etar,epyt_mf,ytnq_elas,tma_elas,tma_laer,onslc_meti,on_hcnarb,on_teehs_cic( musyad_nc_mr_t otni tresni									

esle								

))'1' >< galf_cic_erom_sl@( ro )di_etnc_sl@ = di_etnc.musyad_nc_mr_t dna '1' = galf_cic_erom_sl@((  										

dna )121,emiTetaDelas_tdl@,)01(rahcrav(trevnoc = etad_repo  										

dna '2' = epyt_mf  										

dna onslc_meti_sl@ = onslc_meti  										

dna )2,ONhcnarb_sl@(tfel = on_hcnarb  										

 dna on_teehs_cic_sl@ = on_teehs_cic erehw									

) dne ytQelas_nl@  esle 0 neht 'c' nehw ytQelas_nl@ - neht 'B' nehw yaWelas_sl@ esac( + ytnq_elas = ytnq_elas  															

,) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac( + tma_elas = tma_elas  															

,etar * ) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac( + tma_laer = tma_laer tes musyad_nc_mr_t etadpu									

)   															

))'1' >< galf_cic_erom_sl@( ro )di_etnc_sl@ = di_etnc.musyad_nc_mr_t dna '1' = galf_cic_erom_sl@((   															

dna )121,emiTetaDelas_tdl@,)01(rahcrav(trevnoc = etad_repo   															

dna '2' = epyt_mf   															

dna onslc_meti_sl@ = onslc_meti   															

dna )2,ONhcnarb_sl@(tfel = on_hcnarb   									   						

 dna on_teehs_cic_sl@ = on_teehs_cic erehw 													    

 )kcolon(htiw musyad_nc_mr_t morf 1 1 pot tceles(stsixe fi								

								

dne									

0 = etar_levart_cedl@ tes											

1 >< tsixe_ll@ fi										

csed onslc_meti.slc_meti_db_t,csed )dne '2' esle '1' neht 0 =< etar_levart.slc_meti_db_t nehw esac( yb redro										

ONmetI_sl@ = on_meti.ofni_meti_db_t  											

dna )onslc_meti.ofni_meti_db_t(nel =< )onslc_meti.slc_meti_db_t(nel  											

 dna ))onslc_meti.slc_meti_db_t(nel,onslc_meti.ofni_meti_db_t(tfel = onslc_meti.slc_meti_db_t erehw										

)kcolon(htiw ofni_meti_db_t,)kcolon(htiw slc_meti_db_t morf										

onslc_meti.slc_meti_db_t = onslc_meti_sl@,1 = tsixe_ll@,etar_levart.slc_meti_db_t = etar_levart_cedl@ 1 pot tceles										

0 = tsixe_ll@ tes										

nigeb									

1 >< tsixe_ll@ fi								


csed onslc_meti.etar_slc_meti_nc_t yb redro								

))'1' >< galf_cic_erom_sl@( ro )di_etnc_sl@ = di_etnc.etar_slc_meti_nc_t dna '1' = galf_cic_erom_sl@((  									

dna on_teehs_cic_sl@ = on_teehs_cic.etar_slc_meti_nc_t  									

dna ONmetI_sl@ = on_meti.ofni_meti_db_t  									

dna )onslc_meti.ofni_meti_db_t(nel =< )onslc_meti.etar_slc_meti_nc_t(nel  									

 dna ))onslc_meti.etar_slc_meti_nc_t(nel,onslc_meti.ofni_meti_db_t(tfel = onslc_meti.etar_slc_meti_nc_t  									

dna '2' = epyt.etar_slc_meti_nc_t erehw								

)kcolon(htiw ofni_meti_db_t,)kcolon(htiw etar_slc_meti_nc_t morf								

onslc_meti.etar_slc_meti_nc_t = onslc_meti_sl@,1 = tsixe_ll@,etar.etar_slc_meti_nc_t = etar_levart_cedl@ 1 pot tceles								

 nigeb							

成提社行旅52-20-4102-pduoy---							

esle						

------							

dne							

										

) )dne '' esle di_etnc_sl@ neht '1' = galf_cic_erom_sl@ nehw esac( 											

,)121,emiTetaDelas_tdl@,)01(rahcrav(trevnoc,etar_inorecic_cedl@,'1',) dne ytQelas_nl@  esle 0 neht 'c' nehw ytQelas_nl@ - neht 'B' nehw yaWelas_sl@ esac(,) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac(											

,etar_inorecic_cedl@ * ) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac(,onslc_meti_sl@,)2,ONhcnarb_sl@(tfel,on_teehs_cic_sl@( seulav									

)di_etnc,etad_repo,etar,epyt_mf,ytnq_elas,tma_elas,tma_laer,onslc_meti,on_hcnarb,on_teehs_cic( musyad_nc_mr_t otni tresni									

esle								

))'1' >< galf_cic_erom_sl@( ro )di_etnc_sl@ = di_etnc.musyad_nc_mr_t dna '1' = galf_cic_erom_sl@((  										

dna )121,emiTetaDelas_tdl@,)01(rahcrav(trevnoc = etad_repo  										

dna '1' = epyt_mf  										

dna onslc_meti_sl@ = onslc_meti  										

dna )2,ONhcnarb_sl@(tfel = on_hcnarb  										

 dna on_teehs_cic_sl@ = on_teehs_cic erehw									

) dne ytQelas_nl@  esle 0 neht 'c' nehw ytQelas_nl@ - neht 'B' nehw yaWelas_sl@ esac( + ytnq_elas = ytnq_elas  															

,) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac( + tma_elas = tma_elas  															

,etar * ) dne yenom_elas_cedl@  esle 0 neht 'c' nehw yenom_elas_cedl@ - neht 'B' nehw yaWelas_sl@ esac( + tma_laer = tma_laer tes musyad_nc_mr_t etadpu									

)   															

))'1' >< galf_cic_erom_sl@( ro )di_etnc_sl@ = di_etnc.musyad_nc_mr_t dna '1' = galf_cic_erom_sl@((   															

 dna )121,emiTetaDelas_tdl@,)01(rahcrav(trevnoc = etad_repo   															

dna '1' = epyt_mf   															

dna onslc_meti_sl@ = onslc_meti   															

dna )2,ONhcnarb_sl@(tfel = on_hcnarb   								   							

 dna on_teehs_cic_sl@ = on_teehs_cic erehw 												    	

 )kcolon(htiw musyad_nc_mr_t morf 1 1 pot tceles(stsixe fi								

								

dne									

0 = etar_inorecic_cedl@ tes											

1 >< tsixe_ll@ fi										

csed onslc_meti.slc_meti_db_t,csed )dne '2' esle '1' neht 0 =< etar_inorecic.slc_meti_db_t nehw esac( yb redro										

ONmetI_sl@ = on_meti.ofni_meti_db_t  											

dna )onslc_meti.ofni_meti_db_t(nel =< )onslc_meti.slc_meti_db_t(nel  											

 dna ))onslc_meti.slc_meti_db_t(nel,onslc_meti.ofni_meti_db_t(tfel = onslc_meti.slc_meti_db_t erehw										

)kcolon(htiw ofni_meti_db_t,)kcolon(htiw slc_meti_db_t morf										

onslc_meti.slc_meti_db_t = onslc_meti_sl@,1 = tsixe_ll@,etar_inorecic.slc_meti_db_t = etar_inorecic_cedl@ 1 pot tceles										

0 = tsixe_ll@ tes										

nigeb									

1 >< tsixe_ll@ fi								


csed onslc_meti.etar_slc_meti_nc_t yb redro								

))'1' >< galf_cic_erom_sl@( ro )di_etnc_sl@ = di_etnc.etar_slc_meti_nc_t dna '1' = galf_cic_erom_sl@((  									

dna on_teehs_cic_sl@ = on_teehs_cic.etar_slc_meti_nc_t  									

 dna ONmetI_sl@ = on_meti.ofni_meti_db_t  									

dna )onslc_meti.ofni_meti_db_t(nel =< )onslc_meti.etar_slc_meti_nc_t(nel  									

 dna ))onslc_meti.etar_slc_meti_nc_t(nel,onslc_meti.ofni_meti_db_t(tfel = onslc_meti.etar_slc_meti_nc_t  									

dna '1' = epyt.etar_slc_meti_nc_t erehw								

)kcolon(htiw ofni_meti_db_t,)kcolon(htiw etar_slc_meti_nc_t morf								

onslc_meti.etar_slc_meti_nc_t = onslc_meti_sl@,1 = tsixe_ll@,etar.etar_slc_meti_nc_t = etar_inorecic_cedl@ 1 pot tceles								

nigeb							

成提游导52-20-4102-pduoy----------------							

 '1' = epyt_etnc_sl@ fi						

di_bat_nim_ll@ = di_bat erehw )kcolon(htiw ofni_erom_nc_bat# morf di_etnc = di_etnc_sl@,epyt_etnc = epyt_etnc_sl@ tceles						

					

				0 = etar_levart_cedl@ tes						

'' =    di_etnc_sl@ tes						

'' =  epyt_etnc_sl@ tes						

'' = onslc_meti_sl@ tes						

0 = etar_inorecic_cedl@ tes						

0 = tsixe_ll@ tes						

nigeb					

0 > di_bat_nim_ll@ dna 0 > di_bat_xam_ll@ dna 0 => di_bat_nim_ll@ - di_bat_xam_ll@ elihw				

				

)0,di_bat_nim_ll@(llunsi = di_bat_nim_ll@ tes				

)0,di_bat_xam_ll@(llunsi = di_bat_xam_ll@ tes				

ofni_erom_nc_bat# morf )di_bat(nim = di_bat_nim_ll@,)di_bat(xam = di_bat_xam_ll@ tceles				

0 = di_bat_nim_ll@ tes				

0 = di_bat_xam_ll@ tes				

				

				dne				

dne						

on_teehs_cic_sl@ = on_teehs.b_bat erehw							

)kcolon(htiw b_bat sa yrotsih_nc_t morf							

di_etnc sa di_levart.b_bat,epyt_etnc sa '2' tcnitsid tceles							

noinu							

on_teehs_cic_sl@ = on_teehs.b_bat erehw							

 )kcolon(htiw b_bat sa yrotsih_nc_t morf							

di_etnc sa di_inorecic.b_bat,epyt_etnc sa '1' tcnitsid tceles							

)di_etnc,epyt_etnc(ofni_erom_nc_bat# otni tresni							

nigeb						

esle					

dne						

on_teehs_cic_sl@ = on_teehs_cic.b_bat erehw							

)kcolon(htiw b_bat sa yrotsih_erom_nc_t morf							

di_etnc sa di_levart.b_bat,epyt_etnc sa '2' tcnitsid tceles							

noinu							

on_teehs_cic_sl@ = on_teehs_cic.b_bat erehw							

 )kcolon(htiw b_bat sa yrotsih_erom_nc_t morf							

di_etnc sa di_inorecic.b_bat,epyt_etnc sa '1' tcnitsid tceles							

)di_etnc,epyt_etnc(ofni_erom_nc_bat# otni tresni							

nigeb						

-------------游导多--- '1' = galf_cic_erom_sl@ fi					

					

ofni_erom_nc_bat# eteled					

					

)'0',galf_cic_erom_sl@(llunsi = galf_cic_erom_sl@ tes					

on_teehs_cic_sl@ = on_teehs.yrotsih_nc_t erehw )kcolon(htiw yrotsih_nc_t morf galf_cic_erom = galf_cic_erom_sl@ 1 pot tceles					

'0' = galf_cic_erom_sl@ tes					

			on_teehs_cic_sl@ = pmt_on_teehs_cic_sl@ tes					

nigeb				

pmt_on_teehs_cic_sl@ >< on_teehs_cic_sl@ fi			

52-20-4102--pduoy----			

'' = onslc_meti_sl@ tes			

0 = etar_inorecic_cedl@ tes			

0 = tsixe_ll@ tes			

nigeb		

'' >< ))on_teehs_cic_sl@(mirtr(mirtl fi	

)'',on_teehs_cic_sl@(llunsi = on_teehs_cic_sl@ tes	

表成提别类-费消游导写-42-40-3102-pduoy--------	

		

dne 				

dne   				

ONmetI_sl@ = on_meti dna )2,ONhcnarb_sl@(tfel = on_hcnarb dna on_teehs_ceps_sl@ = 3rehto erehW					

'0' = galf_moc, ytQelas_nl@ - ytq_dlos = ytq_dlos teS ecirp_ceps_mr_t ETADPU 					

nigeb					

'B' = yaWelas_sl@ fi  				

dne					

ONmetI_sl@ = on_meti dna )2,ONhcnarb_sl@(tfel = on_hcnarb dna on_teehs_ceps_sl@ = 3rehto erehW					

'0' = galf_moc,ytq_dlos + ytQelas_nl@ = ytq_dlos teS ecirp_ceps_mr_t ETADPU 					

nigeb					

'A' = yaWelas_sl@ fi  				

nigeb 				

ESLE 			

dne 				

dne   				

 )2,ONhcnarb_sl@(tfel = on_hcnarb dna on_teehs_ceps_sl@ = 3rehto erehW					

'0' = galf_moc, ytQelas_nl@ - ytq_dlos = ytq_dlos teS ecirp_ceps_mr_t ETADPU 					

nigeb					

'B' = yaWelas_sl@ fi  				

dne					

 )2,ONhcnarb_sl@(tfel = on_hcnarb dna on_teehs_ceps_sl@ = 3rehto erehW					

'0' = galf_moc,ytq_dlos + ytQelas_nl@ = ytq_dlos teS ecirp_ceps_mr_t ETADPU 					

nigeb					

'A' = yaWelas_sl@ fi  				

nigeb				

量变个这用 52213102 wdgnauh----------- 号货带不牌品别类-- 'up' = wen_galf_ceps_sl@ fi			

量变个这用 52213102 wdgnauh-----------   '' >< )'',wen_galf_ceps_sl@(llunsi fi		

量变个这用 52213102 wdgnauh----------- ))2,on_teehs_ceps_sl@(tfel(rewol = wen_galf_ceps_sl@ tceles		

    

)on_retnuoc_sl@ = on_retnuoc       		

 dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb dna etaDrepo_sl@=etad_repo( erehw                

'0'=galf_moc ,tma_ter_nl@+tma_ter=tma_ter ,tma_elas_nl@+tma_elas=tma_elas tes                 

 musyad_retnuoc_mr_t etadpu          

tma_dracknab_nl@+tma_dracknab=tma_dracknab         新更，在存已台柜 -- esle      

tma_dracknab_nl@ -- )llun,llun,0,tma_ter_nl@,tma_elas_nl@,on_retnuoc_sl@,)2,1,ONhcnarb_sl@(gnirtsbus,etaDrepo_sl@(seulav             

 )1rebmun,1rehto,tma_dracknab,tma_ter,tma_elas,on_retnuoc,on_hcnarb,etad_repo(                   

musyad_retnuoc_mr_t otni tresni          

加增，在存不台柜 --          

))on_retnuoc_sl@=on_retnuoc dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb dna etaDrepo_sl@=etad_repo( erehw             

musyad_retnuoc_mr_t morf *tceles(stsixe ton fi      


dne      

0 = tma_dracknab_nl@, -- 0 = tma_elas_nl@ ,tmAelas_nl@ = tma_ter_nl@ tceles          

nigeb      

货退 --  esle      

dne      

0 = tma_ter_nl@ ,tmAelas_nl@ = tma_elas_nl@ tceles				

esle			

0 = tma_ter_nl@ ,0 = tma_elas_nl@ tceles				

 'C' = yaWelas_sl@ fi			

送赠要需不---pduoy-50-50-2102 --			

nigeb      

送赠或售销 --   'C' = yaWelas_sl@ ro 'A' = yaWelas_sl@ fi      

trats.............................................)musyad_retnuoc_mr_t(表结日台柜写 --      


dne      

    	


dne				

)'BMR'=on_nioc dna yaWelas_sl@=yaw_elas										

 dna yawyap_sl@=yaw_yap dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb										

dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw										

'0'=galf_moc,tmAtnuocsid_nl@=1mun tes musyad_rehsac_mr_t etadpu					


tmAtcd_nl@ + tmAtnuocsid_nl@ = tmAtnuocsid_nl@ tceles					


)'BMR'=on_nioc dna yaWelas_sl@=yaw_elas   					

dna yawyap_sl@=yaw_yap dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb   					

 dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw						

   musyad_rehsac_mr_t morf )0,1mun(llunsi = tmAtnuocsid_nl@ tceles					

  nigeb				

     esle			

dne				

)'BMR'=on_nioc dna yaWelas_sl@=yaw_elas					

 dna yawyap_sl@=yaw_yap dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb					

dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw					

'0'=galf_moc,tmAtnuocsid_nl@=tma_laer tes musyad_rehsac_mr_t etadpu					


tmAtcd_nl@ + tmAtnuocsid_nl@ = tmAtnuocsid_nl@ tceles					


)'BMR'=on_nioc dna yaWelas_sl@=yaw_elas   				

dna yawyap_sl@=yaw_yap dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb   				

 dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw					

   musyad_rehsac_mr_t morf )0,tma_laer(llunsi = tmAtnuocsid_nl@ tceles					

nigeb				

  'FIG' = yawyap_sl@ dna 'C'= yaWelas_sl@ fi			


)0   ,0   ,0    ,''    ,''    ,''      ,'0'  ,'BMR'  ,yawyap_sl@,yaWelas_sl@       ,0       ,0,)2,1,ONhcnarb_sl@(gnirtsbus,rehsac_sl@,etaDrepo_sl@(seulav 		

)3mun,2mun,1mun,3rehto,2rehto,1rehto,epyt_repo,on_nioc,yaw_yap   ,yaw_elas,tma_laer,tma_lles                  ,on_hcnarb ,on_rehsac   ,etad_repo(       		

musyad_rehsac_mr_t otni tresni 		


'0'=galFtsixErehsac_sl@ fi    	

trats.............................................)muSyad_rehsac_mr_t(表结日员银收写 --   

 	

	

'1'=galFtsixErehsac_sl@ tceles      	

在存已 --  esle   	

'0'=galFtsixErehsac_sl@ tceles      	

在存不 -- ))'BMR'=on_nioc dna yaWelas_sl@=yaw_elas dna yawyap_sl@=yaw_yap dna )2,1,ONhcnarb_sl@(gnirtsbus=on_hcnarb dna rehsac_sl@=on_rehsac dna etaDrepo_sl@=etad_repo( erehw        	

musyad_rehsac_mr_t morf * tceles(stsixe ton fi   	

在存已否是中)muSyad_rehsac_mr_t(表结日员银收在找查 --   	

表结日员银收写可才水流SOP的传上部分的管托部总或构机本 --           

  

	nigeb      

0 >< tmAtcd_nl@ fi      

况情利让录记,)musyad_rehsac_mr_t(表结日员银收写 --      


       

      

di_wolf@ = di_wolf dna on_wolf@ = on_wolf erehw              

ytQelas_nl@ * ecirp_tsoc_ced@ =ecirp_ni tes wolfelas_mr_t etadpu      

价本成录记中水流--      

     

      

dne.............................................)muSyad_mr_t(表结日售销品商写 --      

dne        

etaDrepo_sl@=etad_repo dna ONmetI_sl@=on_meti dna ONhcnarb_sl@=on_hcnarb erehw--               

 di_wolf_nl@ = di_wolf erehw                

'0' = galf_moc      ,'0' =   1rehto                  

,ytQelas_nl@ * ecirp_tsoc_ced@ + ecirp_tsoc = ecirp_tsoc                  

,crPelas_nl@=ecirp_elas--          	

,)dne tmAelas_nl@ esle tmAtcd_nl@ neht 0 = tmAelas_nl@ nehw esac( + tma_vig = tma_vig  ,ytQelas_nl@ + ytq_vig =  ytq_vig          	

tes musyad_mr_t etadpu      	

送赠 -- 'C'=yaWelas_sl@ fi esle    	

etaDrepo_sl@=etad_repo dna ONmetI_sl@=on_meti dna ONhcnarb_sl@=on_hcnarb erehw--        	

 di_wolf_nl@ = di_wolf erehw                

'0'=   galf_moc        ,'0' =     1rehto  		

,ytQelas_nl@ * ecirp_tsoc_ced@ + ecirp_tsoc = ecirp_tsoc                  

,crPelas_nl@ = ecirp_elas-- ,tmAtcd_nl@ - tnuoma_tcd = tnuoma_tcd          	

,tmAelas_nl@ + tma_ter =    tma_ter  ,ytQelas_nl@ + ytq_ter =    ytq_ter          	

tes musyad_mr_t etadpu      	

货退 -- 'B'=yaWelas_sl@ fi esle    	

etaDrepo_sl@=etad_repo dna ONmetI_sl@=on_meti dna ONhcnarb_sl@=on_hcnarb erehw--                

 di_wolf_nl@ = di_wolf erehw                

'0' =   galf_moc         ,'0' =     1rehto                  

,ytQelas_nl@ * ecirp_tsoc_ced@ + ecirp_tsoc = ecirp_tsoc                  

,crPelas_nl@ = ecirp_elas--  ,tmAtcd_nl@ + tnuoma_tcd = tnuoma_tcd                  

,tmAelas_nl@ + tma_elas = tma_elas  ,ytQelas_nl@ + ytq_elas =   ytq_elas                  

tes musyad_mr_t etadpu               

售销 -- 'A'=yaWelas_sl@ fi            

42-50-5002 sjuw yb deifidom 理处否是录记行该志标 1rehto  '0' = 1rehto --            

nigeb        

新更，在存已细明 --  esle	

dne        

)on_tsucpus@,tmAtcd_nl@,llun,llun,'0',0                        

,ytQelas_nl@ * ecirp_tsoc_ced@ ,)dne tmAelas_nl@ esle tmAtcd_nl@ neht 0 = tmAelas_nl@ nehw esac( ,0 ,0 ,ytQelas_nl@ ,0 ,0        		

,etar_yl_nl@,0,0,etaDrepo_sl@,ONmetI_sl@,ONhcnarb_sl@(seulav         	

)on_tsucpus,tnuoma_tcd,3rehto,2rehto,1rehto,ytq_erp         			

,ecirp_tsoc,tma_vig,tma_ter,tma_elas,ytq_vig,ytq_ter,ytq_elas                         	

,etar_yl_pus,ecirp_ter,ecirp_elas,etad_repo,on_meti,on_hcnarb(musyad_mr_t tresni              

91-21-5002 sjuw yb deifidom--      	

送赠 -- 'C'=yaWelas_sl@ fi esle           

)on_tsucpus@,tmAtcd_nl@,llun,llun,'0',0			

,ytQelas_nl@ * ecirp_tsoc_ced@,0,tmAelas_nl@,0 ,0 ,ytQelas_nl@ ,0        		

,etar_yl_nl@ ,crPelas_nl@ ,crPelas_nl@,etaDrepo_sl@ ,ONmetI_sl@ ,ONhcnarb_sl@(seulav         	

)on_tsucpus,tnuoma_tcd,3rehto,2rehto,1rehto,ytq_erp         			

,ecirp_tsoc,tma_vig,tma_ter,tma_elas,ytq_vig,ytq_ter,ytq_elas                         	

,etar_yl_pus,ecirp_ter,ecirp_elas,etad_repo,on_meti,on_hcnarb(musyad_mr_t tresni              

91-21-5002 sjuw yb deifidom--      	

货退 -- 'B'=yaWelas_sl@ fi esle           

)on_tsucpus@,tmAtcd_nl@,llun,llun,'0',0			

,ytQelas_nl@ * ecirp_tsoc_ced@,0,0,tmAelas_nl@  ,0  ,0 ,ytQelas_nl@        		

,etar_yl_nl@,0,crPelas_nl@,etaDrepo_sl@,ONmetI_sl@,ONhcnarb_sl@(seulav         	

)on_tsucpus,tnuoma_tcd,3rehto,2rehto,1rehto,ytq_erp         			

,ecirp_tsoc,tma_vig,tma_ter,tma_elas,ytq_vig,ytq_ter,ytq_elas                         	

,etar_yl_pus,ecirp_ter,ecirp_elas,etad_repo,on_meti,on_hcnarb(musyad_mr_t tresni              

91-21-5002 sjuw yb deifidom--      	

售销 -- 'A'=yaWelas_sl@ fi           


0 = etar_yl_nl@ tceles      	

llun si etar_yl_nl@ fi   	

nigeb        

加增，在存不细明 -- '0'=galFtsixEmetI_sl@ fi	

trats.............................................)muSyad_mr_t(表结日售销品商写 --	

        

dne	

'1'=galFtsixEmetI_sl@ tceles      	

在存--  0 > di_wolf_nl@ fi           

 0 = ecirp_elas dna  		

on_tsucpus@ = on_tsucpus dna etaDrepo_sl@ = etad_repo dna  		

 ONmetI_sl@ =  on_meti dna ONhcnarb_sl@ = on_hcnarb erehw		

 musyad_mr_t morf di_wolf = di_wolf_nl@ 1 pot tceles   	

nigeb	

送赠-- 'C' = yaWelas_sl@  fi-- esle	

dne	

'1'=galFtsixEmetI_sl@ tceles       	

在存-- 0 > di_wolf_nl@ fi            

on_tsucpus@ = on_tsucpus dna etar_yl_nl@ = etar_yl_pus dna crPelas_nl@ = ecirp_elas dna crPelas_nl@ = ecirp_ter dna etaDrepo_sl@ = etad_repo dna          	

 ONmetI_sl@ =   on_meti dna ONhcnarb_sl@ = on_hcnarb erehw        	

 musyad_mr_t morf )di_wolf(xam = di_wolf_nl@  tceles    	

价货退、率扣、价售分区 91-21-5002 sjuw yb deifidom-- nigeb	

货退-- 'B' = yaWelas_sl@ fi esle	

dne	

'1'=galFtsixEmetI_sl@ tceles      	

在存-- 0 > di_wolf_nl@ fi    	

on_tsucpus@ = on_tsucpus dna etar_yl_nl@ = etar_yl_pus dna crPelas_nl@ = ecirp_elas dna etaDrepo_sl@ = etad_repo dna         	

ONmetI_sl@ =    on_meti dna ONhcnarb_sl@ = on_hcnarb erehw		   

    	musyad_mr_t morf di_wolf = di_wolf_nl@ 1 pot tceles    	

nigeb	

售销-- 'A' = yaWelas_sl@ fi	

0 = di_wolf_nl@,'0'=galFtsixEmetI_sl@ tceles	

在存已否是中表结日售销品商在找查 --	


  额金本成品商的时当录记且并 --	

。录记售销品商的价货退同不，率扣同不，价售同不内天一分区中　musyad_mr_t　在 --	

02-21-5002 sjuw yb diefidoM --	

        

ONmeti_sl@ = on_meti erehw ofni_meti_db_t morf tsucpus_niam = on_tsucpus@ tceles   	

esle 	

ONmeti_sl@ = on_meti dna )2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb erehw ecirp_hcnarb_cp_t morf on_tsucpus = on_tsucpus@ tceles   	

)ONmeti_sl@ = on_meti dna )2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb erehw ecirp_hcnarb_cp_t morf 1 tceles(stsixe fi         

        

束结率扣营联取-- dne        

         0 = etar_yl_nl@ tceles              

esle           

dne           

dne --             

dne  			

etar_pmt_nl@ = etar_yl_nl@ tceles--						

率扣价特取仍，况情的识标价特没，等相价特跟价原于属况情该，分部量超是不--  esle--					

		etar_yl_pmt_nl@	 =  etar_yl_nl@ tceles						

分部量超为，时量限单每或量限场全在存--  0 > ytq_detimil_nl@ + ytq_elas_nl@ fi					

quh.率扣案档品商取售销外量限,量限单整到虑考--					

)''=))galf_ceps_sl@(mirtl(mirtr ro llun si galf_ceps_sl@( dna ) 0 >< etar_pmt_nl@ dna llun ton si etar_pmt_nl@ dna 0 > onwolf_nl@( fi  			


)0,ytq_detimil_nl@(llunsi = ytq_detimil_nl@ tceles				

)0,ytq_elas_nl@(llunsi = ytq_elas_nl@ tceles				


etar_pmt_nl@ = etar_yl_nl@ tceles				

0 = etar_pmt_nl@ dna '0' = o_galf_sl@ fi esle   			

etar_pmt_nl@ = etar_yl_nl@ tceles	                    	

-率扣销促在存不则 )etar_pmt_nl@(llunsi 果如--  0 >< etar_pmt_nl@ dna llun ton si etar_pmt_nl@ fi                   	

                

ONmetI_sl@=on_meti dna onwolf_nl@=on_wolf erehw ecirp_ceps_mr_t morf ytq_detimil = ytq_detimil_nl@,ytq_elas = ytq_elas_nl@,tnuocsid = etar_pmt_nl@  tceles	                 	

                	


'1' =)1,))(etadteg,yadkeew(TRAPETAD ,keew(gnirtsbus dna                         	

)                              	

)                                  	

) emit_dne dna emit_nigeb neewteb                                      	

 )2,)))(etadteg,ss(trapetad,)2(rahcrav(trevnoc+'0'(thgir                                      	

+':'+)2,)))(etadteg,im(trapetad,)2(rahcrav(trevnoc+'0'(thgir                                      	

+':'+)2,)))(etadteg,hh(trapetad,)2(rahcrav(trevnoc+'0'(thgir(                     	             	

 dna )''>)emit_nigeb(mirtl dna llun ton si emit_nigeb(                                     	

 (                                 	

 ro )''=)emit_nigeb(mirtl ro llun si emit_nigeb(                                 	

( dna                         	

) )121,)'99.95:95:32 ' + )121,etad_dne,)01(rahc(trevnoc(,emitetad(trevnoc  dna etad_trats neewteb )(etadteg ( dna                         	

) )'2','5' ,'6','C'( ni ton epyt_laiceps ( dna                         	

) crPelas_nl@  = ecirp_eps ( dna  --                       	

) ONmetI_sl@ = on_meti ( dna                         	

))2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb ( erehw                       	

 ecirp_ceps_mr_t morf )on_wolf(xam= onwolf_nl@ tceles                 	

 nigeb			

   quh 理外另惠优类员会除-- esle		

dne			

etar_pmt_nl@ = etar_yl_nl@ tceles					

0 = etar_pmt_nl@ dna '0' = o_galf_sl@ fi esle				

etar_pmt_nl@ = etar_yl_nl@ tceles	                    		

quh量限笔单除排可--率扣销促在存不则 )etar_pmt_nl@(llunsi 果如--  0 >< etar_pmt_nl@ dna llun ton si etar_pmt_nl@ fi                		

etar_yl_nl@ = etar_pmt_nl@ tceles					

esle				

ONmetI_sl@=on_meti dna onwolf_nl@=on_wolf erehw ecirp_ceps_mr_t morf tnuocsid = etar_pmt_nl@  tceles					

0 > onwolf_nl@ fi				

)0 = ytq_detimil ro ytq_dlos > ytq_detimil( dna				

'1' =)1,))(etadteg,yadkeew(TRAPETAD ,keew(gnirtsbus dna     

                    	

)                              	

)                                  	

) emit_dne dna emit_nigeb neewteb                                      	

 )2,)))(etadteg,ss(trapetad,)2(rahcrav(trevnoc+'0'(thgir                                      	

+':'+)2,)))(etadteg,im(trapetad,)2(rahcrav(trevnoc+'0'(thgir                                      	

+':'+)2,)))(etadteg,hh(trapetad,)2(rahcrav(trevnoc+'0'(thgir(                     	             	

 dna )''>)emit_nigeb(mirtl dna llun ton si emit_nigeb(                                     	

 (                                 	

 ro )''=)emit_nigeb(mirtl ro llun si emit_nigeb(                                 	

( dna                         	

) )121,)'99.95:95:32 ' + )121,etad_dne,)01(rahc(trevnoc(,emitetad(trevnoc  dna etad_trats neewteb )(etadteg ( dna                         	

单价特量限员会---) '2' = epyt_laiceps ( dna                         	

) crPelas_nl@  = ecirp_eps ( dna  --                       	

) ONmetI_sl@ = on_meti ( dna                         	

))2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb ( erehw                       	

 ecirp_ceps_mr_t morf )on_wolf(xam= onwolf_nl@ tceles				

nigeb			

'VP' = galf_ceps_sl@  fi		

   quh惠优类员会理处先---		

扣折为tnuocsid时此,销促牌品和别类是6,5 --                 

nigeb--              

yfidom wham 率扣单价特取售销价特-- crPelas_nl@ >< crPecruos_nl@ fi--              

 率扣案档取售销价原--              

nigeb           

销代率扣和营联--  'F' = yaw_elas_pus_sl@ ro 'C' = yaw_elas_pus_sl@ fi           

          

	 etar_yl_nl@ = etar_yl_pmt_nl@ tceles		

     	

ONmetI_sl@ = on_meti erehw               	

ofni_meti_db_t morf               	

etar_yl_pus = etar_yl_nl@ ,galf_pus_meti = yaw_elas_pus_sl@ tceles           	

esle           

)2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb dna ONmetI_sl@ = on_meti erehw       	               

ecirp_hcnarb_cp_t morf               	

etar_yl_pus = etar_yl_nl@ ,yaw_elas = yaw_elas_pus_sl@ tceles           	

0 >< ))2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb dna ONmetI_sl@ = on_meti erehw ecirp_hcnarb_cp_t morf etar_yl_pus 1 pot tceles( dna ))2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb dna ONmetI_sl@ = on_meti erehw ecirp_hcnarb_cp_t morf 1 tceles( stsixe fi           

nigeb        

'B' = yaWelas_sl@ ro 'A' = yaWelas_sl@ fi        

 率扣取 货退和售销--        

        

crPelas_nl@ = ecirp_tsoc_ced@ tceles            

价售用使时零为 -- llun si ecirp_tsoc_ced@ ro 0 = ecirp_tsoc_ced@ fi        


dne        

ONmetI_sl@ = on_meti erehw ofni_meti_db_t morf )0,ecirp(llunsi = ecirp_tsoc_ced@ tceles	   	

esle   	

)2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb dna ONmetI_sl@ = on_meti erehw              	

ecirp_hcnarb_cp_t morf )0,ecirp(llunsi = ecirp_tsoc_ced@ tceles        	

))2,1,ONhcnarb_sl@(gnirtsbus = on_hcnarb dna ONmetI_sl@ = on_meti erehw ecirp_hcnarb_cp_t morf 1 tceles(stsixe fi           

nigeb        

价进构机取零为价本成 -- llun si ecirp_tsoc_ced@ ro 0 = ecirp_tsoc_ced@ fi        

ONhcnarb_sl@ = on_hcnarb dna ONmetI_sl@ = on_meti erehw             

 kcots_hcnarb_mi_t morf )0,tsoc_gva(llunsi = ecirp_tsoc_ced@ tceles        

rorresiar--

02-21-5002 sjuw yb deifidom 价本成取 --        

        

)121,emiTetaDelas_tdl@,)01(rahc(trevnoc=etaDrepo_sl@ tceles	

ddmmyyyy='211'：为式格，）天当（期日型符字换转 --	

	

tmAelas_nl@ - tmAecruos_nl@ = tmAtcd_nl@ tceles --	


'FIG' = yawyap_sl@ tes		

esle	

dne		

'BMR' = yawyap_sl@ tes			

0 = tmAtcd_nl@ tceles				

 )''=)galf_ceps_sl@(mirtl ro llun si galf_ceps_sl@( fi			

nigeb		

)0 = yenom_elas_cedl@ dna 'C' = yaWelas_sl@( ton fi	

	

额金利让取接直 --	

yenom_elas_cedl@ = tmAelas_nl@ tceles	

01215102 cbgnail 51I要主 差误现出时额金于等不 量数*价单免避，yenom_elas为额金售销化优--	

)2,crPelas_nl@ * ytQelas_nl@(dnuor = tmAelas_nl@ tceles--	

)2,crPecruos_nl@ * ytQelas_nl@(dnuor = tmAecruos_nl@ tceles	

数小位两取只额金 71-21-4002 sjuw yb deifidom  额金售销的际实和额金售销的定预来原算计 --	

        

传不心中送配且,理处不回返接直时传上店分立独-- NRUTER ) '1' = galf_etomer@ ( fi  --

表结日到据数细明输传否是 -- 

	0 = ytq_detimil_nl@ ,0 = ytq_elas_nl@ ,0 = etar_yl_pmt_nl@,llun = etar_pmt_nl@,llun = etar_yl_nl@ tceles	

''=on_tsucpus@ ,''=yaw_elas_pus_sl@ ,0=ecirp_tsoc_ced@ tceles        

量变化始初-- 


NIGEB

0 = SUTATS_HCTEF@@ ELIHW

yenom_elas_cedl@,on_teehs_cic_sl@,on_teehs_ceps_sl@,galf_etomer@  		

,on_retnuoc_sl@  	,di_wolf@  		

,on_wolf@  	,tmAtcd_nl@  		

,galf_ceps_sl@  	,rehsac_sl@  		

,emiTetaDelas_tdl@  	,yaWelas_sl@  		

,crPelas_nl@  	,crPecruos_nl@  		

,ytQelas_nl@,ONmetI_sl@,ONhcnarb_sl@ OTNI

 rosruc_detresni MORF TXEN HCTEF


rosruc_detresni NEPO


传不心中送配且,理处不回返接直时传上店分立独-- NRUTER ) '1' = galf_etomer@ ( fi  --

表结日到据数细明输传否是 -- 


'1' >< galf_etomer erehw	

 detresni morf      

yenom_elas,on_teehs_cic,on_teehs_ceps,galf_etomer  		

,on_retnuoc  	,di_wolf  		

,on_wolf  	,tma_ferp  		

,galf_ceps  	,di_repo  		

,etad_repo,yaw_lles,ecirp_elas,ecirp_ecruos,ytnq_elas,on_meti,on_hcnarb tceles

 ROF ROSRUC rosruc_detresni ERALCED


'1' = o_galf_sl@ tceles	

 '' = o_galf_sl@ ro llun si o_galf_sl@ fi

 'orez_tceffe_LKYL' = di_rav_sys erehw metsys_sys_t morf eulav_rav_sys = o_galf_sl@ tceles


-----------------------------------------------------------

'0' = galf_cic_erom_sl@ tes

'' = pmt_on_teehs_cic_sl@ tes

))01(rahcrav di_etnc,)1(rahcrav epyt_etnc,)1,1(ytitnedi )0,61(ciremun di_bat(ofni_erom_nc_bat# elbat etaerc

---------细明游导多储存来用表时临建创--52-20-4102--pduoy---



)01(rahcrav   		yawyap_sl@  		

,)01(rahcrav   		di_etnc_sl@  		

,)1(rahcrav   		epyt_etnc_sl@  		

,)0,61(ciremun   	di_bat_nim_ll@  		

,)0,61(ciremun   	di_bat_xam_ll@  		

,)1(rahcrav   	galf_cic_erom_sl@  		

,)41(rahcrav pmt_on_teehs_cic_sl@  		

,)4,61(ciremun    etar_levart_cedl@  		

,)4,61(ciremun  etar_inorecic_cedl@  		

,)4,61(ciremun     yenom_elas_cedl@  		

,tni            tsixe_ll@  		

,)21(rahcrav       onslc_meti_sl@  		

录记牌发市超游旅---  ,)41(rahcrav    on_teehs_cic_sl@  		

,)41(rahc	 on_teehs_ceps_sl@  		

量限场全--   ,)4,61(ciremun		ytq_detimil_nl@  		

量限单每--  ,)4,61(ciremun			 ytq_elas_nl@  		

,)4,61(ciremun		etar_yl_pmt_nl@      	

,)1(rahc    o_galf_sl@      	

,)0,61(ciremun                onwolf_nl@          

,)1(rahcrav		galf_etomer@  		

,)01(rahcrav			  on_tsucpus@      	

,)1(rahc		 yaw_elas_pus_sl@      	

,)61(ciremun			 di_wolf_nl@      	

率扣营联--  ,)4,61(ciremun			 etar_pmt_nl@      	

率扣营联--  ,)4,61(ciremun			 etar_yl_nl@      	

,)61(rahcrav		 on_retnuoc_sl@      	

,)4,61(ciremun			 tma_ter_nl@      	

,)4,61(ciremun			 tma_elas_nl@      	

,)4,61(ciremun		 ecirp_tsoc_ced@      	

,tni				 di_wolf@      	

,)02(rahcrav				 on_wolf@      	

的用利让算计是个这，用能不个这的galf_ceps_sl@来原，用售销经已新更 wdgnauh----- ,)01(rahcrav         wen_galf_ceps_sl@      	

,)01(rahcrav		 galf_ceps_sl@      	

,)4,61(ciremun		 tmAtnuocsid_nl@      	

,)4(rahc			  rehsac_sl@      	

在存已='1'；在存不='0'，志标在存已否是中)slc_muSyad_mr_t(表结日员银收在员银收 -- ,)1(rahc	 galFtsixErehsac_sl@      	

在存已='1'；在存不='0'，志标在存已否是中)muSyad_mr_t(表结日售销品商在品商细明 --   ,)1(rahc	 galFtsixEmetI_sl@      	

ddmmyyyy：为式格，）天当（期日型符字 --       ,)01(rahc			 etaDrepo_sl@      	

间时售销 --   ,emitetad	 emiTetaDelas_tdl@      	

式方售销 --        ,)1(rahc			 yaWelas_sl@      	

.额金扣折品商 --   ,)4,61(ciremun			 tmAtcd_nl@      	

额金售销品商 --    ,)4,61(ciremun			 tmAelas_nl@      	

额金售销的定预来原品商 --  ,)4,61(ciremun		 tmAecruos_nl@      	

价单售销品商 --,)4,61(ciremun			 crPelas_nl@      	

价单的定预来原品商 -- ,)4,61(ciremun		  crPecruos_nl@      	

量数售销品商 --,)4,61(ciremun			ytQelas_nl@      	

码编别类品商 --,)6(rahc			 ONssalC_sl@      	

码编品商 --,)02(rahc			 ONmetI_sl@      	

码编库仓 --,)6(rahc			 ONhcnarb_sl@ eralced


nigeb

sa

tresni rof

 wolfelas_mr_t no wolfelas_mr_rt reggirt etaerc




og

wolfelas_mr_rt REGGIRT pord  

)'wolfelas_mr_rt'=eman erehw stcejbosys morf 1 tceles(stsixe fi####$$$$$$tr_sys_u_operator(MS).sql^^^^

dne


dne    

ruc_repo_tresni etacollaed	

ruc_repo_tresni esolc	

dne	

		

on_hcnarb@,di_repo@ otni ruc_repo_tresni hctef		

)on_hcnarb@ ,)(etadteg ,di_repo@ ,'U' ,'rotarepo_sys_t'( seulav			

)on_hcnarb ,etad_etadpu ,1yek ,epyt_egnahc ,elbat_moc( atad_mc_sys_t otni tresni		

nigeb	

0=sutats_hctef@@ elihw	

on_hcnarb@,di_repo@ otni ruc_repo_tresni hctef	

ruc_repo_tresni nepo	

ylno daer rof detresni morf on_hcnarb,di_repo tceles  rof rosruc ruc_repo_tresni eralced	    

入插--	


nigeb    

)wp_mrifnoc(etadpu ro )tnarg_atad(etadpu ro )etar_tuptuo(etadpu ro )sutats_repo(etadpu ro )wp_repo(etadpu ro )eman_repo(etadpu fi    

    

    

dne    

ruc_repo_tresni etacollaed	

ruc_repo_tresni esolc	

dne	

		

on_hcnarb@,di_repo@ otni ruc_repo_tresni hctef		

)on_hcnarb@ ,)(etadteg ,di_repo@ ,'I' ,'rotarepo_sys_t'( seulav			

)on_hcnarb ,etad_etadpu ,1yek ,epyt_egnahc ,elbat_moc( atad_mc_sys_t otni tresni		

'00' >< on_hcnarb@ fi		

nigeb	

0=sutats_hctef@@ elihw	

on_hcnarb@,di_repo@ otni ruc_repo_tresni hctef	

ruc_repo_tresni nepo	

ylno daer rof detresni morf on_hcnarb,di_repo tceles  rof rosruc ruc_repo_tresni eralced	    

入插--	


ruc_repo_eteled etacollaed	

ruc_repo_eteled esolc	

dne	

on_hcnarb@,di_repo@ otni ruc_repo_eteled hctef        	

	

)on_hcnarb@ ,)(etadteg ,di_repo@ ,'D' ,'rotarepo_sys_t'( seulav		

)on_hcnarb ,etad_etadpu ,1yek ,epyt_egnahc ,elbat_moc( atad_mc_sys_t otni tresni		

'00' >< on_hcnarb@ fi		

nigeb	

0=sutats_hctef@@ elihw	

on_hcnarb@,di_repo@ otni ruc_repo_eteled hctef	


ruc_repo_eteled nepo	

ylno daer rof deteled morf on_hcnarb,di_repo tceles rof rosruc ruc_repo_eteled eralced	

    	除删--    	

nigeb    

)on_hcnarb(etadpu ro )di_repo(etadpu fi    

用使时码编新更于限仅 --    


nruter	

'00' = )'on_hcnarb_g'=di_rav_sys erehw metsys_sys_t morf eulav_rav_sys tceles( ton fi    


nruter	 

'1' = )'bzta_tes_repo_sys'=)di_rav_sys(rewol erehw metsys_sys_t morf eulav_rav_sys tceles( ton fi    

回返则员作操护维部总是不果如--	


	nruter       

 '1' = )'detubirtsid_si'=)di_rav_sys(rewol erehw metsys_sys_t morf eulav_rav_sys tceles( ton fi    

回返则是不果如，部总版式部分是否是查检--	


)6(rahc on_hcnarb@		

,)4(rahc di_repo@	 eralced     

nigeb

sa

etadpu rof

 rotarepo_sys_t no rotarepo_u_sys_rt reggirt etaerc



og

rotarepo_u_sys_rt REGGIRT pord  

)'rotarepo_u_sys_rt'=eman erehw stcejbosys morf 1 tceles(stsixe fi####$$$$$$tr_vm_market_master_approve(MS).sql^^^^

dne

nruter  	

kcabllor  	

txet_ruc_mv etacollaed      

txet_ruc_mv esolc  	

tekcit_ruc_mv etacollaed  	

tekcit_ruc_mv esolc  	

:rorreym  

nruter      

txet_ruc_mv etacollaed      

txet_ruc_mv esolc      

tekcit_ruc_mv etacollaed      

tekcit_ruc_mv esolc      

标游闭关--      

dne      

epyt_dnes@,etad_evorppa@,tsil_rep@,epyt_rep@,tsil_gat@,epyt_gat@,on_teehs@          

otni txet_ruc_mv hctef          

   

dne      	

				dne				

  				rorreym otog 0 =! rorre@@ fi    				

on_teehs@ = on_teehS erehw    				

)on_teehs@ = on_wolf erehw xw_egassem_piv_t_ssem morf )1(TNUOC tceles( = tma_txet tes retsam_tekram_mv_t etadpu					

量数文发新更--					

					rorreym otog 0 =! rorre@@ fi 					

)0 > )tsil_rep@,)on_meti.p(mirtr(XEDNIRAHC(  dna  						

epyt_rep@  = epyt_rep.p  dna  						

))0 > )tsil_gat@,)gat_sutats.t(mirtr(XEDNIRAHC dna '2' = epyt_gat@(								

ro )0 > )tsil_gat@,)gat_eulav.t(mirtr(XEDNIRAHC dna '1' = epyt_gat@((  dna  						

 on_piV.p = on_piV.t	 erehw					

p ecnereferp_piv_mv_t,t gat_piv_mv_t morf					

on_teehs@,'0',on_piV.t,'000','02' tcnitsid tceles					

 )on_wolf,galf_dnes,di_drac,on_hcnarb,epyt_ssem(xw_egassem_piv_t_ssem otni tresni    				

信微--    				

nigeb				

esle				

dne				

rorreym otog 0 =! rorre@@ fi    				

on_teehs@ = on_teehS erehw    				

)on_teehs@ = on_wolf erehw egassem_piv_t_ssem morf )1(TNUOC tceles( = tma_txet tes retsam_tekram_mv_t etadpu					

量数文发新更--        			

rorreym otog 0 =! rorre@@ fi        			

           			)0 > )tsil_rep@,)on_meti.p(mirtr(XEDNIRAHC(  dna           			

epyt_rep@  = epyt_rep.p  dna           			

))0 > )tsil_gat@,)gat_sutats.t(mirtr(XEDNIRAHC dna '2' = epyt_gat@(                			

ro )0 > )tsil_gat@,)gat_eulav.t(mirtr(XEDNIRAHC dna '1' = epyt_gat@((  dna           			

 on_piV.p = on_piV.t	 erehw        			

p ecnereferp_piv_mv_t,t gat_piv_mv_t morf					

on_teehs@,'0',on_piV.t,'000','02' tcnitsid tceles					

 )on_wolf,galf_dnes,di_drac,on_hcnarb,epyt_ssem(egassem_piv_t_ssem otni tresni					

nigeb				

信短-- '1' = epyt_dnes@ fi           	

  nigeb      	

  esle      	

销营起发义定自--      	

dne      	

						dne				

rorreym otog 0 =! rorre@@ fi    				

on_teehs@ = on_teehS erehw    				

)on_teehs@ = on_wolf erehw xw_egassem_piv_t_ssem morf )1(TNUOC tceles( = tma_txet tes retsam_tekram_mv_t etadpu					

量数文发新更--					

rorreym otog 0 =! rorre@@ fi					

	)0 > )tsil_gat@,)gat_sutats.t(mirtr(XEDNIRAHC dna '2' = epyt_gat@(						

ro )0 > )tsil_gat@,)gat_eulav.t(mirtr(XEDNIRAHC dna '1' = epyt_gat@(	 erehw					

t gat_piv_mv_t morf					

on_teehs@,'0',on_piV.t,'000','02' tcnitsid tceles					

 )on_wolf,galf_dnes,di_drac,on_hcnarb,epyt_ssem(xw_egassem_piv_t_ssem otni tresni    				

信微--    				

nigeb				

esle				

dne				

rorreym otog 0 =! rorre@@ fi    				

on_teehs@ = on_teehS erehw    				

)on_teehs@ = on_wolf erehw egassem_piv_t_ssem morf )1(TNUOC tceles( = tma_txet tes retsam_tekram_mv_t etadpu					

量数文发新更--					

rorreym otog 0 =! rorre@@ fi					

	)0 > )tsil_gat@,)gat_sutats.t(mirtr(XEDNIRAHC dna '2' = epyt_gat@(						

ro )0 > )tsil_gat@,)gat_eulav.t(mirtr(XEDNIRAHC dna '1' = epyt_gat@(	 erehw					

t gat_piv_mv_t morf					

on_teehs@,'0',on_piV.t,'000','02' tcnitsid tceles					

 )on_wolf,galf_dnes,di_drac,on_hcnarb,epyt_ssem(egassem_piv_t_ssem otni tresni					

nigeb				

信短-- '1' = epyt_dnes@ fi 			

nigeb      	

  '' = )tsil_rep@(mirtr fi      	

销营起发像画态状、像画值价员会择选--      	

nigeb  	

0=sutats_hctef@@ elihw      

   epyt_dnes@,etad_evorppa@,tsil_rep@,epyt_rep@,tsil_gat@,epyt_gat@,on_teehs@         

otni txet_ruc_mv hctef      

txet_ruc_mv nepo      

          

'1' = galf_evorppa.i erehw         

i detresni morf         

epyt_dnes.i,etad_krow.i,)'',tsil_rep.i(llunsi,)'',epyt_rep.i(llunsi,tsil_gat.i,epyt_gat.i,on_teehs.i tceles      

rof rosruc txet_ruc_mv eralced      

文发销营--      

on_teehs.i = on_teehs.retsam_tekram_mv_t erehw  	

i detresni morf  	

)on_tekram yb puorg on_teehS.i = on_tekram erehw tekcit_piv_mv_t morf )1(TNUOC tceles( = tma_tekciT tes retsam_tekram_mv_t etadpu  	

量数放发券新更--  	

	  dne  	

 etad_dne@,etad_trats@,on_tekcit@             

,eltit_dnes@,txet_dnes@,epyt_dnes@,etad_evorppa@,tsil_rep@,epyt_rep@,tsil_gat@,epyt_gat@ ,tsil_hcnarb@,epyt_hcnarb@,on_teehs@             

otni tekcit_ruc_mv hctef    	

    	

dne    	

rorreym otog 0 =! rorre@@ fi 			

)0 > )tsil_rep@,)on_meti.p(mirtr(XEDNIRAHC(  dna      			

epyt_rep@  = epyt_rep.p  dna      			

))0 > )tsil_gat@,)gat_sutats.t(mirtr(XEDNIRAHC dna '2' = epyt_gat@(            			

ro )0 > )tsil_gat@,)gat_eulav.t(mirtr(XEDNIRAHC dna '1' = epyt_gat@((  dna      			

 on_piV.p = on_piV.t	 erehw			

p ecnereferp_piv_mv_t,t gat_piv_mv_t morf			

tsil_hcnarb@,epyt_hcnarb@,etad_evorppa@        			

,etad_dne@,etad_trats@,on_teehs@,'1',on_tekcit@,on_piV.t tcnitsid tceles			

)tsil_hcnarB,epyt_hcnarB,etad_repO               	

,etad_dnE,etad_tratS,on_tekraM,sutats_tekciT,on_tekciT,on_piV(tekcit_piv_mv_t otni tresni        	

销营起发义定自--        	

nigeb    	

esle    	

dne    	

	

			rorreym otog 0 =! rorre@@ fi			

	)0 > )tsil_gat@,)gat_sutats.t(mirtr(XEDNIRAHC dna '2' = epyt_gat@(        			

ro )0 > )tsil_gat@,)gat_eulav.t(mirtr(XEDNIRAHC dna '1' = epyt_gat@(	 erehw			

t gat_piv_mv_t morf			

tsil_hcnarb@,epyt_hcnarb@,etad_evorppa@        			

,etad_dne@,etad_trats@,on_teehs@,'1',on_tekcit@,on_piV.t tcnitsid tceles			

)tsil_hcnarB,epyt_hcnarB,etad_repO               	

,etad_dnE,etad_tratS,on_tekraM,sutats_tekciT,on_tekciT,on_piV(tekcit_piv_mv_t otni tresni        	

销营起发像画态状、像画值价员会择选--        	

nigeb    	

  '' = )tsil_rep@(mirtr fi    	

nigeb  	

0=sutats_hctef@@ elihw  	

    

   etad_dne@,etad_trats@,on_tekcit@        

,eltit_dnes@,txet_dnes@,epyt_dnes@,etad_evorppa@,tsil_rep@,epyt_rep@,tsil_gat@,epyt_gat@ ,tsil_hcnarb@,epyt_hcnarb@,on_teehs@        

otni tekcit_ruc_mv hctef     

tekcit_ruc_mv nepo     

     

'1' = epyt_tekram.i dna '1' = galf_evorppa.i dna on_teehs.d = on_teehs.i  erehw     

d liated_tekram_mv_t,i detresni morf     

etad_dne.d,etad_trats.d,on_tekcit.d             

,eman_tekram,)'',txet_dnes.i(llunsi,epyt_dnes.i,etad_krow.i,)'',tsil_rep.i(llunsi,)'',epyt_rep.i(llunsi,tsil_gat.i,epyt_gat.i,tsil_hcnarb.i,epyt_hcnarb.i,on_teehs.i tceles     

rof rosruc tekcit_ruc_mv eralced     

券发销营--     

表列好偏员会--    )552(rahcrav        tsil_rep@    

, )1(rahcrav        epyt_rep@    

表列像画员会--  , )552(rahcrav        tsil_gat@    

, )1(rahcrav        epyt_gat@    

容内文发--   ,)552(rahcrav       txet_dnes@    

容内文发--   ,)001(rahcrav      eltit_dnes@    

信短2，信微1 式方送推--     ,)1(rahcrav       epyt_dnes@    

, emitetad    etad_evorppa@    

, emitetad     	  etad_dne@    

, emitetad 	  etad_trats@    

号券--, )02(rahcrav 	  on_tekcit@    

表列店门--, )552(rahcrav 	  tsil_hcnarb@    

, )1(rahcrav 	  epyt_hcnarb@    

号单--, )02(rahcrav     	  on_teehs@    

eralced  

nruter )galf_evorppa(etadpu ton fi  

nigeb

sa

 etadpu rof

 retsam_tekram_mv_t no evorppa_retsam_tekram_mv_rt reggirt etaerc



og

evorppa_retsam_tekram_mv_rt reggirt pord  

)'evorppa_retsam_tekram_mv_rt'=eman erehw stcejbosys morf 1 tceles(stsixe fi####@@@@