Diamant Transaction

Creates a transaction in diamant

Example Usage

let result = await app.businessFunction({
    functionName:"Diamant",
    methodName: "Transaction",
    stackNumber: app.getFieldValue("myBookungStackNumber"), //if stackNumber is not set or 0, the Gebra Suite will automatically create a stack and close it right after the transaction
    bookingDate: "2021-12-23",
    type: "AR",
    number: "12345678",
    currency: "EUR",
    debitAccount: "20003000",
    debitValue: 3334,
    text: "Volkers Buchung",
    dueDate: "2022-04-30",
    creditAccount: "409000",
    creditValue: 3334,
    taxCode: 200,
    creditCostCenter: "21000",
    creditBusinessUnit: "100"
});
console.log(result);

Last updated