和顺 / 共识 返回所属 Agent
GS-10.01

交割核对

原能力

对照文件、付款回执和权利登记,记录异常或未完成事项。(细化版 p.14–15)

首选项目

Formance Ledger(MIT)。 Formance Ledger

匹配范围

分录与工作流可承载付款/交割对照记录。

源码

Formance Ledger · func (s *Server) handleCreateTransaction(

internal/adapter/http/handlers_create_transaction.go · 13–26 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
func (s *Server) handleCreateTransaction(w http.ResponseWriter, r *http.Request) {
	ledgerName, ok := requireLedgerName(w, r)
	if !ok {
		return
	}

	// Decode request body into protobuf CreateTransactionPayload.
	// The custom UnmarshalJSON in service.pb.json.go drives field naming
	// from the public camelCase contract (scriptReference, accountMetadata,
	// …) — the default protoc-gen-go tags are snake_case and would silently
	// drop multi-word keys (#452).
	req := &servicepb.CreateTransactionPayload{}

	err := json.UnmarshalRead(r.Body, req)

Flowable · public interface TaskService

modules/flowable-engine/src/main/java/org/flowable/engine/TaskService.java · 46–59 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
public interface TaskService {

    /**
     * Creates a new task that is not related to any process instance.
     * 
     * The returned task is transient and must be saved with {@link #saveTask(Task)} 'manually'.
     */
    Task newTask();

    /** create a new task with a user defined task id */
    Task newTask(String taskId);

    /**
     * Create a builder for the task

实现与验收要点

实际交易回执、权利登记、差异调查和条件关闭。