//"proczk.sc","Procedury dokumentu zakupu","\Procedury\",0,1.0.0,SYSTEM

#include "MobileWarehouse - procedury dokumentu zakupu"

int Sub OnAddNewDokument(long lId)
	OnAddNewDokument = SMM_OnAddNewDokument(lId)
EndSub

int Sub OnBeforeInsert(long lId)
	OnBeforeInsert = 0
EndSub

int Sub OnAfterInsert(long lId)
	OnAfterInsert = SMM_OnAfterInsert(lId)
EndSub

int Sub OnKhChanged(long lId)
	OnKhChanged = 0
EndSub

int Sub OnBeforeEdit(long lId)	
	OnBeforeEdit = SMM_OnBeforeEdit(lId)
EndSub

int Sub OnBeforeBuforEdit(long lId)
	OnBeforeBuforEdit = SMM_OnBeforeBuforEdit(lId)
EndSub

int Sub OnAfterUpdate(long lId)
	OnAfterUpdate = SMM_OnAfterUpdate(lId)
EndSub

int Sub OnAfterBuforUpdate(long lId)
	OnAfterBuforUpdate = SMM_OnAfterBuforUpdate(lId)
EndSub

int Sub OnBeforeDelete(long lId)
	OnBeforeDelete = SMM_OnBeforeDelete(lId)
EndSub

int Sub OnBeforeBuforDelete(long lId)
	OnBeforeBuforDelete = SMM_OnBeforeBuforDelete(lId)
EndSub

int Sub OnAfterDelete(long lId)
	OnAfterDelete = SMM_OnAfterDelete(lId)
EndSub

int Sub OnAfterBuforDelete(long lId)
	OnAfterBuforDelete = SMM_OnAfterBuforDelete(lId)
EndSub

int Sub OnBeforeAnuluj(long lId)
	OnBeforeAnuluj = SMM_OnBeforeAnuluj(lId)	
EndSub

int Sub OnTwChanged(long lId)
	OnTwChanged = 0
EndSub

int Sub OnBeforeCancel(long lId)
	OnBeforeCancel = 0
EndSub

int Sub OnAfterCancel(long lId)
	OnAfterCancel = SMM_OnAfterCancel(lId)
EndSub