Information générale
Catégorie:
The Mere Mortals .NET Framework
All,
I want to be able to save an invoice by saving the header and all the line items at the same time. I can save the header and I can edit the line items.
Can I create a method that iterates through the line item datarows and execute the LineItem.Save method against each datarow? I think I need call this new method is the PreSaveHook and retun false from the method to prevent the default Save behavior, is this correct?
TIA
Rex
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement