2,743
edits
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
==Technical Specification==
#'''Net Total''' is a read-only field that is calculated from the total amount of detail (APCNDTLEntity).
Line 48 ⟶ 47:
cmd.SaveAPCN(doc, userSession.LoginUserID);
//Log success
AutoCount.AppMessage.ShowMessage($"New
}
catch (AutoCount.AppException ex)
{
//Log fail
AutoCount.AppMessage.ShowMessage("Fail to create new
}
}
Line 105 ⟶ 104:
cmd.SaveAPCN(doc, userSession.LoginUserID);
//Log success
AutoCount.AppMessage.ShowMessage($"New
}
catch (AutoCount.AppException ex)
{
//Log fail
AutoCount.AppMessage.ShowMessage("Fail to create new
}
}
</syntaxhighlight>
====Load
<syntaxhighlight lang="csharp">
public void EditWithSupplierCreditNoteNo(AutoCount.Authentication.UserSession userSession)
Line 164 ⟶ 163:
cmd.SaveAPCN(doc, userSession.LoginUserID);
//Log success
AutoCount.AppMessage.ShowMessage($"New
}
catch (AutoCount.AppException ex)
{
//Log fail
AutoCount.AppMessage.ShowMessage("Fail to create new
}
}
Line 185 ⟶ 184:
cmd.CancelAPCN(docNo, userSession.LoginUserID);
//cmd.CancelAPCN("DSC-00015", "400-X001", userSession.LoginUserID); //Cancel with SupplierCNNo
AutoCount.AppMessage.ShowMessage($"
}
catch (AutoCount.AppException ex)
{
//Log fail
AutoCount.AppMessage.ShowMessage($"Fail to cancel
}
}
Line 210 ⟶ 209:
{
//Log fail
AutoCount.AppMessage.ShowMessage($"Fail to delete
}
}
|